
/* ========================
    カラーパレット・ベース設定
    ======================== */
:root {
    --color-main: #db673a; /* 親しみと活気のオレンジ */
    --color-sub: #334a66;  /* 信頼感のある紺（ネイビー） */
    --color-bg-light: #F8FAFC; /* ごく薄いブルーグレー（背景用） */
    --color-text: #334155; /* 読みやすいダークグレー */
    --color-green: #446043; /* 安心感のあるグリーン */
    --color-white: #FFFFFF;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f5f3ef; /* PC閲覧時の左右の余白背景色 */
    display: flex;
    justify-content: center;
    height: 100vh;
    overflow: hidden; /* 全体のスクロールを無効化 */
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

/* 全体 */
*{
  box-sizing: border-box;
}

img{
  display: block;
  width: 100%;
  object-fit: contain;
}

/* 中央のスマホ用コンテナ（ここだけスクロール） */
.wrapper {
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
    scrollbar-width: none; /* Firefox用スクロールバー非表示 */
}

@media (min-width : 1024px) {
  .wrapper {
    max-width: 480px; /* スマホサイズに固定 */
  }
}

.wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari用スクロールバー非表示 */
}

/* header */
header{
  width: 100%;
}

header .logo{
  width: 20%;
  margin: 0 auto;
  padding: 10px 0px;
  height: auto;
}

/* 共通パーツ */
section {
    padding: 60px 24px;
}
.bg-light {
    background-color: var(--color-bg-light);
}
h2 {
    font-size: 24px;
    text-align: center;
    color: var(--color-sub);
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: bold;
}
h3.sub_title{
    font-size: 14px;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 32px;
}
h3.sub_title::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-main);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ボタンデザイン */
.cta-btn {
    display: block;
    width: 100%;
    padding: 18px;
    text-align: center;
    background-color: var(--color-main);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 40px;
    font-weight: bold;
    font-size: 16px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(242, 102, 39, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
}
.cta-btn:active {
    transform: translateY(2px);
    box-shadow: none;
}
.cta-btn.outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    box-shadow: none;
}

/* ========================
    各セクションの詳細デザイン
    ======================== */

/* ① ファーストビュー */
.fv {
    position: relative;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;

    min-height: 60vh;
    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦中央 */
    align-items: center;     /* 横中央 */
}

/* 背景画像 */
.fv::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/KeyVisual.JPEG") center / cover no-repeat;
    z-index: 0;
}

/* フェード（暗めグラデーション） */
.fv::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

/* テキストを前面に */
.fv h2,
.fv .sub-copy {
    position: relative;
    z-index: 2;
}

/* 見出し */
.fv h2 {
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: bold;
    color: var(--color-white); /* 白にするのが◎ */
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* サブコピー */
.fv .sub-copy {
    font-size: 16px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* 
Area
*/
.area h1{
    font-size: 20px;
    color: var(--color-sub);
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
}

.hero-area,
.hero-area-sub {
  margin-top: 16px;
  font-size: 14px;
  color: #666;
  text-align: center;
}


/* コンセプト */
.concept-highlight {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--color-main);
    margin-top: 32px;
    padding: 16px;
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
}

/* 名前の由来 */
.origin-box {
    background: var(--color-white);
    border: 2px solid var(--color-bg-light);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.origin-math {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-sub);
    margin-bottom: 16px;
}
.origin-math span {
    color: var(--color-main);
}

/* できること */
.service-category {
    margin-bottom: 32px;
}
.service-category h3 {
    font-size: 16px;
    color: var(--color-sub);
    border-left: 4px solid var(--color-main);
    padding-left: 12px;
    margin-bottom: 16px;
}
.service-category p {
    background: var(--color-white);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    font-size: 15px;
}
.service-footer {
    text-align: center;
    background-color: var(--color-sub);
    color: var(--color-white);
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
}

/* プラン */

.plans-intro {
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
    margin-bottom: 32px;
    color: var(--color-text);
}

.plan-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-card {
    display: block;
    padding: 20px;
    border-radius: 16px;
    background: var(--color-white);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.plan-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-main);
    margin-bottom: 8px;
    font-weight: 600;
}

.plan-card h4 {
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--color-main);
    font-weight: bold;
}

.plan-card p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .plan-links {
        gap: 20px;
    }
}

/* スタンス */
.stance-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}
.stance-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-weight: bold;
}
.stance-list li::before {
    content: '⚪︎';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-main);
    font-size: 18px;
}
.stance-closing {
    text-align: center;
    background-color: var(--color-sub);
    color: var(--color-white);
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
}

/* 対象（こんな方へ） */
.target-tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tag {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: var(--color-sub);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* CTA */
.final-cta {
    background-color: var(--color-bg-light);
    text-align: center;
    padding: 60px 24px;
    border-top: 4px solid var(--color-main);
}
.final-cta p {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-sub);
    margin-bottom: 24px;
}

/* CONTACT */

.contact-section {
    padding: 80px 24px;
    background: var(--color-sub);
}

.contact-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 8px;
    color: var(--color-white);
}

.contact-section .sub_title {
    margin-bottom: 20px;
    color: var(--color-white);
}

.contact-intro {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 32px;
    color: var(--color-white);
}

/* フォーム */
.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--color-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
    color: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    color: var(--color-white);
}

.required {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--color-main);
    color: var(--color-white);
    font-weight: bold;
}

/* ボタン */
.contact-submit {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 16px;
    border: none;
    border-radius: 999px;
    background: var(--color-main);
    color: var(--color-white);
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.contact-submit:hover {
    opacity: 0.9;
}

.hp-field {
  display: none !important;
}

/* フッター */
footer {
    background: var(--color-sub);
    color: #94A3B8;
    text-align: center;
    padding: 24px;
    font-size: 12px;
}

/* Thanksポップアップ */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.45);
}

.contact-modal.is-show {
    display: flex;
}

.contact-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 36px 24px 32px;
    background: #fff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.contact-modal-label {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(219, 103, 58, 0.12);
    color: var(--color-main);
    font-size: 13px;
    font-weight: bold;
}

.contact-modal-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.contact-modal-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
}

.contact-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transform: translateX(-50%);
}

.contact-modal-close:hover {
    background: #e2e8f0;
}

@media (max-width: 480px) {
    .contact-modal {
        padding: 20px;
    }

    .contact-modal-card {
        max-width: 100%;
        padding: 34px 20px 28px;
        border-radius: 18px;
    }

    .contact-modal-card h2 {
        font-size: 22px;
    }
}


/* PC用サイド要素（デフォルト非表示） */
.pc-side {
    display: none;
}

/* PCのみ表示 */
@media (min-width: 1024px) {

    :root {
        --wrapper-pc-width: 480px;
        --side-space: calc((100vw - var(--wrapper-pc-width)) / 2);
    }

    .wrapper {
        width: var(--wrapper-pc-width);
        max-width: var(--wrapper-pc-width);
        position: relative;
        z-index: 10;
    }

    .pc-side {
        display: flex;
        position: fixed;
        top: 0;
        bottom: 0;
        width: var(--side-space);
        pointer-events: none;
        z-index: 1;

        align-items: center;      /* 上下中央 */
        justify-content: center;  /* 左右中央 */
    }

    .pc-side.left {
        left: 0;
    }

    .pc-side.right {
        right: 0;
        text-align: center;
    }

    .pc-side.left img {
        width: 120px;
        max-width: 50%;
        height: auto;
    }

    .pc-side.right p {
        margin: 0;
        font-size: 24px;
        font-weight: bold;
        color: var(--color-sub);
        line-height: 1.6;
        letter-spacing: 0.08em;
        color: var(--color-main);
    }
}