@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: "RampartOne-Regular";
  src: url("fonts/RampartOne-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
    --primary-dark: #333333;
    --secondary-dark: #555555;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --text-color: #333333;
    --text-light: #777777;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --section-padding: 40px 0 120px;
    --feature-section-padding: 60px 0;
    --gradient-main: linear-gradient(135deg, rgba(255, 170, 90, 0.9), rgba(255, 120, 40, 0.9));
    --gradient-black: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(20, 20, 20, 0.9));
    --gradient-white: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
    --gradient-overlay-1: linear-gradient(to right, rgba(255, 190, 120, 0.8) 0%, rgba(255, 140, 60, 0.8) 40%, rgba(255, 140, 60, 0) 70%);
    --gradient-overlay-2: linear-gradient(to right, rgba(255, 200, 130, 0.7) 0%, rgba(245, 130, 50, 0.7) 40%, rgba(245, 130, 50, 0) 70%);
    --gradient-overlay-3: linear-gradient(to right, rgba(255, 185, 110, 0.8) 0%, rgba(255, 155, 75, 0.8) 40%, rgba(255, 155, 75, 0) 70%);
    --flow-bg-gradient: linear-gradient(135deg, rgba(255, 247, 237, 1) 0%, rgba(255, 236, 213, 1) 100%);
    --flow-accent-gradient: linear-gradient(135deg, rgba(255, 190, 120, 0.2), rgba(255, 140, 60, 0.2));
    --hero-border-radius: 18px;
}

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

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    background: #f9f9f9;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

body.no-scroll {
    overflow: hidden;
}

.pc {display: block;}
.sp {display: none;}
@media (max-width: 768px) {
    .pc {display: none;}
    .sp {display: block;}
}

/* ヘッダースタイル */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 15px 0;
    transition: all 0.3s ease;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 20;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 10px;
}

.hamburger-menu span:nth-child(3) {
    top: 20px;
}

.hamburger-menu.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
    background: #333;
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
    background: #333;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: rgba(255, 255, 255, 1);
}

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

.nav-button {
    background: var(--gradient-main);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-shadow: none !important;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-button::after {
    display: none !important;
}

section, footer {
    padding: var(--section-padding);
    position: relative;
    scroll-margin-top: 20px;
}

/* ヒーローセクション */
.hero {
    height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    color: white;
    text-align: left;
    overflow: hidden;
    padding: 30px 0 0;
    margin: 20px auto 0;
    max-width: 95%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-mv-sp {
    position: absolute;
    right: -10px;
    bottom: 100px;
    width: 220px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* PC表示時のみ大きく表示 */
@media (min-width: 769px) {
    .hero-mv-sp {
        bottom: -100px;
        width: 320px;
    }
}

.hero-bg {
    background-image: url('img/mv1.png');
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    border-radius: var(--hero-border-radius);
}

@keyframes gradientShift {
    0% {
        background: var(--gradient-overlay-1);
    }
    50% {
        background: var(--gradient-overlay-2);
    }
    100% {
        background: var(--gradient-overlay-3);
    }
}

.hero-content {
    width: 100%;
    max-width: 920px;
    padding: 110px 0 0 2.5vw;
    z-index: 1;
    position: relative;
    text-align: left;
}

.hero-content img {
    position: absolute;
    top: 20px;
    left: 5.0vw;
    max-width: 320px;
    height: auto;
    margin: 0;
    display: block;
    z-index: 2;
}

.hero-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    opacity: 0.9;
    max-width: 500px;
    margin-left: 0;
    margin-right: 0;
}

/* ヒーロー装飾ラッパー（filterの外側・位置基準） */
.hero-card-area {
    position: relative;
    width: 100%;
    max-width: 740px;
}

/* ヒーロー白カード シャドウ用ラッパー */
.hero-text-shadow {
    filter: drop-shadow(0 12px 14px rgba(255, 255, 255, 0.06))
            drop-shadow(-4px 2px 6px rgba(255, 120, 170, 0.4))
            drop-shadow(4px 2px 6px rgba(255, 200, 80, 0.4))
            drop-shadow(4px 10px 6px rgba(100, 220, 140, 0.4))
            drop-shadow(-4px 10px 6px rgba(100, 160, 255, 0.4));
    width: 100%;
    max-width: 740px;
    position: relative;
}

/* ヒーロー装飾：ドット円（黄・前面・左上） */
.hero-deco-circle-yellow-2 {
    position: absolute;
    top: 35px;
    left: -10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(255, 210, 50, 0.9) 47%, transparent 50%);
    background-size: 7px 7px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 2;
}

/* ヒーロー装飾：キラキラアイコン（前面・右上） */
.hero-deco-sparkle {
    position: absolute;
    top: -12px;
    right: 145px;
    font-size: 1.8em;
    color: rgb(255, 203, 30);
    pointer-events: none;
    z-index: 3;
    transform: rotate(15deg);
    text-shadow:
        1px 0 0 rgba(0, 0, 0, 0.8),
        -1px 0 0 rgba(0, 0, 0, 0.8),
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 -1px 0 rgba(0, 0, 0, 0.8);
}

/* ヒーロー装飾：星2（前面・右上より右下・水色） */
.hero-deco-sparkle-2 {
    position: absolute;
    top: 28px;
    right: 110px;
    font-size: 1.3em;
    color: rgb(80, 210, 255);
    pointer-events: none;
    z-index: 3;
    transform: rotate(-25deg);
    text-shadow:
        1px 0 0 rgba(0, 0, 0, 0.8),
        -1px 0 0 rgba(0, 0, 0, 0.8),
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 -1px 0 rgba(0, 0, 0, 0.8);
}

/* ヒーロー装飾：星3（前面・左下・水色） */
.hero-deco-sparkle-3 {
    position: absolute;
    bottom: 92px;
    left: 55px;
    font-size: 1.4em;
    color: rgb(80, 210, 255);
    pointer-events: none;
    z-index: 3;
    transform: rotate(35deg);
    text-shadow:
        1px 0 0 rgba(0, 0, 0, 0.8),
        -1px 0 0 rgba(0, 0, 0, 0.8),
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 -1px 0 rgba(0, 0, 0, 0.8);
}

/* ヒーロー装飾：ドット円（黄・背面） */
.hero-deco-circle-yellow {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(255, 210, 50, 0.85) 33%, transparent 36%);
    background-size: 9px 9px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* ヒーロー装飾：ドット円（緑・前面） */
.hero-deco-circle {
    position: absolute;
    bottom: -50px;
    right: 60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(100, 200, 140, 0.8) 33%, transparent 36%);
    background-size: 9px 9px;
    opacity: 0.55;
    pointer-events: none;
    z-index: 2;
}

/* ヒーロー白カード */
.hero-text-wrapper {
    background: #ffffff;
    border-radius: 0;
    clip-path: url(#hero-trap-clip);
    padding: 36px 90px 26px 40px;
    text-align: center;
    width: 100%;
    max-width: 710px;
    position: relative;
    z-index: 1;
}

.hero-text-wrapper h1 {
    color: #333;
    text-shadow: none;
    font-size: 1.65em;
    text-align: center !important;
    display: block !important;
}

.hero-text-wrapper p {
    max-width: 100%;
    margin: 0;
    color: #555;
    opacity: 1;
    text-align: center;
}

.hero-text-wrapper p.hero-badge {
    display: inline-block;
    background: #253355;
    color: white !important;
    padding: 5px 18px !important;
    border-radius: 20px;
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
    opacity: 1 !important;
}

.text-orange {
    color: rgba(255, 118, 36, 1);
}

.hero-content p.hero-present {
    margin: 8px 0 0;
    font-weight: bold;
    text-decoration: underline dotted #5bc8d4;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.hero-text-wrapper .button {
    background: var(--gradient-main);
    border-color: transparent;
    color: white;
    padding: 10px 52px;
    margin-top: 22px;
    font-size: 1.3em;
    font-weight: bold;
    min-width: 220px;
    text-align: center;
}

.hero-text-wrapper .button:hover {
    border-color: transparent;
}

.hero-text-wrapper .button::before {
    background: rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.6em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI",
      "Hiragino Kaku Gothic ProN",
      "Yu Gothic",
      "Meiryo",
      sans-serif;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-align: left;
}

.hero::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    pointer-events: none;
    z-index: 0;
}

/* スクロールダウン矢印 */
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-down svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.hero-cta-mobile {
    display: none;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

h1 {
    font-size: 1.8em;
    margin-bottom: 0.3em;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.4em;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-align: left;
}

h2 {
    color: var(--secondary-dark);
    font-size: 2.2em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI",
      "Hiragino Kaku Gothic ProN",
      "Yu Gothic",
      "Meiryo",
      sans-serif;
    letter-spacing: 5px;
    position: relative;
    display: inline-block;
    padding: 0;
}




/* シーン紹介セクション */
.scene-section {
    padding: 0px 20px 80px;
    background: linear-gradient(to right, rgba(255, 247, 237, 1) 0%, rgba(255, 252, 247, 1) 100%);
    position: relative;
    overflow: hidden;
}

.scene-heading-icon {
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 28px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(79%) sepia(48%) saturate(600%) hue-rotate(160deg) brightness(105%)
            drop-shadow(1px 0 0 rgba(0, 0, 0, 0.8))
            drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.8))
            drop-shadow(0 1px 0 rgba(0, 0, 0, 0.8))
            drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.8));
    pointer-events: none;
}

.scene-heading-dot {
    position: absolute;
    bottom: 12px;
    left: calc(20% + 52px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 120, 40, 0.85);
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.scene-heading-dot--yellow {
    bottom: 14px;
    left: auto;
    right: calc(20% + 52px);
    background: rgba(255, 220, 50, 0.9);
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.8);
}

.scene-heading-dot--green-ring {
    bottom: 18px;
    left: auto;
    right: calc(20% - 16px);
    background: transparent;
    box-shadow: none;
    border: 1.5px solid rgba(50, 200, 100, 0.9);
}

.scene-heading-star {
    position: absolute;
    bottom: 0px;
    right: 20%;
    font-size: 1.4em;
    color: rgb(80, 210, 255);
    pointer-events: none;
    transform: rotate(15deg);
    text-shadow:
        1px 0 0 rgba(0, 0, 0, 0.8),
        -1px 0 0 rgba(0, 0, 0, 0.8),
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 -1px 0 rgba(0, 0, 0, 0.8);
}

.scene-deco-circle {
    position: absolute;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(255, 160, 80, 0.65) 33%, transparent 36%);
    background-size: 9px 9px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.scene-deco-circle--1 {
    top: 140px;
    left: 18%;
    width: 220px;
    height: 220px;
}

.scene-deco-circle--2 {
    bottom: 20px;
    right: 22%;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(circle, rgba(255, 220, 50, 0.65) 33%, transparent 36%);
}

.scene-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
}

.scene-card {
    flex: 1;
    max-width: 260px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: var(--card-bg);
    transition: var(--transition);
    position: relative;
}

.scene-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.scene-card-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.scene-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.scene-card:hover .scene-card-image img {
    transform: scale(1.05);
}

.scene-card-title {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    color: #000;
    padding: 10px 10px;
    background: url('img/scene_title_back.svg') center top / 60% auto no-repeat;
    letter-spacing: 2px;
    z-index: 1;
    text-shadow: none;
    margin: 0;
    transform: rotate(-3deg);
}

.scene-card--sobetsu   .scene-card-title { color: #ff6500; filter: drop-shadow(0 3px 3px rgba(255, 101,   0, 0.5)); }
.scene-card--sobetsu .scene-card-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 28px;
    width: 24px;
    height: 24px;
    background: url('img/scene_title_line.svg') center / contain no-repeat;
    transform: rotate(-45deg);
}
.scene-card--sobetsu .scene-card-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 8px;
    width: 38px;
    height: 38px;
    background: url('img/icon3.svg') center / contain no-repeat;
    filter: brightness(0) invert(1);
}
.scene-card--bounen    .scene-card-title { color: #00cb24; filter: drop-shadow(0 3px 3px rgba(  0, 203,  36, 0.5)); }
.scene-card--bounen .scene-card-title::before,
.scene-card--sotsugyou .scene-card-title::before,
.scene-card--dosoukai .scene-card-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 24px;
    width: 24px;
    height: 24px;
    background: url('img/scene_title_line.svg') center / contain no-repeat;
    transform: rotate(-45deg);
}
.scene-card--bounen .scene-card-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 8px;
    width: 38px;
    height: 38px;
    background: url('img/icon1.svg') center / contain no-repeat;
    filter: brightness(0) invert(1);
}
.scene-card--sotsugyou .scene-card-title { color: #0090ff; filter: drop-shadow(0 3px 3px rgba(  0, 144, 255, 0.5)); }
.scene-card--sotsugyou .scene-card-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 8px;
    width: 38px;
    height: 38px;
    background: url('img/icon4.svg') center / contain no-repeat;
    filter: brightness(0) invert(1);
}
.scene-card--dosoukai  .scene-card-title { color: #e83743; filter: drop-shadow(0 3px 3px rgba(232,  55,  67, 0.5)); }
.scene-card--dosoukai .scene-card-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 8px;
    width: 38px;
    height: 38px;
    background: url('img/icon2.svg') center / contain no-repeat;
    filter: brightness(0) invert(1);
}

.scene-more {
    margin-top: 32px;
    padding: 20px 32px;
    border: 1.5px solid rgba(200, 180, 160, 0.5);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.scene-more-label {
    font-size: 1.0em;
    color: var(--primary-dark);
    white-space: nowrap;
    letter-spacing: 1px;
    margin: 0;
    flex-shrink: 0;
    text-decoration: underline dotted #5bc8d4;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.scene-more-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.scene-more-list li {
    font-size: 0.9em;
    color: var(--secondary-dark);
    background: rgba(255, 247, 237, 0.9);
    border: 1px solid rgba(200, 160, 120, 0.35);
    border-radius: 20px;
    padding: 4px 14px;
}

/* フィーチャーセクション */

#features2 {
  padding-bottom: 80px;
}

/* フィーチャーセクション全体のコンテナ */
.features-container {
    position: relative;
    background-color: var(--light-gray);
    overflow: hidden;
    padding: 40px 0 80px;
    text-align: center;
    border-top: solid 3px #ece1d4;
}

.features-container2 {
    background-image: url('img/feature_bg.png');
}
/* フィーチャー見出しのスタイル */
.features-heading {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.main-heading {
    font-family: "RampartOne-Regular", sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0;
    margin: 0;
    padding: 30px 0 0;
    color: var(--secondary-dark);
    position: relative;
    display: block;
}

.sub-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0;
    color: var(--primary-dark);
    position: relative;
    display: block;
    padding-bottom: 25px;
    text-align: center;
}

/* 星マークのスタイル */
.star {
    font-size: 0.8rem;
    color: rgba(30, 30, 30, 0.5);
    margin: 0 8px;
    vertical-align: middle;
}

/* 区切り線はbefore疑似要素を使用 */
.sub-heading::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--gradient-main);
}

#flow .sub-heading::before {
    display: none;
}

/* 背景画像を全セクションにまたがるように表示 */
.features-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/feature_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.feature-section {
    padding: var(--feature-section-padding);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* 各セクションの色は透過表示のため削除 */

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

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

.feature-text {
    flex: 1;
    padding: 0 50px;
    position: relative;
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.3em;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--primary-dark);
    position: relative;
    display: block;
    text-align: center;
    letter-spacing: 1px;
    padding-bottom: 15px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, rgba(233, 180, 180, 0.8), rgba(145, 107, 191, 0.8));
}

.feature-section:nth-child(even) .feature-title::after {
    background: linear-gradient(to right, rgba(145, 107, 191, 0.8), rgba(233, 180, 180, 0.8));
}

.feature-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: left;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.button {
    background: transparent;
    color: white;
    padding: 16px 36px;
    display: inline-block;
    text-decoration: none;
    margin-top: 30px;
    font-weight: 500;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1.1em;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233, 180, 180, 0.9), rgba(145, 107, 191, 0.9));
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.feature-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4em;
    color: var(--primary-dark);
}

.feature-box ul {
    padding-left: 20px;
    list-style-type: none;
}

.feature-box ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.feature-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-dark);
}

.flow-steps {
    display: flex;
    gap: 20px;
    overflow: scroll;
    margin-top: 30px;
    padding: 30px;
}

.flow-step {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    font-size: 1.1em;
    padding: 0 0 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid rgba(233, 180, 180, 0.1);
    flex: 0 0 42%; /* 固定幅にして横並びに */
    scroll-snap-align: start; /* スクロール時に各カードの位置で止まるように */
}

.flow-step:hover {
    transform: translateY(-5px);
}

.flow-step-number {
    background: var(--gradient-main);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -15px;
    left: -15px;
    z-index: 2;
}

.flow-image {
    margin: 0 0 14px;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.flow-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    transition: var(--transition);
}
.flow-step p {
    padding: 0 20px;
    text-align: left;
}

/* 料金セクションのスタイル */
#pricing {
    background-image: url(img/bg_main2.png);
    background-size: cover;
    background-position: center;
}
.pricing {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

.price-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 30px;
}

.price-header {
    padding: 30px 20px 20px;
    background: rgba(240,240,240,0.8);
    text-align: center;
}

.price-title {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
    margin-bottom: 20px;
    position: relative;
}

.price-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #e91e63, #9c27b0);
    margin: 15px auto 0;
}

.price-amount {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 5px;
}

.price-currency {
    font-family: serif;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin-right: 5px;
}

.price-number {
    font-size: 3em;
    font-weight: 700;
    color: rgba(255, 120, 40, 0.9);
}

.price-tax {
    font-size: 0.9em;
    color: #666;
    margin: 0 0 0 0.4em;
}

.price-features {
    padding: 20px;
}

.price-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features i {
    color: rgba(255, 120, 40, 0.9);
    margin-right: 10px;
}

.price-footer {
    padding: 20px 20px 30px;
    background: rgba(240,240,240,0.8);;
}

.payment-info {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.payment-info i {
    color: rgba(255, 120, 40, 0.9);
    margin-right: 10px;
}

.price-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(145, 107, 191, 0.3);
}

@media (max-width: 576px) {
    .price-card {
        max-width: 320px;
    }
    
    .price-number {
        font-size: 2.5em;
    }
}


#faq {
    background: linear-gradient(to right, rgba(255, 247, 237, 1) 0%, rgba(255, 252, 247, 1) 100%);
}
.faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.faq-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.faq-question {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.faq-answer {
    color: var(--text-light);
}

#contact .cta-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 80px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.cta-image {
    flex: 1 1 50%;
    min-width: 280px;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}
.cta-image img {
  max-width: 90%;
/*
  filter: invert(70%) sepia(40%) saturate(800%) hue-rotate(260deg) brightness(80%) contrast(95%);
*/
}

.cta-content {
    flex: 1 1 50%;
    min-width: 280px;
}

.cta-content h3 {
    font-size: 1.4em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI",
      "Hiragino Kaku Gothic ProN",
      "Yu Gothic",
      "Meiryo",
      sans-serif;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--primary-dark);
    text-decoration: underline dotted #5bc8d4;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.cta-content p {
    margin-bottom: 1.5em;
    font-size: 1.1em;
}

footer {
    background: var(--gradient-white);
    color: black;
    text-align: center;
    padding: 40px 20px;
}

/* 使用の流れセクション */
#flow {
    background-image: url('img/flow_bg.png');
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 120px;
    border-top: 1px solid rgba(233, 180, 180, 0.4);
    margin-top: 0;
}

#flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(233, 180, 180, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(145, 107, 191, 0.1) 0%, transparent 40%);
    z-index: 0;
    opacity: 0.8;
}

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

.flow-category {
    margin-bottom: 60px;
    position: relative;
}

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

/* 事前準備と当日のレイアウトを別々に設定 */
.flow-category:first-of-type .flow-steps {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding-bottom: 15px;
}

/* カスタムスクロールバーのスタイル */
.flow-category:first-of-type .flow-steps::-webkit-scrollbar {
    height: 6px;
}

.flow-category:first-of-type .flow-steps::-webkit-scrollbar-track {
    background-color: rgba(233, 180, 180, 0.1);
    border-radius: 10px;
}

.flow-category:first-of-type .flow-steps::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(233, 180, 180, 0.6), rgba(145, 107, 191, 0.6));
    border-radius: 10px;
}

/*.flow-category:last-of-type .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}*/

.flow-category-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI",
      "Hiragino Kaku Gothic ProN",
      "Yu Gothic",
      "Meiryo",
      sans-serif;
    font-size: 1.8em;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 30px;
    position: relative;
    text-align: center;
    letter-spacing: 0.5px;
}

.flow-category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--gradient-main);
}

/* 既存のセクション */
.original-content {
    border-top: 1px solid #f9f9f9;
}

/* ヒーローバナー */
.hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg_main3.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.9);
    opacity: 0.7;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 170, 90, 0.5), rgba(255, 120, 40, 0.5));
    background-size: cover;
    opacity: 0.2;
    -webkit-backdrop-filter: blur(2px) brightness(1.18) saturate(0.9);
    backdrop-filter: blur(2px) brightness(1.18) saturate(0.9);
    z-index: -1;
}

.hero-left {
    padding-right: 40px;
    padding-left: 65px; /* 左余白を増やして中央寄りに */
    position: relative;
}

/* ヒーローバナー装飾：共通 */
.hero-title-star {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    text-shadow:
        1px 0 0 rgba(0, 0, 0, 0.8),
        -1px 0 0 rgba(0, 0, 0, 0.8),
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 -1px 0 rgba(0, 0, 0, 0.8);
}

.hero-title-star--1 {
    top: -16px;
    left: 30px;
    font-size: 1.6em;
    color: rgb(255, 203, 30);
    transform: rotate(-18deg);
}

.hero-title-star--2 {
    top: -6px;
    right: 300px;
    font-size: 1.1em;
    color: rgb(80, 210, 255);
    transform: rotate(20deg);
}

.hero-title-star--3 {
    bottom: 8px;
    left: 20px;
    font-size: 1.3em;
    color: rgb(100, 220, 140);
    transform: rotate(12deg);
}

.hero-title-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-title-dot--orange {
    top: 40px;
    right: 260px;
    background: rgba(255, 120, 40, 0.85);
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.8);
}

.hero-title-dot--yellow {
    top: 40px;
    left: 10px;
    width: 7px;
    height: 7px;
    background: rgba(255, 220, 50, 0.9);
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.8);
}

.hero-title-dot--green-ring {
    bottom: 20px;
    left: 60px;
    width: 8px;
    height: 8px;
    background: transparent;
    border: 2px solid rgba(50, 200, 100, 0.9);
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 80px;
}

.hero-right .cta-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 40px 80px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 12px 14px rgba(255, 255, 255, 0.06))
            drop-shadow(-4px 2px 6px rgba(255, 120, 170, 0.4))
            drop-shadow(4px 2px 6px rgba(255, 200, 80, 0.4))
            drop-shadow(4px 10px 6px rgba(100, 220, 140, 0.4))
            drop-shadow(-4px 10px 6px rgba(100, 160, 255, 0.4));
}

.hero-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI",
      "Hiragino Kaku Gothic ProN",
      "Yu Gothic",
      "Meiryo",
      sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-cta {
    font-size: 1.2em;
    padding: 20px 40px;
    background: var(--gradient-main);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    display: inline-block;
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.hero-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    transform: scale(0.5);
    pointer-events: none;
}

.hero-cta:hover::after {
    opacity: 1;
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}



.secondary-button {
    background: transparent;
    color: var(--primary-dark);
    padding: 12px 26px;
    border: 2px solid rgba(145, 107, 191, 0.6);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.secondary-button:hover {
    background: rgba(233, 180, 180, 0.1);
    border-color: rgba(145, 107, 191, 0.8);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.rounded-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* フィーチャーセクション */
.feature-section {
    padding: 80px 0;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    flex: 1;
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--flow-accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8em;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* テスティモニアルセクション */
.testimonial-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(255, 247, 237, 1) 0%, rgba(255, 252, 247, 1) 100%);
}

.testimonial-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.testimonial-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    scroll-snap-align: start;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1em;
    color: var(--primary-dark);
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.9em;
    color: var(--text-light);
}

/* ギャラリーセクション */
.gallery-section {
    padding: 80px 0;
}


#contact {
  background-image: url('img/bg_main1.png');
  padding-top: 80px;
}


/* 課題と対策セクションのスタイル */
.challenge-solution-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 20px 60px;
    max-width: 1200px;
    margin: 30px auto 0;
}

.feature-card-cs {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-card-cs:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-card-cs-image {
/* border-radius: 4px; */
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.feature-card-cs-image.image-challenge {
 border: 5px solid #666; 
  border-image: linear-gradient(to bottom, #444, #666) 1;
}
.feature-card-cs-image.image-solution {
  border: 5px solid rgba(255, 170, 90, 0.9); 
  border-image: linear-gradient(to right, rgba(255, 170, 90, 0.9), rgba(255, 120, 40, 0.9)) 1;
}

.feature-card-cs-content {
    padding: 20px;
    text-align: left;
}

.feature-card-cs .challenge-title,
.feature-card-cs .solution-title {
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 5px;
    border-radius: 4px;
    padding-left: 0.5em;
}
.feature-card-cs .challenge-title {
    background: #444;
    color: #fff;
}

.feature-card-cs .solution-title {
    background: var(--gradient-main);
    color: #fff;
}

.feature-card-cs .challenge-text,
.feature-card-cs .solution-text {
    font-size: 1.0em;
    font-weight: 300;
    line-height: 1.7;
    color: #333;
}

.cs-arrow {
    text-align: center;
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #9c27b0;
}

/* 幹事機能セクションのスタイル */
.organizer-features-section {
    padding: 60px 0 100px;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
    background-size: 10px 10px;
}

.organizer-features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.organizer-feature-item {
    display: flex;
    flex-direction: column;
    max-width: 320px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.organizer-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.organizer-feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.organizer-feature-icon {
    font-size: 1.5rem;
    color: rgba(255, 120, 40, 0.9);
    background: rgba(240,240,240,0.8);
    margin-right: 15px;
    min-width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.organizer-feature-header h3 {
    font-size: 1.1em;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.organizer-feature-item p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
    margin: 0;
}



/* レスポンシブ対応 */
@media (max-width: 992px) {
    .hero-banner {
        flex-direction: column;
        padding: 60px 20px;
    }
    
    .hero-left {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-right {
        padding-right: 0;
        width: 100%;
    }
    
    .cta-container {
        padding: 30px;
        width: 80%;
        margin: 0 auto;
    }
    
    .features-grid {
        flex-direction: column;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5em;
    }
    
    .testimonial-item {
        flex: 0 0 calc(100% - 40px);
    }
    
    .scroll-images img {
        width: 220px;
        height: 160px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon img {
        width: 35px;
        height: 35px;
    }
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .feature-container {
        flex-direction: column;
    }
    
    .feature-section:nth-child(even) .feature-container {
        flex-direction: column;
    }
    
    .feature-text, .feature-image {
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }
    
    .feature-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .flow-category:first-of-type .flow-steps {
        gap: 15px;
    }
    
    .flow-step {
        flex: 0 0 250px;
    }
    
    .flow-category-title {
        font-size: 1.6em;
    }
    
    h1 {
        font-size: 2.5em;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    .hero-content {
        padding: 0 8px 10px;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        height: 100%;
        text-align: left;
    }

    .hero-text-shadow {
        max-width: 100%;
    }

    /* スマホでもPCと同じ白カードを表示 */
    .hero-text-wrapper {
        margin-top: auto;
        width: 100%;
        text-align: center;
        background: #ffffff;
        border-radius: 0;
        clip-path: url(#hero-trap-clip);
        filter: none;
        padding: 20px 44px 38px 34px;
        box-shadow: none;
    }

    .hero-text-wrapper p,
    .hero-text-wrapper h1 {
        text-align: center;
        color: #555;
    }
    .hero-text-wrapper h1 {
        color: #333;
        text-shadow: none;
    }
    .hero-badge {
        background: #253355 !important;
    }
    .hero-present {
        color: #555 !important;
    }
    .text-orange {
        color: rgba(255, 118, 36, 1);
    }
    
    .hero-content img {
        left: 10px;
        top: 0;
        max-width: 220px;
        margin: -10px auto 0;
        width: 50%;
        filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.3));
    }

    .hero-mv-sp {
        transform: rotate(8deg);
    }

    .hero-card-area {
        margin-top: 440px;
    }

    .hero-deco-circle {
        width: 110px;
        height: 110px;
        right:20px
    }

    .hero-deco-circle-yellow-2 {
        width: 50px;
        height: 50px;
    }

    .hero-deco-sparkle {
        top: -10px;
        right: 40px;
        font-size: 1.4em;
    }

    .hero-deco-sparkle-2 {
        top: 20px;
        right: 20px;
        font-size: 1.1em;
    }

    .hero-deco-sparkle-3 {
        bottom: 60px;
        left: 20px;
        font-size: 1.2em;
    }
    
    .hero-text-wrapper h1 {
        font-size: clamp(0.8rem, 3.8vw, 1.1rem);
        text-align: center;
        line-height: 1.4;
        margin: 0 0 10px 0;
    }
    
    .hero-text-wrapper p {
        text-align: center;
        margin: 0 0 10px 0;
        font-size: clamp(0.7rem, 3vw, 0.95rem);
        max-width: 100%;
    }

    .hero-text-wrapper p.hero-badge {
        font-size: clamp(0.65rem, 2.6vw, 0.85rem);
    }

    .hero-content p.hero-present {
        font-size: clamp(0.7rem, 3vw, 0.95rem);
    }
    
    .hero-text-wrapper .button {
    /* PCでは表示 */
        padding: 12px 28px;
        margin-top: 15px;
        font-size: 0.95em;
        width: auto;
        min-width: 180px;
    }
    .scroll-down {
        bottom: 0;
        display: none;
    }
    
    .feature-title {
        font-size: 2em;
    }
    
    .screenshots {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    /* モバイル用ヘッダースタイル */
    .main-header {
        padding: 10px 0;
    }
    
    .header-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo-small {
        margin-bottom: 10px;
    }
    
    .hamburger-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #f5f0e8;
        display: none;
        z-index: 15;
    }
    
    .main-nav.open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 60px 0;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .main-nav a {
        font-size: 1.2em;
        color: #333;
        text-shadow: none;
    }
    
    .main-nav .nav-button {
        color: white;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
    }
    
    /* スマホ表示時にheroの背景画像の右端を表示 */
    .hero-bg {
        background-image: url('img/mv1_sp.png');
        background-position: center center;
        border-radius: 0;
    }
    
    /* スマホ表示時の見出しサイズ調整 */
    .main-heading {
        font-size: 2.4rem;
        padding: 20px 0 0;
    }
    
    .sub-heading {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
    
    /* スマホ表示時のheroセクション全体の調整 */
    .hero-banner {
        padding: 40px 15px;
    }
    
    .hero-left {
        margin-bottom: 0;
    }
    
    .hero-right {
        width: 100%;
    }
    
    .hero-right .cta-container {
        padding: 20px 15px;
        width: 90%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.0em;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    .testimonial-carousel {
        padding: 20px;
    }
    .testimonial-item {
        padding: 20px;
    }
    
    .faq {
        padding: 0 20px;
    }
    
    #contact {
        padding: 60px 20px 40px;
    }
    
    #contact .cta-container {
        flex-direction: column;
        margin: 0;
        padding: 30px 20px;
        gap: 20px;
        width: 100%;
    }
    
    .cta-image {
        padding: 10px;
        margin: 0 auto;
    }
    
    .cta-image img {
        max-width: 66%;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-content h3 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }
    
    .cta-content p {
        font-size: 1em;
        margin-bottom: 20px;
        text-align: left;
    }
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .scene-cards {
        flex-wrap: wrap;
        gap: 16px;
    }
    .scene-card {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    .scene-card-title {
        top: 12px;
        font-size: 1.05em;
        letter-spacing: 1px;
        padding: 8px 6px;
        background-size: 70% auto;
    }
    .scene-card--sobetsu .scene-card-title::before {
        left: 8px;
    }
    .organizer-features-list {
        flex-direction: column;
        align-items: center;
    }
    .organizer-feature-item {
        width: 90%;
        max-width: none;
    }
    .challenge-solution-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .hero {
        height: 680px;
        margin: 0;
        max-width: 100%;
        border: none;
        box-shadow: unset;
    }

    .hero-text-wrapper .button {
        display: none;
    }

    .hero-cta-mobile {
        color: white;
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        padding: 34px 20px;
        background: linear-gradient(to right, rgba(255, 170, 90, 0.9), rgba(255, 120, 40, 0.9));
        width: 100%;
    }
    .hero-cta-mobile strong {
        color: white;
        font-size: 1.2em;
        font-family: 'Cormorant Garamond', serif;
    }

    .hero-cta-mobile .button {
        padding: 12px 30px;
        font-size: 1.1em;
        min-width: 220px;
        text-align: center;
        margin: 0;
        animation: glowing-button 4.5s infinite ease-in-out;
    }
}

@keyframes glowing-button {
  0% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2), 0 0 10px rgba(255, 255, 255, 0.5), 0 0 15px rgba(255, 170, 90, 0.5), /* Outer glow */
                inset 0 0 7px rgba(255, 220, 220, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.3); /* Inner glow */
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 25px rgba(255, 255, 255, 0.7), 0 0 35px rgba(255, 170, 90, 0.7), /* Outer glow */
                inset 0 0 12px rgba(255, 220, 220, 0.7), inset 0 0 22px rgba(255, 255, 255, 0.5); /* Inner glow */
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2), 0 0 10px rgba(255, 255, 255, 0.5), 0 0 15px rgba(255, 170, 90, 0.5), /* Outer glow */
                inset 0 0 7px rgba(255, 220, 220, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.3); /* Inner glow */
  }
}


