    @charset "utf-8";

    body {
    color: #222222;
    }
/* ------------
画像・ロゴ
---------------*/   
    img{
        width: 100%;
    }
    .logo-small{
        width: 50px;
    }
    .image-middle{
        display: block;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }


        /* ------------
        padding 
        ---------------*/
        .p-15{
            padding: 15px
        }
        .p-30{
            padding: 30px
        }
        .p-100{
            padding: 100px
        }
        
        .pt-25{
            padding-top: 25px;
        }
        .pt-50{
            padding-top: 50px;
        }
        .pb-100{
            padding-bottom: 100px;
        }

        /* ------------
        margin
        ---------------*/
        .m-50{
            margin: 50px auto;
        }
        .mt-30{
            margin-top: 30px;
        }

        .mt-50{
            margin-top: 50px;
        }
        .mb-50{
            margin-bottom: 50px;
        }
        .mb-100{
            margin-bottom: 100px;
        }
         /* ------------
        font-size
         ---------------*/
        .fs-14{
            font-size: 14px;
        }
        .fs-16{
            font-size: 16px;
        }
        /* ------------
        br 改行
        ---------------*/
       .sp-line{
        display: block;
       }
        .pc-line{
            display: none;
        }

        @media (min-width: 1024px) {
            .sp-line{
                display: none;
            }
            .pc-line{
                display: block;
            }

       }






    /* =========================================
    content-text コンテンツ文章
    ========================================= */
        .content-text{
            line-height: 2;
        }
    /* =========================================
    blue-wrap　コンテンツ内　背景:ブルー
    ========================================= */
        .blue-wrap{
            background-color: #d0fff0;
            border-radius: 40px 40px 0 0;
            padding-top: 80px;
            padding-bottom: 100px;
        }
        .blue-wrap-bottom{
            background-color: #d0fff0;
            border-radius: 40px 40px 0 0;
        }
    /* =========================================
    white-wrap　コンテンツ内　背景:白色
    ========================================= */
        .white-wrap{
            background-color: #fff;
            border-radius: 20px;
            padding: 15px;
        }
        @media (min-width: 768px) {
            .white-wrap{
                background-color: #fff;
                border-radius: 20px;
                padding: 50px;
                width: 80vw;
                max-width: 1200px;
                margin: 70px auto;
            }
        }

    /* =========================================
    アーチ＆ロゴ　パーツのレイアウト　class=""
    ========================================= */
    .arch{
        position: relative;
        height: 70px;
    }
    .logo-small{
        position: absolute;
        inset: 0;           /* top, right, bottom, left すべて0にする短縮記法 */
        margin: 15px auto;       /* これで上下左右中央になる */
        width: 60px;       /* 幅の指定が必要 */
        height: auto;
    }
    .logo-arch{
        width: 100%;
        margin: auto;
        display: block;
    }
    @media (min-width: 768px) {
        .logo-small{
            position: absolute;
            inset: 0;           /* top, right, bottom, left すべて0にする短縮記法 */
            margin: auto;       /* これで上下左右中央になる */
            width: 68px;       /* 幅の指定が必要 */
            height: auto;
        }
        .arch{
            position: relative;
            height: 90px;
        }
        .logo-arch{
            width: 333px;
            margin: auto;
            display: block;
        }
    }

    /* =========================================
        ヘッダー (Header)
        ========================================= */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        z-index: 10000;
        /* background: rgba(255, 255, 255, 0.1); 背景が見えるよう透過度強め
        backdrop-filter: blur(2px); すりガラス効果 */
    }

    .header-logo-mobile {
        width: 50px;
        height: 50px;
    }

    .header-pc-elements {
        display: none;
    }

    .header-title{
        font-size: 12px;
        text-align: center;
        margin-top: 0.7em;
    }

    /* =========================================
        ハンバーガーメニュー (Hamburger)2案目
        ========================================= */
/* --- ハンバーガーボタンの動き --- */
/* --- ハンバーガーボタンの動き（修正版） --- */
.hamburger {
    /* ▼▼ ここが重要！修正ポイント ▼▼ */
    position: fixed; /* メニューが開いても画面の同じ位置に固定 */
    top: 20px;       /* ヘッダー内での位置に合わせて調整してください */
    right: 20px;     /* ヘッダー内での位置に合わせて調整してください */
    z-index: 9999;   /* メニュー(z-index:999)より確実に手前にする */
    /* ▲▲ 修正ここまで ▲▲ */
    
    cursor: pointer;
    width: 30px; /* クリックしやすい幅 */
    height: 24px; /* 全体の高さ（線の太さや間隔に合わせて調整） */
    
    /* 中身を中央揃えにしておく */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;    
    background: #333; 
    transition: all 0.3s ease; 
}

/* ▼▼ クラス active が付いた時の ×印化 ▼▼ */

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg); /* 11pxは (高さ24px - 線2px)/2 の計算 */
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* --- モバイルメニュー本体 --- */
.mobile-nav {
    position: fixed;
    /* 画面いっぱいに広げるモダンな記述 */
    inset: 0; 
    width: 100%;
    height: 100vh;
    
    /* ▼ デザインの肝：すりガラス効果 ▼ */
    /* background: rgba(255, 255, 255, 0.75);  */
    background: #fff; 
    backdrop-filter: blur(12px); /* 背景をぼかす（iPhoneのコントロールセンター風） */
    -webkit-backdrop-filter: blur(12px); /* Safari用 */
    
    z-index: 1000; /* ハンバーガーより下、ヘッダーより上 */
    
    /* 中身を中央揃え */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* ▼ アニメーション初期状態（隠しておく） ▼ */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95); /* 少し奥に引っ込んでいる状態 */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* iPhoneっぽい慣性スクロールの動き */
}

/* activeクラスが付くと表示 */
.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1); /* ふわっと手前に来る */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 15%;
    min-height: 100vh;
    height: 100svh;
}
/* activeクラスが付くと非表示 */

.header-logo-mobile.active {
    display: none;
}
/* --- リストのデザイン --- */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: -50px;
}

.mobile-nav ul li {
    margin: 25px 0;
    overflow: hidden; /* テキストが下から出てくるのをトリミング */
}

.mobile-nav ul li a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.1em;
    
    /* ▼ テキストの時間差アニメーション初期状態 ▼ */
    opacity: 0;
    transform: translateY(20px); /* 下から湧き上がる準備 */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* メニューが開いた時のテキストの動き */
.mobile-nav.active ul li a {
    opacity: 1;
    transform: translateY(0);
}

/* nth-childを使って、上から順番に遅れて表示させる（高級感の演出） */
.mobile-nav.active ul li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-nav.active ul li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-nav.active ul li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-nav.active ul li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-nav.active ul li:nth-child(5) a { transition-delay: 0.3s; }

.copyright {
    font-size: 9px;
    color: #fff;
}


/* =========================================
    navi PC版スタイル (min-width 1024px)
========================================= */

    @media (min-width: 1024px) {
        
        /* 背景画像をPC用に切り替え */
        .bg-decoration {
            /* 【PC版の背景画像】 */
            height: 100vh; /* PCは全画面に戻す */
            background-image: url('../img/index/bg-pc.jpg');
            background-position: center center;
            background-size: cover;
            background-blend-mode: normal;
        }

        .header {
            height: 70px;
            background: #ffffffc2;
            backdrop-filter: none;
            justify-content: center;
            padding: 0;
        }

        .header-inner {
            width: 100%;
            max-width: 1400px;
            padding: 0 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .header-logo{
            width: 50px;
            height: auto;
        }

        .header-logo-mobile, .hamburger, .mobile-nav {
            display: none;
        }

        .header-pc-elements {
            display: flex;
            width: 100%;
            justify-content: center;
            align-items: center;
            font-size: clamp(12px, 1vw, 16px);
            /* font-size: 14px; */
            color: #555;
            gap: 3em;
        }
        .desktop-nav { 
            display: flex;
            gap: 30px;
            /* text-transform: uppercase; */
            letter-spacing: 1px;
        }
        .social-icons {
            display: flex;
            gap: 25px;
        }

        .social-icon-box {
            width: 30px;
            height: 30px;
            /* background: #000; */
            color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 4px;
        }

        .main-content {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            height: calc(100vh - 100px);
            padding-top: 200px;
            position: relative;
        }

        .hero-text-area {
            width: 45%;
            text-align: left;
            padding-right: 50px;
            position: relative;
            z-index: 10;
        }

        .hero-title {
            font-size: min(3vw, 30px);
            /* margin-left: 50px; */
        }

        .pc-floating-logo {
            display: block;
            position: absolute;
            top: -150px;
            left: 50px;
            width: 100px;
            height: 100px;
        }
        /* topページ以外のヒーロイメージ内のロゴ */
        .floating-clogo{
            display: block;
            position: absolute;
            top: 3%;
            left: 23%;
            width: 100px;
            height: 100px;
        }
        /* inquiry.htmlのヒーロイメージ内のロゴ */
        .inquiry-floating{
            display: block;
            position: absolute;
            top: 40%;
            left: 18%;
            width: 100px;
            height: 100px;
        }

        .pc-floating-logo span {
            font-family: var(--font-serif);
            font-size: 24px;
            color: #d4af37;
        }

        .hero-image-wrapper {
            width: 45%;
            margin: 0;
        }

        .white-bg-deco {
            top: 40px; left: -40px; right: auto;
            width: 100%; height: 100%;
            background: rgba(255,255,255,0.8);
            z-index: 1;
        }

        .footer-text {
            position: absolute;
            bottom: 20px; left: 50%;
            transform: translateX(-50%);
            width: auto;
            justify-content: center;
            gap: 30px;
        }
        .footer-text p {
            width: auto;
            margin: 0;
        }
    }



/* =========================================
　heroセクション 全ページ共通
========================================= */

.hero-section{
    display: grid;
    place-items: center; 
    
    /* 古いブラウザ用のフォールバック */
    height: calc(65vh - 70px);
    /* モダンブラウザ用の動的ビューポート（アドレスバーの影響を受けない） */
    height: calc(65dvh - 70px);
    
    /* 念のため：中身が溢れた時のために最小の高さとして指定する方が安全 */
    min-height: calc(65dvh - 70px);
    margin-top: 70px;
}

.hero-title{
    font-size: clamp(24px, 5vw, 48px);
    font-weight: bold;
}
.read-more{
    display: block;
    padding: 8px 30px;
    border-radius: 20px;
    border: 1px solid #222222;
    margin-left: auto;
    font-size: 12px;
    width: fit-content;
}
.read-more:hover {
    background-color: #444444e0; /* 背景を濃い色に */
    color: #fff; /* 文字を白に */
}
.read-more-center{
    margin: auto;
}

@media screen and (min-width: 768px) {
    .read-more{
        padding: 13px 40px;
    }
    .read-more-center{
        margin-left: auto;
    }
}


/* =========================================
    footer
========================================= */

    /* --- ベーススタイル (SP版を含む共通設定) --- */
.site-footer {
  width: 100%;
  padding-top: 80px;
  background-color: #2e2725;
  color: #fff; /* 文字色（デザインに合わせて調整） */
  /* font-family: "Yu Mincho", "YuMincho", serif;  */
}

.footer-inner {
  max-width: 1000px; /* PC版での最大幅 */
  margin: 0 auto;
}

/* メインコンテンツ（ロゴとテキスト）の配置 */
.footer-content {
  display: flex;
  flex-direction: column; /* SPは縦並び */
  align-items: center;    /* 中央揃え */
  gap: 20px;              /* 要素間の余白 */
  margin-bottom: 40px;
}

/* ロゴのスタイル */
.footer-logo {
  max-width: 300px; /* ロゴの幅指定 */
}

.footer-logo img {
  width: 100%;
  height: auto;
  /* ★重要：インライン要素特有の下の隙間を消す */
  vertical-align: bottom; 
}

/* テキスト情報のスタイル */
.footer-info {
  text-align: center; /* SPはテキスト中央揃え */
  font-size: 14px;
  line-height: 1.8;
    width: fit-content;
}

.company-name {
  margin: 0 0 10px 0;
  letter-spacing: 0;
  font-size: 18px;
  font-weight: bold;
}

.contact-list {
  margin: 0;
  padding: 0;
    width: 85%;
    margin: auto;
    font-size: 12px;
}

.contact-row {
  display: flex;
  justify-content: flex-start; /* SPも左寄せ */
    text-align: left;
  gap: 5px;
}

.contact-row dt {
  font-weight: normal;
  width: 20%;
  min-width: 36px;
  text-align: end;
}
.contact-row dd {
  margin: 0;
  width: 80%;
  min-width: 200px;
}

/* コピーライト */
.copyright {
  text-align: center;
  font-size: 12px;
  padding-bottom: 1em;
  margin: 0;
}
.footer-inq-button{
    width: 100%;
    text-align: center;
    /* margin-bottom: 2em; */
}
.footer-inq-button a{
    display: inline-block;
    padding: 13px 40px;
    color: #333;
    background-color: #fff;
    border-radius: 35px;
    /* font-weight: bold; */
    font-size: 14px;
}
.footer-inq-button a:hover {
    background-color: #444444e0; /* 背景を濃い色に */
    color: #fff; /* 文字を白に */
}
/* --- PC版レイアウト (768px以上) --- */
@media screen and (min-width: 768px) {
    
.contact-list {
    margin: 0;
    padding: 0;
    width: 100%;
    margin: auto;
    font-size: 12px;
}
.contact-row dt {
  font-weight: normal;
  width: fit-content;
  min-width: 40px;
}

  .site-footer {
    width: 100%;
    background-color: #000;
    color: #fff; /* 文字色（デザインに合わせて調整） */
    /*font-family: "Yu Mincho", "YuMincho", serif;   */
}

  /* .footer-content {
    flex-direction: row;     
    justify-content: center; 
    align-items: center;     
    gap: 60px;              
  } */
  .footer-content {
    display: grid;
    grid-template-columns: 25% 35% 40%;
    grid-auto-flow: column;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    gap: 6%;
    margin-bottom: 40px;
    justify-self: center;
    width: fit-content;
    min-width: 600px;
}

  .footer-logo {
    width: 150px; /* PCでは少しロゴを大きく */
  }

  .footer-info {
    text-align: left; /* テキストを左揃えに変更 */
    width: 100%;
    min-width: 250px;
  }

  .contact-row {
    justify-content: flex-start; /* 左寄せに変更 */
  }
}

