@charset "utf-8";

/* ------------------------
共通CSS　navi footer その他
--------------------------- */
/* =========================================
   追加装飾：VIEW MORE ボタン（丸い矢印付き）
   ========================================= */

.view-more-btn {
    /* 以前の border: 1px solid #333; は削除するか上書きしてください */
    border: none !important; /* 線を消す */
    padding: 0 !important;   /* 余白もリセット */
    
    /* レイアウト */
    display: inline-flex;    /* 横並び */
    align-items: center;     /* 上下中央揃え */
    gap: 15px;               /* テキストと矢印の距離 */
    
    /* 文字スタイル */
    font-family: "Noto Serif JP"; 
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;
}

/* ホバー時の動き */
.view-more-btn:hover {
    opacity: 0.7;
}

/* --- 丸い矢印アイコンを作る (::after) --- */
.view-more-btn::after {
    content: "";
    display: block;
    width: 30px;    /* 丸の幅 */
    height: 30px;   /* 丸の高さ */
    border: 0.4px solid #333; /* 丸い枠線 */
    border-radius: 50%;     /* 完全な円にする */
    
    /* 矢印画像がある場合は background-image で指定しますが、
       ここではCSSだけで「＞」マークを描画するテクニックを使います */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23333%22%20stroke-width%3D%221%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%229%2018%2015%2012%209%206%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px; /* 中の矢印のサイズ */
}


/* =========================================
    基本設定 / 変数
    ========================================= */

    :root {
        --primary-text: #333;
        --accent-gold: #d4af37;
        --font-serif: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", serif;
        --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
        /* タイトル用フォント変数を追加 */
        /* --font-title: "Montserrat Alternates", sans-serif; */
        /* タイトル用フォント変数を Josefin Sans に変更 */
        --font-title: "Josefin Sans", sans-serif;
    }
    
    /* fontstyle */
    .montserrat {
        /* font-family: "Montserrat Alternates", sans-serif; */
        font-family: "Montserrat", sans-serif;
        font-weight: 500;
        font-style: Medium;
        }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: var(--font-sans);
        color: var(--primary-text);
        line-height: 1.6;
        background-color: #fff;
        overflow-x: hidden;
    }

    a {
        text-decoration: none;
        color: inherit;
    }
    ul {
        list-style: none;
    }
    img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }

    /* =========================================
        背景画像の設定 
        ========================================= */
    .bg-decoration {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 65svh; /* 画面の65%までで止める */
        z-index: -1;
        /* 背景画像の基本設定 */
        background-size: cover;      /* 画面いっぱいに広げる */
        background-position: center bottom; /* 上中央を基準に表示 */
        background-repeat: no-repeat;
        /* 【スマホ版の背景画像】 */
        background-image: url('../img/index/sp/bg-mobile.jpg'); 
    }

    /* =========================================
        ヘッダー (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;
    }
    .nav-logo-mobile {
        width: 100px;
        height: 100px;
    }

    .header-pc-elements {
        display: none;
    }



    /* =========================================
        ハンバーガーメニュー (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); /* 少し透けさせる */
    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: 18px; /* 採用サイトなので少し大きめで上品に */
    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: #333;
}
    /* =========================================
        メインコンテンツ
        ========================================= */
    .main-content {
        padding-top: 90px;
        padding-bottom: 50px;
        max-width: 1200px;
        /* margin: 0 auto; */
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }

    /* 画像エリア */
    .hero-image-wrapper {
        position: relative;
        width: 100%;
        margin-left: auto;

    }

    .hero-image-wrapper img {
        width: 100%;
        display: block;
        position: relative;
        z-index: 2;
        left: 26%;
    }

    /* 画像後ろの白いボックス */
    .white-bg-deco {
        position: absolute;
        /* スマホ版の配置 */
        top: 6%;
        left: -20%;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,0.6);
        z-index: 1;
    }

    /* テキストエリア */
    .hero-text-area {
        text-align: center;
        margin-bottom: 50px;
    }

/* ここを変更: タイトルフォントを Montserrat Alternates に指定 */
    .hero-title {
        /* font-family: var(--font-title);  Montserrat Alternates  */
        font-size: 26px;
        color: #555;
        line-height: 1.4;
        margin-bottom: 20px;
        font-weight: 500; /* 少し太さを調整 */
    }

    /* ▼▼▼ ここで「行のズレ」を作ります ▼▼▼ */
    .hero-title .herotext-line {
        display: block;      /* 改行させる */
        margin-top: 10px;    /* 行間 */
        margin-left: 1em;  /* ★2行目を右にずらす（文字数1.5個分くらい） */
    }
    .pc-floating-logo {
        display: none;
    }
    .floating-clogo{
        display: none;
    }
    .inquiry-floating{
        display: none;
    }
    .ja-title {
    padding-bottom: 0.3em;
}

    /* =========================================
   2. TOPページ　ベース（スマホ版）レイアウト
   ========================================= */
.p-hero {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: grid;
    padding-top: 10vh;
}
.p-hero::before {
    content: "";
    position: absolute;
    top:0;   
    left: 0;
    width: 100%;
    height: 65%;  
    background-image: url('../img/index/sp/bg-mobile.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;        
    z-index: -1; /* コンテンツの下に潜り込ませる */
}
    
.p-hero__text {
    z-index: 3;
    position: relative;
    margin-top: 30px; /* 画像との間隔 */
    display: grid;
    justify-items: center;
}



/* スマホではPC用ロゴを消す */
.pc-floating-logo {
    display: none;
}
.social-icons {
    display: flex;
    gap: 25px;
}
.social-icons img{
    min-width: 40px;
    max-width: 45px;
}
    /* =========================================
        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: 80px;
            background: transparent;
            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-mobile, .hamburger, .mobile-nav {
            display: none;
        }

        .header-pc-elements {
            display: flex;
            width: 100%;
            justify-content: space-between;
            align-items: center;
            font-size: clamp(16px, 1.2vw, 24px);
            color: #555;
        }
        .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;
        }
    }









/* =========================================
   1. 共通パーツ：画像と白背景のズレ（Grid）
   ========================================= */
.c-layered-visual {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    margin-bottom: 0;
    position: relative;
}

/* 共通：後ろの白背景 */
.c-layered-visual__bg {
    grid-area: 1 / 1 / -1 / -1;
    background: rgb(245 245 245);
    z-index: 1;
    
    /* スマホ版のデフォルト設定（左上に配置） */
    width: 70%;
    height: 98%;
    max-width: 570px;
    max-height: 850px;
    justify-self: end;
    align-self: start;
    margin-top: 30px;
}

/* 共通：手前の画像 */
.c-layered-visual__img {
    grid-area: 1 / 1 / -1 / -1;
    margin: 0;
    z-index: 2;
    
    /* スマホ版のデフォルト設定（右下・見切れ） */
    width: 80%;
    max-width: 620px;
    justify-self: end;
    align-self: end;
    transform: translateX(10%); /* 右にはみ出させる */
}

.c-layered-visual__img img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* 影をつけて浮き上がらせる */
    margin-left: 30px;
}


/* =========================================
   2. TOPページ　ベース（スマホ版）レイアウト
   ========================================= */
/* .p-hero {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: grid;
    padding-top: 10vh;
}
.p-hero::before {
    content: "";
    position: absolute;
    top:0;   
    left: 0;
    width: 100%;
    height: 65%;  
    background-image: url('../img/index/sp/bg-mobile.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;        
    z-index: -1; 
}
    
.p-hero__text {
    z-index: 3;
    position: relative;
    margin-top: 30px; 
    display: grid;
    justify-items: center;
}

.hero-title {
    font-size: 45px;
    color: #555;
    line-height: 1.4;
    font-weight: 500;
}


.pc-floating-logo {
    display: none;
} */


/* =========================================
   3. PC版スタイル (min-width: 1024px)
   ★ここが重要です！元のデザインを再現します
   ========================================= */

/* =========================================
   3. PC版スタイル (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {

    .p-hero {
        /* ▼▼▼ 背景の修正ポイント ▼▼▼ */
        background-color: #fff; /* ベースの色（下半分に見える色） */
        background-image: url('../img/index/bg-pc.jpg'); /* PC用背景画像 */
        background-repeat: no-repeat;
        background-position: top center; /* 上に詰める */
        
        /* ★魔法のプロパティ：幅100%、高さ50vh（画面の半分） */
        background-size: 105% 50vh; 
        overflow-x: unset;
        /* ▼▼▼ レイアウト設定 ▼▼▼ */
        /* Flexboxで上下中央揃えにすれば、自然と境界線（50%ライン）に要素が乗ります */
        display: flex;
        flex-direction: row-reverse; /* 画像右、テキスト左 */
        align-items: center;         /* ★これで要素の中心が背景の境界線に来ます */
        justify-content: center;     
        
        width: 100%;
        min-height: 100vh;
        /* padding-top: 80px; ヘッダーの高さ分などを考慮 */
        box-sizing: border-box;
    }

    /* --- 1. テキストエリア（左側） --- */
    .p-hero__text {
        width: 40%;          /* ★幅を広めに取る */
        max-width: 500px;
        text-align: left;
        position: relative;
        z-index: 10;         /* ★画像より手前に表示（必須） */
        
        /* ▼▼▼ ここで「重なり」を作ります ▼▼▼ */
        padding-right: 0;    /* 余計な余白を削除 */
        margin-right: -100px; /* ★右へ強制的に食い込ませる（数値は調整してください） */
        
        /* 微調整：もし全体を少し上に上げたい場合 */
        transform: translateY(-50px);
    }

/* タイトル文字の修正 */
    .hero-title {
        font-size: min;
        /* color: #333; */
        color: #454545;
        line-height: 1.3;
        margin-left: 0; /* 左端から開始 */
    }
    /* ▼▼▼ ここで「行のズレ」を作ります ▼▼▼ */
    .hero-title .herotext-line {
        display: block;      /* 改行させる */
        margin-top: 10px;    /* 行間 */
        margin-left: 1.5em;  /* ★2行目を右にずらす（文字数1.5個分くらい） */
    }

    /* PC版ロゴ */
    .pc-floating-logo {
        display: block;
        position: absolute;
        top: -240px; 
        left: 0;
        width: 120px;
    }

/* --- 2. 画像エリア（右側）の修正 --- */
    .c-layered-visual {
        width: 45%; 
        max-width: 600px; 
        
        /* テキストと被るように、z-indexはテキストより低くする */
        position: relative;
        z-index: 1; 
    }

    /* 白背景（ここも少し調整するとよりXDに近づきます） */
    .c-layered-visual__bg {
        width: 90%;
        height: 110%;      /* ★少し縦長にして存在感を出す */
        margin-top: 10%;   /* ★少し上に突き抜けさせる */
        justify-self: start; 
        margin-right: 40px; 
        background: #f8f8f8; /* 薄いグレー（白背景の上でも見えるように） */
    }

    /* 画像 */
    .c-layered-visual__img {
        width: 85%;
        justify-self: baseline;
        align-self: start;
    }
}
/* =========================================
    ◆◆◆共通コンポーネント：メインタイトルまわり
    concept/ newgraduate/ midcareer/ recruit/ inquiry
    ========================================= */

    .main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    line-height: 1.1;
    color: #444;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    transform: scaleY(0.8);
}
@media (min-width: 1024px) {
        .main-title {
        font-size: 62px; /* PC用に大きく */
        margin-bottom: 20px;
        transform: scaleY(0.8);
        font-weight: 400;
        line-height: 1.5;
    }
}
    /* =========================================
   リード文 (SP/PC共通修正)
   ========================================= */
    .lead,
    .inquiry-lead {
        width: 75%;
        max-width: 650px;
        margin: 0 auto 4em;
        font-size: 14px;
        line-height: 2;
        text-align: left;
    }

@media (min-width: 1024px) {
   .lead{
        width: 45%;
        max-width: 650px;
        margin: 4em auto;
        font-size: 14px;
        line-height: 2;
        text-align: left;
        z-index: 2000;
        position: relative;
   }
    .inquiry-lead{
        width: 45%;
        max-width: 650px;
        margin: 13% auto 10%;
        font-size: 14px;
        line-height: 2;
        text-align: left;
   }

}


/* =========================================
    ◆◆◆共通コンポーネント：インフォメーションリスト
    concept/ newgraduate/ midcareer/ 
    ========================================= */
.large{
    font-size: 60px;
    font-weight: 320;
}
.c-info-list{
    margin-top: 60px;
    width: 100%;
    padding: 20px;
    position: relative;
    max-width: 1000px;
    margin: auto;
}

/* 各項目のまとまり */
.c-info-item {
    margin-bottom: 40px;
    position: relative;
    z-index: 1; /* 背景より手前 */
}

/* タイトル部分 */
.c-info-title {
    font-size: 16px;
    color: #444;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* タイトルの左の四角 */
.c-info-title::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-color: #c7d6e0;
    flex-shrink: 0;
}

/* 本文 */
.c-info-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
    margin-bottom: 80px;
}

/* 背景のグレーボックス（リスト用） */
.c-info-bg {
    position: absolute;
    z-index: 1; /* 画像より後ろ */
    
    /* デザインに合わせてサイズ調整 */
    width: 60%;  /* 画像より細く */
    height: 72%; /* 親要素いっぱいの高さ */
    top: 17%;
    right: 0;
    /* transform: translateX(-50%);  */
    
    background-color: #f4f4f4; /* 薄いグレー */
    /* 必要なら少し透明度を入れる */
    opacity: 0.9;
}
@media (min-width: 1024px) {
    .c-info-title {
        font-size: 18px;
        color: #444;
        font-weight: 500;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    /* タイトルの左の四角 */
    .c-info-title::before {
        content: "";
        display: block;
        width: 25px;
        height: 25px;
        background-color: #c7d6e0;
        flex-shrink: 0;
    }
    /* 背景のグレーボックス（リスト用） */
    .c-info-bg {
        position: absolute;
        z-index: 1;
        width: 30%;
        height: 113%;
        top: -1%;
        right: 0;
        background-color: #f4f4f4;
        opacity: 0.9;
    }
}

/* =========================================
   汎用コンポーネント：人物プロフィール
   (.person-profile)
   ========================================= */

/* コンポーネント全体の枠 */
.person-profile {
    width: 100%;
    max-width: 600px; /* スマホでのほどよい最大幅 */
    margin: 0 auto 60px; /* 中央寄せと下の余白 */
    padding: 0 20px; /* 画面端の余白 */
    position: relative;
}

/* --- ビジュアルエリア（画像と背景） --- */
.person-profile__visual {
    position: relative; /* 背景をずらす基準点 */
    display: block;
    width: 80%; /* 画像の幅（デザインに合わせて調整） */
    margin: 30px auto 50px; /* 上下左右の余白。上は背景の分空ける */
    z-index: 1; /* 背景より手前に表示 */
}

/* ★重要：左上にずれるグレーの背景 */
/* .person-profile__visual::before {
    content: "";
    position: absolute;
    top: -20px;  
    left: -20px; 
    width: 100%; 
    height: 100%;
    background-color: #f4f4f4; 
    z-index: -1; 
} */

/* 画像本体 */
.person-profile__visual img {
    width: 100%;
    height: auto;
    display: block; /* 画像の下の隙間を消す */
}

/* --- コンテンツエリア（テキスト情報） --- */
.person-profile__content {
    width: 100%;
}

/* 右寄せの基本情報 */
.person-profile__info {
    text-align: right;
    margin-bottom: 30px;
    font-family: sans-serif; /* ゴシック体 */
    color: #333;
    line-height: 1.5;
}

.info-text {
    font-size: 14px;
    margin: 0;
}

.info-name {
    font-size: 16px; /* 名前だけ少し大きく */
    letter-spacing: 0.1em;
    margin: 5px 0;
}

/* 本文（両端揃えで見栄えを整える） */
.person-profile__body p {
    margin-bottom: 1.5em;
    line-height: 1.8; /* 読みやすい行間 */
    font-size: 14px;
    color: #555;
    text-align: justify; /* テキストを両端に揃える */
}
/* interview背面のグレーボックス */
.gray-bg-interviewbox{
    position: absolute;
    z-index: -1;
    width: 70%;
    height: 44%;
    top: -3%;
    left: 31px;
    background-color: #f4f4f4;
    opacity: 0.9;
}
/* company背面のグレーボックス */
.gray-bg-companybox{
    position: absolute;
    z-index: 1;
    width: 79%;
    height: 81%;
    top: 36%;
    left: 64px;
    background-color: #f4f4f4;
    opacity: 0.9;
}
/* タイトル周り */
.philosophy-header {
    margin-bottom: 40px;
    line-height: 1;
    display: inline-block;
    padding-left: 20px;
    width: 100%;
}
.section-title {
    font-size: min(8vw, 40px);
    letter-spacing: 0.1em;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
    color: #333;
    display: inline-block;
    transform: scaleY(0.8);
}
/* =========================================
   PC版レイアウト (1024px以上)
   ========================================= */
@media (min-width: 1024px) {

    /* --- コンポーネント全体 --- */
    .person-profile {
        max-width: 850px; /* コンテンツ幅を広げる */
        padding: 0;        /* 左右の余白はインナーなどで調整するため一旦0に */
        
        /* ★横並びにする魔法 */
        display: flex;
        justify-content: space-between; /* 左右に配置 */
        align-items: center; /* 上下中央揃え（上揃えなら flex-start） */
        gap: 60px; /* 画像とテキストの間の距離 */
    }




    /* --- ビジュアルエリア（画像） --- */
    .person-profile__visual {
        width: 45%; /* 幅を指定（半分より少し小さめ） */
        margin: 0;  /* SPの余白をリセット */
        /* PCでは少し余白を持たせて背景ボックスが切れないようにする */
        margin-top: 20px; 
        margin-left: 20px;
    }

    /* 偶数番目の時は、背景ボックスのずらし方向を逆にする調整 */
    /* （右側に画像が来た時、背景が右にはみ出ると画面外に行くのを防ぐため左へずらす等） */
    .person-profile:nth-of-type(even) .person-profile__visual {
        margin-left: 0;
        margin-right: 20px;
    }
    
    /* 背景ボックスの位置微調整（必要であれば） */
    /* .person-profile:nth-of-type(even) .person-profile__visual::before {
        left: auto;
        right: -20px;
    }
    */


    /* --- コンテンツエリア（テキスト） --- */
    .person-profile__content {
        width: 48%; /* 残りの幅 */
    }

    /* プロフィール情報（PCでの見た目調整） */
    .person-profile__info {
        margin-bottom: 40px;
        /* もしPCでは左寄せにしたい場合はここを left に */
        text-align: right; 
    }

    .info-name {
        font-size: 16px; /* PCなので名前を少し大きく */
    }

    .person-profile__body p {
        font-size: 14px; /* 本文もPCサイズに */
    }
    /* ★重要：左上にずれるグレーの背景 */
    /* .person-profile__visual::before {
        content: "";
        position: absolute;
        top: -120px;
        left: -192px;
        width: 107%;
        height: 100%;
        background-color: #f4f4f4; 
        z-index: -1; 
    } */
    .philosophy-header {
        width: fit-content;
        z-index: 10;
        margin-bottom: 40px;
        margin-top: -3%;
        margin-left: 16%;
        line-height: 1;
        display: inline-block;
        padding-left: 20px;
        width: 100%;
        max-width: 1200px;
        /* margin: auto; */
        /* text-align: right; */
        text-align: left;
        position: relative;
    }
    .section-title {
        /* font-size: min(4vw, 50px); */
        font-size: min(4vw, 48px);
        letter-spacing: 0.2em;
        font-weight: 300;
        font-family: 'Montserrat', sans-serif;
        line-height: 1.1;
        color: #444;
        display: inline-block;
        transform: scaleY(0.8);
    }
    /* interview背面のグレーボックス */
    .gray-bg-interviewbox{
        position: absolute;
        z-index: -1;
        width: 53%;
        height: 100%;
        top: 40%;
        left: -20%;
        background-color: #f4f4f4;
        opacity: 0.9;
    }
    /* company背面のグレーボックス */
        .gray-bg-companybox{
            position: absolute;
            z-index: 1;
            width: 71%;
            height: 65%;
            top: 84%;
            left: 68%;
            background-color: #f4f4f4;
            opacity: 0.9;
        }
}
/* =========================================
    footer
    ========================================= */

    /* --- ベーススタイル (SP版を含む共通設定) --- */
.site-footer {
  width: 100%;
  /* 背景画像の設定 */
  background-image: url("../img/common/sp-footer-bg.jpg"); /* パスは適宜調整してください */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* 領域いっぱいに広げる */
  padding: 40px 20px 20px; /* 上 左右 下 の余白 */
  box-sizing: border-box;
  color: #333; /* 文字色（デザインに合わせて調整） */
  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 {
  width: 120px; /* ロゴの幅指定 */
}

.footer-logo img {
  width: 100%;
  height: auto;
  /* ★重要：インライン要素特有の下の隙間を消す */
  vertical-align: bottom; 
}

/* テキスト情報のスタイル */
.footer-info {
  text-align: center; /* SPはテキスト中央揃え */
  font-size: 14px;
  line-height: 1.8;
    width: 80%;
}

.company-name {
  margin: 0 0 10px 0;
  letter-spacing: 0.1em;
}

.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%;
    text-align: end;
}
.contact-row dd {
  margin: 0;
  width: 80%;
}

/* コピーライト */
.copyright {
  text-align: center;
  font-size: 10px;
  margin: 0;
  opacity: 0.7;
}

/* --- 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;
}

  .site-footer {
  width: 100%;
  /* 背景画像の設定 */
  background-image: url("../img/common/footer-bg.jpg"); /* パスは適宜調整してください */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* 領域いっぱいに広げる */
  padding: 60px 20px 20px; /* 上 左右 下 の余白 */
  box-sizing: border-box;
  color: #333; /* 文字色（デザインに合わせて調整） */
  font-family: "Yu Mincho", "YuMincho", serif; /* 雰囲気的に明朝体が合いそうです */
}

  .footer-content {
    flex-direction: row;     /* 横並びに変更 */
    justify-content: center; /* 全体を中央寄せ */
    align-items: center;     /* 垂直方向の中央揃え */
    gap: 60px;               /* ロゴとテキストの間隔を広げる */
  }

  .footer-logo {
    width: 150px; /* PCでは少しロゴを大きく */
  }

  .footer-info {
    text-align: left; /* テキストを左揃えに変更 */
    width: 215px;
  }

  .contact-row {
    justify-content: flex-start; /* 左寄せに変更 */
  }
}







