@import url('https://fonts.googleapis.com/css2?family=Jost:wght@700&family=Zen+Maru+Gothic:wght@700&display=swap');

/* 全体のリセット（隙間をゼロにする） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #EFEBE0; /* Figmaの背景色 */
}

html {
    scroll-behavior: smooth;
}

/* ヘッダー全体の設定 */
header {
    display: flex;
    justify-content: space-between; /* ロゴは左、メニューは右 */
    align-items: flex-start;       /* 上側に揃える */
    width: 100%;
}

/* ヘッダーのリンクにマウスを乗せた時の動き */
nav ul li a {
    transition: color 0.3s ease; /* 色の変化をふわっとさせる */
}

nav ul li a:hover {
    color: #8BC7D1 !important; /* マウスを乗せた時に水色にする */
}

/* logo-areaの中身を横に並べる設定を追加 */
.logo-area {
    padding-left: 88px;
    padding-top: 79px;
    display: flex;
    flex-direction: row;    /* 名前と肩書きを横に並べる */
    align-items: flex-end;  /* 下のラインを揃えるとおしゃれだよ */
    color: #2E263A;
}

/* 名前部分（日本語と英語）は縦に並べる */
.names {
    display: flex;
    flex-direction: column;
}

/* 肩書きのスタイル */
.job-title {
    font-family: 'Verdana', sans-serif; /* 指定のフォント */
    font-size: 24px;                  /* 指定のサイズ */
    margin-left: 30px;               /* ロゴとの間の距離（x座標を意識して調整） */
    margin-bottom: 12px;              /* Sakura Moniの下のラインに合わせるための微調整 */
}

/* 以下のjp-name, en-name, nav ulなどはそのままで大丈夫だよ */
/* 朔来もに */
.jp-name {
    font-family: 'Zen Maru Gothic', serif;
    font-size: 24px;
    line-height: 1.2;
}

/* Sakura Moni */
.en-name {
    font-family: 'Jost', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-top: 5px; /* y=110付近に調整 */
}

/* メニューエリア */
nav ul {
    list-style: none;
    display: flex;
    background-color: #8BC7D1; /* 水色 */
    height: 84px;              /* 指定の高さ */
    align-items: center;       /* 文字を上下中央に */
    padding: 0 40px;
    border-radius: 0 0 0 20px;
}

nav li {
    margin-left: 40px;
}

nav a {
    text-decoration: none;
    color: #2E263A; 
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 24px;
}

/* ハンバーガー用のチェックボックスを隠す */
.nav-unshown {
    display: none;
}

/* PCではハンバーガーアイコンを表示しない */
#nav-open {
    display: none;
}

/* メインビジュアルのエリア */
.main-visual {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* これで画像を右側に寄せる */
    position: relative;        /* 文字を重ねるための基準 */
    margin-top: 60px;          /* ヘッダーとの隙間 */
}

/* 画像自体のサイズ */
.main-visual img {
    width: 1256px;             /* Figmaのサイズ */
    height: auto;
}

/* 200PXの巨大ロゴ：画像の上に重ねる */
.big-name {
    position: absolute;
    top: 86%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Verdana', sans-serif;
    font-size: 200px;
    color: #FFFFFF;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
}

.main-visual img {
    width: 1256px;            /* Figmaのサイズに合わせて調整してね */
    height: auto;            /* 横幅に合わせて高さは自動調整 */
}

/* ABOUTとPROFILEを横に並べる（強制版） */
.content-section {
    display: flex;
    justify-content: center;   /* 中央に寄せる */
    align-items: flex-start;
    gap: 40px;                 /* カード同士の隙間 */
    
    /* ↓ここが重要！折り返しを禁止して、はみ出しても横に並ばせる */
    flex-wrap: nowrap; 
    width: 100%;
    min-width: 1400px;         /* カード2枚分＋隙間の幅を確保 */
    
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

/* カードが勝手に縮まないように固定 */
.info-card-wrapper {
    position: relative;
    width: 689px;
    flex-shrink: 0;            /* 画面が狭くても絶対に縮ませない */
}

/* 背面の枠パーツ */
.card-outline {
    position: absolute;
    top: 5px;    /* ここで上下に3pxずらす */
    left: 5px;   /* ここで左右に3pxずらす */
    width: 100%;
    height: auto;
    z-index: 5;  /* 丸い画像より下に置く */
}

/* メインの丸パーツ */
.card-bg {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;  /* 枠より上に重ねる */
    display: block;
}

/* 文字はさらにその上 */
.card-content {
    z-index: 10;
}

/* エクスポートした背景画像 */
.card-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* カード内のテキスト全体の箱 */
.card-content {
    position: absolute;
    top: 55%; /* 位置は画像に合わせて微調整してね */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%; /* 文字がはみ出さないように少し絞る */
    color: #2E263A;
}

/* 個別の高さ調整 */
.about-pos { margin-top: 0; }
.profile-pos { margin-top: 150px; } /* PROFILEを少し下げてFigmaっぽく */

/* 本文用のフォント定義（英数字だけVerdanaを優先する設定） */
@font-face {
    font-family: 'BodyFont';
    src: local('Verdana');
    unicode-range: U+0030-0039, U+0041-005A, U+0061-007A; /* 0-9, A-Z, a-z の範囲 */
}

body {
    /* 1.Verdana(英数字のみ) 2.Zen Maru Gothic(日本語) の順で適用される */
    font-family: 'BodyFont', 'Zen Maru Gothic', sans-serif;
}

/* 見出し（ABOUT / PROFILE）を独立させる */
.card-content h3 {
    position: absolute;
    top: -100px;  /* 本文の塊から上に引き離す */
    left: 50%;
    transform: translateX(-50%); /* 見出し自体は中央寄せ */
    
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.1em;
    margin: 0;
}

/* 本文を左揃えにする */
.card-content p {
    text-align: left; /* ここで左揃えに */
    margin: 0;
    font-family: 'BodyFont', 'Zen Maru Gothic', sans-serif;
}

/* ABOUTのカード内の本文サイズ */
.about-pos .card-content p {
    font-size: 24px;
    /* 24pxだと少し行間が詰まって見えるかもしれないから、1.6〜1.8くらいがおすすめ */
    line-height: 1.6; 
}

/* PROFILEのカード内の本文サイズ */
.profile-pos .card-content p {
    font-size: 20px;
    line-height: 1.6;
}
/* ABOUTの本文だけを右に動かす */
.about-pos .card-content p {
    padding-left: 40px; /* 数字を増やせばもっと右に行くよ */
}

/* PROFILEの本文だけを右に動かす */
.profile-pos .card-content p {
    padding-left: 80px; /* こっちは多めに寄せる、みたいな調整ができる */
}

/* 装飾パーツの共通ルール */
.deco {
    position: absolute;
    z-index: 15;
    pointer-events: none;
}

/* ABOUT用のパーツ */
.deco-shoe {
    width: 100px;
    bottom: 50px;
    left: 150px;
}

.deco-kira {
    width: 50px;
    top: 90px;
    left: 250px;
}

.deco-hoshi {
    width: 40px;
    bottom: 90px;
    left: 200px;
}

/* PROFILE用のパーツ */
.deco-star {
    width: 60px;
    top: 60px;
    right: 200px;
}

/* ちびキャラの位置：親（content-section）が上がれば一緒に上がってくる */
.chibi-set {
    position: absolute;
    bottom: -200px; 
    left: 10%;
    z-index: 30;
}

.chibi-character {
    width: 180px;
    display: block;
}

/* --- 吹き出しの配置 --- */
.fukidashi-area {
    position: absolute;
    top: -80px;    /* キャラクターの少し上に */
    left: 200px;   /* キャラクターの少し右に */
    width: 240px;
}

.fukidashi-bg {
    width: 100%;
}

.fukidashi-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #2E263A;
    /* 本文用フォントを適用 */
    font-family: 'BodyFont', 'Zen Maru Gothic', sans-serif;
}

.fukidashi-heart {
    position: absolute;
    width: 25px;
    top: -10px;    /* 吹き出しの左上にちょこんと置く */
    left: 200px;
}

/* CONTENTSエリア全体 */
.contents-container {
    text-align: center;
    margin-top: 250px; /* 前のセクションとの間隔 */
    padding-bottom: 100px;
}

/* CONTENTSの見出し */
.contents-title {
    font-family: 'Jost', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #2E263A;
    margin-bottom: 60px;
}

/* リンク画像を並べる箱 */
.links-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -20px; /* 画像同士の隙間 */
}

/* リンク画像の設定 */
.content-link img {
    width: 750px; /* Figmaのサイズに合わせて調整してね */
    height: auto;
    transition: transform 0.3s ease; /* マウスを乗せた時の動き */
}

/* マウスを乗せた時に少し大きくする演出（おまけ） */
.content-link:hover img {
    transform: scale(1.05);
}

/* POLICYエリア全体 */
.policy-container {
    width: 100%;
    display: flex;
    justify-content: center; /* 横方向の中央寄せ */
    margin-top: 150px;       /* CONTENTSエリアとの隙間 */
    margin-bottom: 150px;    /* 次のCONTACTエリアとの隙間 */
}

/* 画像を包む箱（必要なら幅を制限） */
.policy-wrapper {
    width: 90%;              /* 画面端にピッタリくっつかないように */
    max-width: 1200px;       /* Figmaのサイズに合わせて調整 */
    text-align: center;
}

/* ポリシー画像本体 */
.policy-image {
    width: 100%;             /* wrapperの幅に合わせる */
    height: auto;            /* アスペクト比を維持 */
    display: block;
    margin: 0 auto;
    /* もし少し影をつけたいならこれ↓ */
    /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05)); */
}

/* CONTACTエリア全体の背景色 [2026-01-12の背景色指示に合わせて調整] */
.contact-container {
    background-color: #F7C4C1; /* あのピンク色 */
    padding: 120px 20px;
    text-align: center;
    margin-top: 150px;
}

/* CONTACTの見出し */
.contact-title {
    font-family: 'Jost', sans-serif;
    font-size: 48px;
    letter-spacing: 0.1em;
    color: #2E263A;
    /* 下の文言との間隔を広げる */
    margin-bottom: 30px; 
}

/* その下の説明文 */
.contact-sub {
    font-size: 16px;
    color: #2E263A;
    line-height: 1.8;
    /* ↓ここを大きくして、ボタンとの間にゆとりを作る */
    margin-bottom: 80px; 
}

/* ボタンに見せるためのリンク設定 */
.submit-btn-link {
    display: inline-block;
    padding: 25px 100px; /* 縦を少し厚くしたよ */
    background-color: #2E263A;
    color: #FFFFFF;
    text-decoration: none;    /* 下線を消す */
    padding: 20px 80px;
    border-radius: 40px;
    font-family: 'Jost', 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.submit-btn-link:hover {
    opacity: 0.9;
    transform: translateY(-3px); /* 浮き上がる演出 */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* フッター全体の基本設定 */
.main-footer {
    width: 100%;
    background-color: #EFEBE0; /* 背景と同じベージュ */
}

/* 上段：SNSやナビが並ぶところ */
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 下のラインで揃える */
    position: relative;
}

/* 左側：ロゴとSNS */
.footer-logo {
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    color: #2E263A;
    margin-bottom: 20px;
}

.footer-sns {
    display: flex;
    gap: 20px;
}

.footer-sns img {
    width: 40px; /* アイコンのサイズ */
    height: auto;
}

/* ナビゲーションを包んでいる箱の背景（水色）を消す */
.footer-nav {
    background-color: transparent; /* 背景を透明にする */
    padding: 0;                   /* 余計な内側の余白を消す */
    border-radius: 0;             /* 角丸も不要だね */
}

/* フッター内のナビゲーションだけに効く強い命令 */
.footer-nav ul {
    background-color: transparent !important; /* 背景を透明に強制 */
    height: auto !important;                /* 高さをリセット */
    padding: 0 !important;                  /* 余白をリセット */
    border-radius: 0 !important;            /* 角丸を消す */
    box-shadow: none !important;            /* もし影があったら消す */
    display: flex;
    list-style: none;
    gap: 30px;
}

.footer-nav li {
    margin-left: 0 !important;              /* ヘッダーの余白設定を打ち消す */
}

.footer-nav a {
    text-decoration: none;
    color: #2E263A;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

/* 下段：水色のコピーライト部分 */
.footer-bottom {
    background-color: #8BC7D1; /* あの水色 */
    padding: 15px 0;
    text-align: center;
}

/* 下段：水色のコピーライト部分の文字設定 */
.footer-bottom p {
    /* フォントをVerdanaに。念のため sans-serif も添えておくよ */
    font-family: 'Verdana', sans-serif; 
    
    font-size: 12px;
    color: #2E263A;
    
    /* 英語のコピーライトは少し文字間を広げるとプロっぽく見えるよ */
    letter-spacing: 0.05em; 
    margin: 0;
}

/* TOPへ戻るボタン（右端） */
.back-to-top img {
    width: 30px;
}

/* SNSアイコンをマウスが通った時に少し浮かせる */
.footer-sns a:hover {
    opacity: 0.7;
    transform: translateY(-5px);
    transition: 0.3s;
}

/* ナビの文字の色をふわっと変える */
.footer-nav a:hover {
    color: #8BC7D1; /* もにちゃんカラーの水色に変わるよ */
    transition: 0.3s;
}

/* PCでは改行タグを隠しておく */
.sp-only {
    display: none;
}


@media screen and (max-width: 768px) {
    /* 1. 肩書きを消して、メイン画像を大きく */
    .job-title {
        display: none;
    }
    .main-visual {
        height: 80vh; 
        overflow: visible;
        margin-top: 20px;
    }
    .main-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 2. デカ文字ロゴを左揃えで改行 */
    .sp-only {
        display: block;
    }
    .big-name {
        left: 5%;
        top: 85%;
        transform: none;
        text-align: left;
        font-size: 80px; /* 96pxだと画面からはみ出るかもだから少し調整 */
        line-height: 1.0;
        white-space: normal;
    }

    /* 3. ABOUT/PROFILEを縦に並べる（ここが重要） */
    .content-section {
        flex-direction: column; /* 縦並びに変更 */
        flex-wrap: wrap;       /* 折り返しを許可 */
        min-width: auto;       /* PC用の1400pxをリセット */
        align-items: center;
        gap: 100px;            /* カード同士の上下の隙間 */
        margin-top: 150px;
    }

    .info-card-wrapper {
        width: 90%;            /* 画面幅に合わせる */
        max-width: 400px;      /* スマホで横に広がりすぎないように */
        min-width: auto;
    }

    .profile-pos {
        margin-top: 0;         /* PCでつけてた位置ズレをリセット */
    }

    /* 4. 文字サイズの設定（JOST: 20px / 本文: 14px） */
    .card-content h3 {
        font-size: 20px;       /* JOST部分 */
        top: -60px;
    }

    .about-pos .card-content p,
    .profile-pos .card-content p {
        font-size: 14px;       /* 本文部分 */
        padding-left: 0;       /* PC用の右寄せをリセット */
        text-align: center;    /* スマホなら中央寄せが綺麗かも（左がいいならleftに変えてね） */
    }

    /* 5. CONTENTS（リンク画像）も縦にする */
    .links-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .content-link img {
        width: 90vw;           /* 画面幅に合わせる */
    }

    /* 6. その他調整 */
    .logo-area {
        padding-left: 20px;
        padding-top: 40px;
    }

    /* 装飾パーツのサイズと位置をスマホ用に調整 */
    .deco {
        width: 60px; /* PC用だと大きすぎるから一律で少し小さく */
    }

    /* ヒール（靴）の位置 */
    .deco-shoe {
        bottom: 20px;
        left: 15%;
        width: 80px; /* 個別にサイズ調整したければここで */
    }

    /* キラキラの位置 */
    .deco-kira {
        top: 30px;
        left: 30%;
        width: 40px;
    }

    /* 星や他のパーツも、邪魔なら一旦消すか位置をずらす */
    .deco-hoshi {
        bottom: 40px;
        right: 60%;
        width: 40px;
        left: auto; /* PCでの left 設定を打ち消す */
    }

    /* PROFILE用の星 */
    .deco-star {
        top: -20px;
        right: 20%;
    }

    /* 1. まず全体の大きな隙間を消す */
    .content-section {
        gap: 20px !important; /* カード同士の隙間を最小限に */
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* 2. PROFILEカード自体の余白も削る */
    .profile-pos {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 3. ちびキャラセットの設定（ここを重点的に！） */
    .chibi-set {
        position: relative;
        display: flex;
        flex-direction: row;    /* 横に並べる */
        align-items: flex-start; /* 吹き出しを上の方に置く */
        
        margin-top: -60px;      /* PROFILEの丸に少し食い込むくらい上げる */
        margin-left: 5%;
        gap: 0;                 /* 隙間は一旦ゼロにして微調整 */
        width: 100%;
    }

    /* キャラの設定（念のため固定） */
    .chibi-character {
        width: 110px;
        order: 1;
        flex-shrink: 0;
    }

    /* 吹き出しの設定（ここを微調整） */
    .fukidashi-area {
        position: relative;
        width: 170px;       /* ほんの少しだけスリムに */
        margin-top: 15px;   /* キャラの顔の横に来るように少し上げる */
        
        /* ここ！もっとマイナスを大きくしてキャラに近づける */
        margin-left: -200px; 
        
        order: 2;
    }

    /* 吹き出しの中の文字 */
    .fukidashi-text {
        font-size: 11px;
        line-height: 1.2;
        width: 80%;
    }

    .fukidashi-heart {
        position: absolute;
        width: 20px;       /* スマホに合わせて少し小さく */
        
        /* 以下の数値をいじって好きな場所に置いてね */
        top: -15px;        /* 上に動かしたいならマイナスを大きく（例: -25px） */
        left: 85%;         /* 右に寄せたいなら数字を大きく（例: 90%） */
        
        z-index: 10;       /* 吹き出しより手前に来るように */
    }

    /* 1. POLICYの下側の余白を消す */
    .policy-container {
        width: 100%;
        margin-top: 80px;
        margin-bottom: 0 !important; /* 下の余白を完全にゼロにする */
        padding: 0;
    }

    .policy-wrapper {
        width: 100%;
        max-width: none;
    }

    .policy-image {
        width: 100vw;    /* 画面の横幅いっぱい（100%）に強制 */
        height: auto;
        display: block;
        margin: 0;
        display: block;
        vertical-align: bottom;
    }

    /* 2. CONTACTの上側の余白を消して、画像と密着させる */
    .contact-container {
        margin-top: 0 !important;    /* 画像とくっつけるためにゼロに */
        padding-top: 60px;          /* 密着したあと、中の文字が苦しくないように内側に余白を */
        padding-bottom: 80px;
    }

/* 1. フッターの上段を縦に並べる設定（ロゴとナビを分ける） */
    .footer-top {
        display: flex;
        flex-direction: column; 
        align-items: flex-end;    /* 全体を右に寄せる */
        padding: 40px 20px;
        gap: 30px;
    }

    /* 2. ナビゲーション項目を縦並びにする */
    .footer-nav ul {
        display: flex;
        flex-direction: column;   /* 縦並びにする魔法 */
        align-items: flex-end;    /* 文字を右揃えにする */
        gap: 15px !important;     /* 項目ごとの上下の隙間 */
        background-color: transparent !important;
    }

    /* 3. 各項目の余白をリセット */
    .footer-nav li {
        margin-left: 0 !important;
        margin-bottom: 0;
    }

    .footer-nav a {
        font-size: 16px;          /* スマホで押しやすいサイズに少し大きく */
        padding: 5px 0;
    }

    /* 4. 左側にあったロゴやSNSも右に寄せる */
    .footer-left {
        text-align: right;
    }

    .footer-sns {
        justify-content: flex-end; /* SNSアイコンも右寄せ */
    }

    /* --- ハンバーガーメニューの実装 --- */

    /* 1. 三本線アイコンの土台 */
    #nav-open {
        display: inline-block;
        width: 30px;
        height: 22px;
        vertical-align: middle;
        position: fixed; /* 画面に固定 */
        top: 40px;
        right: 20px;
        z-index: 100;
        cursor: pointer;
    }

    /* 三本線の線そのもの */
    #nav-open span, #nav-open span:before, #nav-open span:after {
        position: absolute;
        height: 3px;
        width: 100%;
        border-radius: 3px;
        background: #2E263A;
        display: block;
        content: '';
        transition: .4s;
    }
    #nav-open span:before { top: -10px; }
    #nav-open span:after { bottom: -10px; }

    /* 2. チェックが入ったら三本線を「×」に変える */
    #nav-input:checked ~ #nav-open span { background: rgba(255, 255, 255, 0); }
    #nav-input:checked ~ #nav-open span:before { top: 0; transform: rotate(45deg); }
    #nav-input:checked ~ #nav-open span:after { top: 0; transform: rotate(-45deg); }

    /* 3. メニューの中身（最初は画面の外に隠しておく） */
    #nav-content {
        position: fixed;
        top: 0;
        left: 100%; /* 右側に隠す */
        width: 100%;
        height: 100%;
        background: rgba(139, 199, 209, 0.95); /* もにちゃんカラーの水色 */
        z-index: 99;
        transition: .5s;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* メニュー内のリストを縦に並べる */
    #nav-content ul {
        flex-direction: column;
        background: transparent !important;
        height: auto;
        padding: 0;
        gap: 30px;
        text-align: center;
    }

    /* 4. チェックが入ったらメニューを画面内にスライドさせる */
    #nav-input:checked ~ #nav-content {
        left: 0;
    }

    /* PC用の nav 設定を無効化 */
    nav ul {
        border-radius: 0;
    }
}