/* 基本設定 */
body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    font-weight: 600;
    background-color: #FFFDF5;
    overflow-x: hidden; /* 横スクロール防止 */
}

/* スマホのみ表示するクラス（改行用など） */
.sp-only {
    display: none;
}

/* ハンバーガーボタン (PCでは非表示) */
.hamburger {
    display: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 共通設定：ボックスサイズの計算方法を統一 */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ヘッダー固定と影 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    
    /* ヘッダーのアニメーション（上から降りてくる） */
    animation: slideDown 0.8s ease-out forwards;
}

@keyframes slideDown {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.header-inner {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ */
.logo img {
    height: 40px;
    display: block;
}

/* ナビゲーションレイアウト */
.nav-list {
    display: flex;
    gap: 40px;
}

.nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s;
}

/* 英字部分 */
.nav-item .en {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* 日本語部分 */
.nav-item .jp {
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

/* 黄色の丸 */
.nav-item .dot {
    width: 8px;
    height: 8px;
    background-color: #FFCF0B;
    border-radius: 50%;
    margin: 5px 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ホバー時の挙動 */
.nav-item:hover .dot {
    transform: scale(1.6);
}

.nav-item:hover {
    opacity: 0.7;
}

/* FVセクションの設定 */
.main-visual {
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 100px; 
    overflow: hidden;
}

.mv-image {
    width: 100%;
    line-height: 0;
    /* FV画像のズームアウトアニメーション */
    animation: zoomOut 1.5s ease-out forwards;
}

@keyframes zoomOut {
    0% { transform: scale(1.1); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.mv-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ABOUTセクション全体 */
.about-section {
    padding: 100px 20px;
    text-align: center;
    background-image: url('../img/about-bg.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* コンテンツ幅の制限 */
.about-container {
    max-width: 900px;
    margin: 0 auto;
}

/* タイトル（レスポンシブ崩れ対策） */
.about-title {
    /* 最小40px、画面幅に応じて拡大、最大100px */
    font-size: clamp(40px, 8vw, 100px);
    color: #0992B6;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
    word-break: keep-all; 
    overflow-wrap: break-word;
}

/* リード文 */
.about-lead {
    font-size: 32px;
    font-weight: bold;
    line-height: 2;
    margin-bottom: 40px;
    color: #333;
}

/* 本文 */
.about-text {
    font-size: 24px;
    line-height: 2.2;
    color: #333;
    font-weight: 600;
}

/* --- SERVICESセクション全体 --- */
.services-section {
    padding: 120px 4%;
    background-color: #fff;
    border: 50px solid #FFCF0B; 
    box-sizing: border-box;
}

/* インナー幅制限 */
.inner-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* セクションタイトル */
.section-title {
    text-align: left;
    margin-bottom: 80px;
}

.section-title .en {
    display: block;
    font-size: 100px;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 0.9;
    color: #000;
    margin-bottom: 20px;
}

.section-title .jp {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
}

/* --- 画像プレースホルダーのデザイン --- */
.placeholder-box {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    font-weight: bold;
    font-size: 20px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden; 
}

/* メイン画像（上） */
.service-img-main {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    position: relative;
}
.service-img1 {
    position: absolute;
    top: -500px;
    right: -200px;
    width: 100%;
    height: auto;
    max-width: 850px;
    display: block;
    margin: 0 auto;
}

/* --- テキストコンテンツ部分 --- */
.service-content {
    text-align: left;
    margin-top: 0px;
    padding: 0 20px;
}

/* サービス名 */
.service-name {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    border-bottom: 6px solid #FFCF0B;
    display: inline-block;
    padding-bottom: 10px;
    line-height: 1.2;
}

.service-name .sub-name {
    font-size: 28px;
    font-weight: bold;
    margin-left: 20px;
    color: #555;
}

/* キャッチコピー */
.service-catch {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 60px;
    color: #222;
}

/* --- キーワードグリッド（タグ） --- */
.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.keyword-grid li {
    width: calc(20% - 16px);
    padding: 25px 10px;
    text-align: center;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

/* 黄色と緑の交互配置 */
.keyword-grid li:nth-child(odd) {
    background-color: #fffcdb;
    color: #333;
    border: 2px solid #FFCF0B;
}

.keyword-grid li:nth-child(even) {
    background-color: #e0f8fc;
    color: #0992B6;
    border: 2px solid #0992B6;
}

.keyword-grid li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 説明文 */
.service-description p {
    font-size: 20px;
    line-height: 2.2;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

/* 強調文字 */
.highlight {
    background: linear-gradient(transparent 60%, rgba(255, 207, 11, 0.4) 60%);
    font-weight: bold;
    padding: 0 5px;
}

/* --- 追加コンテンツ用スタイル --- */
.spacer-large {
    height: 120px;
}

/* --- ユーザーの声 --- */
.voices-area {
    margin-bottom: 100px;
    text-align: center;
}

.narrative-lead-sub {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #444;
}

.voices-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}

.voice-item {
    width: 23%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.voice-bubble {
    background-color: #eff9fb;
    color: #333;
    padding: 20px 10px;
    border-radius: 10px;
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.voice-bubble p {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
}

.voice-bubble::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 15px solid #eff9fb;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.voice-illustration {
    width: 100%;
    height: 180px;
    background-color: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.voice-illustration img {
    max-width: 100%;
    height: auto;
    display: block;
}

.narrative-content {
    text-align: left;
    margin-bottom: 80px;
    padding: 0 20px;
}

.narrative-lead {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #222;
}

.narrative-text {
    font-size: 22px;
    line-height: 2;
    color: #444;
    font-weight: 600;
}

/* コンセプトイメージ */
.concept-img-wrapper {
    width: 100%;
    height: 500px;
    margin-bottom: 80px;
    border-radius: 30px;
    background-color: #e5e5e5;
    overflow: hidden;
}

.concept-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing-message {
    text-align: center;
    margin-bottom: 40px;
}

.message-strong {
    font-size: 36px;
    font-weight: 800;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.4;
    background: linear-gradient(transparent 70%, rgba(255, 207, 11, 0.4) 70%);
    display: inline-block;
}

.message-sub {
    font-size: 24px;
    font-weight: bold;
    color: #555;
}

/* --- 特徴リスト --- */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-bottom: 120px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text-area {
    width: 45%;
    position: relative;
}

.feature-number {
    font-size: 80px;
    font-weight: 900;
    color: #fff;
    -webkit-text-stroke: 3px #0992B6;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
    font-family: "Arial Black", sans-serif;
    letter-spacing: -0.05em;
    transform: translate(-5px, 0); 
}

.feature-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
    border-left: 6px solid #FFCF0B;
}

.feature-desc {
    font-size: 18px;
    line-height: 2;
    color: #555;
    font-weight: 600;
}

.feature-img-area {
    width: 50%;
    height: 350px;
    border-radius: 40px;
    background-color: #fff;
    border: 4px solid #f0f0f0;
    box-shadow: 10px 10px 0px rgba(9, 146, 182, 0.1); 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CTA（ダウンロード）セクション --- */
.cta-section {
    background-color: #0992B6;
    padding: 100px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* 丸い装飾を削除しました */

.cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.cta-text-area {
    width: 55%;
}

.cta-tag {
    display: inline-block;
    background-color: #fff;
    color: #0992B6;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.cta-title {
    line-height: 1;
    margin-bottom: 30px;
}

.cta-title .sub {
    display: block;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.cta-title .main {
    display: block;
    font-size: 100px;
    font-weight: 800;
    color: #FFCF0B;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-message {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.store-btns {
    display: flex;
    gap: 15px;
}

.btn-store {
    background-color: #fff;
    color: #333;
    width: 220px;
    padding: 15px 0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 0 rgba(0,0,0,0.1);
}

.btn-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.btn-store .small {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 2px;
    color: #0992B6;
}

.btn-store .large {
    font-size: 16px;
    font-weight: bold;
}

.cta-image-area {
    width: 40%;
    display: flex;
    justify-content: center;
}

.app-mockup {
    width: 100%;
    /* height: 400px; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.app-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.cta-footer {
    text-align: center;
}

.btn-wide-outline {
    display: inline-block;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    border: 3px solid #fff;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s;
    background-color: transparent;
}

.btn-wide-outline:hover {
    background-color: #FFCF0B;
    border-color: #FFCF0B;
    color: #333;
}

/* --- MESSAGE & PROFILE セクション --- */
.message-section {
    padding: 120px 20px;
    background-color: #FFFDF5;
}

.message-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.message-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.message-img-col {
    width: 40%;
    position: sticky;
    top: 120px;
}

.president-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #e0e0e0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
    font-size: 18px;
    overflow: hidden; 
}
.president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-text-col {
    width: 55%;
}

.message-lead {
    font-size: 28px;
    font-weight: bold;
    color: #0992B6;
    margin-bottom: 40px;
    line-height: 1.6;
    border-left: 6px solid #FFCF0B;
    padding-left: 20px;
}

.message-body p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
    color: #333;
    text-align: justify;
}

.msg-sub-head {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
}

.last-wish {
    font-weight: bold;
    font-size: 18px;
    color: #0992B6;
    margin-top: 40px;
}

.clover {
    font-size: 24px;
    vertical-align: middle;
}

.message-sign {
    margin-top: 60px;
    text-align: right;
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.message-sign .company {
    font-size: 16px;
    margin-bottom: 5px;
}

.message-sign .name {
    font-size: 20px;
    font-weight: bold;
}

.message-sign .name .big {
    font-size: 32px;
    margin-left: 10px;
}

.profile-box {
    margin-top: 60px;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.profile-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0992B6;
    border-bottom: 2px solid #FFCF0B;
    display: inline-block;
    padding-bottom: 5px;
}

.profile-text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

/* --- COMPANY セクション --- */
.company-section {
    padding: 120px 20px;
    background-color: #fff;
    position: relative;
}

/* 丸い装飾を削除しました */

.company-list {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 1;
}

.company-row {
    display: flex;
    align-items: flex-start;
    padding: 30px 40px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.company-row:hover {
    background-color: #fafafa;
}

.company-row dt {
    width: 30%;
    font-weight: bold;
    font-size: 16px;
    color: #0992B6;
    display: flex;
    align-items: center;
}

.company-row dt::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #FFCF0B;
    margin-right: 15px;
    border-radius: 2px;
}

.company-row dd {
    width: 70%;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.map-link, .tel-link, .mail-link {
    color: #333;
    transition: color 0.3s;
    text-decoration: none;
}

.map-link {
    display: inline-block;
    font-size: 12px;
    margin-left: 10px;
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    color: #666;
    vertical-align: middle;
}

.map-link:hover {
    background-color: #0992B6;
    color: #fff;
}

.tel-link:hover, .mail-link:hover {
    color: #0992B6;
    text-decoration: underline;
}

/* --- フッター --- */
.footer {
    background-color: #0992B6;
    color: #fff;
    padding: 100px 20px 40px;
    font-weight: 500;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 60px;
}

.footer-left {
    width: 50%;
}

.contact-target {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-link {
    display: inline-block;
    font-size: 60px;
    font-weight: 900;
    color: #FFCF0B;
    line-height: 1;
    margin-bottom: 20px;
    transition: opacity 0.3s, transform 0.3s;
    font-family: "Arial Black", sans-serif;
    letter-spacing: -0.02em;
}

.contact-link .arrow {
    font-size: 40px;
    vertical-align: middle;
    margin-left: 10px;
}

.contact-link:hover {
    opacity: 0.8;
    transform: translateX(10px);
}

.contact-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-right {
    width: 45%;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-logo {
    margin-bottom: 30px;
}

.logo-text {
    font-size: 40px;
    font-weight: bold;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.logo-sub {
    font-size: 12px;
    opacity: 0.8;
}

.footer-address {
    font-size: 16px;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links li {
    position: relative;
}

.footer-links li:not(:last-child)::after {
    content: "|";
    margin-left: 20px;
    opacity: 0.5;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FFCF0B;
}

.copyright {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    font-family: Arial, sans-serif;
}

/* -------------------------------
   ▼ 下層ページ用スタイル (追加) ▼
------------------------------- */

.sub-page-section {
    padding: 150px 20px 100px; /* ヘッダー分+余白 */
    background-color: #fff;
    min-height: 80vh;
}

.sub-page-inner {
    max-width: 900px;
    margin: 0 auto;
}

.sub-page-title {
    text-align: center;
    margin-bottom: 60px;
}

.sub-page-title .en {
    display: block;
    font-size: 48px;
    font-weight: bold;
    color: #0992B6;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.sub-page-title .jp {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #666;
}

.policy-content {
    background-color: #fcfcfc;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.policy-block {
    margin-bottom: 40px;
}

.policy-block h3 {
    font-size: 20px;
    font-weight: bold;
    color: #0992B6;
    border-left: 5px solid #FFCF0B;
    padding-left: 15px;
    margin-bottom: 20px;
}

.policy-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.policy-block ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.policy-block ul li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* 特商法テーブル */
.tokusho-table {
    width: 100%;
    border-collapse: collapse;
}

.tokusho-table th, 
.tokusho-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
}

.tokusho-table th {
    width: 30%;
    background-color: #f9f9f9;
    color: #0992B6;
    font-weight: bold;
}

/* -------------------------------
   ▼ アニメーション用スタイル (追加) ▼
   ※ レスポンシブ対応の前に定義することで、
      スマホでの上書き設定を有効にする
------------------------------- */

/* 基本のアニメーション設定 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 表示された時の状態 */
.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* フェードイン（上へ） */
.fade-up {
    transform: translateY(50px);
}

/* フェードイン（左から） */
.fade-right {
    transform: translateX(-50px);
}

/* フェードイン（右から） */
.fade-left {
    transform: translateX(50px);
}

/* ズームイン（拡大しながら出現） */
.zoom-in {
    transform: scale(0.8);
    transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ポップ（弾むように出現） */
.pop-in {
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* バウンス効果 */
}

/* 遅延設定（順番に出現させるため） */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }

/* --- レスポンシブ対応（スマホ） --- */
@media screen and (max-width: 768px) {
    .header {
        height: 60px; /* ヘッダー高さ縮小 */
    }
    
    .logo img {
        height: 20px; /* ヘッダーロゴ縮小 */
    }
    
    /* モバイルナビゲーション用スタイル追加 */
    .nav {
        /* display: none; */ /* 元の記述 */
        /* ハンバーガーメニューのためにスタイルを変更 */
        display: block; /* Override default if needed */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        z-index: 900;
        
        /* 初期状態：非表示 */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        
        /* Flexboxで中央揃え */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* メニューオープン時 */
    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    /* ハンバーガーボタン */
    .hamburger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000; /* navより上 */
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
        left: 0;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 9px; }
    .hamburger span:nth-child(3) { bottom: 0; }

    /* ハンバーガーボタンのアクティブ状態 */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-visual {
        padding-top: 60px; /* ヘッダー高さに合わせる */
    }

    /* パディングとマージンを全体的に縮小 */
    .about-section {
        padding: 40px 15px; /* 50px 20px -> 40px 15px */
    }
    
    .about-title {
        font-size: clamp(24px, 8vw, 40px);
        margin-bottom: 15px; /* 20px -> 15px */
    }

    .about-lead {
        font-size: 14px;
        margin-bottom: 15px; /* 20px -> 15px */
    }

    .about-text {
        font-size: 13px;
    }

    .services-section {
        padding: 40px 15px; /* 50px 20px -> 40px 15px */
        border-width: 15px;
    }
    
    .service-content {
        padding: 0 0px;
    }
    
    /* セクションタイトル周りのマージンを追加（PC継承の打ち消し） */
    .section-title {
        margin-bottom: 30px; /* PC:80px -> SP:30px */
    }
    
    .section-title .en { font-size: 32px; }
    .section-title .jp { font-size: 14px; margin-top: 5px; margin-left: 0; }
    
    .service-img-main { height: auto; margin-bottom: 20px; }
    .service-img1 { position: static; width: 100%; top: 0; right: 0; }
    
    .service-img-sub-wrapper {
        gap: 15px;
        margin-bottom: 20px; /* 40px -> 20px */
    }
    .service-img-sub { height: 200px; }

    .service-name {
        font-size: 22px;
        border-bottom-width: 4px;
        margin-bottom: 15px; /* 30px -> 15px */
    }
    .service-name .sub-name {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 14px;
    }
    
    .service-catch {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 20px; /* 30px -> 20px */
    }

    .keyword-grid {
        margin-bottom: 30px; /* 60px -> 30px */
    }

    .keyword-grid li {
        width: calc(50% - 16px); 
        padding: 12px 5px;
        font-size: 13px;
    }
    
    .service-description p {
        font-size: 13px;
        margin-bottom: 20px; /* 親のpタグ調整 */
    }

    .spacer-large { height: 30px; } /* 60px -> 30px */

    .voices-area {
        margin-bottom: 30px; /* 40px -> 30px */
    }

    .voices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .voice-card {
        height: 200px;
        padding: 15px;
    }
    
    .voice-text {
        font-size: 16px;
    }
    
    .voices-horizontal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .voice-item {
        width: 45%;
    }

    .voice-bubble {
        padding: 10px 5px;
        min-height: 50px;
    }
    
    .voice-bubble p {
        font-size: 12px;
    }
    
    .voice-illustration {
        height: 120px;
    }

    .narrative-lead-sub {
        font-size: 18px;
    }

    .narrative-lead {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .narrative-content {
        margin-bottom: 30px; /* 80px -> 30px */
    }

    .narrative-text {
        font-size: 13px;
    }
    
    .concept-img-wrapper {
        height: 200px;
        margin-bottom: 30px; /* 80px -> 30px */
    }

    .closing-message {
        margin-bottom: 30px; /* 40px -> 30px */
    }

    .message-strong {
        font-size: 18px;
        text-align: left;
        display: block;
    }
    
    .message-sub {
        font-size: 14px;
        text-align: left;
    }

    .features-list {
        gap: 40px; /* 60px -> 40px */
    }

    .feature-item {
        flex-direction: column-reverse;
        gap: 20px;
    }
    
    .feature-item:nth-child(even) {
        flex-direction: column-reverse;
    }

    .feature-text-area {
        width: 100%;
    }

    .feature-img-area {
        width: 100%;
        height: 200px;
        box-shadow: 3px 3px 0px rgba(9, 146, 182, 0.1); 
    }
    
    .feature-number {
        font-size: 40px;
        -webkit-text-stroke: 1.5px #0992B6;
    }
    
    .features-list {
        margin-bottom: 20px;
    }
    .feature-title {
        font-size: 18px;
    }
    
    .feature-desc {
        font-size: 13px;
    }
    
    .cta-section {
        padding: 40px 15px; /* 50px 20px -> 40px 15px */
    }

    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px; /* 30px -> 20px */
        margin-bottom: 20px;
    }

    .cta-text-area {
        width: 100%;
    }

    .cta-tag {
        font-size: 12px;
    }

    .cta-title .sub {
        font-size: 16px;
    }
    
    .cta-title .main {
        font-size: 40px;
    }

    .cta-message {
        font-size: 14px;
        margin-bottom: 15px; /* 20px -> 15px */
    }

    .store-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-store {
        width: 100%;
        max-width: 240px;
        padding: 10px 0;
    }
    .btn-store .small { font-size: 20px; }
    .btn-store .large { font-size: 14px; }

    .cta-image-area {
        width: 80%;
        margin: 0 auto;
    }
    
    .app-mockup {
        width: 100%;
    }
    
    .btn-wide-outline {
        font-size: 14px;
        padding: 12px;
    }

    .message-section {
        padding: 40px 15px; /* 50px 20px -> 40px 15px */
    }

    .message-flex {
        flex-direction: column;
        gap: 20px; /* 30px -> 20px */
    }

    .message-img-col {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        position: static;
    }

    .message-text-col {
        width: 100%;
    }

    .message-lead {
        font-size: 16px;
        padding-left: 10px;
        border-width: 3px;
        margin-bottom: 15px; /* 20px -> 15px */
    }
    
    .message-body p {
        font-size: 13px;
    }

    .msg-sub-head {
        font-size: 14px;
        text-align: left;
        margin: 20px 0 10px; /* 30px 0 15px -> 20px 0 10px */
    }
    
    .last-wish {
        font-size: 14px;
        margin-top: 20px;
    }

    .message-sign {
        text-align: left;
        margin-top: 20px; /* 40px -> 20px */
    }
    .message-sign .company { font-size: 12px; }
    .message-sign .name { font-size: 16px; }
    .message-sign .name .big { font-size: 20px; }
    
    .profile-box {
        padding: 15px;
        margin-top: 20px; /* 40px -> 20px */
    }
    .profile-title { font-size: 18px; margin-bottom: 10px; }
    .profile-text { font-size: 12px; }
    
    .company-section {
        padding: 40px 15px; /* 50px 20px -> 40px 15px */
    }

    .company-row {
        flex-direction: column;
        padding: 15px 10px;
    }

    .company-row dt {
        width: 100%;
        margin-bottom: 5px;
        font-size: 13px;
    }

    .company-row dd {
        width: 100%;
        padding-left: 15px;
        font-size: 13px;
    }
    
    .map-link {
        margin-left: 0;
        margin-top: 5px;
        display: block;
        width: fit-content;
        font-size: 10px;
    }
    
    .footer {
        padding: 40px 15px 20px; /* 50px 20px 20px -> 40px 15px 20px */
    }

    .footer-flex {
        flex-direction: column;
        gap: 30px; /* 40px -> 30px */
        padding-bottom: 20px; /* 30px -> 20px */
        margin-bottom: 20px; /* 30px -> 20px */
    }

    .footer-left, .footer-right {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }
    
    .contact-target {
        font-size: 13px;
    }

    .contact-link {
        font-size: 32px;
    }
    
    .contact-link .arrow {
        font-size: 24px;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    .footer-logo img {
        height: 24px;
        width: auto;
    }
    .logo-sub { font-size: 10px; }

    .footer-address { font-size: 12px; margin-bottom: 20px; }

    .footer-links {
        justify-content: flex-start;
        gap: 15px;
        font-size: 11px;
    }
    
    .footer-links li:not(:last-child)::after {
        content: "";
        margin: 0;
    }
    
    .footer-links li {
        display: block;
        width: auto;
        margin-bottom: 0;
    }
    
    .copyright {
        font-size: 10px;
    }
    
    .pc-only { display: none; }
    
    /* スマホのみ表示（改行用など） */
    .sp-only {
        display: block;
    }

    /* スマホでのアニメーション調整：横移動を無効化して下から出現に統一 */
    .fade-right, 
    .fade-left {
        transform: translateY(50px); /* fade-upと同じ挙動 */
    }

    /* 下層ページ用SP調整 */
    .sub-page-section {
        padding: 100px 15px 60px;
    }
    
    .sub-page-title .en {
        font-size: 32px;
    }
    
    .sub-page-title .jp {
        font-size: 13px;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-block h3 {
        font-size: 16px;
    }
    
    .policy-block p, 
    .policy-block ul li,
    .tokusho-table th, 
    .tokusho-table td {
        font-size: 13px;
    }
    
    .tokusho-table th, 
    .tokusho-table td {
        display: block;
        width: 100%;
    }
    
    .tokusho-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    
    .tokusho-table td {
        padding-top: 5px;
        padding-left: 20px;
    }
}

@media screen and (min-width: 769px) {
    .pc-only { display: inline; }
}