@charset "UTF-8";

/* ===================================
   カード風デザイン
=================================== */
.card-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 40px auto;
    max-width: 1100px;
}

/* ===================================
   見出し
=================================== */
h2.section-title {
    font-size: 24px;
    color: #3A8D3F;
    text-align: center;
    margin-bottom: 20px;
}

/* MetaSliderフルワイド調整 */
.metaslider,
.flexslider,
.flexslider .slides {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    position: relative;
}

/* スライド画像調整 */
.flexslider .slides img {
    width: 100% !important;
    height: auto !important;
    max-height: 470px;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .flexslider .slides img {
        max-height: 280px;
    }
}

/* ドットナビゲーションデザイン */
.flex-control-paging li a {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255,255,255,0.7) !important;
    border-radius: 50% !important;
    transition: background 0.3s !important;
}

.flex-control-paging li a.flex-active {
    background: #3A8D3F !important;
}

/* ===================================
   スライドショー
=================================== */
.metaslider .caption {
    position: absolute !important;
    bottom: 5% !important;
    left: 5% !important;
    right: 5% !important;
    transform: none !important;
    background: rgba(0,0,0,0.4) !important;
    color: #fff !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 1.1rem !important;
    text-align: left !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    z-index: 11 !important;
}

@media screen and (max-width: 768px) {
  .metaslider .caption {
    font-size: 1rem !important;
    padding: 10px 12px !important;
  }
}

@media screen and (max-width: 480px) {
  .metaslider .caption {
    font-size: 0.9rem !important;
    padding: 8px 10px !important;
  }
}

/* ===================================
   ファーストビュー（カバーブロック）
=================================== */
.wp-block-cover {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.wp-block-cover h1,
.wp-block-cover p {
    color: #fff !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* ===================================
   サービス紹介 3カラムカード
=================================== */
body .wp-block-column {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

body .wp-block-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

body .wp-block-column img {
    border-radius: 8px;
    margin-bottom: 12px;
    max-width: 100%;
    height: auto;
}

body .wp-block-column h3 {
    font-size: 1.1em;
    color: #3A8D3F;
    margin-bottom: 8px;
}

body .wp-block-column p {
    font-size: 0.95em;
    color: #555;
}

@media (max-width: 768px) {
    body .wp-block-column {
        margin-bottom: 20px;
        flex: 1 1 100% !important;
    }
}

/* =============================
   特徴コンテンツ セクション背景
============================= */
.wrap-section {
    background-color: #f5f5f5;
    padding: 60px 20px;
}

.wrap-section h2.section-title {
    background-color: #d0e0d0;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
}

/* =============================
   カードデザイン（ホバー演出なし）
============================= */
body .wp-block-column {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: none !important;
    border: none;
}

body .wp-block-column img {
    border-radius: 8px;
    margin-bottom: 16px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

body .wp-block-column h3 {
    font-size: 1.2em;
    color: #3A8D3F; 
    margin-bottom: 12px;
    font-weight: 600;
}

body .wp-block-column p {
    font-size: 0.95em;
    color: #444;
    line-height: 1.7;
    text-align: left; 
    margin: 0;
}

@media (max-width: 768px) {
    .wrap-section {
        padding: 40px 15px;
    }
    body .wp-block-column {
        margin-bottom: 20px;
    }
}

body .wp-block-column:hover {
    transform: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important; 
}

/* ===================================
   ボタンデザイン
=================================== */
.wp-block-button__link {
    background-color: #3A8D3F !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 5px !important;
    border: 2px solid #3A8D3F !important;
    text-decoration: none !important;
    transition: background-color 0.3s, color 0.3s !important;
}

.wp-block-button__link:hover {
    background-color: #fff !important;
    color: #3A8D3F !important;
}

/* ==========================
   会社概要 セクションデザイン
========================== */
.company-profile {
    background: #ffffff;
    max-width: 700px;
    margin: 40px auto;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.company-profile-title {
    text-align: center;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.company-profile-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 1em;
}

.company-profile-content {
    font-size: 1em;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ==========================
   GoogleMap
========================== */
.responsive-map {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.responsive-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

/* ===============================
   問い合わせフォームスタイル
=============================== */
.contact-form-container {
    max-width: 600px;
    background: #ffffff;
    padding: 40px 30px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    box-sizing: border-box;
}

.contact-form-container h2 {
    text-align: center;
    font-size: 1.6em;
    color: #3A8D3F;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container input[type="tel"]:focus,
.contact-form-container textarea:focus {
    border-color: #3A8D3F;
    box-shadow: 0 0 0 3px rgba(58, 141, 63, 0.1);
    outline: none;
}

.contact-form-container textarea {
    min-height: 150px;
}

@media screen and (max-width: 480px) {
    .contact-form-container {
        padding: 30px 20px;
    }
}

/* ================================
   問い合わせ送信ボタン中央寄せ修正
================================ */
.wpcf7 input[type="submit"],
.wpcf7 button,
.contact-form-container input[type="submit"],
.contact-form-container button[type="submit"],
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
    background-color: #3A8D3F !important; 
    color: #ffffff !important;
    border: none !important;
    padding: 14px 24px !important;
    font-size: 1em !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: background-color 0.3s, color 0.3s, transform 0.2s !important;
    display: block !important;           
    max-width: 100% !important; 
    width: 100% !important;  
    margin: 20px auto !important;          
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button:hover,
.contact-form-container input[type="submit"]:hover,
.contact-form-container button[type="submit"]:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #ffffff !important;
    color: #3A8D3F !important;
    border: 2px solid #3A8D3F !important;
    transform: translateY(-2px) !important;
}
/* ============================
   ロゴを非表示にする
============================ */
.logo.logo-header.logo-text {
    display: none !important;
}

/* ===================================
   tagline（キャッチフレーズ）黒基調＋電話番号強調
=================================== */
.tagline {
    font-size: 1em;
    color: #333; 
    font-weight: 500;
    letter-spacing: 0.03em;
    text-align: center;
    margin: 15px auto;
    max-width: 90%;
    line-height: 1.5;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

.tagline .tel,
.tagline a[href^="tel"] {
    color: #3A8D3F; 
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.tagline {
    font-size: 1.4rem;
    line-height: 1.5;
}

@media screen and (max-width: 1024px) {
    .tagline {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .tagline {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .tagline {
        font-size: 1rem;
    }
}

.fz-40px {
    font-size: 40px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

@media screen and (max-width: 1024px) {
    .fz-40px {
        font-size: 32px !important;
    }
}

@media screen and (max-width: 768px) {
    .fz-40px {
        font-size: 30px !important;
    }
}

@media screen and (max-width: 480px) {
    .fz-40px {
        font-size: 28px !important;
    }
}

/* =============================
   adminbar-button 完全非表示化
============================= */

.adminbar-button,
#adminbar-button,
[class*="adminbar-button"],
[id*="adminbar-button"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* =============================
   has-text-align-center has-large-font-size レスポンシブ対応
============================= */
.has-text-align-center {
    text-align: center !important;
}

.has-large-font-size {
    font-size: 2rem !important; 
    line-height: 1.4 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important; 
}

@media screen and (max-width: 1024px) {
    .has-large-font-size {
        font-size: 1.8rem !important;
    }
}

@media screen and (max-width: 768px) {
    .has-large-font-size {
        font-size: 1.5rem !important;
    }
}

@media screen and (max-width: 480px) {
    .has-large-font-size {
        font-size: 1.3rem !important;
    }
}

/* ===============================
   Footer 表示最適化・領域縮小
=============================== */

footer.footer-container.nwa {
    background-color: #2d2d2d;
    color: #f5f5f5;
    padding: 20px 15px;    
    font-size: 0.9em;      
    line-height: 1.6;
    overflow-x: hidden;    
    word-wrap: break-word; 
    max-width: 100%; 
    box-sizing: border-box;
}

footer.footer-container.nwa a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s;
}
footer.footer-container.nwa a:hover {
    color: #3A8D3F;
}

footer.footer-container.nwa h2,
footer.footer-container.nwa h3,
footer.footer-container.nwa h4 {
    font-size: 1em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
    border-left: 4px solid #3A8D3F;
    padding-left: 8px;
    line-height: 1.4;
}

footer.footer-container.nwa ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer.footer-container.nwa ul li {
    margin-bottom: 5px;
}

footer.footer-container.nwa .site-info,
footer.footer-container.nwa .copyright {
    text-align: center;
    font-size: 0.8em;
    color: #ccc;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    footer.footer-container.nwa {
        padding: 15px 10px;
        font-size: 0.85em;
    }
    footer.footer-container.nwa h2,
    footer.footer-container.nwa h3,
    footer.footer-container.nwa h4 {
        font-size: 0.95em;
    }
}

/* ===================================
   entry-title（投稿タイトル）完全非表示化
=================================== */
.entry-title,
.entry-title *,
h1.entry-title,
h2.entry-title,
h3.entry-title,
h4.entry-title,
h5.entry-title,
h6.entry-title {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* ===================================
   header-in wrap cf レスポンシブ対応
=================================== */
.header-in.wrap.cf {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
    box-sizing: border-box;
}

.header-in.wrap.cf .logo,
.header-in.wrap.cf .site-branding {
    flex: 1 1 auto;
    min-width: 180px;
}

.header-in.wrap.cf nav,
.header-in.wrap.cf .main-navigation {
    flex: 2 1 auto;
    text-align: right;
}

.header-in.wrap.cf nav a,
.header-in.wrap.cf .main-navigation a {
    color: #333;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.header-in.wrap.cf nav a:hover,
.header-in.wrap.cf .main-navigation a:hover {
    color: #3A8D3F; 
}

@media screen and (max-width: 1024px) {
    .header-in.wrap.cf {
        padding: 15px 20px;
    }
}

@media screen and (max-width: 768px) {
    .header-in.wrap.cf {
        flex-direction: column;
        align-items: center;
        padding: 10px 15px;
        text-align: center;
    }

    .header-in.wrap.cf nav,
    .header-in.wrap.cf .main-navigation {
        text-align: center;
        margin-top: 10px;
    }

    .header-in.wrap.cf nav a,
    .header-in.wrap.cf .main-navigation a {
        display: inline-block;
        margin: 8px 10px;
    }
}

@media screen and (max-width: 480px) {
    .header-in.wrap.cf {
        padding: 8px 10px;
    }
}

/* ===================================
   MetaSlideレスポンシブ
=================================== */
@media screen and (max-width: 480px) {
  .metaslider .caption {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

@media screen and (max-width: 480px) {
  .metaslider .caption-wrap {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .metaslider .caption-wrap p {
    margin: 0 !important;
    font-size: 14px !important;
  }
}