/* リセット & 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Century Gothic", sans-serif;
    background-color: #fff;
    color: #000;
}

/* アニメーション定義 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* スクロールアニメーション */
.scroll-animate {
    opacity: 0;
}

.scroll-animate.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 特定の要素に異なるアニメーションを適用 */
.image-placeholder.scroll-animate.animate-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.howtoUser.scroll-animate.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.accordion-item.scroll-animate.animate-in {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.hero-title.scroll-animate.animate-in {
    animation: fadeInUp 1.2s ease-out forwards;
}

/* 遅延アニメーション（複数要素を順番に表示） */
.scroll-animate:nth-child(1) { animation-delay: 0s; }
.scroll-animate:nth-child(2) { animation-delay: 0.1s; }
.scroll-animate:nth-child(3) { animation-delay: 0.2s; }
.scroll-animate:nth-child(4) { animation-delay: 0.3s; }
.scroll-animate:nth-child(5) { animation-delay: 0.4s; }
.scroll-animate:nth-child(6) { animation-delay: 0.5s; }

.scroll-container .scroll-animate:nth-child(1) { animation-delay: 0s; }
.scroll-container .scroll-animate:nth-child(2) { animation-delay: 0.15s; }
.scroll-container .scroll-animate:nth-child(3) { animation-delay: 0.3s; }
.scroll-container .scroll-animate:nth-child(4) { animation-delay: 0.45s; }

/* フローティングメニュー */
.floatingMenu {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    align-items: center;
    text-align: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 139, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.floatingMenu.visible {
    transform: translateY(0);
}

.floatingMenu a {
    width: 50%;
    background-color: #00008b;
    color: white;
    text-decoration: none;
    font-size: 20px;
    height: 60px;
    border: 1px solid lightgray;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.floatingMenu a:hover {
    background-color: #00006b;
    color: white;
}

.floatingMenu a i {
    font-size: 28px;
}

@media screen and (max-width: 768px) {
    .floatingMenu a {
        font-size: 16px;
        padding: 1em 0;
    }
}

/* ヘッダー */
header {
    background-color: transparent;
    width: 100%;
    height: 60px;
    position: fixed;
    z-index: 100;
    top: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: #00008b;
    box-shadow: 0 3px 12px rgba(0, 0, 139, 0.3);
}

.subpage header {
    background-color: #00008b;
    box-shadow: 0 3px 12px rgba(0, 0, 139, 0.3);
}

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

.headerContents > a {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo {
    height: 33px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
    margin-top: 6px;
}

.header-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav-item {
    margin: 0 0.5rem;
    text-decoration: none;
    color: white;
    position: relative;
    transition: color 0.3s ease;
}

header.scrolled .nav-item {
    color: white;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fed700;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-item:hover {
    color: #cccccc;
}

header.scrolled .nav-item:hover {
    color: #cccccc;
}

.nav-item.current::after {
    transform: scaleX(1);
}

.signup {
    background-color: #fed700;
    color: #00008b;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.signup:hover {
    background-color: #e6c200;
    color: #00008b;
}

.login {
    background-color: white;
    color: #00008b;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.login:hover {
    background-color: #cccccc;
    color: #00008b;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 6px 0;
    position: relative;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

header.scrolled .hamburger span {
    background-color: white;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
    header {
        background-color: #00008b;
        box-shadow: 0 3px 12px rgba(0, 0, 139, 0.3);
    }

    .headerContents {
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    #nav-menu {
        position: fixed;
        right: -100%;
        top: 60px;
        width: 80%;
        height: calc(100% - 60px);
        background-color: white;
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        padding: 2rem;
        overflow-y: auto;
        box-shadow: -4px 0 12px rgba(0, 0, 139, 0.2);
    }

    #nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
        font-size: 1.2rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid lightgray;
        color: #00008b;
    }

    .nav-item::after {
        display: none;
    }

    .nav-item.current {
        color: #fed700;
        font-weight: bold;
    }

    header.scrolled .nav-item {
        color: #00008b;
    }

    header.scrolled .nav-item.current {
        color: #fed700;
        font-weight: bold;
    }

    .login {
        margin-top: 1rem;
        text-align: center;
        background-color: #00008b;
        color: white;
    }

    .signup {
        margin-top: 0.5rem;
        text-align: center;
        background-color: #fed700;
        color: #00008b;
    }
}

/* トップセクション */
#top {
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/nighter/hero-bg-pc.jpg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 140px 0 140px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content {
    position: absolute;
    left: 0;
    top: 230px;
    bottom: 140px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 40px;
    gap: 60px;
}

.hero-title {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 60px;
}

.hero-title img {
    width: 77%;
    height: auto;
    max-width: none;
}

.hero-main-copy {
    font-size: 40px;
    font-weight: bold;
    color: white;
    line-height: 1.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.hero-copy-sp {
    display: none;
}

.hero-marker {
    background: linear-gradient(transparent 55%, rgba(0, 200, 255, 0.65) 55%);
    padding-bottom: 2px;
    display: inline;
}

.hero-sub-copy {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-sub-copy br {
    display: none;
}

/* ヒーロー内ペルソナコンテンツのフェードイン */
#top .hero-main-copy-wrapper.active {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

#top .hero-cta-wrapper.active {
    animation: fadeInUp 0.6s ease-out 0.08s forwards;
    opacity: 0;
}

#top .hero-sub-copy-wrapper.active {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

/* ヒーローCTAボタン */
.hero-cta {
    display: flex;
    justify-content: center;
}

.hero-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fed700;
    color: #00008b;
    font-weight: bold;
    font-size: 26px;
    padding: 23px 62px;
    min-width: 420px;
    border-radius: 100px;
    border: 3px solid #fff;
    box-shadow: 0 6px 0 #a89200, 0 6px 20px rgba(254, 215, 0, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-btn:hover {
    background: #e6c200;
    box-shadow: none;
    transform: translateY(6px);
}

.hero-cta-icon {
    margin-right: 10px;
    font-size: 23px;
}

.hero-cta-tag {
    position: absolute;
    top: -1.4rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #1B1B1B;
    font-weight: bold;
    font-size: 13px;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ヒーローセクション: 1024pxまでSP版表示 */
@media screen and (max-width: 1024px) {
    #top {
        height: auto;
        min-height: 100vh;
        background-image: url('../img/nighter/hero-bg-sp.jpg');
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 100px;
    }

    .hero-content {
        position: relative;
        width: 100%;
        top: auto;
        bottom: auto;
        padding: 0 20px;
        gap: 30px;
    }

    .hero-title {
        padding: 0;
    }

    .hero-title img {
        width: 90%;
        max-width: 450px;
    }

    .hero-main-copy {
        font-size: 36px;
        line-height: normal;
        white-space: normal;
    }

    .hero-copy-pc {
        display: none;
    }

    .hero-copy-sp {
        display: inline;
    }

    .hero-main-copy br {
        display: inline;
    }

    .hero-sub-copy {
        font-size: 18px;
    }

    .hero-sub-copy br {
        display: inline;
    }

    .hero-cta {
        justify-content: center;
        margin-top: 16px;
    }

    .hero-cta-btn {
        font-size: 17px;
        padding: 16px 32px;
        min-width: unset;
        width: 90%;
    }

}

/* iPhone SE (4.7インチ, 375×667px) 専用スタイル */
@media screen and (max-width: 375px) and (max-height: 667px) {
    #top {
        justify-content: flex-end;
        padding-bottom: 60px;
    }

    .hero-content {
        gap: 20px;
    }

    .hero-title img {
        width: 80%;
    }

    .hero-main-copy {
        font-size: 32px;
    }

    .hero-sub-copy {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-cta {
        margin-top: 12px;
    }

    .hero-cta-btn {
        font-size: 15px;
        padding: 14px 24px;
        min-width: unset;
        width: 90%;
    }

}

/* iPad mini〜iPad Pro (768px-1024px) 専用スタイル */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    #top {
        background-position: center top;
    }
}

/* セクション共通スタイル */
section {
    padding: 100px 0;
}

section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00008b, transparent);
}

/* プレースホルダー共通スタイル */
.image-placeholder {
    background: rgba(0,0,139,0.1);
    /* border: 3px dashed rgba(0,0,139,0.3); */
    border-radius: 12px;
    min-width: 280px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,139,0.15);
}

.image-placeholder:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,139,0.25);
    border-color: #00008b;
}

.image-placeholder span {
    font-size: 24px;
    color: rgba(0,0,139,0.5);
    font-weight: bold;
    margin-bottom: 10px;
}

.image-placeholder p {
    color: #00008b;
    font-weight: bold;
    margin-top: 10px;
}

/* 横スクロールコンテナ */
.scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* スクロールバーを非表示 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* ドットインジケーター */
.scroll-indicators {
    display: none; /* PCでは非表示 */
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 0 10px 0;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,139,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    background: #00008b;
    transform: scale(1.3);
}

/* タブレット・モバイルでドットインジケーターを表示 */
@media screen and (max-width: 1024px) {
    .scroll-indicators {
        display: flex;
    }
}

/* 特徴セクション */
#features {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.featuresContents {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

.featuresContents h2 {
    color: #00008b;
}

#features .image-placeholder {
    background: transparent;
    border: 3px solid #00008b;
    box-shadow: none;
}

#features .image-placeholder:hover {
    transform: none;
    box-shadow: none;
}

#features .image-placeholder p {
    font-size: 24px;
    border-top: 2px solid #00008b;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 20px;
    margin-bottom: auto;
    width: 100%;
    text-align: center;
}

#features .scroll-container {
    justify-content: center;
}

@media screen and (max-width: 768px) {
    #features .scroll-container {
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        padding-inline: calc((100% - 280px) / 2);
    }

    #features .image-placeholder {
        scroll-snap-align: center;
        flex-shrink: 0;
        width: 280px;
    }
}

/* 仕事例セクション */
#examples {
    background: linear-gradient(135deg, #00008b 0%, #00008b 100%);
}

.examplesContents {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

.examplesContents h2 {
    color: white;
}

.examplesContents h2::after {
    background: linear-gradient(90deg, transparent, white, transparent);
}

#examples .image-placeholder {
    background: transparent;
    border: 3px solid #fff;
    box-shadow: none;
    width: 280px;
    flex-shrink: 0;
}

#examples .image-placeholder:hover {
    transform: none;
    box-shadow: none;
}

#examples .image-placeholder span {
    color: rgba(255,255,255,0.7);
}

#examples .image-placeholder img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}

#examples .image-placeholder p {
    color: white;
    font-size: 24px;
    border-top: 2px solid #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: auto;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

#examples .scroll-container {
    justify-content: center;
}

@media screen and (max-width: 768px) {
    #examples .scroll-container {
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        padding-inline: calc((100% - 280px) / 2);
    }

    #examples .image-placeholder {
        scroll-snap-align: center;
    }
}

#examples .indicator-dot {
    background: rgba(255, 255, 255, 0.3);
}

#examples .indicator-dot.active {
    background: white;
}

/* 利用方法セクション */
#howto {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.howtoContents {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

.howtoContents h2 {
    color: #00008b;
}

.howtoUser {
    background: white;
    margin: 30px 0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0,0,139,0.15);
    transition: all 0.3s ease;
}

.howtoUser:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,139,0.25);
}

.howtoUser h3 {
    background: linear-gradient(135deg, #00008b 0%, #00008b 100%);
    color: white;
    padding: 20px;
    margin: -40px -40px 30px -40px;
    border-radius: 16px 16px 0 0;
    font-size: 28px;
    text-align: center;
}

.howtoUser h4 {
    font-size: 48px;
    color: #00008b;
    text-align: center;
    margin: 20px 0;
}

.howtoUser > p {
    color: #333;
    margin: 15px auto;
    font-size: 18px;
    text-align: left;
    max-width: 320px;
}

.howtoStep {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
    padding: 20px;
    background: rgba(0,0,139,0.03);
    border-radius: 12px;
}

.howtoStep > div {
    flex: 1;
}

.image-placeholder-step {
    background: transparent;
    border: none;
    border-radius: 12px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.image-placeholder-step span {
    font-size: 20px;
    color: rgba(0,0,139,0.5);
    font-weight: bold;
}

.image-placeholder-step img {
    width: 33%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 2px solid #00008b;
}

.howtoStep h5 {
    background-color: #00008b;
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    padding: 5px 13px;
    border-radius: 13px;
    display: inline-block;
}

.howtoStep p {
    color: #333;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .howtoUser {
        padding: 30px 20px;
    }

    .howtoUser h3 {
        margin: -30px -20px 20px -20px;
        font-size: 20px;
    }

    .howtoStep {
        flex-direction: column;
    }

    .image-placeholder-step {
        width: 100%;
        min-height: 150px;
        order: 2;
    }

    .image-placeholder-step img {
        width: 50%;
    }

    .howtoStep > div:not(.image-placeholder-step) {
        order: 1;
    }
}

/* よくある質問セクション */
#faq {
    background: linear-gradient(135deg, #00008b 0%, #00008b 100%);
}

.faqContents {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

.faqContents h2 {
    color: white;
}

.faqContents h2::after {
    background: linear-gradient(90deg, transparent, white, transparent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background: white;
    color: #00008b;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255,255,255,0.95);
}

.accordion-header.active {
    background: linear-gradient(135deg, #00008b 0%, #00008b 100%);
    color: white;
    border: 2px solid white;
}

.question-text {
    flex: 1;
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 10px;
}

.icon-plus, .icon-minus {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.icon-minus {
    display: none !important;
}

.accordion-header.active .icon-plus {
    display: none !important;
}

.accordion-header.active .icon-minus {
    display: inline-block !important;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255,255,255,0.95);
    color: #333;
}

.accordion-content.active {
    max-height: 500px;
    padding: 20px;
}

.accordion-content p {
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .accordion-header {
        font-size: 16px;
        padding: 15px;
    }
}

/* ニュースセクション */
#news {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.newsContents {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsContents h2 {
    color: #00008b;
}

/* ニュースカード */
.news-list {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: flex-start;
    padding: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* カードが少ない場合は中央寄せ */
.news-list::before,
.news-list::after {
    content: '';
    flex: 1;
}

.news-list::-webkit-scrollbar {
    display: none;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 139, 0.1);
    transition: all 0.3s ease;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 139, 0.2);
}

.news-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: rgba(0, 0, 139, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #00008b;
}

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

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

.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.news-card-body time {
    font-size: 14px;
    color: #00008b;
    font-weight: bold;
    margin-bottom: 8px;
}

.news-card-body p {
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .news-card {
        width: 260px;
        min-width: 260px;
        max-width: 260px;
    }

    .news-card-image {
        height: 160px;
    }

    .news-card-body {
        padding: 14px;
    }

    .news-card-body p {
        font-size: 13px;
    }
}

/* ペルソナ非表示（初期状態） */
.persona-hidden {
    display: none !important;
}

/* ペルソナ選択オーバーレイ */
.persona-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.persona-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.persona-select-contents {
    text-align: center;
    padding: 0 20px;
}

.persona-select-contents h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 50px;
}

.persona-select-contents h2::after {
    background: linear-gradient(90deg, transparent, #fed700, transparent);
}

.persona-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.persona-card {
    background: white;
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 40px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 280px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.persona-card i {
    font-size: 48px;
    color: #00008b;
    margin-bottom: 8px;
}

.persona-card span {
    font-size: 24px;
    font-weight: bold;
    color: #00008b;
}

.persona-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: #fed700;
}

.persona-card.active {
    border-color: #fed700;
    background: #fffde6;
    transform: translateY(-4px);
}

@media screen and (max-width: 768px) {
    .persona-select-contents h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .persona-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .persona-card {
        width: 100%;
        max-width: 320px;
        padding: 30px 20px;
    }
}

/* ペルソナコンテンツ切替 */
.persona-content {
    display: none;
}

.persona-content.active {
    display: block;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #00008b 0%, #00008b 100%);
    padding: 60px 0 120px 0;
    color: white;
    margin-top: -1px;
}

.footerContents {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

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

.footer-logo-placeholder {
    margin-bottom: 50px;
}

.footer-logo-placeholder img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footerLeft a {
    display: block;
    margin: 20px auto;
    max-width: 300px;
    padding: 15px 30px;
    background: white;
    color: #00008b;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footerLeft a:hover {
    background: #cccccc;
    color: #00008b;
}

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

.footerRight h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 24px;
}

.footerRight nav a {
    display: block;
    margin: 15px 0;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 8px;
    position: relative;
}

.footerRight nav a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 8px;
    right: 8px;
    height: 3px;
    background-color: #fed700;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.footerRight nav a:hover {
    color: #cccccc;
}

.footerRight nav a.current::after {
    transform: scaleX(1);
}

@media screen and (max-width: 768px) {
    footer {
        padding: 40px 0 100px 0;
    }

    .footerContents {
        flex-direction: column;
        gap: 40px;
    }

    .footerLeft a {
        font-size: 16px;
    }

    .footerRight nav a {
        font-size: 16px;
    }
}

/* パンくずリスト */
.breadcrumb {
    max-width: 1024px;
    margin: 80px auto 20px auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #00008b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #00006b;
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        font-size: 12px;
        padding: 15px 20px;
    }
}

/* ページタイトル */
.page-title {
    font-size: 36px;
    color: #00008b;
    margin-bottom: 40px;
    font-weight: bold;
    border-bottom: 3px solid #00008b;
    padding-bottom: 15px;
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* 運営情報 */
#info {
    background: #fff;
    padding: 0 20px 80px;
}

.infoContents {
    max-width: 1024px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

@media screen and (max-width: 768px) {
    .infoContents {
        padding: 30px 20px;
    }

    .infoContents dl {
        flex-direction: column;
        padding: 15px 0;
    }

    .infoContents dt {
        min-width: auto;
        margin-bottom: 8px;
    }
}

.infoContents dl {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.infoContents dt {
    min-width: 200px;
    font-weight: bold;
    color: #00008b;
}

.infoContents dd {
    flex: 1;
    color: #333;
}

.googleMap {
    margin-top: 20px;
}

.googleMap iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 300px;
}

/* お問い合わせ */
#contact {
    background: #fff;
    padding: 0 20px 80px;
}

.contactContents {
    max-width: 1024px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

@media screen and (max-width: 768px) {
    .contactContents {
        padding: 30px 20px;
    }
}

/* コンタクトフォーム */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #00008b;
    font-size: 16px;
}

.form-group label .required {
    background-color: #e74c3c;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00008b;
    box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300008b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 32px;
}

.form-submit button {
    background: linear-gradient(135deg, #00008b 0%, #000070 100%);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 139, 0.3);
    min-width: 200px;
}

.form-submit button:hover {
    background: linear-gradient(135deg, #000070 0%, #000050 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 139, 0.4);
}

.form-submit button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    max-width: 600px;
    margin: 24px auto 0;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media screen and (max-width: 768px) {
    .contact-form {
        padding: 0;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .form-submit button {
        width: 100%;
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* 利用規約・プライバシーポリシー */
#terms, #privacy {
    background: #fff;
    padding: 0 20px 80px;
}

.termsContents, .privacyContents {
    max-width: 1024px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    color: #333;
}

@media screen and (max-width: 768px) {
    .termsContents, .privacyContents {
        padding: 30px 20px;
    }

    .termsContents h2, .privacyContents h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .termsContents h3, .privacyContents h3 {
        font-size: 18px;
    }

    .termsContents h4, .privacyContents h4 {
        font-size: 16px;
    }
}

.termsContents h2, .privacyContents h2 {
    color: #00008b;
    border-bottom: 2px solid #00008b;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: left;
}

.termsContents ul, .termsContents ol, .privacyContents ul, .privacyContents ol {
    list-style-position: outside;
    padding-left: 1.5em;
}

.termsContents li, .privacyContents li {
    margin-bottom: 10px;
    padding-left: 0.5em;
}

.termsContents ul ul, .termsContents ol ol, .termsContents ul ol, .termsContents ol ul,
.privacyContents ul ul, .privacyContents ol ol, .privacyContents ul ol, .privacyContents ol ul {
    margin-left: 1em;
    margin-top: 10px;
}
