:root {
    /* Research Report Recommended Colors */
    /* 桜ミスト (Cherry Mist Theme) */
    --misty-rose: #FFE4E1;
    --lavender-mist: #E8D5E8;
    --ivory: #FFF9F0;
    
    /* ピーチドリーム (Peach Dream Theme) */
    --peach-puff: #FFDAB9;
    --ghost-white: #F8F8FF;
    
    /* ラベンダースカイ (Lavender Sky Theme) */
    --lavender: #E6E6FA;
    --plum-accent: #DDA0DD;
    
    /* Base Colors */
    --text-dark: #4A4A4A;
    --text-light: #8B8B8B;
    --bg-white: #FFFFFF;
    --bg-light: #FFF9F0;
    
    /* Primary Colors */
    --primary: #E8D5E8;
    --secondary: #FFDAB9;
    --accent: #DDA0DD;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(232, 213, 232, 0.25);

    /* パステル紫のシャドウ（カード・ホバー共通） */
    --shadow-lavender: 236, 228, 245;
    --shadow-lavender-drop: 225, 208, 235;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    color: var(--text-dark);
    line-height: 2;
    background: 
        url('https://www.genspark.ai/api/files/s/CJd3V2IT?cache_control=3600') repeat,
        linear-gradient(180deg, #FFF9F0 0%, #F8F8FF 50%, #FFE4E1 100%);
    background-size: 400px 400px, cover;
    background-attachment: fixed;
    overflow-x: clip;
    position: relative;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

/* タブレット・スマホでは fixed 背景がはみ出し・描画不具合の原因になりやすい */
@media (max-width: 1024px) {
    body {
        background-attachment: scroll;
    }

    .hero {
        background-attachment: scroll !important;
    }
}

/* Utility Classes */
.sp-only { display: inline; }
/* br に .sp-only: 汎用の display:inline だと改行が壊れるためモバイルは block */
@media (max-width: 767.98px) {
    br.sp-only {
        display: block;
        line-height: 0;
    }
}
.pc-only { display: none; }

/* 見た目上は隠し、スクリーンリーダーのみ */
.u-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 768px) {
    .sp-only { display: none; }
    .pc-only { display: inline; }
}

/* Animated Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: starTwinkle 3s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(232, 213, 232, 0.6);
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Decorative Elements */
.decorative-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 228, 225, 0.4), 
        rgba(232, 213, 232, 0.2));
    animation: floatBubble 20s ease-in-out infinite;
}

.bubble-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 10%;
    animation-delay: 5s;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 10s;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.watercolor {
    position: absolute;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.15;
    animation: morphWatercolor 15s ease-in-out infinite;
}

.watercolor-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--lavender-mist), var(--peach-puff));
    top: 30%;
    left: -10%;
}

.watercolor-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--misty-rose), var(--lavender));
    bottom: 20%;
    right: -10%;
    animation-delay: 7s;
}

@keyframes morphWatercolor {
    0%, 100% { 
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg);
    }
    50% { 
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(180deg);
    }
}

/* Content Above Background */
.header, .section, .hero, .footer {
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    /* 縦幅を抑える（ノッチ時は safe-area を優先） */
    padding: max(0.4rem, env(safe-area-inset-top, 0px)) 0 0.4rem;
    /* box-shadow のみ JS で切替。transition:all はスクロール時の合成コストに繋がりやすいので避ける */
    transition: box-shadow 0.2s ease;
    box-shadow: none;
}

/* JS（Header Scroll Effect）が rAF 内で付与。インライン style 廃止で再レイアウト負荷を抑える */
.header.header--scrolled {
    box-shadow: 0 2px 20px rgba(232, 213, 232, 0.15);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(1.5rem, env(safe-area-inset-right, 0px)) 0 max(1.5rem, env(safe-area-inset-left, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

/* デスクトップ: ヘッダー内の通常ナビ */
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        align-items: center;
    }
}

@media (min-width: 1024px) and (max-width: 1180px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 0.4rem;
        column-gap: clamp(0.5rem, 1.2vw, 1.25rem);
    }

    .nav-menu a {
        font-size: clamp(0.72rem, 1.05vw, 0.88rem);
        letter-spacing: 0.06em;
    }
}

/* タブレット以下: 全幅オーバーレイ。未展開は透明（display 切替では transition できないため opacity + transform） */
@media (max-width: 1023.98px) {
    .nav-menu {
        display: flex;
        position: fixed;
        top: calc(max(0.4rem, env(safe-area-inset-top, 0px)) + 34px + 0.4rem + 1px);
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 2rem max(2rem, env(safe-area-inset-right, 0px)) 2rem max(2rem, env(safe-area-inset-left, 0px));
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(232, 213, 232, 0.35);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(0, -0.9rem, 0);
        transition:
            opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1),
            transform 0.4s cubic-bezier(0.33, 1, 0.68, 1),
            visibility 0.4s;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
    }

    /* 展開直後: 各リンクを少し遅延させてふわっと */
    .nav-menu.active li {
        animation: navMenuItemSoft 0.42s cubic-bezier(0.33, 1, 0.68, 1) backwards;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.35s; }
    .nav-menu.active li:nth-child(8) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(9) { animation-delay: 0.45s; }
    .nav-menu.active li:nth-child(10) { animation-delay: 0.5s; }
}

@keyframes navMenuItemSoft {
    from {
        opacity: 0;
        transform: translate3d(0, 0.4rem, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 1023.98px) and (prefers-reduced-motion: reduce) {
    .nav-menu {
        transition: none;
        transform: none;
    }

    .nav-menu.active {
        transform: none;
    }

    .nav-menu.active li {
        animation: none;
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a[aria-current="page"] {
    color: rgba(110, 78, 105, 0.95);
    font-weight: 500;
}

.nav-menu a[aria-current="page"]::after {
    width: 100%;
    background: rgba(140, 95, 130, 0.85);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--plum-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(rgba(255, 249, 240, 0.7), rgba(248, 248, 255, 0.7)),
        url('https://www.genspark.ai/api/files/s/ukCCIzoK?cache_control=3600') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    padding: 0 max(1.5rem, env(safe-area-inset-right, 0px)) 0 max(1.5rem, env(safe-area-inset-left, 0px));
}

@media (min-width: 768px) {
    /* キャッチの右端が欠けるのを防ぐ（子の text overflow を切らない） */
    .hero {
        overflow: visible;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 3rem 2rem;
    max-width: 700px;
    /* flex 子要素が本文最小幅で膨らみ枠からはみ出すのを防ぐ */
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* キャッチコピーを 1 行・枠内に収めるためのクエリコンテナ */
    container-type: inline-size;
    container-name: hero-card;
    /* 派手な枠・多層影をやめ、読みやすさ優先の落ち着いたカード */
    border-radius: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid rgba(232, 213, 232, 0.65);
    background: linear-gradient(
        165deg,
        rgba(255, 254, 253, 0.9) 0%,
        rgba(255, 250, 252, 0.86) 100%
    );
    backdrop-filter: blur(18px) saturate(1);
    -webkit-backdrop-filter: blur(18px) saturate(1);
    box-shadow: 0 10px 32px rgba(var(--shadow-lavender), 0.14);
}

.hero-content > * {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 4rem 3rem;
        max-width: 800px;
        /* 1 行のキャッチが枠内で切れないように（white-space:nowrap 時） */
        overflow: visible;
        /* container 指定が子のはみ出し表示に悪影響する例があるため PC ではオフ */
        container-type: normal;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .hero {
        min-height: 90vh;
        min-height: 90dvh;
        min-height: 90svh;
    }

    .hero-content {
        padding: 2.75rem 2.75rem;
    }

    .scroll-indicator {
        bottom: 2rem;
    }
}

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.55rem, 3.2vw, 2.25rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .hero-subtitle,
    .hero .hero-catch__text {
        font-size: clamp(1.2rem, 3.8vw + 0.45rem, 2.75rem);
        font-weight: 400;
        letter-spacing: clamp(0.05em, 0.32vw + 0.04em, 0.14em);
    }
}

.hero-description {
    font-size: clamp(1.08rem, 2.1vw, 1.3rem);
    font-weight: 300;
    color: var(--text-light);
    line-height: 2.2;
    letter-spacing: 0.08em;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
}

/* スマホのみ：Scroll をやや下へ（ノッチ付きはセーフエリア考慮） */
@media (max-width: 767.98px) {
    .scroll-indicator {
        bottom: max(1.75rem, calc(0.5rem + env(safe-area-inset-bottom, 0px)));
    }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--plum-accent), transparent);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 0; transform: translateY(-20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(20px); }
}

/* Section Styles — 上：見出し前の空き。下：セクション間の余白 */
/* padding: 上 | 右 | 下 | 左（ノッチ時は safe-area と max で確保） */
.section {
    padding: 4.5rem max(1.5rem, env(safe-area-inset-right, 0px)) max(4.5rem, calc(4.5rem + env(safe-area-inset-bottom, 0px))) max(1.5rem, env(safe-area-inset-left, 0px));
}

@media (min-width: 768px) {
    .section {
        padding: 7.5rem max(2rem, env(safe-area-inset-right, 0px)) max(7.5rem, calc(7.5rem + env(safe-area-inset-bottom, 0px))) max(2rem, env(safe-area-inset-left, 0px));
    }
}

/* 料金プラン（pricing.html）：セクションに乗せたときコンテナがふわっと浮く */
/* .pricing の overflow:hidden が transform / box-shadow を切らないようにする */
.page-pricing #pricing.section.pricing {
    overflow: visible;
}

.page-pricing #pricing .pricing-container {
    transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1),
        box-shadow 0.55s ease;
    border-radius: 4px;
}

.page-pricing #pricing:hover .pricing-container {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(var(--shadow-lavender), 0.22);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    letter-spacing: 0.15em;
}

@media (min-width: 768px) {
    .section-title {
        margin-bottom: 5rem;
    }
}

.section-title::before {
    content: attr(data-en);
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.7rem;
    color: var(--plum-accent);
    letter-spacing: 0.35em;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--plum-accent);
    margin: 1.5rem auto 0;
}

/* About Section */
.about {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.12em;
    text-align: center;
}

.about-name-en {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    letter-spacing: 0.2em;
    text-align: center;
}

.about-description {
    line-height: 2.5;
    color: var(--text-light);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    letter-spacing: 0.08em;
}

.about-description strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* 自己紹介: 文面は PC / 767px未満で切り替え（index の about-description__sp / __pc） */
.about-description__sp {
    display: block;
}

.about-description__pc {
    display: none;
}

@media (min-width: 768px) {
    .about-description__sp {
        display: none;
    }

    .about-description__pc {
        display: block;
    }
}

/* Career Section — シャープな縦ライン + 読みやすい階層 */
.career {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(248, 246, 252, 0.95) 50%,
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.career-timeline {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 0.25rem;
}

.career-item {
    position: relative;
    margin: 0 0 2.5rem;
    padding: 0 0 0 1.35rem;
    border-left: 2px solid rgba(221, 160, 221, 0.7);
}

.career-item:last-child {
    margin-bottom: 0;
}

.career-item--current {
    border-left-color: rgba(200, 130, 195, 0.85);
}

.career-item__header {
    margin-bottom: 1.25rem;
}

.career-item__period {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--plum-accent);
    margin-bottom: 0.65rem;
}

.career-item__period::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.65rem;
    vertical-align: 0.1em;
    background: linear-gradient(135deg, var(--plum-accent), var(--peach-puff));
    transform: rotate(45deg);
}

/* 経歴 h3・強み・フロー（flow-container）の見出し — 年代表記と同色（--plum-accent）を軸にしたグラデ */
.career-item__org,
.strengths-step-title,
.strengths-benefits-title,
.flow-heading,
.flow-step-title,
.payment-heading,
.faq-heading,
.pricing-page-tagline {
    /* #dda0dd（var(--plum-accent）と同一）を複数ストップに含め、濃淡で視認性を確保 */
    background: linear-gradient(
        118deg,
        #d898d8 0%,
        #dda0dd 22%,
        #c080c0 42%,
        #dda0dd 62%,
        #b070b0 82%,
        #dda0dd 100%
    );
    background-size: 145% 145%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.career-item__org {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.15rem, 2.4vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.55;
    margin: 0 0 0.35rem;
}

@supports not (background-clip: text) {
    .career-item__org,
    .strengths-step-title,
    .strengths-benefits-title,
    .flow-heading,
    .flow-step-title,
    .payment-heading,
    .faq-heading,
    .pricing-page-tagline,
    .flow-header__highlight .flow-num {
        color: var(--plum-accent);
        background: none;
        -webkit-text-fill-color: var(--plum-accent);
    }
}

.career-item__role {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.88rem, 1.6vw, 0.95rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

.career-item__body {
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.5vw, 0.98rem);
    font-weight: 300;
    line-height: 2.05;
    letter-spacing: 0.06em;
    /* 1行固定はせず、和文の禁則に近い自然な改行 */
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
}

.career-item__body p + p {
    margin-top: 1rem;
}

.career-item__theme-highlight {
    color: #b81858;
    font-weight: 600;
}

.career-item__achieve {
    margin: 1.25rem 0 1.35rem;
    padding: 1.1rem 1.15rem 1.15rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(232, 213, 232, 0.55);
    border-radius: 2px;
    box-shadow: 0 4px 18px rgba(var(--shadow-lavender), 0.14);
}

.career-item__achieve-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--plum-accent);
    margin: 0 0 0.85rem;
}

.career-item__achieve-title::before {
    content: '【';
}

.career-item__achieve-title::after {
    content: '】';
}

.career-item__achieve ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-dark);
    font-size: clamp(0.86rem, 1.45vw, 0.94rem);
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0.04em;
}

.career-item__achieve li + li {
    margin-top: 0.5rem;
}

.career-item__achieve li::marker {
    color: var(--plum-accent);
}

.career-item__achieve-nowrap {
    white-space: nowrap;
}

/* 経歴「実績」内の数値ハイライト行：Strengths 見出し（.strengths-quote-main）と同じピンクのグラデ */
.text-gradient-catch {
    background: linear-gradient(
        108deg,
        #e84890 0%,
        #d02870 24%,
        #e03078 48%,
        #b81858 72%,
        #e04080 100%
    );
    background-size: 120% 120%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
    .text-gradient-catch {
        color: #c02058;
        background: none;
        -webkit-text-fill-color: #c02058;
    }
}

@media (min-width: 768px) {
    .career-item {
        padding-left: 1.75rem;
    }

    .career-timeline {
        padding: 0 1rem;
    }
}

/* Skills Section */
.skills-intro {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-light);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    letter-spacing: 0.08em;
}

.skills-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

/* PC 版は汎用の .skill-circle ／ .multiply-symbol のまま（円 180px・従来タイポ） */
@media (min-width: 768px) {
    .skills-diagram {
        gap: 3rem;
    }
}

/* スマホ：Design × Marketing を素直な横一列（中央寄せ・均等な余白） */
@media (max-width: 767.98px) {
    .skills-diagram {
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: clamp(0.45rem, 3vw, 0.85rem);
        margin-bottom: 5rem;
        padding: 0 0.25rem;
        max-width: 100%;
    }

    .skills-diagram .skill-circle {
        /* 外径は従来どおり。内を大きくするため枠内パディングをやや薄く */
        width: clamp(132px, 36vw, 168px);
        height: clamp(132px, 36vw, 168px);
        padding: 0.28rem 0.25rem 0.32rem;
        gap: 0.1rem;
    }

    .skills-diagram .skill-circle h3 {
        font-size: clamp(0.8rem, 3.3vw, 0.98rem);
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

    .skills-diagram .skill-circle p {
        font-size: clamp(0.68rem, 2.75vw, 0.84rem);
        letter-spacing: 0.03em;
        white-space: nowrap;
    }

    .skills-diagram .multiply-symbol {
        flex-shrink: 0;
        align-self: center;
        font-size: clamp(1.25rem, 5.5vw, 1.75rem);
        font-weight: 300;
        line-height: 1;
        color: var(--plum-accent);
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
        text-shadow: none;
    }
}

/* ダイアグラム内SVG：グローバルの 60px/80px 固定を上書きし、円内に収める */
.skills-diagram .skill-circle .skill-icon img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.skill-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.65rem;
    gap: 0.35rem;
    text-align: center;
    background: white;
    box-shadow: 0 8px 28px rgba(var(--shadow-lavender), 0.34);
    transition: all 0.4s ease;
}

@media (min-width: 768px) {
    .skill-circle {
        width: 180px;
        height: 180px;
        padding: 0.85rem;
        gap: 0.4rem;
    }
}

.skill-circle:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 26px rgba(var(--shadow-lavender), 0.62);
}

.skill-circle.design {
    border: 2px solid var(--lavender-mist);
}

.skill-circle.marketing {
    border: 2px solid var(--peach-puff);
}

.skill-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0;
}

@media (min-width: 768px) {
    .skill-icon {
        font-size: 3rem;
    }
}

.skill-circle h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .skill-circle h3 {
        font-size: 1.3rem;
    }
}

.skill-circle p {
    font-size: 0.75rem;
    margin: 0;
    color: var(--text-light);
    letter-spacing: 0.08em;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .skill-circle p {
        font-size: 0.85rem;
    }
}

.multiply-symbol {
    font-size: 2rem;
    color: var(--plum-accent);
    font-weight: 300;
    /* 装飾用の × が左の円とヒットテストで重なるとホバーが効かないことがある */
    pointer-events: none;
    user-select: none;
}

@media (min-width: 768px) {
    .multiply-symbol {
        font-size: 2.5rem;
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem;
    }
}

.skill-item {
    min-width: 0;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 25px;
    box-shadow: 0 5px 22px rgba(var(--shadow-lavender), 0.28);
    transition: all 0.4s ease;
}

.skill-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 7px 22px rgba(var(--shadow-lavender), 0.58);
}

.skill-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--text-dark);
}

.skill-item ul {
    list-style: none;
}

.skill-item li {
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.skill-item li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--plum-accent);
}

/* スマホ：Meta行を1行に収める。文字サイズは他 li と同じ 0.9rem（.skill-item li） */
@media (max-width: 767.98px) {
    .skill-item li.skill-item-li--meta-one-line {
        white-space: nowrap;
    }
}

/* スキルセット直下：言語・技術（アイコン） */
.skills-tech {
    margin-top: 3.5rem;
    padding-top: 2.75rem;
    border-top: 1px solid rgba(232, 213, 232, 0.65);
}

.skills-tech-lead {
    text-align: center;
    font-size: clamp(0.88rem, 1.45vw, 1rem);
    color: var(--text-light);
    letter-spacing: 0.06em;
    line-height: 1.85;
    margin: 0 auto 2rem;
    max-width: 36em;
}

.skills-tech-cols {
    display: grid;
    gap: 1.5rem;
    max-width: 880px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .skills-tech-cols {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.skills-tech-group {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 1.65rem 1.35rem 1.5rem;
    border: 1px solid rgba(232, 213, 232, 0.55);
    box-shadow: 0 6px 26px rgba(var(--shadow-lavender), 0.22);
}

.skills-tech-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--plum-accent);
    margin: 0 0 1.1rem;
    text-align: center;
}

.skills-tech-icons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.1rem 1.35rem;
    margin-bottom: 1rem;
}

.skills-tech-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    min-width: 3.25rem;
}

.skills-tech-icon-wrap img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

.skills-tech-icon-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

.skills-tech-line {
    text-align: center;
    font-size: clamp(0.86rem, 1.35vw, 0.95rem);
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.6;
}

/* フリーランスの強み（シャープな縦ライン・タイポ中心） */
.strengths {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(252, 248, 255, 0.97) 45%,
        rgba(255, 252, 249, 0.95) 100%);
}

.strengths .container {
    max-width: 760px;
}

.strengths-header {
    text-align: center;
    margin-bottom: 2.75rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(221, 160, 221, 0.35);
    container-type: inline-size;
    container-name: strengths-head;
}

/* 英字ラベルは .section-title::before と同じトーン */
.strengths-kicker {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--plum-accent);
    margin: 0 0 1rem;
}

/* メイン見出し（セクション見出しより一段小さめ） */
.strengths-hero-title {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.2rem, 3.2vw, 1.65rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.75;
    color: var(--text-dark);
    margin: 0 0 1.5rem;
    text-align: center;
}

.strengths-hero-line {
    display: block;
}

.strengths-hero-line--accent {
    position: relative;
    z-index: 0;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    font-weight: 600;
    color: #8B6289;
    margin-top: 0.35rem;
    white-space: nowrap;
    /* 1 行のまま枠内に収める（cqw 非対応時は vw フォールバック） */
    font-size: clamp(9px, 2.5vw + 0.35rem, 1.65rem);
    font-size: min(1.65rem, max(9px, 4.2cqw));
}

/* スマホ：nowrap + 縮小フォントで幅がはみ出し、中央に見えなくなるのを防ぐ（折り返し＋ブロック中央寄せ） */
@media (max-width: 767.98px) {
    .strengths-hero-line--accent {
        display: inline-block;
        max-width: 100%;
        margin-top: 0.35rem;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        text-align: center;
        word-break: keep-all;
        overflow-wrap: anywhere;
        font-size: clamp(0.88rem, 3.8vw + 0.12rem, 1.12rem);
        /* 複数行でも各行に虹色マーカーが乗る（単一 ::after は最下行にしか付かないため、clone で背景を行単位に複製） */
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        padding: 0.12em 0.2em 0.18em;
        border-radius: 0.12em;
        background-image: linear-gradient(
            90deg,
            rgba(255, 200, 215, 0.52) 0%,
            rgba(255, 228, 210, 0.52) 15%,
            rgba(255, 244, 200, 0.52) 30%,
            rgba(210, 240, 220, 0.52) 46%,
            rgba(200, 232, 250, 0.52) 62%,
            rgba(225, 215, 245, 0.52) 78%,
            rgba(255, 200, 215, 0.52) 100%
        );
        background-size: 220% 100%;
        background-repeat: no-repeat;
        background-position: 0 100%;
        background-origin: padding-box;
        animation: strengthsRainbowDrift 10s linear infinite;
    }

    /* スマホでは従来の単一帯の疑似要素を使わない（複行と両立しない） */
    .strengths-hero-line--accent::after {
        display: none !important;
    }

    .section.strengths.fade-in.visible .strengths-hero-line--accent::after {
        animation: none !important;
    }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
    .strengths-hero-line--accent {
        animation: none;
    }
}

/* 虹色マーカー風（文字により被せる／パステル・控えめ）＋左→右描画後に淡く流れる */
.strengths-hero-line--accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100%;
    height: 0.72em;
    z-index: -1;
    pointer-events: none;
    border-radius: 0.12em;
    opacity: 0.62;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(
        90deg,
        rgba(255, 200, 215, 0.95) 0%,
        rgba(255, 228, 210, 0.95) 15%,
        rgba(255, 244, 200, 0.95) 30%,
        rgba(210, 240, 220, 0.95) 46%,
        rgba(200, 232, 250, 0.95) 62%,
        rgba(225, 215, 245, 0.95) 78%,
        rgba(255, 200, 215, 0.95) 100%
    );
    background-size: 220% 100%;
}

.section.strengths.fade-in.visible .strengths-hero-line--accent::after {
    animation:
        strengthsMarkerSweep 1.15s cubic-bezier(0.33, 1, 0.68, 1) forwards,
        strengthsRainbowDrift 10s linear infinite 1.15s;
}

@keyframes strengthsMarkerSweep {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes strengthsRainbowDrift {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .strengths-hero-line--accent::after {
        transform: scaleX(1);
        opacity: 0.58;
        animation: none !important;
    }
}

/* リードは .skills-intro に近いサイズ感 */
.strengths-tagline {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin: 0;
    line-height: 2;
}

.strengths-intro {
    margin-bottom: 2.75rem;
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.5vw, 0.98rem);
    font-weight: 300;
    line-height: 2.05;
    letter-spacing: 0.06em;
}

.strengths-intro p + p {
    margin-top: 1.1rem;
}

.strengths-flow {
    margin-bottom: 2.75rem;
}

.strengths-step {
    position: relative;
    padding: 1.35rem 0 1.35rem 1.2rem;
    border-left: 2px solid rgba(221, 160, 221, 0.75);
    margin-left: 0.35rem;
}

/* ステップ見出し（色は上記 .career-item__org 共有グラデ） */
.strengths-step-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
}

.strengths-step-title::before {
    content: '■';
    margin-right: 0.45rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: #b070b0;
    vertical-align: 0.12em;
    letter-spacing: 0;
}

.strengths-step-body {
    margin: 0;
    color: var(--text-dark);
    font-size: clamp(0.88rem, 1.45vw, 0.96rem);
    font-weight: 400;
    line-height: 1.95;
    letter-spacing: 0.05em;
}

.strengths-arrow {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--plum-accent);
    line-height: 1.2;
    margin: 0.35rem 0 0.5rem;
    letter-spacing: 0.2em;
}

.strengths-benefits {
    padding: 1.75rem 1.5rem 1.85rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(232, 213, 232, 0.65);
    border-radius: 3px;
    box-shadow: 0 8px 28px rgba(var(--shadow-lavender), 0.16);
}

/* メリット見出し（共有のプラムグラデを継承） ※スマホは下の @media で上書き */
.strengths-benefits-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.75rem, 1.1rem + 1.1vw, 2.1rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 0 0 1.35rem;
}

.strengths-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.strengths-benefits-list li {
    position: relative;
    padding-left: 1.85rem;
    margin-bottom: 0.95rem;
    font-size: clamp(0.86rem, 1.4vw, 0.94rem);
    line-height: 1.85;
    letter-spacing: 0.04em;
    color: var(--text-dark);
}

.strengths-benefits-list li:last-child {
    margin-bottom: 0;
}

.strengths-benefits-head {
    display: inline;
}

.strengths-benefits-gap {
    display: inline;
}

.strengths-benefits-detail {
    font-weight: 600;
}

/* スマホ：「見出し」と「→ 詳細」を2段に（インラインの → は非表示、詳細前行頭に → を表示） */
@media (max-width: 767.98px) {
    .strengths-benefits {
        position: relative;
        overflow: hidden;
        /* 上はやわらかく、下をやや立てて〆る / clip-path+filter より手に取りやすい質感 */
        border-radius: 0.75rem 0.75rem 0.32rem 0.32rem;
        border: 1px solid rgba(198, 160, 188, 0.5);
        padding: 1.45rem 1.1rem 1.55rem 1.15rem;
        margin-bottom: 2.35rem;
        background:
            linear-gradient(90deg, rgba(255, 245, 250, 0.65) 0, rgba(255, 245, 250, 0.2) 3.5px, transparent 3.5px),
            linear-gradient(
                170deg,
                rgba(255, 255, 255, 0.99) 0%,
                rgba(255, 252, 255, 0.97) 40%,
                rgba(255, 248, 252, 0.96) 100%
            );
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.55) inset,
            0 1px 0 rgba(200, 140, 170, 0.1) inset,
            0 2px 0 rgba(255, 255, 255, 0.35) inset,
            0 8px 26px rgba(95, 65, 85, 0.1);
    }

    .strengths-benefits::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(220, 145, 185, 0.5) 22%,
            rgba(195, 120, 165, 0.7) 50%,
            rgba(220, 160, 195, 0.5) 78%,
            rgba(255, 255, 255, 0) 100%
        );
        pointer-events: none;
    }

    .strengths-benefits-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: clamp(1.2rem, 0.4rem + 1.8vw, 1.6rem);
        line-height: 1.4;
        font-weight: 600;
        margin-bottom: 1.25rem;
    }

    .strengths-benefits-title__l1,
    .strengths-benefits-title__l2 {
        display: block;
        text-align: center;
        max-width: 100%;
        font-size: 1em;
    }

    .strengths-benefits-title__l1 {
        margin-bottom: 0.1em;
        white-space: nowrap;
    }

    .strengths-benefits-title__l2 {
        white-space: normal;
        line-height: 1.45;
    }

    .strengths-benefits-list li {
        margin-bottom: 1.15rem;
        line-height: 1.75;
    }

    .strengths-benefits-head {
        display: block;
        font-weight: 500;
        color: var(--text-dark);
        margin-bottom: 0.35rem;
        padding-right: 0.25rem;
    }

    .strengths-benefits-gap {
        display: none;
    }

    .strengths-benefits-detail {
        display: block;
        font-weight: 600;
        padding-left: 0;
        margin: 0;
    }

    .strengths-benefits-detail::before {
        content: '→ ';
        font-weight: 600;
        color: var(--plum-accent);
        letter-spacing: 0.02em;
    }
}

.strengths-check {
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--plum-accent);
    font-weight: 600;
    font-size: 1em;
}

.strengths-quote {
    margin: 0;
    padding: 2.1rem 1.75rem 2.4rem;
    text-align: center;
    position: relative;
    border-radius: 1.35rem;
    border: 2px solid transparent;
    /* 内側のマット + 外周の流れるグラデーション枠 */
    background:
        linear-gradient(
            168deg,
            rgba(255, 255, 255, 0.995) 0%,
            rgba(252, 247, 255, 0.96) 40%,
            rgba(255, 251, 253, 0.99) 100%
        ) padding-box,
        linear-gradient(
            125deg,
            rgba(216, 170, 220, 0.95),
            rgba(255, 186, 210, 0.92),
            rgba(180, 210, 235, 0.88),
            rgba(240, 200, 230, 0.92),
            rgba(216, 170, 220, 0.95)
        ) border-box;
    background-size: 100% 100%, 340% 340%;
    animation: strengthsQuoteFrameFlow 9s ease-in-out infinite;
    box-shadow:
        0 18px 52px rgba(170, 120, 160, 0.12),
        0 6px 16px rgba(190, 140, 175, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.strengths-quote::before,
.strengths-quote::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
    animation: strengthsQuoteCorner 4.5s ease-in-out infinite;
}

.strengths-quote::before {
    top: 1.1rem;
    left: 1.1rem;
    width: 32px;
    height: 32px;
    border-top: 2.5px solid rgba(160, 90, 140, 0.42);
    border-left: 2.5px solid rgba(160, 90, 140, 0.48);
    border-radius: 6px 0 0 0;
}

.strengths-quote::after {
    bottom: 1.1rem;
    right: 1.1rem;
    width: 32px;
    height: 32px;
    border-bottom: 2.5px solid rgba(160, 90, 140, 0.42);
    border-right: 2.5px solid rgba(160, 90, 140, 0.48);
    border-radius: 0 0 6px 0;
    animation-delay: -2.25s;
}

@keyframes strengthsQuoteFrameFlow {
    0%,
    100% {
        background-position: 0% 0%, 0% 40%;
    }

    50% {
        background-position: 0% 0%, 100% 60%;
    }
}

@keyframes strengthsQuoteCorner {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

.strengths-quote-main {
    position: relative;
    z-index: 1;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.7;
    margin: 0 0 1rem;
    /* 濃いめのピンクグラデ（視認性重視） */
    background: linear-gradient(
        108deg,
        #e84890 0%,
        #d02870 24%,
        #e03078 48%,
        #b81858 72%,
        #e04080 100%
    );
    background-size: 120% 120%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
    .strengths-quote-main {
        color: #c02058;
        background: none;
        -webkit-text-fill-color: #c02058;
    }

    .strengths-quote-main .jp-quote-bracket {
        color: #c02058;
        background: none;
        -webkit-text-fill-color: #c02058;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        padding-top: calc(
            max(0.4rem, env(safe-area-inset-top, 0px)) + 40px + 0.8rem + 1px
        );
        padding-bottom: max(
            5.5rem,
            calc(1.5rem + env(safe-area-inset-bottom, 0px) + 4.25rem)
        );
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 2rem 2rem;
    }

    @media (max-width: 380px) {
        .hero-content {
            padding: 2rem 1rem;
        }
    }
}

/* キャッチコピー「」：スマホでは非表示、PCでは本文と同じグラデ */
@media (max-width: 767.98px) {
    .jp-quote-bracket {
        display: none !important;
    }

    /* ヒーロー .hero-subtitle と同じ可変字 */
    .strengths-quote-main {
        font-size: clamp(1.2rem, 3.8vw + 0.45rem, 2.75rem);
        font-weight: 400;
        font-family: 'Noto Serif JP', serif;
        letter-spacing: clamp(0.05em, 0.32vw + 0.04em, 0.14em);
    }

    /* 「この人に頼めば…」枠：スマホでは枠まわりの循環アニメを止める（ふわふわ感の解消） */
    .strengths-quote {
        animation: none;
        background-position: 0% 0%, 50% 50%;
    }

    .strengths-quote::before,
    .strengths-quote::after {
        animation: none;
        opacity: 0.75;
        transform: none;
    }
}

@media (min-width: 768px) {
    /* .hero-subtitle に近い可変字。見出し「この人に…」は PC では一段小さめ */
    .strengths-quote-main {
        font-size: clamp(1.42rem, 2.85vw, 2.05rem);
        font-family: 'Noto Serif JP', serif;
        font-weight: 400;
        line-height: 1.65;
        letter-spacing: 0.15em;
    }

    .strengths-quote-main .jp-quote-bracket {
        background: linear-gradient(
            108deg,
            #e84890 0%,
            #d02870 24%,
            #e03078 48%,
            #b81858 72%,
            #e04080 100%
        );
        background-size: 120% 120%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.strengths-quote-sub {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(0.88rem, 1.5vw, 0.96rem);
    font-weight: 300;
    letter-spacing: 0.06em;
    line-height: 1.85;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .strengths-step {
        padding-left: 1.5rem;
    }

    .strengths-benefits {
        padding: 2rem 2rem 2.1rem;
    }

    .strengths-benefits-title {
        margin-bottom: 1.55rem;
    }

    .strengths-quote {
        padding: 2.25rem 2.5rem 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .strengths-quote {
        animation: none;
        background-position: 0% 0%, 50% 50%;
    }

    .strengths-quote::before,
    .strengths-quote::after {
        animation: none;
        opacity: 0.75;
        transform: none;
    }
}

/* Services Section */
.services {
    /* 他 .section と同程度の上余白（.section 既定の上パディングと同値） */
    padding-top: 4.5rem;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services {
        padding-top: 7.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
        gap: 3rem;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    #services.services.section,
    section#services.services {
        padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
    }

    .services .services-grid {
        gap: 1rem;
        grid-template-columns: repeat(
            auto-fit,
            minmax(min(100%, 280px), 1fr)
        );
    }

    .services .service-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 3.5rem 2.25rem;
    }

    .services .service-icon {
        align-self: center;
    }

    .services .service-card h3 {
        min-height: 4.5rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .services .service-story {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex: 1 1 auto;
        min-height: 0;
        margin-bottom: 0;
    }

    .services .service-price {
        margin-top: auto;
    }

    .services .story-item {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .services .service-story > .story-item:nth-child(1) {
        min-height: 10.5rem;
    }

    .services .service-story > .story-item:nth-child(3) {
        min-height: 8.5rem;
    }

    .services .service-story > .story-item:nth-child(5) {
        min-height: 7rem;
    }
}

.service-card {
    background: white;
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 32px rgba(var(--shadow-lavender), 0.32);
    transition: all 0.4s ease;
    position: relative;
    min-width: 0;
}

@media (max-width: 480px) {
    .service-card {
        padding: 2.25rem 1.2rem;
        border-radius: 22px;
    }
}

@media (min-width: 768px) {
    .service-card {
        padding: 3.5rem 3rem;
    }
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 38px rgba(var(--shadow-lavender), 0.52);
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: 300;
    color: var(--lavender-mist);
    opacity: 0.5;
    font-family: 'Noto Sans JP', sans-serif;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.service-story {
    margin-bottom: 2.5rem;
}

.story-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.story-label {
    display: inline-block;
    background: var(--plum-accent);
    color: white;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.1em;
}

.story-item p:not(.text-gradient-catch) {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* 課題ブロック：ピンクグラデ（.text-gradient-catch と同系。行高・字間は施策・成果に合わせる） */
.story-item p.text-gradient-catch {
    font-size: 0.9rem;
    line-height: 2;
    letter-spacing: 0.05em;
}

.story-arrow {
    text-align: center;
    color: var(--plum-accent);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.service-price {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lavender-mist);
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.08em;
}

.price {
    font-size: 1.6rem;
    font-weight: 500;
    background: linear-gradient(90deg, var(--lavender-mist), var(--plum-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Services → 料金プラン CTA（左：コピー / 右：お問い合わせと同系の submit ボタン） */
.services-pricing-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1.75rem 1.5rem 1.85rem;
    text-align: left;
    max-width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(252, 248, 255, 0.9) 50%,
        rgba(255, 249, 252, 0.92) 100%
    );
    border: 1px solid rgba(200, 170, 200, 0.45);
    border-left: 4px solid rgba(185, 130, 175, 0.75);
    border-radius: 2px 18px 18px 2px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 14px 36px rgba(var(--shadow-lavender), 0.18);
}

.services-pricing-cta__copy {
    flex: 1;
    min-width: 0;
}

.services-pricing-cta__hook {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    margin: 0 0 0.5rem;
    color: rgba(95, 72, 92, 0.95);
}

.services-pricing-cta__lead {
    margin: 0;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.75;
    color: var(--text-light);
}

/* 問い合わせフォームの .submit-btn と同一トーン + リンクとしての調整 */
.services-pricing-cta__btn.submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        box-shadow 0.28s ease;
}

.services-pricing-cta__btn.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--shadow-lavender), 0.54);
}

.services-pricing-cta__btn.submit-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 14px rgba(var(--shadow-lavender), 0.38);
    transition:
        transform 0.1s ease,
        box-shadow 0.1s ease;
}

.services-pricing-cta__btn.submit-btn:focus-visible {
    outline: 2px solid rgba(221, 160, 221, 0.85);
    outline-offset: 3px;
}

.services-pricing-cta__btn-text {
    position: relative;
    z-index: 2;
}

/* クリック位置から広がるリップル（JS が prepend） */
.services-pricing-cta__ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 1;
    animation: servicesPricingRipple 0.55s ease-out forwards;
}

@keyframes servicesPricingRipple {
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-pricing-cta__ripple {
        animation: none;
        opacity: 0;
    }

    .services-pricing-cta__btn.submit-btn,
    .services-pricing-cta__btn.submit-btn:hover,
    .services-pricing-cta__btn.submit-btn:active {
        transform: none;
        transition: box-shadow 0.2s ease;
    }
}

@media (min-width: 768px) {
    .services-pricing-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem 2.5rem;
        margin-top: 3.5rem;
        padding: 2rem 2.25rem 2.1rem;
    }

    .services-pricing-cta__btn.submit-btn {
        width: auto;
        min-width: 260px;
        max-width: 320px;
        flex-shrink: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* お支払いセクション内：お支払い方法ブロック直下の料金CTA */
.payment .services-pricing-cta--in-payment {
    margin-top: 1.75rem;
}

@media (min-width: 768px) {
    .payment .services-pricing-cta--in-payment {
        margin-top: 2rem;
    }
}

/* Pricing Section — 料金プラン（一覧性・シャープなライン） */
.pricing {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        175deg,
        rgba(255, 253, 255, 0.97) 0%,
        rgba(248, 244, 252, 0.92) 48%,
        rgba(255, 250, 248, 0.96) 100%
    );
}

.pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -8deg,
        transparent,
        transparent 54px,
        rgba(221, 160, 221, 0.035) 54px,
        rgba(221, 160, 221, 0.035) 55px
    );
    pointer-events: none;
    z-index: 0;
}

.pricing .pricing-container {
    position: relative;
    z-index: 1;
    max-width: 1120px;
}

.pricing-page-header {
    text-align: center;
    margin-bottom: 2.75rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(200, 175, 205, 0.38);
}

.pricing-page-kicker {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--plum-accent);
    margin: 0 0 1rem;
}

.pricing-page-tagline {
    margin: 0 0 0.35rem;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.55;
}

.pricing-page-title {
    margin-bottom: 0;
}

.pricing-page-title::after {
    margin-top: 1.25rem;
}

.pricing-page-disclaimer {
    margin: 1.15rem auto 0;
    max-width: 40em;
    text-align: center;
    font-size: clamp(0.82rem, 1.35vw, 0.9rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.85;
    color: var(--text-light);
}

.pricing-category {
    margin-bottom: 3.25rem;
}

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

.pricing-category-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.25rem, 2.8vw, 1.55rem);
    font-weight: 500;
    letter-spacing: 0.16em;
    margin: 0 0 1.5rem;
    padding: 0.65rem 0 0.75rem 1rem;
    border-left: 4px solid rgba(185, 130, 175, 0.8);
    background: linear-gradient(
        90deg,
        rgba(255, 252, 255, 0.95) 0%,
        rgba(255, 255, 255, 0) 72%
    );
    color: var(--text-dark);
}

.pricing-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
}

@media (min-width: 900px) {
    .pricing-plans {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        align-items: stretch;
    }

    .pricing-plans--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(215, 190, 220, 0.55);
    border-radius: 2px 16px 16px 2px;
    padding: 1.45rem 1.35rem 1.5rem;
    box-shadow: 0 8px 26px rgba(var(--shadow-lavender), 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(var(--shadow-lavender), 0.22);
}

.pricing-card--featured {
    border-color: rgba(200, 140, 185, 0.65);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 10px 32px rgba(var(--shadow-lavender), 0.24);
}

/* 右上コーナー用：ラッパーでクリップし、帯は 45° で角に沿わせる */
.pricing-card__ribbon-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 4.75rem;
    height: 4.75rem;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    border-top-right-radius: 14px;
}

.pricing-card__ribbon {
    position: absolute;
    top: 1rem;
    right: -1.85rem;
    width: 6.75rem;
    padding: 0.32rem 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #c070a8, #dda0dd);
    box-shadow: 0 2px 6px rgba(140, 90, 130, 0.22);
    transform: rotate(45deg);
    transform-origin: center center;
}

@media (min-width: 900px) {
    .pricing-card__ribbon-wrap {
        width: 5.25rem;
        height: 5.25rem;
        border-top-right-radius: 15px;
    }

    .pricing-card__ribbon {
        top: 1.15rem;
        right: -1.95rem;
        width: 7.25rem;
        font-size: 0.6rem;
        letter-spacing: 0.28em;
    }
}

.pricing-card__head {
    margin-bottom: 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(200, 175, 200, 0.55);
}

.pricing-card__badge {
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(150, 105, 145, 0.95);
    margin-bottom: 0.65rem;
}

.pricing-card__name {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem, 2vw, 1.12rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.55;
    margin: 0 0 0.85rem;
    color: var(--text-dark);
}

.pricing-card__name-sub {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82em;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-light);
}

.pricing-card__price {
    margin: 0;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.65rem, 3.5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.2;
    background: linear-gradient(
        108deg,
        #b070a8 0%,
        #dda0dd 35%,
        #905888 100%
    );
    background-size: 120% 120%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
    .pricing-card__price {
        color: #985890;
        background: none;
        -webkit-text-fill-color: #985890;
    }
}

.pricing-card__currency {
    font-size: 0.55em;
    font-weight: 500;
    margin-right: 0.08em;
    vertical-align: 0.08em;
}

.pricing-card__price-suffix {
    font-size: 0.48em;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-left: 0.06em;
    vertical-align: 0.12em;
}

.pricing-card__price--consult {
    font-size: clamp(1.25rem, 2.6vw, 1.5rem);
    letter-spacing: 0.12em;
}

.pricing-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
}

.pricing-card__list li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.65rem;
    font-size: clamp(0.86rem, 1.4vw, 0.94rem);
    line-height: 1.75;
    letter-spacing: 0.04em;
    color: var(--text-dark);
}

.pricing-card__list li:last-child {
    margin-bottom: 0;
}

.pricing-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: linear-gradient(135deg, var(--plum-accent), var(--peach-puff));
    transform: rotate(45deg);
}

.pricing-card__note {
    margin: 1.15rem 0 0;
    padding: 1rem 1rem 1.05rem;
    font-size: clamp(0.84rem, 1.35vw, 0.92rem);
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: var(--text-light);
    background: rgba(255, 252, 254, 0.95);
    border: 1px solid rgba(232, 218, 235, 0.65);
    border-radius: 2px;
}

.pricing-card--consult {
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(252, 248, 255, 0.88) 100%
    );
}

/* 広告運用（カード型プラン以外の説明ブロック） */
.pricing-ad-panel {
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(215, 190, 220, 0.55);
    border-radius: 2px 16px 16px 2px;
    padding: 1.5rem 1.35rem 1.55rem;
    box-shadow: 0 8px 26px rgba(var(--shadow-lavender), 0.14);
}

.pricing-ad-lead {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    margin: 0 0 0.2rem;
    color: var(--text-dark);
}

/* プラン料金（.pricing-card__price）と同じグラデーション色 */
.pricing-ad-fee-rate.pricing-card__price {
    margin: 0 0 0.5rem;
}

.pricing-ad-sub {
    margin: 0 0 1rem;
    font-size: clamp(0.9rem, 1.45vw, 0.98rem);
    letter-spacing: 0.04em;
    line-height: 1.65;
    color: var(--text-light);
}

.pricing-ad-extra {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1.5rem;
    padding: 0.45rem 0.65rem;
    font-size: clamp(0.88rem, 1.4vw, 0.96rem);
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: var(--text-dark);
    background: rgba(255, 252, 254, 0.95);
    border: 1px solid rgba(232, 218, 235, 0.65);
    border-radius: 2px;
}

.pricing-ad-extra__label {
    vertical-align: baseline;
}

/* プラン料金と同じグラデーション（span 用に inline-block） */
.pricing-ad-extra__amount.pricing-card__price {
    display: inline-block;
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    line-height: 1.35;
    vertical-align: baseline;
}

.pricing-ad-heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--plum-accent);
    margin: 1.75rem 0 0.75rem;
}

.pricing-ad-col .pricing-ad-heading {
    margin: 0 0 0.75rem;
}

.pricing-ad-heading::before {
    content: '【';
}

.pricing-ad-heading::after {
    content: '】';
}

.pricing-ad-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 0.25rem;
}

.pricing-ad-col .pricing-ad-list {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .pricing-ad-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 2.25rem;
        align-items: start;
    }

    .pricing-ad-panel {
        padding: 1.65rem 1.5rem 1.7rem;
    }
}

/* 料金単体ページ：固定ヘッダー下の余白 */
.pricing.pricing--standalone {
    padding-top: clamp(4.5rem, 12vw, 6.5rem);
}

.pricing-back {
    margin: 2.5rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(200, 175, 205, 0.35);
    text-align: center;
}

.pricing-back__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.82rem, 1.35vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-decoration: none;
    color: rgba(95, 75, 92, 0.92);
    border-bottom: 1px solid rgba(140, 100, 130, 0.45);
    padding-bottom: 0.15rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.pricing-back__link:hover {
    color: var(--plum-accent);
    border-bottom-color: var(--plum-accent);
}

.pricing-back__link::before {
    content: '←';
    font-size: 0.9em;
    opacity: 0.75;
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 1.55rem 1.45rem 1.6rem;
    }

    .pricing-category-title {
        margin-bottom: 1.75rem;
    }
}

/* Flow Section — ご依頼の流れ（タイムライン＋非対称ヘッダー） */
.flow {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(165deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(248, 242, 252, 0.4) 45%,
            rgba(255, 249, 245, 0.65) 100%);
}

.flow::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 48px,
            rgba(221, 160, 221, 0.04) 48px,
            rgba(221, 160, 221, 0.04) 49px
        );
    pointer-events: none;
    z-index: 0;
}

.flow .container {
    position: relative;
    z-index: 1;
}

.flow-container {
    max-width: 920px;
}

.flow-header {
    display: grid;
    gap: 1.75rem;
    margin-bottom: 2.75rem;
}

.flow-header__intro {
    position: relative;
    padding-left: 0.85rem;
    border-left: 3px solid rgba(180, 130, 170, 0.65);
}

.flow-kicker {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--plum-accent);
    margin: 0 0 0.65rem;
}

.flow-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.65rem, 4.2vw, 2.35rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    margin: 0;
    line-height: 1.35;
}

.flow-header__highlight {
    align-self: start;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.15rem;
    padding: 1.15rem 1.35rem 1.25rem;
    background: linear-gradient(155deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(252, 248, 255, 0.88) 100%);
    border: 1px solid rgba(200, 160, 195, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 16px 40px rgba(var(--shadow-lavender), 0.2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.flow-header__highlight .flow-num {
    display: block;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-weight: 300;
    font-size: clamp(2.75rem, 10vw, 4.25rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    padding: 0;
    margin: 0;
    border: none;
    /* 「ご依頼の流れ」見出しと同系のプラムグラデで「5」のみ強調 */
    background: linear-gradient(
        118deg,
        #d898d8 0%,
        #dda0dd 22%,
        #c080c0 42%,
        #dda0dd 62%,
        #b070b0 82%,
        #dda0dd 100%
    );
    background-size: 145% 145%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.flow-title-suffix {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.78rem, 1.8vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.42em;
    color: rgba(120, 95, 115, 0.95);
    padding-bottom: 0.15rem;
    border-bottom: 1px solid rgba(221, 160, 221, 0.45);
}

.flow-lead {
    margin: 0;
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.45vw, 1rem);
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.06em;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.5rem;
}

.flow-step {
    display: grid;
    grid-template-columns: 3.35rem minmax(0, 1fr);
    gap: 0 1rem;
    align-items: stretch;
    padding: 0 0 2.25rem;
}

.flow-step:last-child {
    padding-bottom: 0;
}

.flow-step__axis {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.flow-step__dot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    border: 2px solid rgba(190, 150, 185, 0.85);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 0 4px rgba(255, 249, 245, 0.95),
        0 8px 20px rgba(var(--shadow-lavender), 0.24);
    z-index: 1;
}

.flow-step__dot-inner {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(95, 75, 90, 0.95);
}

.flow-step__axis::after {
    content: '';
    flex: 1 1 auto;
    width: 2px;
    min-height: 1.75rem;
    margin-top: 0.45rem;
    border-radius: 1px;
    background: linear-gradient(180deg,
        rgba(200, 150, 190, 0.95) 0%,
        rgba(255, 210, 200, 0.45) 100%);
}

.flow-step:last-child .flow-step__axis::after {
    display: none;
}

details.flow-step__surface {
    min-width: 0;
}

summary.flow-step__head::-webkit-details-marker {
    display: none;
}

summary.flow-step__head {
    display: block;
    list-style: none;
    cursor: pointer;
}

.flow-step__surface {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(220, 195, 225, 0.45);
    border-left: 3px solid rgba(190, 145, 185, 0.75);
    border-radius: 2px 14px 14px 2px;
    padding: 0;
    box-shadow: 0 8px 28px rgba(var(--shadow-lavender), 0.16);
}

details[open] .flow-step__head {
    margin: 0;
    padding: 1.2rem 1.25rem 0.85rem;
    border-bottom: 1px dashed rgba(200, 175, 200, 0.55);
}

details:not([open]) .flow-step__head {
    margin: 0;
    padding: 1.2rem 1.25rem 1.35rem;
    border-bottom: 0;
}

details[open] .flow-step__drop {
    padding: 0 1.25rem 1.35rem;
    padding-top: 0.4rem;
}

.flow-step__head .flow-step-time {
    margin: 0 0 0.4rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-light);
}

.flow-step-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    margin: 0;
    line-height: 1.45;
}

.flow-step-body {
    padding: 0;
    margin: 0;
    border: none;
}

.flow-step-body p {
    margin: 0 0 1rem;
    color: var(--text-dark);
    font-size: clamp(0.88rem, 1.45vw, 0.96rem);
    line-height: 2;
    letter-spacing: 0.05em;
}

.flow-pull {
    font-style: normal;
    color: var(--text-dark);
    padding: 1rem 1.1rem;
    background: rgba(255, 249, 252, 0.65);
    border-radius: 2px;
    border: 1px solid rgba(232, 213, 232, 0.55);
    margin: 1rem 0 1.25rem;
}

/* ステップ内：中見出し＋箇条書きを囲う（.flow-pull と同系） */
.flow-step-panel {
    font-style: normal;
    color: var(--text-dark);
    margin: 1.1rem 0 1.15rem;
    padding: 0.95rem 1.05rem 0.9rem 1.1rem;
    background: rgba(255, 249, 252, 0.7);
    border: 1px solid rgba(232, 213, 232, 0.6);
    border-left: 2px solid rgba(200, 140, 175, 0.48);
    border-radius: 0.45rem 0.55rem 0.5rem 0.45rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.flow-step-panel .flow-step-subhd {
    margin: 0 0 0.5rem 0;
    padding: 0 0 0.35rem 0;
    border: none;
    background: none;
    box-shadow: none;
    font-size: 0.76rem;
    line-height: 1.4;
    letter-spacing: 0.14em;
}

.flow-step-panel .flow-bullets {
    margin: 0.2rem 0 0.05rem 0.05rem;
    padding-left: 1.15rem;
    padding-bottom: 0.05rem;
}

.flow-step-subhd {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--plum-accent);
    margin: 1.35rem 0 0.65rem;
}

.flow-step-subhd::before {
    content: '【';
}

.flow-step-subhd::after {
    content: '】';
}

.flow-bullets,
.flow-checks {
    margin: 0 0 1.15rem;
    padding-left: 1.2rem;
    color: var(--text-dark);
    font-size: clamp(0.86rem, 1.4vw, 0.94rem);
    line-height: 1.85;
}

.flow-bullets li::marker,
.flow-checks li::marker {
    color: var(--plum-accent);
}

.flow-checks {
    list-style: none;
    padding-left: 0;
}

.flow-checks li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.45rem;
}

.flow-checks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--plum-accent);
    font-weight: 700;
}

.flow-outro {
    margin-top: 2.5rem;
    padding: 1.5rem 1.35rem 1.45rem;
    background: linear-gradient(90deg,
        rgba(255, 240, 245, 0.55) 0%,
        rgba(255, 255, 255, 0.35) 100%);
    border-left: 4px solid rgba(190, 150, 185, 0.65);
}

.flow-outro-line {
    margin: 0 0 0.75rem;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(0.98rem, 2vw, 1.12rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.85;
    color: var(--text-dark);
}

.flow-outro-line:last-child {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: clamp(0.88rem, 1.45vw, 0.98rem);
    font-weight: 400;
}

@media (min-width: 768px) {
    .flow-header {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
        grid-template-areas:
            'intro highlight'
            'lead  highlight';
        column-gap: 2rem;
        row-gap: 1.25rem;
        align-items: start;
    }

    .flow-header__intro {
        grid-area: intro;
    }

    .flow-header__highlight {
        grid-area: highlight;
    }

    .flow-lead {
        grid-area: lead;
        max-width: 38rem;
    }

    .flow-step {
        grid-template-columns: 3.6rem minmax(0, 1fr);
        gap: 0 1.35rem;
        padding-bottom: 2.5rem;
    }

    .flow-step__dot {
        width: 3.1rem;
        height: 3.1rem;
    }

    .flow .flow-step__summary {
        pointer-events: none;
        cursor: default;
    }

    .flow .flow-step__summary::after {
        content: none;
        display: none;
    }

    .flow details[open] .flow-step__head,
    .flow .flow-step__details[open] .flow-step__head {
        padding: 1.35rem 1.5rem 0.85rem;
    }

    .flow details:not([open]) .flow-step__head,
    .flow .flow-step__details:not([open]) .flow-step__head {
        padding: 1.35rem 1.5rem 1.5rem;
    }

    .flow details[open] .flow-step__drop,
    .flow .flow-step__details[open] .flow-step__drop {
        padding: 0.45rem 1.5rem 1.5rem;
    }
}

/* ご依頼の流れ：スマホ専用（角丸カード＋余白。768px+ は従来のまま） */
@media (max-width: 767.98px) {
    /* 5ステップ枠：有効行幅拡大（h3 見出し1行用） */
    .section#flow,
    #flow.section {
        padding-left: max(0.8rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.8rem, env(safe-area-inset-right, 0px));
    }

    .flow {
        overflow: visible;
        background:
            linear-gradient(
                168deg,
                rgba(255, 255, 255, 0.7) 0%,
                rgba(255, 244, 248, 0.5) 38%,
                rgba(248, 238, 255, 0.42) 72%,
                rgba(255, 250, 252, 0.7) 100%
            );
    }

    .flow::before {
        background:
            repeating-linear-gradient(
                -8deg,
                transparent,
                transparent 52px,
                rgba(221, 180, 210, 0.04) 52px,
                rgba(221, 180, 210, 0.04) 53px
            );
    }

    .flow .flow-header {
        text-align: center;
        margin-bottom: 1.1rem;
        align-items: center;
        justify-items: center;
    }

    .flow .flow-header__intro {
        border-left: none;
        padding: 0 0.5rem 0.85rem 0.5rem;
        margin: 0 auto 0.25rem;
        max-width: 22rem;
    }

    .flow .flow-header__highlight {
        max-width: 12.5rem;
        margin: 0 auto 0.25rem;
        padding: 0.95rem 1.1rem 1.05rem;
        align-items: center;
        text-align: center;
        border-color: rgba(220, 185, 210, 0.45);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.92) inset,
            0 10px 32px rgba(var(--shadow-lavender), 0.14);
    }

    .flow .flow-header__highlight .flow-num,
    .flow .flow-header__highlight .flow-title-suffix {
        text-align: center;
    }

    .flow .flow-header__highlight .flow-title-suffix {
        color: rgba(120, 85, 108, 0.92);
    }

    .flow .flow-lead {
        line-height: 1.8;
        font-size: clamp(0.88rem, 2.2vw, 0.95rem);
        text-align: center;
        color: rgba(100, 82, 90, 0.82);
    }

    .flow .flow-container {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .flow-steps {
        position: relative;
        counter-reset: fstep;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0 auto 0.35rem;
        /* 枠周り：横を最小にして白カードを最大化 */
        padding: 0.4rem 0.08rem 0.6rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
    }

    .flow-step {
        position: relative;
        counter-increment: fstep;
        display: grid;
        /* 左番号列最小幅 ＋ 短い溝＝最大の本文幅 */
        grid-template-columns: 2.36rem minmax(0, 1fr);
        align-items: stretch;
        gap: 0 0.42rem;
        padding: 0 0 1.95rem 0;
        scroll-margin-top: max(4.5rem, calc(3.2rem + env(safe-area-inset-top, 0px)));
    }

    .flow-step:last-child {
        padding-bottom: 0;
    }

    .flow-step__axis {
        margin-top: 0.45rem;
    }

    .flow-step__axis::after {
        width: 2px;
        min-height: 1.45rem;
        margin-top: 0.4rem;
        background: linear-gradient(180deg,
            rgba(224, 175, 205, 0.9) 0%,
            rgba(240, 210, 220, 0.35) 100%);
        border-radius: 2px;
    }

    .flow-step__dot {
        width: 2.28rem;
        height: 2.28rem;
        background: linear-gradient(155deg, #ffffff 0%, #fff5f9 55%, #fffbff 100%);
        border: 1.5px solid rgba(215, 170, 200, 0.6);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.85) inset,
            0 0 0 2px rgba(255, 242, 248, 0.5),
            0 3px 14px rgba(170, 110, 135, 0.15);
    }

    .flow-step__dot-inner {
        font-size: 0.65rem;
        color: rgba(100, 68, 80, 0.82);
    }

    .flow .flow-step__details.flow-step__surface {
        position: relative;
        overflow: hidden;
        /* 角丸のカード（スマホ）＋穏やかな立体感 */
        border-radius: 1.2rem;
        border: 1px solid rgba(205, 170, 195, 0.5);
        min-height: 3.9rem;
        padding: 0;
        background:
            linear-gradient(
                175deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 252, 255, 0.96) 50%,
                rgba(255, 248, 252, 0.94) 100%
            );
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.55) inset,
            0 1px 0 rgba(255, 255, 255, 0.6) inset,
            0 2px 3px rgba(80, 45, 60, 0.04) inset,
            0 6px 20px rgba(100, 65, 80, 0.09);
    }

    .flow details[open] .flow-step__head,
    .flow .flow-step__details[open] .flow-step__head {
        margin: 0;
        /* 左はアクセント帯分だけ／右は▼ 分を確保（見出し1行用に有効行幅最大） */
        padding: 1.25rem 1.95rem 1.05rem 0.8rem;
        /* 展開時：紫系の下線（区切り）を一時的に出さない */
        border-bottom: 0;
    }

    .flow details:not([open]) .flow-step__head {
        margin: 0;
        padding: 1.25rem 1.95rem 1.2rem 0.8rem;
        border-bottom: 0;
    }

    .flow .flow-step__head.flow-step__summary {
        position: relative;
        z-index: 0;
        background: linear-gradient(120deg, rgba(255, 244, 250, 0.7) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 252, 255, 0.15) 100%);
        border-radius: 1.08rem 1.08rem 1.08rem 1.08rem;
    }

    .flow .flow-step__details[open] .flow-step__head.flow-step__summary {
        border-radius: 1.08rem 1.08rem 0 0;
    }

    .flow .flow-step__head.flow-step__summary::after {
        content: '▼';
        position: absolute;
        right: 0.3rem;
        top: 50%;
        z-index: 1;
        font-size: 0.5rem;
        line-height: 1;
        color: rgba(150, 95, 125, 0.6);
        transform: translateY(-50%);
    }

    .flow .flow-step__details[open] .flow-step__summary::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .flow details[open] .flow-step__drop,
    .flow .flow-step__details[open] .flow-step__drop {
        /* 上と左右は要約行（カード天）の密度に揃えて行幅最大 */
        padding: 0.9rem 0.85rem 1.7rem 0.75rem;
    }

    /* 左の縦紫系アクセント：要約＝見出し行（閉・開の両方）で出さない */
    .flow details.flow-step__surface::before,
    .flow .flow-step__details.flow-step__surface::before {
        content: none;
    }

    .flow-step__surface::after {
        content: 'STEP ' counter(fstep) ' / 5';
        position: absolute;
        top: 0.48rem;
        right: 0.5rem;
        z-index: 2;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 0.5rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        line-height: 1.2;
        text-transform: uppercase;
        color: rgba(85, 50, 68, 0.9);
        padding: 0.2rem 0.32rem 0.2rem 0.35rem;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 254, 0.9) 100%);
        border: 1px solid rgba(200, 165, 192, 0.45);
        border-radius: 0.4rem;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset;
    }

    .flow-step__head .flow-step-time {
        display: inline-block;
        margin: 0 0 0.5rem 0;
        padding: 0.26rem 0.65rem 0.28rem 0.65rem;
        font-size: 0.62rem;
        letter-spacing: 0.1em;
        text-transform: none;
        line-height: 1.35;
        color: rgba(95, 60, 75, 0.9);
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgba(215, 180, 205, 0.4);
        border-radius: 999px;
    }

    .flow-step-title {
        line-height: 1.45;
        font-size: clamp(1.25rem, 4.2vw, 1.5rem);
        color: rgba(40, 28, 36, 0.98);
        font-weight: 600;
        letter-spacing: 0.1em;
    }

    .flow .flow-step-body {
        margin: 0;
        padding: 0.1rem 0 0.15rem;
    }

    .flow-step-body p {
        line-height: 1.92;
        margin: 0 0 0.95rem 0.15rem;
        font-size: 0.9rem;
        color: rgba(60, 48, 55, 0.92);
    }

    .flow-step-body p:last-of-type {
        margin-bottom: 0;
    }

    .flow .flow-step-panel {
        margin: 1.05rem 0.05rem 1.05rem 0.05rem;
        padding: 0.9rem 0.65rem 0.9rem 0.7rem;
        background: linear-gradient(95deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 250, 254, 0.4) 100%);
        border: 1px solid rgba(210, 175, 200, 0.4);
        border-left: 2px solid rgba(200, 140, 175, 0.48);
        border-radius: 0.4rem 0.55rem 0.5rem 0.45rem;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.45) inset,
            0 1px 0 rgba(255, 255, 255, 0.5) inset;
    }

    .flow .flow-step-panel .flow-step-subhd {
        margin: 0 0 0.45rem 0;
        padding: 0 0 0.2rem 0;
        font-size: 0.7rem;
        line-height: 1.4;
        letter-spacing: 0.12em;
    }

    .flow .flow-step-panel .flow-bullets {
        margin: 0.2rem 0.05rem 0 0.1rem;
    }

    .flow-pull {
        margin: 0.8rem 0.15rem 0.85rem 0.1rem;
        padding: 0.9rem 0.95rem 0.95rem 0.95rem;
        line-height: 1.8;
        font-size: 0.86rem;
        color: rgba(60, 48, 55, 0.88);
        background: linear-gradient(95deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 250, 254, 0.4) 100%);
        border: 1px solid rgba(210, 175, 200, 0.4);
        border-left: 2px solid rgba(200, 140, 175, 0.48);
        border-radius: 0.4rem 0.55rem 0.5rem 0.45rem;
    }

    .flow-bullets,
    .flow-checks {
        margin: 0.35rem 0.1rem 0.75rem 0.1rem;
        line-height: 1.8;
        font-size: 0.88rem;
    }

    .flow-bullets li::marker,
    .flow-checks li::marker {
        color: rgba(190, 120, 155, 0.6);
    }

    .flow-bullets li {
        margin-bottom: 0.45rem;
    }

    .flow-bullets li:last-child {
        margin-bottom: 0;
    }

    .flow-checks li {
        margin-bottom: 0.48rem;
    }

    .flow-checks li::before {
        color: #c48aac;
        font-weight: 600;
        content: '✓';
    }

    .flow-outro {
        margin: 1.55rem auto 0;
        padding: 1.2rem 1.1rem 1.2rem 1.2rem;
        text-align: center;
        max-width: 32rem;
        background: linear-gradient(125deg, rgba(255, 242, 248, 0.55) 0%, rgba(255, 255, 255, 0.45) 100%);
        border: 1px solid rgba(215, 188, 208, 0.4);
        border-left: 3px solid rgba(200, 145, 180, 0.5);
        border-radius: 0.9rem;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45) inset, 0 4px 16px rgba(100, 65, 80, 0.06);
    }

    .flow-outro-line {
        line-height: 1.7;
    }
}

/* Payment Section — お支払いについて（安心感＋シャープなライン） */
.payment {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        185deg,
        rgba(255, 253, 255, 0.97) 0%,
        rgba(252, 248, 255, 0.92) 42%,
        rgba(255, 249, 252, 0.96) 100%
    );
}

.payment::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        8deg,
        transparent,
        transparent 56px,
        rgba(221, 160, 221, 0.035) 56px,
        rgba(221, 160, 221, 0.035) 57px
    );
    pointer-events: none;
    z-index: 0;
}

.payment .container {
    position: relative;
    z-index: 1;
}

.payment-container {
    max-width: 880px;
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(200, 175, 205, 0.35);
}

.payment-kicker {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--plum-accent);
    margin: 0 0 0.75rem;
}

.payment-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.5rem, 3.8vw, 2.1rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    margin: 0 0 0.85rem;
    line-height: 1.35;
}

.payment-tagline {
    margin: 0;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(95, 78, 95, 0.92);
}

.payment-lead {
    margin: 0 0 2.25rem;
    text-align: center;
}

.payment-lead p {
    margin: 0;
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 300;
    line-height: 2.05;
    letter-spacing: 0.06em;
}

.payment-cards {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.payment-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(220, 198, 225, 0.5);
    border-left: 3px solid rgba(185, 140, 175, 0.75);
    border-radius: 2px 16px 16px 2px;
    padding: 1.35rem 1.4rem 1.45rem;
    box-shadow: 0 8px 28px rgba(var(--shadow-lavender), 0.14);
}

.payment-card__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(200, 175, 200, 0.55);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-dark);
}

.payment-card__label {
    color: rgba(110, 85, 105, 0.95);
}

.payment-card__ratio {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(150, 105, 145, 0.95);
    font-variant-numeric: tabular-nums;
    min-width: 3.2em;
    display: inline-block;
    text-align: right;
}

.payment-card p {
    margin: 0 0 0.9rem;
    color: var(--text-dark);
    font-size: clamp(0.88rem, 1.45vw, 0.96rem);
    line-height: 2;
    letter-spacing: 0.05em;
}

.payment-card p:last-child {
    margin-bottom: 0;
}

.payment-card__intro {
    font-weight: 500;
    color: rgba(75, 62, 78, 0.95);
}

.payment-card p.payment-card__emphasis {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 252, 254, 0.9);
    border-radius: 2px;
    border: 1px solid rgba(232, 218, 235, 0.65);
    font-size: clamp(0.86rem, 1.4vw, 0.94rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #b81858;
}

.payment-methods {
    margin-bottom: 2rem;
    padding: 1.35rem 1.4rem 1.45rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(232, 213, 232, 0.55);
    border-radius: 3px;
    box-shadow: 0 6px 22px rgba(var(--shadow-lavender), 0.12);
}

.payment-methods__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--plum-accent);
    margin: 0 0 0.85rem;
}

.payment-methods__title::before {
    content: '【';
}

.payment-methods__title::after {
    content: '】';
}

.payment-methods__list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-dark);
    font-size: clamp(0.88rem, 1.45vw, 0.96rem);
    line-height: 1.9;
    letter-spacing: 0.05em;
}

.payment-methods__list li::marker {
    color: var(--plum-accent);
}

.payment-outro {
    margin: 0;
    padding: 1.4rem 1.25rem 1.35rem;
    background: linear-gradient(
        95deg,
        rgba(255, 245, 250, 0.65) 0%,
        rgba(255, 255, 255, 0.45) 100%
    );
    border-left: 4px solid rgba(190, 155, 185, 0.55);
    border-radius: 0 2px 2px 0;
}

.payment-outro p {
    margin: 0;
    font-size: clamp(0.88rem, 1.45vw, 0.96rem);
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.06em;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .payment-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .payment-card {
        padding: 1.45rem 1.5rem 1.55rem;
    }

    .payment-header {
        margin-bottom: 2.25rem;
    }
}

/* Portfolio Section */
.portfolio-disclaimer {
    margin: -1.5rem auto 2.75rem;
    max-width: 42em;
    text-align: center;
    font-size: clamp(0.82rem, 1.35vw, 0.9rem);
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.85;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .portfolio-disclaimer {
        margin-bottom: 3.25rem;
    }
}

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

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
        gap: 3rem;
    }
}

/* 制作実績：タブレットのみ3列を等分し、余白を詰めて1枚あたりの横幅を広く */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .section#portfolio {
        /* 左右はノッチ用 safe-area のみ。通常端末ではほぼ画面端いっぱい */
        padding-left: max(0px, env(safe-area-inset-left, 0px));
        padding-right: max(0px, env(safe-area-inset-right, 0px));
    }

    .section#portfolio .container {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }

    .section#portfolio .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.portfolio-item {
    min-width: 0;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 22px rgba(var(--shadow-lavender), 0.28);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 34px rgba(var(--shadow-lavender), 0.46);
}

.portfolio-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--lavender-mist), var(--peach-puff));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image--with-thumb {
    display: block;
    line-height: 0;
    padding: 0;
}

.portfolio-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@media (min-width: 768px) {
    .portfolio-image {
        height: 200px;
    }
}

.portfolio-placeholder {
    color: white;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.15em;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--plum-accent);
    background: rgba(221, 160, 221, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
}

.portfolio-info h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    letter-spacing: 0.08em;
}

.portfolio-description {
    color: var(--text-light);
    font-weight: 300;
    line-height: 2;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

a.portfolio-item,
a.portfolio-item:hover,
a.portfolio-item:active {
    text-decoration: none;
    color: inherit;
}

a.portfolio-item:focus-visible {
    outline: 2px solid rgba(180, 120, 170, 0.9);
    outline-offset: 3px;
    border-radius: 25px;
}

/* 実績詳細：自己サイト case study */
/* .work-case のふわっと表示: script 側で threshold:0 の専用 IO を使う（長大セクションでも先頭が見えれば visible） */
/* 上余白: 固定ヘッダー（+ safe-area 込み）より下に .work-back を置く。スマホで 2.5rem だと隠れるため max + calc。 */
.page-work .work-case {
    padding-top: max(5.5rem, calc(env(safe-area-inset-top, 0px) + 3.6rem));
    padding-bottom: 4.5rem;
}

.work-case__inner {
    max-width: 720px;
    margin: 0 auto;
    /* 日本語: anywhere だと不自然に途切れやすい。禁則＋ break-word のみ。 */
    line-break: strict;
    overflow-wrap: break-word;
}

.work-back {
    margin: 0 0 2rem;
}

.work-back__link {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(200, 175, 200, 0.45);
    padding-bottom: 0.15em;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.work-back__link:hover {
    color: rgba(110, 78, 105, 0.95);
    border-bottom-color: rgba(140, 95, 130, 0.5);
}

.work-case__header {
    margin-bottom: 2.75rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(200, 175, 200, 0.35);
}

.work-case__kicker {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-accent);
    margin: 0 0 0.9rem;
}

.work-case__hero {
    margin: 0 0 1.15rem;
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
    background: linear-gradient(135deg, var(--lavender-mist), var(--peach-puff));
    box-shadow: 0 6px 24px rgba(var(--shadow-lavender), 0.2);
}

/* 幅に合わせアスペクト比を保ち、切り抜かず全体表示（従来の cover 相当の寄り映像にしない） */
.work-case__hero-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.work-case__title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.45rem, 4.2vw, 2.05rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.work-case__lead {
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.02rem);
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: var(--text-light);
    font-weight: 300;
}

.work-block {
    margin-bottom: 2.25rem;
}

.work-block__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

/* 実績詳細: 〈〉付き小見出し（案件概要 等）— 色は紫のまま太字 */
.work-case__inner .work-block__title {
    color: var(--plum-accent);
    font-weight: 600;
}

.work-block .work-p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 2.05;
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* 実績詳細・案件概要：メタの直後の導入・キャッチ */
.work-block .work-meta--summary + .work-p {
    margin-top: 0.9rem;
}

.work-case__inner .work-p.work-case__summary-catch {
    color: #b81858;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.85;
}

.work-block .work-p + .work-p {
    margin-top: 0.75rem;
}

.work-case__inner .work-p strong {
    color: #b81858;
    font-weight: 600;
}

.work-block .work-p a {
    color: rgba(110, 78, 105, 0.95);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.work-block .work-p a:hover {
    color: var(--text-dark);
}

.work-meta,
.work-list {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.95;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.work-meta {
    padding: 0;
    list-style: none;
}

.work-list {
    padding: 0 0 0 1.2rem;
    list-style: disc;
}

.work-meta li,
.work-list li {
    margin-bottom: 0.9rem;
}

.work-meta__label {
    display: inline-block;
    min-width: 6.5em;
    margin-right: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.88em;
    letter-spacing: 0.06em;
}

.work-meta__item--scope {
    display: block;
}

.work-meta__item--scope .work-meta__label {
    display: block;
    min-width: 0;
    margin-bottom: 0.65rem;
    margin-right: 0;
}

.work-scope {
    width: 100%;
    min-width: 0;
    border-left: 2px solid rgba(200, 175, 200, 0.45);
    padding-left: 0.9rem;
}

.work-scope__block {
    margin-bottom: 1.1rem;
}

.work-scope__block:last-child {
    margin-bottom: 0;
}

.work-scope__head {
    margin: 0 0 0.4rem;
    font-size: 0.92em;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.work-scope__list {
    margin: 0;
    padding: 0 0 0 1.1rem;
    list-style: disc;
    color: var(--text-light);
    font-size: 0.92em;
    line-height: 1.85;
    font-weight: 300;
    letter-spacing: 0.03em;
}

.work-scope__list li {
    margin-bottom: 0.2rem;
}

.work-scope__list li:last-child {
    margin-bottom: 0;
}

.work-case__outro {
    margin: 2.5rem 0 0;
    text-align: center;
}

.work-case__toplink {
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    color: rgba(110, 78, 105, 0.95);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(200, 175, 200, 0.6);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.work-case__toplink:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .page-work .work-case {
        padding-top: max(5.75rem, calc(env(safe-area-inset-top, 0px) + 3.75rem));
        padding-bottom: 5.5rem;
    }
}

/* 実績詳細：スマホ（本文・案件概要の折り返し、はみ出し防止） */
@media (max-width: 767.98px) {
    .page-work .work-case {
        /* padding-top は上記 .page-work .work-case の max(...) を踏襲（2.5rem だとヘッダーに隠れるため未指定） */
        padding-bottom: 3rem;
        min-width: 0;
    }

    .work-case__inner {
        min-width: 0;
    }

    .work-case__header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .work-case__kicker {
        line-height: 1.65;
        letter-spacing: 0.1em;
        line-break: strict;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .work-case__title {
        line-height: 1.45;
        line-break: strict;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .work-case__lead {
        line-height: 1.85;
        line-break: strict;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .work-block {
        margin-bottom: 1.75rem;
    }

    .work-block__title {
        font-size: clamp(0.98rem, 4.2vw, 1.1rem);
        line-height: 1.5;
        line-break: strict;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .work-block .work-p,
    .work-meta,
    .work-list {
        font-size: 0.9rem;
        line-height: 1.9;
        line-break: strict;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .work-list {
        padding-left: 0.9rem;
    }

    .work-meta li,
    .work-list li {
        margin-bottom: 0.75rem;
    }

    .work-meta li {
        display: block;
    }

    .work-meta__label {
        display: block;
        min-width: 0;
        margin-right: 0;
        margin-bottom: 0.3rem;
    }

    .work-back {
        margin-bottom: 1.35rem;
    }

    .work-case__outro {
        margin-top: 2rem;
    }

    .work-case__toplink {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 0.65rem 0.9rem;
    }
}

/* FAQ Section */
.faq {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            168deg,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(252, 248, 255, 0.55) 40%,
            rgba(255, 249, 252, 0.88) 100%
        );
}

.faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -10deg,
        transparent,
        transparent 52px,
        rgba(221, 160, 221, 0.04) 52px,
        rgba(221, 160, 221, 0.04) 53px
    );
    pointer-events: none;
    z-index: 0;
}

.faq .faq-container {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.25rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(200, 175, 205, 0.35);
}

.faq-kicker {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--plum-accent);
    margin: 0 0 0.85rem;
    font-weight: 400;
}

.faq-heading {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: clamp(1.65rem, 3.8vw, 2.1rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.45;
    margin: 0 0 1rem;
}

.faq-tagline {
    margin: 0;
    font-size: clamp(0.92rem, 1.55vw, 1.02rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.75;
    color: var(--text-light);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

details.faq-item {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 5px 22px rgba(var(--shadow-lavender), 0.22);
    border: 1px solid rgba(232, 213, 232, 0.45);
}

.faq-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 1.35rem 1.4rem;
    list-style: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.95rem, 1.65vw, 1.05rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.65;
    color: var(--text-dark);
}

.faq-summary::-webkit-details-marker,
.faq-summary::marker {
    display: none;
}

.faq-summary:hover,
.faq-summary:focus-visible {
    color: var(--plum-accent);
}

.faq-summary:focus-visible {
    outline: 2px solid rgba(221, 160, 221, 0.65);
    outline-offset: 2px;
    border-radius: 6px;
}

.faq-summary__text {
    flex: 1;
    min-width: 0;
}

.faq-q__label {
    display: inline-block;
    margin-right: 0.35rem;
    color: var(--plum-accent);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* 閉じているときだけ：ラッパーが画面の縦方向のみ移動（矢印の回転と分離し斜め移動に見えないようにする） */
@keyframes faq-chevron-float {
    0%,
    100% {
        transform: translateY(-3px);
    }
    50% {
        transform: translateY(5px);
    }
}

.faq-chevron-outer {
    display: block;
    flex-shrink: 0;
    margin-top: 0.42rem;
}

details.faq-item:not([open]) .faq-chevron-outer {
    animation: faq-chevron-float 3.1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

details.faq-item[open] .faq-chevron-outer {
    animation: none;
    transform: translateY(0);
}

.faq-chevron {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--plum-accent);
    border-bottom: 2px solid var(--plum-accent);
    transform: rotate(45deg);
    transform-origin: 50% 50%;
    transition: transform 0.48s cubic-bezier(0.34, 1.25, 0.64, 1);
}

details.faq-item[open] .faq-chevron {
    transform: rotate(-135deg);
}

.faq-a {
    padding: 0 1.4rem 1.45rem;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 2;
    font-size: clamp(0.88rem, 1.45vw, 0.96rem);
    color: var(--text-light);
}

details.faq-item[open] .faq-a {
    border-top: 1px solid rgba(232, 213, 232, 0.55);
    padding-top: 1rem;
}

.faq-a p {
    margin: 0 0 1rem;
}

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

.faq-bullets {
    margin: 0.75rem 0 1rem;
    padding-left: 1.35rem;
    list-style: disc;
}

.faq-bullets li {
    margin-bottom: 0.35rem;
    padding-left: 0.15rem;
}

.faq-bullets li::marker {
    color: var(--plum-accent);
}

.faq-outro {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(200, 175, 205, 0.3);
}

.faq-outro p {
    margin: 0;
    font-size: clamp(0.95rem, 1.55vw, 1.05rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 2;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .faq-summary {
        padding: 1.5rem 1.65rem;
    }

    .faq-a {
        padding-left: 1.65rem;
        padding-right: 1.65rem;
        padding-bottom: 1.6rem;
    }

    .faq-list {
        gap: 1.5rem;
    }
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* お問い合わせ：送信完了ページ（FormSubmit の _next 遷移先） */
.contact-thanks--standalone {
    padding-top: clamp(4.5rem, 12vw, 6.5rem);
    padding-bottom: clamp(3rem, 8vw, 4.5rem);
    min-height: min(70vh, 900px);
}

.contact-thanks__card {
    max-width: 36rem;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(var(--shadow-lavender), 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-thanks__kicker {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.75rem, 1.1vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(139, 111, 125, 0.9);
    margin-bottom: 0.75rem;
}

.contact-thanks__title {
    font-size: clamp(1.25rem, 2.85vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.contact-thanks__lead,
.contact-thanks__note {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 0.98rem);
    line-height: 1.9;
    color: var(--text-dark);
    font-weight: 400;
    text-align: left;
}

.contact-thanks__lead {
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}

.contact-thanks__note {
    color: var(--text-light);
    font-size: clamp(0.82rem, 1.25vw, 0.92rem);
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}

.contact-thanks__note a {
    color: rgba(120, 85, 120, 0.95);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: color 0.2s ease;
}

.contact-thanks__note a:hover {
    color: var(--plum-accent);
}

/* スマホ: body の overflow-wrap:anywhere による不自然な改行を抑える（注記の可読性） */
@media (max-width: 767.98px) {
    .contact-thanks__title {
        font-size: clamp(1.05rem, 3.4vw, 1.4rem);
    }

    .contact-thanks__note {
        overflow-wrap: break-word;
        word-break: normal;
        line-break: strict;
        text-wrap: pretty;
    }

    .contact-thanks__note a {
        white-space: nowrap;
    }
}

.contact-thanks__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.contact-thanks a.submit-btn.contact-thanks__btn {
    display: block;
    width: 100%;
    max-width: 22rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
}

.contact-thanks__link-sub {
    display: inline-flex;
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 0.92rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(95, 75, 92, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(140, 100, 130, 0.4);
    padding-bottom: 0.1rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-thanks__link-sub::before {
    content: '←';
    font-size: 0.9em;
    margin-right: 0.35rem;
    opacity: 0.75;
}

.contact-thanks__link-sub:hover {
    color: var(--plum-accent);
    border-bottom-color: var(--plum-accent);
}

.contact-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    font-weight: 300;
    line-height: 2.2;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    letter-spacing: 0.08em;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

.required {
    color: var(--plum-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(232, 213, 232, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-accent);
    background: white;
    box-shadow: 0 4px 18px rgba(var(--shadow-lavender), 0.4);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(139, 139, 139, 0.5);
    font-weight: 300;
}

.submit-btn {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, var(--lavender-mist), var(--plum-accent));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(var(--shadow-lavender), 0.46);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--shadow-lavender), 0.54);
}

/* トップページ：ヒーロー通過後に出す固定 CTA */
.floating-consult-cta {
    position: fixed;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.45;
    background: linear-gradient(135deg, #dda0dd, #b888c0);
    box-shadow: 0 6px 22px rgba(var(--shadow-lavender), 0.42);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    overflow: hidden;
    isolation: isolate;
}

.floating-consult-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 35%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0.15) 65%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-120%) skewX(-18deg);
    animation: floating-cta-shine 2.4s ease-in-out infinite;
    animation-play-state: paused;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

@keyframes floating-cta-shine {
    0% {
        transform: translateX(-120%) skewX(-18deg);
    }
    100% {
        transform: translateX(360%) skewX(-18deg);
    }
}

.floating-consult-cta__text {
    position: relative;
    z-index: 1;
}

.floating-consult-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-consult-cta.is-visible::after {
    animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
    .floating-consult-cta::after {
        animation: none;
    }
}

.floating-consult-cta:hover,
.floating-consult-cta:focus-visible {
    color: #fff;
    filter: brightness(1.06);
    outline: none;
}

.floating-consult-cta:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--plum-accent);
}

@media (max-width: 767.98px) {
    .floating-consult-cta {
        left: max(0.75rem, env(safe-area-inset-left, 0px));
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
        width: auto;
        max-width: none;
        min-height: 3.15rem;
        padding: 0.85rem 1.25rem;
        border-radius: 999px;
        font-size: 0.95rem;
        box-shadow: 0 6px 22px rgba(var(--shadow-lavender), 0.5), 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    body.page-top--floating-cta-visible {
        /* フローティングボトム分：底上げ + ボタン高 + safe-area */
        padding-bottom: calc(0.75rem + 3.35rem + 0.75rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 768px) {
    .floating-consult-cta {
        right: 1.5rem;
        bottom: 1.5rem;
        left: auto;
        min-width: min(20rem, calc(100vw - 3rem));
        padding: 0.8rem 1.35rem;
        border-radius: 999px;
        font-size: 0.92rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(232, 213, 232, 0.1) 100%);
    padding: 4rem max(1.5rem, env(safe-area-inset-right, 0px)) max(2.5rem, env(safe-area-inset-bottom, 0px)) max(1.5rem, env(safe-area-inset-left, 0px));
}

@media (min-width: 768px) {
    .footer {
        padding: 5rem max(2rem, env(safe-area-inset-right, 0px)) max(3rem, env(safe-area-inset-bottom, 0px)) max(2rem, env(safe-area-inset-left, 0px));
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(232, 213, 232, 0.2);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo a {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

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

.footer-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.08em;
}

.footer-social h3 {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.12em;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-social h3 {
        text-align: left;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(232, 213, 232, 0.3);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--lavender-mist), var(--plum-accent));
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Animations — カード・グリッド項目（ふわっと：控えめな移動＋長めのイージング） */
.service-card.fade-in,
.portfolio-item.fade-in,
.skill-item.fade-in,
.faq-item.fade-in,
.pricing-card.fade-in,
.pricing-category.fade-in {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
        opacity 1s cubic-bezier(0.33, 1, 0.68, 1),
        transform 1s cubic-bezier(0.33, 1, 0.68, 1);
}

.service-card.fade-in.visible,
.portfolio-item.fade-in.visible,
.skill-item.fade-in.visible,
.faq-item.fade-in.visible,
.pricing-card.fade-in.visible,
.pricing-category.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Animations — 各セクション（スクロールで1ブロックずつふわっと浮かび上がる） */
.section.fade-in {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
}

.section.fade-in.visible {
    animation: sectionRevealFloat 1.15s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes sectionRevealFloat {
    0% {
        opacity: 0;
        transform: translate3d(0, 36px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 料金ページ #pricing：.section 既定の keyframes ではなく skill-item 同等のトランジションでフェード */
.page-pricing #pricing.section.fade-in {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    animation: none !important;
    transition:
        opacity 1s cubic-bezier(0.33, 1, 0.68, 1),
        transform 1s cubic-bezier(0.33, 1, 0.68, 1);
}

.page-pricing #pricing.section.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .page-pricing #pricing .pricing-container {
        transition: none !important;
    }

    .page-pricing #pricing:hover .pricing-container {
        transform: none !important;
        box-shadow: none !important;
    }

    .section.fade-in,
    .section.fade-in.visible {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .service-card.fade-in,
    .portfolio-item.fade-in,
    .skill-item.fade-in,
    .faq-item.fade-in,
    .pricing-card.fade-in,
    .pricing-category.fade-in,
    .service-card.fade-in.visible,
    .portfolio-item.fade-in.visible,
    .skill-item.fade-in.visible,
    .faq-item.fade-in.visible,
    .pricing-card.fade-in.visible,
    .pricing-category.fade-in.visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .faq-chevron {
        transition: none !important;
    }

    details.faq-item:not([open]) .faq-chevron-outer {
        animation: none !important;
        transform: none !important;
    }

    details.faq-item:not([open]) .faq-chevron {
        transform: rotate(45deg) !important;
    }
}

/* Skill Icon Image Styles */
.skill-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .skill-icon img {
        width: 80px;
        height: 80px;
    }
}

/* Service Icon Image Styles */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

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

/* Skill Item Icon Styles */
.skill-item-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.skill-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon Image Display */
.skill-icon img,
.skill-item-icon img,
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.skill-icon {
    width: 80px;
    height: 80px;
}

.skill-item-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .skill-icon {
        width: 60px;
        height: 60px;
    }
    
    .skill-item-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
}

/* skills-diagram 内：スマホは円内に納めつつ、アイコンを少し大きく。PC は汎用 .skill-icon サイズ */
@media (max-width: 767.98px) {
    .skills-diagram .skill-circle .skill-icon {
        width: clamp(36px, 12.5vw, 50px) !important;
        height: clamp(36px, 12.5vw, 50px) !important;
    }
}

/* Enhanced Hero Section */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(232, 213, 232, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 218, 185, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section with Profile Image */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        gap: 4rem;
        align-items: flex-start;
    }
}

.about-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 10px 36px rgba(var(--shadow-lavender), 0.4),
        0 0 0 10px rgba(255, 255, 255, 0.5),
        0 0 0 11px rgba(var(--shadow-lavender), 0.28);
    position: relative;
    animation: profileFadeIn 1s ease-out;
}

@media (min-width: 768px) {
    .about-image {
        width: 250px;
        height: 250px;
    }
}

.about-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--lavender-mist), var(--peach-puff), var(--lavender));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes profileFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .about-text {
        text-align: left;
    }
}

/* Enhanced Hero Background with Decorative Elements */
.hero {
    position: relative;
    background: 
        linear-gradient(135deg, 
            rgba(255, 228, 225, 0.3) 0%,
            rgba(232, 213, 232, 0.3) 25%,
            rgba(255, 249, 240, 0.3) 50%,
            rgba(230, 230, 250, 0.3) 75%,
            rgba(255, 218, 185, 0.3) 100%
        ),
        url('https://www.genspark.ai/api/files/s/FLztP4D4?cache_control=3600') center/cover no-repeat;
    background-attachment: fixed;
}

/* Floating Shapes Animation */
.floating-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
    animation: floatShape 15s ease-in-out infinite;
    will-change: transform;
}

.shape-circle {
    border-radius: 50%;
    background: radial-gradient(circle, var(--lavender-mist), var(--plum-accent));
}

.shape-square {
    border-radius: 10px;
    background: linear-gradient(135deg, var(--peach-puff), var(--misty-rose));
}

.shape-triangle {
    width: 0 !important;
    height: 0 !important;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--lavender);
    background: none !important;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-45px) rotate(270deg);
        opacity: 0.25;
    }
}

/* Sparkling Effect（スマホ等のみ。PC は下でオフ） */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 85%, white, transparent);
    background-size: 200% 200%;
    animation: sparkle 8s ease-in-out infinite;
    opacity: 0.4;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero::after {
        content: none;
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        background-position: 0% 0%;
    }
    50% {
        opacity: 0.6;
        background-position: 100% 100%;
    }
}

/* Profile Image Fix - Ensure visibility */
.about-image {
    background: white;
    padding: 5px;
}

.about-image img {
    border-radius: 50%;
}

/* Stylish Profile Image - Rounded Rectangle with Rainbow Border */
.about-image {
    position: relative;
    width: 220px;
    height: 280px;
    flex-shrink: 0;
    padding: 0;
    background: linear-gradient(
        135deg,
        #FFE4E1 0%,
        #E8D5E8 20%,
        #A8D8EA 40%,
        #E6E6FA 60%,
        #FFDAB9 80%,
        #FFE4E1 100%
    );
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: profileMorph 8s ease-in-out infinite, profileRotate 20s linear infinite;
    box-shadow: 
        0 14px 44px rgba(var(--shadow-lavender), 0.5),
        0 0 0 8px rgba(255, 255, 255, 0.8),
        0 0 28px rgba(var(--shadow-lavender-drop), 0.28);
}

@media (min-width: 768px) {
    .about-image {
        width: 260px;
        height: 320px;
    }
}

@keyframes profileMorph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

@keyframes profileRotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.about-image::before {
    display: none;
}

.about-image img {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: profileMorph 8s ease-in-out infinite;
}

@keyframes rainbowFlow {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hero-catch::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #DDA0DD 20%,
        #A8D8EA 50%,
        #DDA0DD 80%,
        transparent
    );
    background-size: 200% auto;
    animation: rainbowFlow 4s ease-in-out infinite;
    opacity: 0.6;
    border-radius: 2px;
}

/* ✨ 星装飾は全幅で非表示（要望により削除） */
.hero-catch::after {
    content: none;
    display: none;
}

/* TOP ヒーロー：h1 見出し（.hero-catch）とグラデ本文（.hero-catch__text）を分離。clip:text は「本文span」内で完結 */
.hero h1.hero-catch {
    font-size: 100%;
    font-weight: inherit;
}

.hero-catch {
    font-family: 'Noto Serif JP', serif;
    display: inline-block;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 1rem;
    padding: 0.5rem 0;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    line-height: 1.45;
    opacity: 1 !important;
    position: relative;
}

/* 虹グラデ：768px+ 以前は PC のみ SVG 表示だったが、字サイズ一致のため 768px+ も .hero-catch__sp + clip（SVG は出さない） */
.hero-catch__pc {
    display: none;
}

.hero-catch__sp {
    display: block;
    text-align: center;
}

/* .hero-catch__sp 内。font-size/weight/letter-spacing は @media 側で .hero-subtitle に合わせる */
.hero-catch__text {
    font-weight: 500;
    letter-spacing: 0.12em;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    color: #dda0dd;
    background: linear-gradient(
        90deg,
        #ffe4e1 0%,
        #ffb6c1 15%,
        #dda0dd 30%,
        #e8d5e8 45%,
        #a8d8ea 60%,
        #98d8c8 75%,
        #e6e6fa 90%,
        #ffdab9 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowFlow 4s ease-in-out infinite, textFloat 3s ease-in-out infinite, fadeInCatch 1s ease forwards;
    display: inline; /* 行ボックス＝span の実寸。長い1行の欠字対策 */
}

/* タブレット〜PC：字サイズを .hero-subtitle に揃えるため span 表示（旧 SVG 切替は上記コメント参照） */
@media (min-width: 768px) {
    .hero-catch {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 1rem;
        white-space: normal;
        overflow: visible;
        box-sizing: border-box;
        padding: 0.5rem 0.75rem 1.25rem;
    }

    .hero-catch::before {
        z-index: 0;
    }

    /*
     * PC も HTML（.hero-catch__sp）の span で表示。SVG 内 <text> は viewBox 座標で
     * rem の見え方が p.hero-subtitle と一致しないため、768px+は SVG を出さない。
     */
    .hero-catch__sp {
        display: block;
        text-align: center;
    }

    .hero-catch__pc {
        display: none;
    }

    .hero-catch__line1,
    .hero-catch__line2 {
        display: inline;
    }

    /* サブタイトル（想いを形に…）と**同一**の可変 font（SVG 廃止で本当に揃う） */
    .hero .hero-subtitle,
    .hero .hero-catch__text {
        font-size: clamp(1.55rem, 3.2vw, 2.25rem);
        font-family: 'Noto Serif JP', serif;
        font-weight: 400;
        letter-spacing: 0.15em;
    }
}

@media (max-width: 767.98px) {
    .hero-catch {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 0.6rem 2rem 0.75rem;
        line-height: 1.55;
        white-space: normal;
    }

    .hero-catch__line1,
    .hero-catch__line2 {
        display: block;
    }

    .hero-catch__line1 {
        white-space: nowrap;
    }
}

@keyframes fadeInCatch {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PC キャッチ：transform なしフェード（clip:text 末尾欠けの回避用） */
@keyframes heroCatchFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Ensure text is visible even if gradient fails */
@supports not (background-clip: text) {
    .hero-catch__text {
        color: #dda0dd;
        -webkit-text-fill-color: #dda0dd;
        background: none;
    }
}

/* ========================================
   ロゴ PNG表示用CSS
   ======================================== */

.logo img, .logo-img, .footer-logo-img {
    height: 40px !important;
    width: auto !important;
    display: block;
}

/* ヘッダー内ロゴのみ縦幅削減（フッター等は上記 40px のまま） */
.header .logo img {
    height: 34px !important;
    max-height: 34px;
}

/* ========================================
   プロフィール画像 虹色フィルタなし（元のアニメーション維持）
   ======================================== */

.about-image img {
    filter: none !important;
    -webkit-filter: none !important;
}

/* ========================================
   蛍光ペンライン（3本）
   ======================================== */

.about-text .highlight {
    position: relative;
    display: inline;
}

.about-text .highlight:nth-child(1)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.2em;
    width: 100%;
    height: 0.5em;
    background: rgba(255, 243, 160, 0.7);
    border-radius: 2px;
    z-index: -1;
    animation: markerDrawShort 1.2s ease-out forwards;
    animation-delay: 0.3s;
    transform-origin: left;
    transform: scaleX(0);
}

.about-text .highlight:nth-child(2)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.2em;
    width: 100%;
    height: 0.5em;
    background: rgba(255, 243, 160, 0.7);
    border-radius: 2px;
    z-index: -1;
    animation: markerDrawShort 1.2s ease-out forwards;
    animation-delay: 0.7s;
    transform-origin: left;
    transform: scaleX(0);
}

.about-text .highlight:nth-child(3)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.2em;
    width: 100%;
    height: 0.5em;
    background: rgba(255, 243, 160, 0.7);
    border-radius: 2px;
    z-index: -1;
    animation: markerDrawShort 1.2s ease-out forwards;
    animation-delay: 1.1s;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes markerDrawShort {
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* ========================================
   制作実績 紫のドロップシャドウ付きホバーエフェクト
   ======================================== */

.portfolio-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 16px 48px rgba(var(--shadow-lavender), 0.58) !important;
    filter: drop-shadow(0 8px 22px rgba(var(--shadow-lavender-drop), 0.38)) !important;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.03);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.08);
}


/* ========================================
   全セクション ホバーエフェクト完全版
   ======================================== */

/* スキル円形カード */
.skill-circle:hover {
    transform: translateY(-10px) scale(1.08) rotate(5deg);
    box-shadow: 0 8px 26px rgba(var(--shadow-lavender), 0.62);
}

.skill-circle:hover .skill-icon {
    animation: iconBounce 0.6s ease-in-out;
}

/* スキル詳細カード */
.skill-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 7px 22px rgba(var(--shadow-lavender), 0.58);
}

.skill-item:hover .skill-item-icon {
    animation: iconBounce 0.6s ease-in-out;
}

/* サービスカード */
.service-card:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 10px 38px rgba(var(--shadow-lavender), 0.52);
}

.service-card:hover .service-icon {
    animation: iconBounce 0.6s ease-in-out;
}

/* アイコンバウンスアニメーション */
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* プロフィール画像ホバー */
.about-image:hover {
    transform: scale(1.05);
    box-shadow:
        0 12px 44px rgba(var(--shadow-lavender), 0.52),
        0 6px 22px rgba(var(--shadow-lavender-drop), 0.3);
}


/* プロフィール画像 虹色フィルタ完全削除 */
.about-image img {
    filter: none !important;
    -webkit-filter: none !important;
}

.about-image::before {
    background: linear-gradient(135deg, var(--lavender-mist), var(--peach-puff), var(--lavender)) !important;
    animation: rotateGradient 10s linear infinite !important;
    filter: none !important;
}


/* ========================================
   プロフィール画像 虹色フィルタ完全削除（最優先）
   ======================================== */

.about-image,
.about-image *,
.about-image::before,
.about-image::after,
.about-image img {
    filter: none !important;
    -webkit-filter: none !important;
}

/* グラデーションリングの色を固定（虹色にならないように） */
.about-image::before {
    background: linear-gradient(135deg, 
        rgba(232, 213, 232, 0.3),  /* ラベンダー */
        rgba(255, 224, 225, 0.3),  /* ピーチ */
        rgba(221, 160, 221, 0.3)   /* ラベンダー */
    ) !important;
    animation: rotateGradient 10s linear infinite !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* ========================================
   全ホバーエフェクト ドロップシャドウ強化
   ======================================== */

/* スキル円形カード */
.skill-circle {
    transition: all 0.4s ease;
}

.skill-circle:hover {
    transform: translateY(-10px) scale(1.08) rotate(5deg) !important;
    box-shadow: 0 8px 26px rgba(var(--shadow-lavender), 0.62) !important;
    filter: drop-shadow(0 4px 12px rgba(var(--shadow-lavender-drop), 0.36)) !important;
}

.skill-circle:hover .skill-icon {
    animation: iconBounce 0.6s ease-in-out !important;
}

/* Design / Marketing 両方に確実に適用（× 重なり等で片側だけ効かないケース対策） */
.skills-diagram .skill-circle.design:hover .skill-icon,
.skills-diagram .skill-circle.marketing:hover .skill-icon {
    animation: iconBounce 0.6s ease-in-out !important;
}

/* スキル詳細カード */
.skill-item {
    transition: all 0.4s ease;
}

.skill-item:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 7px 22px rgba(var(--shadow-lavender), 0.58) !important;
    filter: drop-shadow(0 3px 10px rgba(var(--shadow-lavender-drop), 0.34)) !important;
}

.skill-item:hover .skill-item-icon {
    animation: iconBounce 0.6s ease-in-out !important;
}

/* サービスカード */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.08) !important;
    box-shadow: 0 11px 40px rgba(var(--shadow-lavender), 0.56) !important;
    filter: drop-shadow(0 5px 18px rgba(var(--shadow-lavender-drop), 0.38)) !important;
}

.service-card:hover .service-icon {
    animation: iconBounce 0.6s ease-in-out !important;
}

/* 制作実績 */
.portfolio-item {
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 16px 48px rgba(var(--shadow-lavender), 0.58) !important;
    filter: drop-shadow(0 8px 22px rgba(var(--shadow-lavender-drop), 0.38)) !important;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.03);
}

/* プロフィール画像ホバー */
.about-image:hover {
    transform: scale(1.05) !important;
    box-shadow:
        0 12px 44px rgba(var(--shadow-lavender), 0.54),
        0 6px 22px rgba(var(--shadow-lavender-drop), 0.32) !important;
}

/* アイコンバウンス */
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}


/* ========================================
   コピーライト表示
   ======================================== */

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(232, 213, 232, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin: 0;
}


/* ========================================
   テキストエリア リサイズ設定（縦方向のみ）
   ======================================== */

textarea {
    resize: vertical !important;  /* 縦方向のみリサイズ可能 */
    min-height: 150px;            /* 最小の高さ */
    max-width: 100%;              /* 横幅は固定 */
    overflow-y: auto;             /* 縦スクロール */
}

/* メッセージ用textarea */
#message {
    resize: vertical !important;
    min-height: 150px;
    width: 100%;
}

