/* ============================================
   共通設定
   ============================================ */
:root {
    --color-primary: #FFA218;
    --color-primary-dark: #e08800;
    --color-accent: #048AE3;
    /* ロゴの水色 */
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-header-bg: #ffffff;
    --color-nav-hover: #048AE3;
    --font-main: "M PLUS Rounded 1c", "FOT-TsukuARdGothic Std", "Hiragino Kaku Gothic ProN", sans-serif;
    --header-height-pc: 72px;
    --header-height-sp: 60px;
    --transition: 0.25s ease;
}

body {
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* ============================================
   画面遷移アニメーション（幕）
   ============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100lvh;
    z-index: 9999;
    pointer-events: none;
    /* 初期状態ではクリックを妨げない */
    display: flex;
    flex-direction: column;
}

.page-transition__layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ---------------------------------------------------
       初期状態：画面を覆っている状態（translateY 0）
       ページを直接開いた時も、リンク遷移で来た時も
       最初はここからスタートする
       --------------------------------------------------- */
    transform: translateY(0);
}

/* 各レイヤーの色と重なり順 */
.page-transition__layer--1 {
    background-color: #FFD494;
    /* 薄いオレンジ */
    z-index: 1;
}

.page-transition__layer--2 {
    background-color: var(--color-primary);
    /* メインのオレンジ */
    z-index: 2;
}

.page-transition__layer--3 {
    background-color: var(--color-primary-dark);
    /* 濃いオレンジ */
    z-index: 3;
}

/* -------------------------------------
   入場アニメーション（ページロード時）
   -------------------------------------
   初期状態(0)から、時間差で上(-100%)へ抜けていく
*/
body.is-page-entering.is-transition-ready .page-transition__layer--3 {
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
    transition-delay: 0s;
    /* 濃い色から先に抜ける */
}

body.is-page-entering.is-transition-ready .page-transition__layer--2 {
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
    transition-delay: 0.15s;
}

body.is-page-entering.is-transition-ready .page-transition__layer--1 {
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
    transition-delay: 0.3s;
}

/* 入場完了後、次の退場に備えて幕を一番下(100%)に退避させておく */
body.is-page-ready .page-transition__layer {
    transform: translateY(100%);
    transition: none;
    /* 下へ移動するときはアニメーションさせない */
}

/* -------------------------------------
   退場アニメーション（リンククリック時）
   -------------------------------------
   退避位置(100%)から、画面中央(0)へ上がってくる
*/
body.is-page-leaving .page-transition {
    pointer-events: auto;
    /* 演出中の操作防止 */
}

/* 退場時はトランジションを有効にして上へ引き上げる */
body.is-page-leaving .page-transition__layer {
    transform: translateY(0);
}

body.is-page-leaving .page-transition__layer--1 {
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1) 0s;
}

body.is-page-leaving .page-transition__layer--2 {
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1) 0.15s;
}

body.is-page-leaving .page-transition__layer--3 {
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1) 0.3s;
}

/* ============================================
   Header
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height-pc);
    background-color: var(--color-header-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 3vw, 4rem);
    z-index: 1000;
    gap: 1rem;
}

/* ---------- ロゴ ---------- */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: block;
    transition: opacity var(--transition);
}

.header-logo a:hover {
    opacity: 0.75;
}

.header-logo img {
    height: 36px;
    width: auto;
}

/* ---------- ナビゲーション ---------- */
.header-list {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 1.8vw, 3.2rem);
    flex-shrink: 1;
    white-space: nowrap;
}

.header-list li a {
    color: #333333;
    font-size: clamp(0.7rem, 1.1vw, 1rem);
    font-weight: bold;
    letter-spacing: 0.04em;
    position: relative;
    transition: color var(--transition);
    white-space: nowrap;
}

/* ホバー時の下線アニメーション */
.header-list li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-nav-hover);
    transition: width var(--transition);
}

.header-list li a:hover {
    color: var(--color-nav-hover);
}

.header-list li a:hover::after {
    width: 100%;
}

/* ---------- お問い合わせボタン ---------- */
.header-contact {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    padding: clamp(0.5rem, 0.8vw, 1rem) clamp(0.8rem, 1.2vw, 2rem);
    border-radius: 4px;
    transition: background-color var(--transition);
    white-space: nowrap;
}

.header-contact:hover {
    background-color: var(--color-primary-dark);
}

.header-contact svg {
    flex-shrink: 0;
}

.header-contact a {
    color: #ffffff;
    font-size: clamp(0.7rem, 1vw, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* スマホドロワー専用のお問い合わせボタン（PC時は非表示） */
.header-list__contact-sp {
    display: none;
}

/* ---------- ハンバーガーボタン（SP用） ---------- */
.header-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.header-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    /* 遊び心のあるバウンドアニメーション（ゼリーのような動き） */
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
        opacity 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
        background-color 0.4s ease;
}

/* メニュー展開時のハンバーガーボタン（×に変化＋バウンド） */
body.is-menu-open .header-menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.is-menu-open .header-menu-btn span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

body.is-menu-open .header-menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   レイアウト共通
   ============================================ */
.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.main-contents {
    padding-top: var(--header-height-pc);
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* サービスページのみセクション間の基本ギャップをオフにし、各セクションのpaddingで余白を制御 */
.page-service .main-contents {
    gap: 0;
}

/* ============================================
   MV スライダー
   ============================================ */

/* SEO用h1：見た目は非表示、検索エンジンには認識される */
.front-mv__heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* スライダー外枠 */
.front-mv__slider {
    width: 100%;
    overflow: hidden;
    /* はみ出した隣スライドをクリップ */
}

/* slick-listはoverflow:visibleで隣を見せる */
.front-mv__slider .slick-list {
    overflow: visible;
    margin: 0 -0.5rem;
}

/* 各スライドの画像ラッパー：16:9 アスペクト比 */
.front-mv__img-wrap {
    width: 100%;
    aspect-ratio: 59 / 25;
    overflow: hidden;
    border-radius: 8px;
}

.front-mv__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* スライド間の余白（1rem）＋非アクティブは暗め */
.front-mv__slider .slick-slide {
    padding: 0 0.5rem;
    opacity: 0.45;
    transition: opacity var(--transition);
}

/* アクティブ（中央）スライドは通常表示 */
.front-mv__slider .slick-slide.slick-center {
    opacity: 1;
}

.front-mv {
    position: relative;
}

.front-mv .mv-catch {
    position: absolute;
    bottom: 5%;
    left: 30%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    color: #FFA218;
    font-size: 1.5rem;
    font-weight: bold;
}

.front-mv .mv-catch span {
    display: block;
    width: fit-content;
    background: #ffffff;
    padding: .1rem .5rem;
}

/* ============================================
   セクション見出し 共通
   ============================================ */
.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    font-weight: bold;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.2rem;
    margin-bottom: 0.8rem;
}

.section-sub {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    color: var(--color-text-light);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: bold;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

/* ============================================
   Q&A セクション
   ============================================ */
.front-faq {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--color-bg);
}

.faq-accordion-wrap {
    margin: 0 auto 4rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover,
.faq-item:focus-within {
    border-color: var(--color-accent);
    /* 水色に変更 */
    box-shadow: 0 4px 15px rgba(4, 138, 227, 0.1);
    /* 水色の影に変更 */
}

/* 質問エリア (クリック判定) */
.accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.faq-icon-q {
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-accent);
    flex-shrink: 0;
}

.faq-question-text {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.6;
    flex-grow: 1;
    padding-right: 2rem;
    /* アイコン用の余白 */
}

/* 開閉アイコン（＋ / －） */
.faq-toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-accent);
    /* プラスマーク（開閉アイコン）を水色に */
    transition: transform 0.3s ease, background-color var(--transition);
}

.faq-toggle-icon::before {
    width: 16px;
    height: 2px;
}

.faq-toggle-icon::after {
    width: 2px;
    height: 16px;
}

/* ホバー時にアイコンの色も水色に変更（すでに基本が水色ですが念のため維持または強調） */
.faq-item:hover .faq-toggle-icon::before,
.faq-item:hover .faq-toggle-icon::after,
.faq-item:focus-within .faq-toggle-icon::before,
.faq-item:focus-within .faq-toggle-icon::after {
    background: var(--color-accent);
}

/* 開いている時のアイコン（－になる） */
.accordion-header.active .faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* 回答エリア */
.accordion-content {
    display: none;
    /* 初期状態は非表示（JSで開閉） */
    padding: 0 1.5rem 1.5rem;
    border-top: 1px dashed #f0f0f0;
}

.faq-answer {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
}

.faq-icon-a {
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-primary);
    /* オレンジ色 */
    flex-shrink: 0;
}

.faq-answer-text {
    font-size: clamp(0.95rem, 1.1vw, 1rem);
    color: var(--color-text-light);
    line-height: 1.9;
}

.faq-answer-text a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color var(--transition), opacity var(--transition);
}

.faq-answer-text a:hover {
    color: var(--color-primary);
    opacity: 0.85;
}

/* ============================================
   NEXT ACTIONS (導線) セクション
   ============================================ */
.front-next-actions {
    padding: 0 0 clamp(4rem, 8vw, 8rem);
    /* FAQセクションとの境目を分かりやすくするため、うっすら水色を敷く */
    background: rgba(4, 138, 227, 0.04);
    /* 上下の余白もバランスよく追加 */
    padding-top: clamp(4rem, 8vw, 8rem);
}

.next-actions-wrap {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
}

.next-action-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    /* 2カラム均等 */
    gap: 1.5rem;
    background: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(255, 162, 24, 0.05);
}

.next-action-card:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 162, 24, 0.2);
}

.next-action-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.next-action-text {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: bold;
    line-height: 1.5;
}

.sp-only {
    display: none;
}

/* ============================================
   NEWS セクション
   ============================================ */
.front-news {
    background-color: #FEF9F4;
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.news-container {
    background-color: #ffffff;
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    gap: 4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.news-head {
    flex-shrink: 0;
    width: 250px;
}

.news-list-wrap {
    flex-grow: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    border-bottom: 1px solid #eaeaea;
}

.news-item:first-child {
    border-top: 1px solid #eaeaea;
}

.news-link {
    display: flex;
    align-items: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: var(--color-text);
    transition: background-color var(--transition);
    position: relative;
    gap: 1.5rem;
}

.news-link:hover {
    background-color: rgba(4, 138, 227, 0.03);
}

.news-date {
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    color: var(--color-text-light);
    flex-shrink: 0;
}

.news-title {
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* 矢印アイコン */
.news-arrow {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    transition: background-color var(--transition);
}

.news-arrow::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    transform: rotate(45deg);
    margin-right: 2px;
}

.news-link:hover .news-arrow {
    background-color: var(--color-primary);
}

.news-link:hover .news-arrow::after {
    border-color: #ffffff;
}

/* ============================================
   CTA セクション (Call To Action)
   ============================================ */
.front-cta {
    position: relative;
    padding: clamp(6rem, 10vw, 10rem) 0;
    /* 背景画像を画面幅いっぱいに敷く */
    background-image: url('../img/cta-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* 背景画像の上に黒グラデーション等のオーバーレイを敷いて文字を見やすくする */
.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* inner と container の z-index を上げてオーバーレイの上に表示 */
.front-cta .inner {
    position: relative;
    z-index: 2;
    width: 100%;
    /* max-width 1200px は .inner に依存 */
}

/* コンテナは左寄せにして、幅を絞る */
.cta-container {
    max-width: 600px;
    text-align: left;
    color: #ffffff;
}

.cta-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-desc {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.cta-btn-wrap {
    display: flex;
    justify-content: flex-start;
    /* ボタンを左寄せ */
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    /* オレンジ色 */
    color: #ffffff;
    font-size: clamp(1.1rem, 1.3vw, 1.2rem);
    font-weight: bold;
    padding: 1.2rem 4rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 162, 24, 0.5);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 162, 24, 0.7);
    background-color: #ff9300;
}

/* LINEボタン（グリーン系） */
.cta-btn--line {
    background-color: #06c755;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

.cta-btn--line:hover {
    background-color: #05b04c;
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.6);
}

/* CTAコンテナ：テキスト＋QRコードを横並びにする */
.cta-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.cta-content .cta-text-block {
    flex: 1;
    min-width: 280px;
}

/* QRコードエリア */
.cta-qr {
    flex-shrink: 0;
}

.img-placeholder--qr {
    width: 140px;
    height: 140px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px dashed rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.6;
}

/* ============================================
   下層ページ共通スタイル
   ============================================ */

.page-lower .lower-mv {
    background-color: #FEF9F4;
    margin-top: var(--header-height);
    padding: clamp(4rem, 8vw, 6rem) 0;
    text-align: center;
}

.lower-mv-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lower-mv-title .en {
    font-size: clamp(0.85rem, 1vw, 1rem);
    /* 小さく */
    font-weight: bold;
    color: var(--color-accent);
    /* 水色 */
    letter-spacing: 0.1em;
}

.lower-mv-title .ja {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    /* 大きく強調 */
    color: var(--color-text);
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* ============================================
   制作の流れページ (flow.html)
   ============================================ */
.flow-section {
    padding: clamp(3rem, 5vw, 5rem) 0;
    background-color: #ffffff;
}

/* タイムライン外枠 */
.flow-timeline {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 各ステップ */
.flow-step {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
    margin-bottom: 0;
}

/* ステップ左列（番号バッジ＋縦接続線） */
.flow-step__left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    position: relative;
    z-index: 1;
}

/* ステップ番号バッジ */
.flow-step__number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, #0370b8 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(4, 138, 227, 0.25);
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}

.flow-step:hover .flow-step__number {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(4, 138, 227, 0.35);
}

.flow-step__num-label {
    font-size: 0.6rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1;
    opacity: 0.85;
}

.flow-step__num-value {
    font-size: 1.6rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
    line-height: 1;
}

/* ステップ間の縦接続線 */
.flow-step__line {
    flex: 1;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-accent), rgba(4, 138, 227, 0.15));
    min-height: 5rem;
    margin-top: 0.5rem;
    border-radius: 3px;
}

/* ステップ本文エリア */
.flow-step__body {
    flex: 1;
    padding: 1.5rem 2rem;
    background-color: #F8FBFE;
    border-radius: 16px;
    border: 1px solid #E2EFF9;
    min-height: 80px;
    transition: border-color var(--transition), box-shadow var(--transition);
    margin-bottom: 4rem;
}

.flow-step--last .flow-step__body {
    margin-bottom: 0;
    background: linear-gradient(135deg, #FFF8F0 0%, #fff9f3 100%);
    border-color: rgba(255, 162, 24, 0.3);
}

.flow-step__body:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(4, 138, 227, 0.1);
}

.flow-step--last .flow-step__body:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(255, 162, 24, 0.1);
}

.flow-step__title {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.flow-step__text {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.8;
    color: var(--color-text-light);
}

/* 最終ステップ */
.flow-step--last .flow-step__number {
    background: linear-gradient(135deg, var(--color-primary) 0%, #e08800 100%);
    box-shadow: 0 4px 15px rgba(255, 162, 24, 0.25);
}

.flow-step--last:hover .flow-step__number {
    box-shadow: 0 8px 25px rgba(255, 162, 24, 0.4);
}

.flow-step--last .flow-step__title {
    color: var(--color-text);
}

/* ============================================
   サービス内容ページ (service.html)
   ============================================ */

/* --- カテゴリーナビゲーション --- */
.service-nav {
    padding: 3rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.service-nav__list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.service-nav__list li {
    flex: 1;
    min-width: 140px;
}

.service-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #F8FBFE;
    border-radius: 12px;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    height: 100%;
    text-align: center;
}

.service-nav__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.service-nav__link .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-nav__link .icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-nav__link .text {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.4;
}

/* --- セクション共通 --- */
.service-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.service-section:nth-child(even) {
    background-color: #F8FBFE;
}

.service-section__head {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 4rem);
}

.service-section__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 20px;
}

.service-section__title .icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.5rem;
}

.service-section__title .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-section__title .en {
    font-size: clamp(0.85rem, 1vw, 1rem);
    font-weight: bold;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.service-section__title .ja {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: bold;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

.service-section__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 3px;
}

/* --- 料金プランカード (Web制作) --- */
.plan-cards {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 5rem;
}

.plan-card {
    flex: 1;
    background-color: #ffffff;
    border: 2px solid #eaeaea;
    border-radius: 16px;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.plan-card--popular {
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(255, 162, 24, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.plan-card--popular:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 162, 24, 0.2);
}

.plan-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-card__header {
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 1.5rem;
}

.plan-card__name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-text);
}

.plan-card--popular .plan-card__name {
    color: var(--color-primary);
}

.plan-card__price {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.plan-card--popular .plan-card__price {
    color: var(--color-primary);
}

.plan-card__price .num {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.plan-card__price .unit {
    font-size: 1rem;
    font-weight: bold;
    margin-left: 0.2rem;
}

.plan-card__body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan-card__target {
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
    color: var(--color-text);
    background: #f5f5f5;
    padding: .8rem;
    border-radius: 8px;
}

.plan-card--popular .plan-card__target {
    background: #FFF8F0;
}

.plan-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.plan-details__row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-bottom: 1px dashed #eaeaea;
    padding-bottom: 0.8rem;
}

.plan-details__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.plan-details__row dt {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-card--popular .plan-details__row dt {
    color: var(--color-primary);
}

.plan-details__row dt::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.plan-details__row dd {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    padding-left: 1rem;
}

.highlight-text {
    color: var(--color-primary);
    font-weight: bold;
}


/* --- Web運用・サポートプラン --- */
.service-maintenance__box {
    background-color: #F8FBFE;
    border: 1px solid #E2EFF9;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.service-maintenance__info {
    flex: 1;
    min-width: 250px;
}

.service-maintenance__info .title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.service-maintenance__info .catch {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-accent);
}

.service-maintenance__details {
    display: flex;
    gap: 2rem;
    flex: 2;
    min-width: 300px;
}

.service-maintenance__details .list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-maintenance__details .list li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.service-maintenance__details .list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.service-maintenance__price {
    font-weight: bold;
    color: var(--color-text);
    text-align: right;
    flex-shrink: 0;
}

.service-maintenance__price .num {
    color: var(--color-primary);
    font-size: 2rem;
    font-family: Arial, sans-serif;
    margin: 0 0.2rem;
}

/* --- グラフィックデザイン (統合テーブル) --- */
.graphic-table-wrap {
    width: 100%;
    overflow-x: auto;
    /* SPでの横スクロール担保用 */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.graphic-table {
    width: 100%;
    background-color: #ffffff;
    border-collapse: collapse;
}

.graphic-table th,
.graphic-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
    vertical-align: middle;
}

.graphic-table tbody tr:last-child td {
    border-bottom: none;
}

.graphic-table tbody tr:hover {
    background-color: #F8FBFE;
}

.graphic-table td.td-title {
    width: 40%;
    font-weight: bold;
    color: var(--color-text);
}

.icon-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
}

.icon-label img {
    flex-shrink: 0;
}

.graphic-table td.td-price {
    width: 60%;
    font-weight: bold;
    color: var(--color-primary);
    text-align: right;
}

.td-price--split {
    padding: 0 !important;
}

.price-split-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem;
}

.price-split-item:first-child {
    border-bottom: 1px dotted #eaeaea;
}

.price-split-label {
    font-size: 0.95rem;
    color: var(--color-text);
    text-align: left;
    margin-right: auto;
}

.price-split-amount {
    font-size: 1.5rem;
    font-family: Arial, sans-serif;
    text-align: right;
    white-space: nowrap;
}

.graphic-table td.td-price .num {
    font-size: 1.5rem;
    font-family: Arial, sans-serif;
    margin-right: 0.2rem;
}

.td-price .num {
    font-size: 1.5rem;
    font-family: Arial, sans-serif;
    margin-right: 0.2rem;
}

.note-small {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--color-text-light);
    margin-top: 0.4rem;
    display: block;
    text-align: right;
}

/* ============================================
   ISSUES セクション
   ============================================ */
.front-issues {
    position: relative;
    z-index: 10;
    padding-bottom: 0;
}

/* 4アイテム flexbox横並び */
.issues-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    margin-bottom: 5rem;
}

.issues-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

/* テキスト枠 */
.issues-item__bubble {
    background: #F4F4F4;
    border-radius: 8px;
    padding: 1.4rem 1.2rem;
    width: 100%;
    text-align: center;
}

.issues-item__bubble p {
    font-size: clamp(0.78rem, 1.1vw, 0.9rem);
    font-weight: bold;
    color: #000000;
    line-height: 1.8;
}

/* アイコン画像エリア */
.issues-item__icon {
    position: relative;
    height: clamp(120px, 16vw, 180px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}

/* 思考の泡：小さい円（下・アイコン寄り） */
.issues-item__icon::before {
    content: "";
    position: absolute;
    top: 30%;
    right: -8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #F4F4F4;
}

/* 思考の泡：大きい円（上・テキスト枠寄り） */
.issues-item__icon::after {
    content: "";
    position: absolute;
    top: 2%;
    right: -26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #F4F4F4;
}

.issues-item__icon img {
    width: auto;
    height: 100%;
    max-width: 100%;
    display: block;
}

/* issues-01 のみ左右反転 */
.issues-item:first-child .issues-item__icon img {
    transform: scaleX(-1);
}

/* issues-02 のみ左右反転 */
.issues-item:nth-child(2) .issues-item__icon img {
    transform: scaleX(-1);
}


/* 下向き三角の矢印 */
.issues-arrow {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.issues-arrow svg {
    width: 100%;
    display: block;
    height: clamp(24px, 4vw, 48px);
}

/* ============================================
   SOLUTION セクション
   ============================================ */
.front-solution {
    position: relative;
    background: #FEF9F4;
    padding: clamp(4rem, 8vw, 8rem) 0 clamp(5rem, 10vw, 10rem);
    overflow: hidden;
    margin-top: -5rem;
    /* .main-contentsのgap: 5rem を相殺して密着させる */
}

/* セクションタイトル 小見出し */
.section-title__sub {
    display: inline-block;
    background: #3B2929;
    color: #fff;
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    font-weight: bold;
    padding: 0.3rem 1.2rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

/* セクションタイトル アクセント（オレンジ） */
.section-title__accent {
    color: var(--color-primary);
    font-style: normal;
}

/* ── 背景デコ：7つの歪な円 ── */
.solution-blob {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* 1:左上・大 水色 */
.solution-blob--1 {
    width: 280px;
    height: 260px;
    top: -5%;
    left: -7%;
    border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
    background: rgba(4, 138, 227, 0.08);
}

/* 2:左中・小 オレンジ */
.solution-blob--2 {
    width: 120px;
    height: 130px;
    top: 38%;
    left: 4%;
    border-radius: 40% 60% 50% 50% / 55% 45% 55% 45%;
    background: rgba(255, 162, 24, 0.10);
}

/* 3:左下・中 水色 */
.solution-blob--3 {
    width: 200px;
    height: 190px;
    bottom: 6%;
    left: -4%;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    background: rgba(4, 138, 227, 0.06);
}

/* 4:右上・中 黄色 */
.solution-blob--4 {
    width: 170px;
    height: 180px;
    top: 2%;
    right: 3%;
    border-radius: 45% 55% 40% 60% / 60% 40% 60% 40%;
    background: rgba(255, 214, 0, 0.10);
}

/* 5:右中上・大 水色 */
.solution-blob--5 {
    width: 300px;
    height: 270px;
    top: 28%;
    right: -8%;
    border-radius: 50% 50% 60% 40% / 45% 55% 45% 55%;
    background: rgba(4, 138, 227, 0.06);
}

/* 6:右下・小 オレンジ */
.solution-blob--6 {
    width: 110px;
    height: 120px;
    bottom: 12%;
    right: 6%;
    border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%;
    background: rgba(255, 162, 24, 0.09);
}

/* 7:左中下・極小 黄色 */
.solution-blob--7 {
    width: 70px;
    height: 75px;
    bottom: 30%;
    left: 14%;
    border-radius: 55% 45% 50% 50% / 50% 50% 55% 45%;
    background: rgba(255, 214, 0, 0.12);
}

/* ── 全幅波線 ── */
.solution-wave {
    position: absolute;
    top: 54%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.solution-wave svg {
    width: 100%;
    height: clamp(80px, 10vw, 140px);
    display: block;
}

/* ── 3カード リスト ── */
.solution-list {
    position: relative;
    z-index: 1;
    display: flex;
    gap: clamp(1.5rem, 3vw, 3rem);
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 各カード */
.solution-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    text-align: center;
}

/* ── 正円アイコン（2倍サイズ） ── */
.solution-item__icon {
    width: clamp(140px, 20vw, 220px);
    height: clamp(140px, 20vw, 220px);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: none;
    transition: transform var(--transition);
}

.solution-item__icon:hover {
    transform: scale(1.04);
}

.solution-item__icon img {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

/* ── カード別配色 ── */
.solution-item--blue .solution-item__icon {
    border-color: #048AE3;
    box-shadow: 0 6px 24px rgba(4, 138, 227, 0.18);
}

.solution-item--orange .solution-item__icon {
    border-color: #FFA218;
    box-shadow: 0 6px 24px rgba(255, 162, 24, 0.18);
}

.solution-item--yellow .solution-item__icon {
    border-color: #FFD600;
    box-shadow: 0 6px 24px rgba(255, 214, 0, 0.20);
}

.solution-item--blue .solution-item__badge {
    background: #048AE3;
    color: #fff;
}

.solution-item--orange .solution-item__badge {
    background: #FFA218;
    color: #fff;
}

.solution-item--yellow .solution-item__badge {
    background: #FFD600;
    color: #333;
}

.solution-item--blue .solution-item__badge::after {
    border-top-color: #048AE3;
}

.solution-item--orange .solution-item__badge::after {
    border-top-color: #FFA218;
}

.solution-item--yellow .solution-item__badge::after {
    border-top-color: #FFD600;
}

/* ── バッジ（吹き出し + 斜め矢印） ── */
.solution-item__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.solution-item__badge {
    position: relative;
    display: inline-block;
    font-size: clamp(0.62rem, 0.9vw, 0.72rem);
    font-weight: bold;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    align-self: center;
    margin-bottom: 0.6rem;
}

/* 三角形（左下向き）*/
.solution-item__badge::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 9px 0 0;
    border-color: transparent transparent transparent transparent;
}

/* カードタイトル */
.solution-item__title {
    font-size: clamp(0.92rem, 1.5vw, 1.15rem);
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.5;
}

/* 説明テキスト */
.solution-item__text {
    font-size: clamp(0.7rem, 0.95vw, 0.82rem);
    color: var(--color-text-light);
    line-height: 1.9;
    text-align: left;
}

/* ── サービス内容について ボタン ── */
.solution-btn-wrap {
    margin-top: 4rem;
    text-align: center;
}

.solution-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3498DB;
    color: #fff;
    font-size: clamp(0.9rem, 1.2vw, 1.15rem);
    font-weight: bold;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    position: relative;
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
}

.solution-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.solution-action-btn::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 1.5rem;
}


/* ============================================
   WORKS セクション
   ============================================ */
.front-works {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0;
    overflow: hidden;
    /* はみ出し文字の制御用 */
}

/* スライダーラッパー：右側に見切れを作るため、左はinner合わせ、右はフリー等設定が分かれますが、
   今回は左寄せ3.1枚の設定に合わせて、コンテナの幅とパディングで制御します */
.works-slider-wrap {
    width: 100%;
    /* slick-list が親要素を超えて表示されるようにする */
    overflow: hidden;
    padding-left: max(4rem, calc(50% - 600px + 4rem));
    /* .inner と同じ左余白を確保 */
    /* ※スマホ時は別の値に上書きします */
}

.works-slider .slick-list {
    overflow: visible;
    /* 右側に次のスライドがはみ出して見えるようにする */
    margin-left: -1.25rem;
    /* 左側の余白(padding分)を打ち消して、コンテンツをピタッと枠に合わせる */
    padding: 20px 0;
    /* 上下に余白を取って、ホバー時のbox-shadowが見切れないようにする */
}

/* スライドの高さを揃える */
.works-slider .slick-track {
    display: flex;
}

/* スライド（カード間の余白 2.5rem） */
.works-slide {
    padding: 0 1.25rem;
    /* 左右に1.25remずつで合計2.5remの隙間 */
    height: auto;
    display: flex;
    /* 子要素(aタグ)を高さ100%にするために必要 */
}

/* スライド内を全体クリック可能なカードにする */
.works-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* 軽く影をつける */
    transition: transform var(--transition), box-shadow var(--transition);
}

.works-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.works-card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 高さが出すぎないように変更 */
    overflow: hidden;
    background-color: #f0f0f0;
    /* 画像がない時のダミー色 */
}

.works-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.works-card:hover .works-card__img img {
    transform: scale(1.05);
}

.works-card__body {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.works-card__category {
    font-size: clamp(0.65rem, 0.9vw, 0.75rem);
    color: var(--color-primary);
    font-weight: bold;
    border: 1px solid var(--color-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    align-self: flex-start;
    /* 左寄せ+幅を文字分に */
}

.works-card__title {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: bold;
    line-height: 1.5;
}

/* ============================================
   FROM CLIENTS セクション
   ============================================ */
.front-clients {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0;
    background-color: #FEF9F4;
    /* 明るく温かい背景色に変更 */
    overflow: hidden;
}

/* スライドの高さを揃える */
.clients-slider .slick-track {
    display: flex;
}

/* 途切れなく流れるスライダー枠 */
.clients-slider-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    /* .inner内や外に関わらず画面幅いっぱいにするテクニック */
    margin-right: calc(50% - 50vw);
    padding: 1rem 0 3rem;
    /* ここにあったボタン用の余計な余白を削減 */
}

/* スライド同士の隙間設定と高さ100%化 */
.clients-slide {
    padding: 0 1rem;
    height: auto;
    display: flex;
}

/* お客様の声カード本体 */
.clients-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
    margin: 10px 0;
    /* box-shadowの領域確保 */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* 吹き出しのしっぽ（角を丸くして親しみやすく） */
    border-bottom-left-radius: 4px;
}

/* 左下の吹き出しのしっぽを作る装飾 */
.clients-card::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.02);
    /* 本体と馴染ませる */
}

/* カード上部：アイコンと情報 */
.clients-card__header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 2px dashed #f0f0f0;
    /* 優しい印象の破線 */
    padding-bottom: 1.2rem;
}

.clients-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FEF9F4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(255, 162, 24, 0.15);
    /* オレンジ系の温かい影 */
}

.clients-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clients-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.clients-card__name {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: bold;
    color: var(--color-text);
}

.clients-card__meta {
    font-size: clamp(0.7rem, 0.9vw, 0.75rem);
    color: var(--color-primary);
    background: rgba(255, 162, 24, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
    font-weight: bold;
}

/* カード本文 */
.clients-card__body {
    flex-grow: 1;
}

.clients-card__text {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* ── スライダーの矢印（Next / Prev ボタン） ── */
.clients-btn-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clients-arrows {
    position: absolute;
    right: 0;
    display: flex;
    gap: 12px;
}

.clients-arrows .slick-arrow {
    position: relative;
    top: auto;
    /* slickのデフォルトの中央寄せ（top:50%, translateY）を無効化 */
    transform: none;
    /* translateも無効化 */
    z-index: 10;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
    /* デフォルトの文字を非表示 */
    font-size: 0;
    color: transparent;
}

.clients-arrows .slick-arrow:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    /* ホバーアニメーション */
}

/* アイコン（独自の矢印） */
.clients-arrows .slick-arrow::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

/* 戻るボタン */
.clients-arrows .slick-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

/* 次へボタン */
.clients-arrows .slick-next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

/* ============================================
   フッター
   ============================================ */
.footer {
    background-color: #ffffff;
    padding: clamp(4rem, 8vw, 6rem) 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #eaeaea;
}

.footer-info {
    flex-shrink: 0;
}

.footer-catch {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.footer-nav {
    flex-grow: 1;
}

.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    justify-content: flex-end;
}

.footer-nav-list li a {
    font-size: 0.95rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-nav-list li a:hover {
    color: var(--color-primary);
}

.footer-copy {
    text-align: center;
    padding: 1.5rem 0;
}

.footer-copy p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-family: Arial, sans-serif;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-about .main-contents {
    gap: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.page-contact .main-contents {
    background-color: #f7f6f2;
    /* 参考サイト風の薄いベージュ */
}

/* ページタイトル下の余白を無くして背景色をつなげる */
.page-contact .contact-section {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 8rem);
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 769px) {
    .contact-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 4rem;
    }
}

/* 左カラム：テキスト案内 */
.contact-info {
    flex: 1;
}

.contact-info__inner {
    position: sticky;
    top: 120px;
    /* スクロール追従（ヘッダー考慮） */
}

.contact-info__lead {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact-info__text {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}

.contact-info__notice {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    padding: 1.2rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border-left: 3px solid #ccc;
}

/* 右カラム：アクション（LINEパネル） */
.contact-action {
    flex: 1;
    max-width: 600px;
    width: 100%;
}

.contact-action__card {
    background: #ffffff;
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* うっすら影 */
    text-align: center;
}

.contact-action__qr-wrap {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px dashed #eaeaea;
}

.img-placeholder--qr-large {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.contact-action__qr-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: bold;
}

.contact-action__btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-action__btn-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ============================================
   CONTACT PAGE (SP: MAX WIDTH 768px)
   ============================================ */
@media screen and (max-width: 768px) {
    .page-contact .contact-section {
        padding: 3rem 0;
    }

    .contact-container {
        gap: 2.5rem;
    }

    /* 左カラムのスクロール追従を解除 */
    .contact-info__inner {
        position: static;
    }

    /* 右カラムのアクションパネルの余白調整 */
    .contact-action__card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.page-privacy .privacy-section {
    padding: 0;
}

/* 読みやすさを重視しつつ、幅はいっぱいに広げる */
.privacy-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* アクセントとして極薄い影 */
}

.privacy-intro {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eaeaea;
}

.privacy-block {
    margin-bottom: 3.5rem;
}

.privacy-block:last-child {
    margin-bottom: 0;
}

.privacy-block__title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-title);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* 見出しの装飾（左に小さなアクセントライン） */
.privacy-block__title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2rem;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.privacy-block__text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.privacy-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: var(--color-text-light);
}

.privacy-list li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.privacy-contact {
    margin-top: 2rem;
    padding: 2.5rem 2rem;
    background-color: #f7f6f2;
    /* 優しい色味の背景 */
    border-radius: 8px;
    text-align: center;
}

.privacy-contact__name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.privacy-contact__btn {
    display: flex;
    justify-content: center;
}

/* SP調整 */
@media screen and (max-width: 768px) {
    .privacy-container {
        padding: 2rem 1.5rem;
        box-shadow: none;
        border: 1px solid #eaeaea;
    }

    .privacy-block {
        margin-bottom: 2.5rem;
    }

    .privacy-block__title {
        font-size: 1.15rem;
    }

    .privacy-contact {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   タブレット対応 ( ～ 1024px )
   ============================================ */

/* ============================================
   スマートフォン対応 ( ～ 768px )
   ============================================ */
@media screen and (max-width: 768px) {
    header {
        height: var(--header-height-sp);
        padding: 0 1rem;
    }

    .header-logo img {
        height: 28px;
    }

    /* ナビとお問い合わせをSP時にはドロワーメニューとして活用する */
    .header-list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100lvh;
        /* スマホのアドレスバー考慮 */
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 99;
        /* 初期状態は非表示（透明＆少し下に配置） */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    /* メニュー開いたときに表示 */
    body.is-menu-open .header-list {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* メニュー内のリンク項目：初期は下＆透明 */
    .header-list li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* メニュー展開時、各項目を順番にフワッと浮かび上がらせる（Staggered Fade-in） */
    body.is-menu-open .header-list li:nth-child(1) {
        transition-delay: 0.1s;
        opacity: 1;
        transform: translateY(0);
    }

    body.is-menu-open .header-list li:nth-child(2) {
        transition-delay: 0.15s;
        opacity: 1;
        transform: translateY(0);
    }

    body.is-menu-open .header-list li:nth-child(3) {
        transition-delay: 0.2s;
        opacity: 1;
        transform: translateY(0);
    }

    body.is-menu-open .header-list li:nth-child(4) {
        transition-delay: 0.25s;
        opacity: 1;
        transform: translateY(0);
    }

    body.is-menu-open .header-list li:nth-child(5) {
        transition-delay: 0.3s;
        opacity: 1;
        transform: translateY(0);
    }

    body.is-menu-open .header-list li:nth-child(6) {
        transition-delay: 0.35s;
        opacity: 1;
        transform: translateY(0);
    }

    .header-list li a {
        font-size: 1.25rem;
        font-weight: bold;
        display: inline-block;
        padding: 0.5rem;
    }

    /* =======================================
       ドロワー内のお問い合わせボタン（スマホ専用要素）
       ======================================= */
    /* 元のヘッダーお問い合わせボタンはSPでは完全に消す */
    .header-contact {
        display: none !important;
    }

    /* li要素としての表示（他のliと同じ遅延アニメーション対象） */
    .header-list__contact-sp {
        display: block;
        margin-top: 0;
        transform: translateY(0) !important;
        width: 80% !important;
        opacity: 1 !important;
    }

    /* ボタン要素自体のデザイン */
    .header-contact-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background-color: var(--color-primary);
        color: #ffffff !important;
        padding: 1rem 2.5rem !important;
        border-radius: 8px;
        font-size: 1rem !important;
    }

    /* bodyスクロールロック */
    body.is-menu-open {
        overflow: hidden;
    }

    /* ハンバーガーボタンを表示（z-indexを上に） */
    .header-menu-btn {
        display: flex;
        position: relative;
        z-index: 101;
    }

    .main-contents {
        padding-top: var(--header-height-sp);
    }

    .inner {
        padding: 0 1rem;
    }

    /* ISSUESカード：SP は縦並び1列 */
    .issues-list {
        flex-direction: column;
        gap: 1.2rem;
    }

    .issues-item {
        flex-direction: column;
        align-items: center;
    }

    /* SP時は中央ピッタリ1枚に収めるため左余白を解除し、全体を整える */
    .works-slider-wrap {
        padding: 0 0.75rem;
        margin: 0;
    }

    .works-slider .slick-list {
        margin: 0;
        overflow: hidden;
    }

    .works-slide {
        padding: 0 0.75rem;
    }

    /* MVスライダー SPは左右・上に余白を取、角丸にする */
    .front-mv__slider {
        padding: 1.5rem 0.625rem 0;
    }

    /* 縦長にしすぎないように 4:5 くらい（横100:縦125）に調整 */
    .front-mv__img-wrap {
        aspect-ratio: 4 / 5;
        border-radius: 20px;
    }

    /* スライド間の間隔を画面両端と同じ 1.25rem (約20px) にする */
    .front-mv__slider .slick-slide {
        padding: 0 0.625rem;
    }

    /* コンテナ全体のマージンでパディング分を相殺＋隣を見えなくする */
    .front-mv__slider .slick-list {
        margin: 0;
        border-radius: 20px;
        overflow: hidden;
    }

    .front-mv .mv-catch {
        left: 10%;
        transform: none;
        font-size: 1.2rem;
    }

    /* 解決セクション SPは縦並び */
    .solution-list {
        flex-direction: column;
    }

    /* お客さまの声ボタンと矢印をSPでは順番入れ替えて縦並びに */
    .clients-btn-wrap {
        display: flex;
        flex-direction: column-reverse;
        gap: 1.5rem;
    }

    .clients-btn-wrap .solution-action-btn {
        margin-top: 0;
    }

    .clients-btn-wrap .clients-arrows {
        position: static;
        margin-bottom: 0.5rem;
        justify-content: center;
    }

    /* 導線ボタンを縦並びに */
    .next-actions-wrap {
        flex-direction: column;
        gap: 1.5rem;
    }

    .sp-only {
        display: inline;
    }

    /* ニュースセクションを1カラムに */
    .news-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .news-head {
        width: 100%;
    }

    .news-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        /* 右矢印とテキストが被らないように右paddingを確保 */
        padding: 1.2rem 2.5rem 1.2rem 0.5rem;
    }

    .news-arrow {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* CTAセクションのスマホ対応 */
    .front-cta {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }

    .cta-container {
        text-align: center;
        /* SP時は中央寄せに戻すなど */
        margin: 0 auto;
    }

    .cta-btn-wrap {
        justify-content: center;
    }

    /* CTA コンテンツ：SP では縦並び */
    .cta-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .cta-btn {
        width: 100%;
    }

    /* 制作の流れ タイムライン SP対応 */
    .flow-step {
        gap: 1.5rem;
    }

    .flow-step__left {
        width: 60px;
    }

    .flow-step__number {
        width: 60px;
        height: 60px;
    }

    .flow-step__num-value {
        font-size: 1.3rem;
    }

    .flow-step__body {
        padding: 1.2rem 1.5rem;
        margin-bottom: 2.5rem;
    }

    /* フッタースマホ対応 */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
        padding-bottom: 3rem;
    }

    .footer-nav-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
        text-align: left;
    }

    /* サービス下層ページ SP対応 */
    .service-nav__list {
        gap: 1rem;
    }

    .service-nav__list li {
        min-width: calc(50% - 0.5rem);
    }

    .plan-cards {
        flex-direction: column;
        gap: 3rem;
    }

    .plan-card--popular {
        transform: scale(1);
    }

    .plan-card--popular:hover {
        transform: translateY(-5px);
    }
}

/* タブレット対応（769px ～ 1024px）：2列 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .issues-list {
        flex-wrap: wrap;
    }

    .issues-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-about .main-contents {
    gap: 0;
}

.about-section {
    padding: 5rem 0;
}

.bg-gray {
    background-color: #fcfcfc;
}

.bg-light-blue {
    background-color: #F8FBFE;
}

.section-head--center {
    text-align: center;
    margin-bottom: 3rem;
}

/* 2. Message Section */
.about-message__container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.about-message__content {
    flex: 1;
}

.about-message__text-area {
    flex: 1;
}

.about-message__lead {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.about-message__text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #eaeaea;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    font-weight: bold;
}

/* 3. Profile Section */
.about-profile__card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    max-width: 900px;
    margin: 0 auto;
}

.about-profile__image {
    flex-shrink: 0;
    width: 250px;
}

.about-profile__content {
    flex: 1;
}

.about-profile__sub {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed #eaeaea;
    padding-bottom: 0.3rem;
}

.about-profile__header {
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-profile__name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.about-profile__role {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: bold;
}

.about-profile__body p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.img-placeholder--circle {
    aspect-ratio: 1/1;
    border-radius: 50%;
}


/* 4. Skills Section */
.about-skills__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-skills__item {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.about-skills__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.about-skills__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background-color: #F8FBFE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-skills__icon img {
    max-width: 60px;
    max-height: 60px;
}

.about-skills__tag {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about-skills__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    text-align: left;
}


/* 6. Basic Info (Outline) Section */
.about-outline__table-wrap {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeaea;
}

.about-outline__row {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px dashed #eaeaea;
}

.about-outline__row:last-child {
    border-bottom: none;
}

.about-outline__row dt {
    width: 30%;
    font-weight: bold;
    color: var(--color-primary);
}

.about-outline__row dd {
    width: 70%;
    color: var(--color-text);
    line-height: 1.6;
}

/* SP Layout (max-width: 768px) */
@media screen and (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }

    .about-message__container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-message__lead {
        font-size: 1.5rem;
    }

    .about-skills__list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-profile__card {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
        text-align: center;
    }

    .about-profile__image {
        width: 150px;
    }

    .about-profile__header {
        text-align: center;
    }

    .about-outline__table-wrap {
        padding: 1.5rem;
    }

    .about-outline__row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .about-outline__row dt,
    .about-outline__row dd {
        width: 100%;
    }
}

/* ============================================
   ARCHIVE PAGES (news / voice)
   ============================================ */
.archive-section {
    padding: 0;
    background-color: #ffffff;
}

.archive-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.archive-list>.archive-card {
    width: calc((100% - 5rem) / 3);
}

/* カード */
.archive-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.archive-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 28px rgba(4, 138, 227, 0.1);
    transform: translateY(-3px);
}

/* サムネイル */
.archive-card__thumb {
    width: 100%;
    flex-shrink: 0;
}

.img-placeholder--archive {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b8c1;
    font-size: 0.8rem;
    font-weight: bold;
}

/* 画像なしパターン */
.archive-card__thumb--empty {
    background-color: #f0f4f8;
}

.archive-card__no-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f4f8 100%);
}

/* 本文エリア */
.archive-card__body {
    flex: 1;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* メタ情報（日付・カテゴリ） */
.archive-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.archive-card__date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-family: Arial, sans-serif;
    letter-spacing: 0.05em;
}

.archive-card__label {
    display: inline-block;
    background-color: #E8F5FE;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* タイトル */
.archive-card__title {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

/* 抜粋 */
.archive-card__excerpt {
    font-size: clamp(0.88rem, 1.1vw, 0.95rem);
    line-height: 1.9;
    color: var(--color-text-light);
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category__title {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: bold;
    color: var(--color-primary);
    padding: 0.7rem 1.2rem;
    border-left: 4px solid var(--color-primary);
    background-color: #f5f8ff;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
}

/* ============================================
   WORKS PAGE
   ============================================ */
.page-works .main-contents {
    gap: 0;
}

.works-section {
    padding: 5rem 0;
}

/* Filter Buttons */
.works-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.works-filter__btn {
    appearance: none;
    border: 1px solid #eaeaea;
    background-color: #ffffff;
    color: var(--color-text);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.works-filter__btn:hover,
.works-filter__btn.is-active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    margin-bottom: 5rem;
}

.works-card {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s;
}

.works-card:hover {
    transform: translateY(-5px);
}

.works-card:hover .works-card__thumb img,
.works-card:hover .works-card__thumb .img-placeholder {
    transform: scale(1.05);
}

.works-card__thumb {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background-color: #f5f5f5;
    aspect-ratio: 16/9;
    position: relative;
}

.works-card__thumb img,
.works-card__thumb .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.works-card__label {
    display: inline-block;
    width: fit-content;
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.works-card__title {
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.5;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pagination__prev,
.pagination__next,
.pagination__number {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.pagination__number.is-current {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.pagination__number:not(.is-current):hover,
.pagination__prev:hover,
.pagination__next:hover {
    background-color: #f5f5f5;
}

/* タブレット: 2カラム */
@media screen and (max-width: 1024px) {
    .archive-list>.archive-card {
        width: calc((100% - 2.5rem) / 2);
    }
}

/* SP: 1カラム */
@media screen and (max-width: 600px) {
    .archive-list {
        gap: 1.8rem;
        margin-bottom: 3.5rem;
    }

    .archive-list>.archive-card {
        width: 100%;
    }

    .archive-card__title {
        font-size: 1rem;
    }

    .pagination {
        gap: 0.5rem;
    }

    .pagination__prev,
    .pagination__next,
    .pagination__number {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* SP Layout */
@media screen and (max-width: 768px) {
    .works-section {
        padding: 3rem 0;
    }

    .works-filter {
        gap: 0.5rem;
        margin-bottom: 2.5rem;
    }

    .works-filter__btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ============================================
   WORKS DETAIL PAGE
   ============================================ */
.page-works-detail .main-contents {
    gap: 0;
}

.works-detail__top-inner {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.works-detail__mv {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.works-detail__mv img,
.img-placeholder--mv {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.works-info {
    width: 450px;
    /* Fixed width for the right side table area */
    flex-shrink: 0;
}

.works-info__table {
    background-color: #fcfcfc;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
    border: 1px solid #eaeaea;
}

.works-info__label {
    margin-bottom: 1.5rem;
    /* Ensure spacing below the floating label */
}

.works-info__list {
    margin-bottom: 2rem;
    /* Spacing before the button */
}

.works-info__row {
    display: flex;
    flex-direction: column;
    /* Stack dt and dd vertically */
    padding: 1.2rem 0;
    border-bottom: 1px dashed #eaeaea;
    gap: 0.5rem;
    /* Space between dt and dd */
}

.works-info__row:first-child {
    padding-top: 0;
}

.works-info__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.works-info__row dt {
    width: 100%;
    font-weight: bold;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.works-info__row dd {
    width: 100%;
    color: var(--color-text);
    line-height: 1.6;
}

.works-info__btn-wrap {
    text-align: center;
    margin-top: 2rem;
    /* Additional space above button */
}

.works-info__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 1rem;
    width: 100%;
    /* Make button span the full width of the info box */
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(4, 138, 227, 0.2);
}

.works-info__btn:hover {
    background-color: #0370b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(4, 138, 227, 0.3);
}

.works-info__btn .external-icon {
    margin-left: 0.5rem;
    font-family: sans-serif;
    font-weight: normal;
}

/* Works Story */
.works-story {
    padding: 5rem 0;
    background-color: #ffffff;
}

.works-story__inner {
    max-width: 800px;
}

.works-story__block {
    margin-bottom: 4rem;
}

.works-story__block:last-child {
    margin-bottom: 0;
}

.works-story__heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text);
    border-left: 5px solid var(--color-accent);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.works-story__text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}

.works-story__text:last-child {
    margin-bottom: 0;
}

.works-story__figure {
    margin-bottom: 2rem;
}

.works-story__figure .img-placeholder--wide {
    aspect-ratio: 16/9;
}

.works-story__figure img,
.img-placeholder--wide {
    width: 100%;
    border-radius: 8px;
    background-color: #F8FBFE;
}

.works-story__figure figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.8rem;
}

.works-back {
    padding: 4rem 0 6rem;
    text-align: center;
    background-color: #fcfcfc;
}

.works-back__btn {
    display: inline-block;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 1rem 3rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.works-back__btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* Works Detail SP Layout */
@media screen and (max-width: 900px) {
    .works-detail__top {
        padding: 3rem 0;
    }

    .works-detail__top-inner {
        flex-direction: column;
        gap: 3rem;
    }

    .works-info {
        width: 100%;
    }

    .works-story {
        padding: 3rem 0;
    }

    .works-info__table {
        padding: 1.5rem;
    }

    .works-info__row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .works-info__row dt,
    .works-info__row dd {
        width: 100%;
    }

    .works-info__btn {
        width: 100%;
        padding: 1rem;
    }

    .works-story__heading {
        font-size: 1.3rem;
    }

    .works-story__text {
        font-size: 1rem;
    }

    .works-back {
        padding: 2rem 0 4rem;
    }
}

.external-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    vertical-align: middle;
}

/* ==========================================================================
   プライバシーポリシーページ
   ========================================================================== */
.privacy-policy__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

.privacy-policy__lead {
    font-size: 0.95rem;
    line-height: 2;
    color: #333;
    margin-bottom: 48px;
}

.privacy-policy__section {
    margin-bottom: 40px;
}

.privacy-policy__heading {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.6;
    color: #333;
    padding: 12px 16px 12px 20px;
    background: #FFF9F0;
    border-left: 4px solid #048AE3;
    border-radius: 0 6px 6px 0;
    margin-bottom: 16px;
}

.privacy-policy__text {
    font-size: 0.92rem;
    line-height: 2;
    color: #333;
}

.privacy-policy__text a {
    color: #048AE3;
    text-decoration: underline;
    text-decoration-color: rgba(4, 138, 227, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s ease;
}

.privacy-policy__text a:hover {
    text-decoration-color: #048AE3;
}

.privacy-policy__list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.privacy-policy__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.92rem;
    line-height: 1.9;
    color: #333;
}

.privacy-policy__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.7em;
    width: 7px;
    height: 7px;
    background: #048AE3;
    border-radius: 50%;
}

.privacy-policy__date {
    font-size: 0.82rem;
    color: #999;
    text-align: right;
    margin-top: 48px;
}

@media screen and (max-width: 767px) {
    .privacy-policy__inner {
        padding: 32px 16px 60px;
    }

    .privacy-policy__heading {
        font-size: 1.05rem;
    }

    .privacy-policy__lead,
    .privacy-policy__text,
    .privacy-policy__list li {
        font-size: 0.88rem;
    }
}