/*
Theme Name: Tohoyou Child
Theme URI:
Description: 東京都保育士養成連絡協議会のカスタムテーマ
Author:
Version: 1.0.0
Template: twentytwentyfive
Text Domain: tohoyou-child
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    --color-primary: #0577D5;
    --color-primary-hover: #0689f0;
    --color-text: #323232;
    --color-white: #FFFFFF;
    --font-main: "Zen Kaku Gothic New", sans-serif;
    --header-height: 115px;
    --header-height-scrolled: 90px;
    --header-height-sp: 90px;
    --transition-speed: 0.3s;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    padding-top: var(--header-height);
    overflow-x: hidden;
}

body.home {
    padding-top: 0;
}

body.menu-open {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    transition:
        background-color var(--transition-speed) ease,
        box-shadow var(--transition-speed) ease,
        height var(--transition-speed) ease;
}

.site-header.scrolled {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height-scrolled);
}

.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-header__logo a {
    display: flex;
    align-items: center;
}

.site-header__logo img {
    height: 100px;
    width: auto;
    padding-top: 15px;
    transition: height var(--transition-speed) ease;
}

.site-header.scrolled .site-header__logo img {
    height: 70px;
    padding-top: 0;
}

/* Navigation */
.site-header__nav {
    margin-left: auto;
}

.site-header__nav .header-menu-list {
    display: flex;
    align-items: center;
    gap: 60px;
}

.site-header__nav .header-menu-list a {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    position: relative;
    padding-bottom: 4px;
}

.site-header__nav .header-menu-list a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-speed) ease;
}

.site-header__nav .header-menu-list a:hover::after {
    width: 100%;
}

/* Contact Button */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 182px;
    height: 62px;
    border-radius: 70px;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    line-height: normal;
    text-align: center;
    transition: background-color var(--transition-speed) ease;
}

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

/* Contact Button Wrapper */
.contact-btn-wrapper {
    margin-left: 40px;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    position: absolute;
    left: 0;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

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

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height-sp);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height-sp));
    background: var(--color-white);
    transform: translateX(100%);
    transition: transform var(--transition-speed) ease;
    z-index: 999;
    overflow-y: auto;
    display: none;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu__nav {
    padding: 20px 0;
}

.mobile-menu__nav .mobile-menu-list {
    display: flex;
    flex-direction: column;
}

.mobile-menu__nav .mobile-menu-list li a {
    display: block;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid #eee;
}

.mobile-menu__nav .mobile-menu-list li a:hover {
    background: #f8f8f8;
}

.mobile-menu__contact {
    padding: 30px;
    text-align: center;
}

.mobile-menu__contact .contact-btn {
    width: 100%;
    max-width: 300px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Slider */
.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero__slide.is-active {
    opacity: 1;
}

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

.hero__content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.hero__heading {
    max-width: 560px;
    width: 100%;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 50px;
    font-weight: 500;
    font-style: normal;
    line-height: 142.2%;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 40px rgba(255, 255, 255, 0.5);
}

.hero__subheading {
    max-width: 560px;
    width: 100%;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 500;
    font-style: normal;
    line-height: 142.2%;
    margin-top: 24px;
    text-align: left;
    text-shadow: 0 0 8px rgba(255, 255, 255, 1),
                 0 0 20px rgba(255, 255, 255, 0.9),
                 0 0 40px rgba(255, 255, 255, 0.7);
}

/* Hero fade-in animation */
.hero__content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero__content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Section Common
   ========================================================================== */

.section-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 48px;
}

.section-title {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 64px;
    font-weight: 400;
    font-style: normal;
    line-height: 142.2%;
}

.section-title-en {
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 142.2%;
    letter-spacing: 6px;
}

/* ==========================================================================
   News Section
   ========================================================================== */

.news {
    padding: 100px 0 80px;
    background: var(--color-white);
}

.news__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.news__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.news-card__thumbnail {
    width: 100%;
    aspect-ratio: 740 / 500;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 16px;
}

.news-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.news-card__date {
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 25px;
}

.news-card__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 162px;
    height: 30px;
    border-radius: 20px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 25px;
    text-align: center;
    padding: 0 16px;
}

.news-card__tag--news {
    background: #F8B72E;
}

.news-card__tag--press {
    background: #22AC38;
}

.news-card__title {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 30px;
}

.news__more {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.news__more-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news__more-text {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 70px;
}

.news__more-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.news__more-arrow svg {
    width: 40px;
    height: 40px;
}

.news__more-link:hover .news__more-arrow svg circle {
    fill: var(--color-primary-hover);
    transition: fill var(--transition-speed) ease;
}

/* ==========================================================================
   News Archive (お知らせ一覧)
   ========================================================================== */

.news-archive {
    padding: 100px 0 80px;
    background: var(--color-white);
}

.news-archive__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-archive__empty {
    text-align: center;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 18px;
    padding: 60px 0;
}

/* ---------- Pagination ---------- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
}

.pagination__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pagination__arrow--disabled {
    cursor: default;
}

.pagination__arrow:not(.pagination__arrow--disabled):hover {
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.pagination__numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #D9D9D9;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 500;
    line-height: 25px;
    text-decoration: none;
    transition: background 0.2s;
}

.pagination__number:hover {
    background: var(--color-primary);
}

.pagination__number--current {
    background: var(--color-primary);
    color: var(--color-white);
    pointer-events: none;
}

.pagination__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 500;
    color: var(--color-primary);
}

/* ==========================================================================
   News Detail (single.php)
   ========================================================================== */

.news-detail {
    padding: 100px 0 80px;
    background: var(--color-white);
}

.news-detail__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-detail__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.news-detail__date {
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
}

.news-detail__title {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    margin-bottom: 40px;
}

.news-detail__content {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 80px;
    overflow-wrap: anywhere;
}

.news-detail__content p {
    margin-bottom: 24px;
}

.news-detail__content p:last-child {
    margin-bottom: 0;
}

.news-detail__content a {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 400;
    line-height: 32px;
    text-decoration: underline;
}

.news-detail__content a:hover {
    text-decoration: none;
}

.news-detail__content img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
}

.news-detail__content video {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 24px auto;
}

.news-detail__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.news-detail__nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    flex-shrink: 0;
}

.news-detail__nav-arrow--disabled {
    cursor: default;
}

.news-detail__nav-arrow:not(.news-detail__nav-arrow--disabled):hover {
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.news-detail__back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 43px;
    border-radius: 60px;
    background: var(--color-primary);
    transition: background var(--transition-speed) ease;
}

.news-detail__back-btn:hover {
    background: var(--color-primary-hover);
}

.news-detail__back-text {
    display: flex;
    width: 219.745px;
    height: 19px;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
}

/* ==========================================================================
   Kaisoku (会則) Page
   ========================================================================== */

.kaisoku {
    padding: 100px 0 80px;
    background: var(--color-white);
}

.kaisoku__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.kaisoku__content {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

.kaisoku__org-name {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 48px;
    text-align: center;
}

.kaisoku__chapter {
    margin-bottom: 48px;
}

.kaisoku__chapter:last-child {
    margin-bottom: 0;
}

.kaisoku__chapter-title {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

.kaisoku__article {
    margin-bottom: 32px;
}

.kaisoku__article:last-child {
    margin-bottom: 0;
}

.kaisoku__article-title {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 4px;
}

.kaisoku__article p {
    margin-bottom: 0;
}

.kaisoku__paragraph {
    text-indent: 0;
    margin-top: 8px;
}

.kaisoku__list {
    list-style: none;
    padding-left: 2em;
    margin: 8px 0;
    counter-reset: kaisoku-item;
}

.kaisoku__list > li {
    counter-increment: kaisoku-item;
    position: relative;
    padding-left: 2em;
    margin-bottom: 4px;
}

.kaisoku__list > li::before {
    content: "（" counter(kaisoku-item) "）";
    position: absolute;
    left: 0;
}

/* ==========================================================================
   Mission Section
   ========================================================================== */

.mission {
    padding: 100px 0 80px;
    background: url("/wp-content/uploads/2026/03/bg_slash.svg") center center / cover no-repeat;
}

.mission__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.mission__catch {
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: 68px;
    font-weight: 500;
    font-style: normal;
    line-height: 142.2%;
}

.mission__subcatch {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 40px;
    font-weight: 400;
    font-style: normal;
    line-height: 142.2%;
    margin-bottom: 60px;
}

.mission__content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.mission__text {
    max-width: 629px;
    flex-shrink: 0;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 180%;
}

.mission__image {
    flex: 1;
    min-width: 0;
}

.mission__image img {
    width: 100%;
    aspect-ratio: 213 / 130;
    object-fit: cover;
    border-radius: 12px;
}

.mission__resolve {
    margin-top: 80px;
}

.mission__resolve-title {
    font-family: var(--font-main);
    font-size: 34px;
    font-weight: 500;
    font-style: normal;
    line-height: 202.2%;
    color: var(--color-text);
}

.mission__resolve-accent {
    color: var(--color-primary);
}

.mission__resolve-text {
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 180%;
    margin-top: 8px;
}

/* ==========================================================================
   Section Header White Variant
   ========================================================================== */

.section-header--white .section-title {
    color: var(--color-white);
}

.section-header--white .section-title-en {
    color: var(--color-white);
}

/* ==========================================================================
   Activities Section
   ========================================================================== */

.activities {
    padding: 100px 0 0;
    background: var(--color-primary);
    overflow: hidden;
}

.activities__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.activities__intro {
    max-width: 1209px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 180%;
    margin-bottom: 60px;
}

.activities__intro p + p {
    margin-top: 8px;
}

/* Activities Cards */
.activities__cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.activities-card {
    width: 380px;
    min-height: 648px;
    border-radius: 30px;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 26px;
}

.activities-card__label {
    display: block;
    width: 104px;
    text-align: center;
    font-family: "A P-OTF A1Gothic StdN", var(--font-main);
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 1.4px;
}

.activities-card__number {
    display: block;
    width: 104px;
    text-align: center;
    font-family: "A P-OTF A1Gothic StdN", var(--font-main);
    font-size: 50px;
    font-weight: 400;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 7px;
    margin-top: 8px;
}

.activities-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 24px;
    height: 125px;
}

.activities-card__title {
    width: 100%;
    text-align: center;
    font-family: "A P-OTF A1Gothic StdN", var(--font-main);
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
    line-height: 160%;
    margin-bottom: 16px;
}

.activities-card__text {
    width: 329px;
    max-width: 100%;
    color: var(--color-text);
    font-family: "A P-OTF A1Gothic StdN", var(--font-main);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 160%;
}

/* Card color variants */
.activities-card--blue .activities-card__label,
.activities-card--blue .activities-card__number,
.activities-card--blue .activities-card__title {
    color: #0577D5;
}

.activities-card--green .activities-card__label,
.activities-card--green .activities-card__number,
.activities-card--green .activities-card__title {
    color: #22AC38;
}

.activities-card--yellow .activities-card__label,
.activities-card--yellow .activities-card__number,
.activities-card--yellow .activities-card__title {
    color: #F8B72E;
}

/* Activities Greeting */
.activities__greeting {
    margin-top: 80px;
}

.activities__greeting-title {
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 36px;
    font-weight: 500;
    font-style: normal;
    line-height: 160%;
    margin-bottom: 32px;
}

.activities__greeting-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.activities__greeting-text {
    flex: 1;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 180%;
}

.activities__greeting-text p + p {
    margin-top: 16px;
}

.activities__greeting-image {
    flex-shrink: 0;
    width: 300px;
}

.activities__greeting-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Activities Full-width Photo */
.activities__photo {
    margin-top: 80px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.activities__photo img {
    width: 100%;
    display: block;
}

.activities__greeting-name {
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 160%;
    margin-top: 16px;
    text-align: right;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.sp-only {
    display: none;
}

.scroll-hint {
    display: none;
}

/* ==========================================================================
   Officers Section
   ========================================================================== */

.officers {
    padding: 100px 0 80px;
}

.officers__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.officers__video {
    margin-bottom: 80px;
}

.officers__video img,
.officers__video video {
    width: 100%;
    display: block;
}

.officers__title {
    color: #323232;
    font-family: var(--font-main);
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
    line-height: 202.2%;
}

.officers__table {
    width: 100%;
    border-collapse: collapse;
}

.officers__table th {
    color: #000;
    font-family: var(--font-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 202.2%;
    text-align: left;
    border-bottom: 1px solid #D9D9D9;
    padding: 0;
}

.officers__table td {
    color: #323232;
    font-family: var(--font-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    border-bottom: 1px solid #D9D9D9;
    padding: 14px 0;
}

.officers__table th:first-child,
.officers__table td:first-child {
    width: 120px;
}

.officers__table th:nth-child(2),
.officers__table td:nth-child(2) {
    width: 160px;
}

/* ==========================================================================
   Join Us Section
   ========================================================================== */

.join-us {
    padding: 100px 0 80px;
    background: var(--color-white);
}

.join-us__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.join-us__subtitle {
    color: #0577D5;
    font-family: var(--font-main);
    font-size: 34px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%;
    margin-bottom: 16px;
}

.join-us__subtitle--flow {
    margin-top: 80px;
}

.join-us__description {
    color: #323232;
    font-family: var(--font-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
    margin-bottom: 40px;
}

.join-us__description p {
    margin: 0;
}

/* Join Us Table */
.join-us__table {
    width: 100%;
    max-width: 1212px;
    border: 1px solid #D9D9D9;
    border-collapse: collapse;
    table-layout: fixed;
}

.join-us__table thead tr {
    background: rgba(5, 119, 213, 0.20);
    height: 40px;
}

.join-us__table th {
    color: #323232;
    font-family: var(--font-main);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    text-align: center;
    border: 1px solid #D9D9D9;
    padding: 8px 8px;
}

.join-us__table-small {
    font-size: 14px;
    font-weight: 400;
}

.join-us__table th .join-us__table-small {
    font-weight: 500;
}

.join-us__table td {
    color: #323232;
    font-family: var(--font-main);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-align: center;
    border: 1px solid #D9D9D9;
    vertical-align: middle;
    padding: 14px 8px;
}

.join-us__table td.join-us__table-left {
    text-align: left;
}

.join-us__table td .join-us__table-small {
    font-size: 14px;
    line-height: 140%;
}

/* Join Us Table Column Widths */
.join-us__table th:nth-child(1),
.join-us__table td:nth-child(1) { width: 162px; }

.join-us__table th:nth-child(2),
.join-us__table td:nth-child(2) { width: 190px; }

.join-us__table th:nth-child(3),
.join-us__table td:nth-child(3) { width: 510px; padding-left: 20px; padding-right: 4px; }

.join-us__table th:nth-child(4),
.join-us__table td:nth-child(4) { width: 110px; }

.join-us__table th:nth-child(5),
.join-us__table td:nth-child(5) { width: 240px; }

/* Join Us Flow */
.join-us__flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.join-us__flow-card {
    width: 280px;
    border-radius: 20px;
    border: 1px solid #D9D9D9;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 28px;
    box-sizing: border-box;
}

.join-us__flow-icon-wrap {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.join-us__flow-icon {
    height: 60px;
    width: auto;
}

.join-us__flow-title {
    color: #0577D5;
    font-family: var(--font-main);
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px;
    margin: 0;
    text-align: center;
    width: 100%;
}

.join-us__flow-text {
    color: #323232;
    font-family: var(--font-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    margin: 0;
    text-align: left;
    width: 100%;
}

.join-us__flow-arrow {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    align-self: center;
}

/* Join Us CTA */
.join-us__cta {
    text-align: center;
    margin: 60px 0;
}

.join-us__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 609px;
    height: 75px;
    border-radius: 60px;
    background: #0577D5;
    color: #FFF;
    font-family: var(--font-main);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-decoration: none;
    transition: background var(--transition-speed);
}

.join-us__cta-btn:hover {
    background: var(--color-primary-hover);
}

/* Join Us Message */
.join-us__message {
    color: #0577D5;
    font-family: var(--font-main);
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
    margin: 0 0 16px;
}

.join-us__message-sub {
    color: #323232;
    font-family: var(--font-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    padding: 80px 0;
    position: relative;
}

.cta__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.cta__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__phone-label {
    color: #323232;
    text-align: center;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    line-height: 40px;
    margin: 0;
}

.cta__phone-sub {
    color: #323232;
    text-align: center;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    line-height: 40px;
    margin: 0;
}

.cta__phone-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin: 16px 0;
}

.cta__phone-number span {
    color: #0577D5;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 4.6px;
}

.cta__phone-number svg {
    width: 27px;
    height: 30px;
    flex-shrink: 0;
}

.cta__phone-hours {
    color: #323232;
    text-align: center;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    margin: 0;
}

.cta__divider {
    width: 1px;
    height: 200px;
    background: #D9D9D9;
    flex-shrink: 0;
}

.cta__mail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__mail-label {
    color: #323232;
    text-align: center;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    margin: 0 0 8px;
}



.cta__mail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 413px;
    height: 75px;
    border-radius: 60px;
    background: #0577D5;
    text-decoration: none;
    transition: background var(--transition-speed);
}

.cta__mail-btn:hover {
    background: var(--color-primary-hover);
}

.cta__mail-btn svg {
    width: 26px;
    height: 20px;
    flex-shrink: 0;
}

.cta__mail-btn span {
    color: #FFF;
    text-align: center;
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 88px;
    height: 88px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    text-decoration: none;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    opacity: 0.8;
}

.scroll-top svg {
    width: 88px;
    height: 88px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #FFF;
    padding: 0 0 40px;
}

.site-footer__line {
    width: 100%;
    height: 1px;
    background: #D9D9D9;
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-footer__nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 48px;
    padding: 40px 0;
}

.site-footer__nav a {
    color: #323232;
    text-align: right;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    transition: opacity var(--transition-speed);
}

.site-footer__nav a:hover {
    opacity: 0.7;
}

.site-footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 40px;
}

.site-footer__info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-footer__logo img {
    height: 100px;
    width: auto;
}

.site-footer__address {
    color: #323232;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.site-footer__address p {
    margin: 0;
}

.site-footer__copyright {
    color: #323232;
    text-align: right;
    font-family: "A P-OTF A1Gothic Std", var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

/* ==========================================================================
   Responsive: Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .site-header__inner {
        padding: 0 24px;
    }

    .site-header__nav .header-menu-list {
        gap: 20px;
    }

    .site-header__nav .header-menu-list a {
        font-size: 16px;
    }

    .contact-btn {
        width: 150px;
        height: 50px;
        font-size: 16px;
    }

    .hero__content {
        padding: 0 24px;
    }

    .hero__heading {
        font-size: 40px;
    }

    .hero__subheading {
        font-size: 18px;
    }

    .section-title {
        font-size: 48px;
    }

    .news {
        padding: 80px 0 60px;
    }

    .news__inner {
        padding: 0 24px;
    }

    .kaisoku {
        padding: 80px 0 60px;
    }

    .kaisoku__inner {
        padding: 0 24px;
    }

    .kaisoku__org-name {
        font-size: 24px;
        line-height: 36px;
    }

    .breadcrumbs {
        padding: 16px 24px 0;
    }

    .news-detail {
        padding: 80px 0 60px;
    }

    .news-detail__inner {
        padding: 0 24px;
    }

    .news-detail__title {
        font-size: 28px;
        line-height: 36px;
    }

    .mission {
        padding: 80px 0 60px;
    }

    .mission__inner {
        padding: 0 24px;
    }

    .mission__catch {
        font-size: 52px;
    }

    .mission__subcatch {
        font-size: 32px;
    }

    .mission__text {
        max-width: none;
    }

    .activities {
        padding: 80px 0 0;
    }

    .activities__inner {
        padding: 0 24px;
    }

    .activities-card {
        width: 320px;
        min-height: auto;
        padding: 32px 20px;
    }

    .join-us__inner {
        padding: 0 24px;
    }

    .join-us__table-wrapper {
        overflow-x: auto;
    }

    .cta__inner {
        gap: 40px;
    }

    .cta__phone-number span {
        font-size: 36px;
    }

    .cta__mail-btn {
        width: 340px;
        height: 65px;
    }

    .site-footer__nav {
        gap: 32px;
    }

    .site-footer__nav a {
        font-size: 18px;
    }

    .site-header__nav {
        display: none;
    }

    .contact-btn-wrapper {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .news__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .news-archive {
        padding: 80px 0 60px;
    }

    .news-archive__inner {
        padding: 0 24px;
    }

    .mission__content {
        flex-direction: column;
    }

    .activities__cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .activities-card {
        width: 100%;
        max-width: 380px;
    }

    .activities__greeting-content {
        flex-direction: column;
    }

    .activities__greeting-image {
        width: 100%;
        max-width: 300px;
        align-self: center;
    }

    .join-us__flow {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .join-us__flow-card {
        width: calc(100% - 40px);
        max-width: 400px;
        height: auto;
        padding: 24px 20px;
    }

    .join-us__flow-arrow {
        transform: rotate(90deg);
    }

    .cta__inner {
        flex-direction: column;
    }

    .cta__divider {
        width: 100%;
        height: 1px;
    }

    .site-footer__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .site-footer__copyright {
        text-align: left;
    }

}

/* ==========================================================================
   Responsive: Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-sp);
    }

    body {
        padding-top: var(--header-height-sp);
    }

    .site-header {
        height: var(--header-height-sp);
    }

    .site-header.scrolled {
        height: var(--header-height-sp);
    }

    .site-header__inner {
        padding: 0 16px;
    }

    .site-header__logo img {
        height: 70px;
        padding-top: 0;
    }

    .site-header.scrolled .site-header__logo img {
        height: 70px;
    }

    .site-header__nav {
        display: none;
    }

    .contact-btn-wrapper {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
        align-items: flex-end;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.85) 100%);
        pointer-events: none;
        z-index: 0;
    }

    .hero__content {
        padding: 0 20px;
        padding-bottom: 60px;
        position: relative;
        z-index: 2;
    }

    .hero__content {
        align-items: flex-start;
    }

    .hero__heading {
        font-size: 28px;
        letter-spacing: 1.68px;
        max-width: 100%;
    }

    .hero__subheading {
        font-size: 16px;
        max-width: 100%;
    }

    .hero__slide:nth-child(3) img {
        object-position: 30% center;
    }

    .section-title {
        font-size: 36px;
    }

    .section-title-en {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .news {
        padding: 60px 0 40px;
    }

    .news__inner {
        padding: 0 20px;
    }

    .mission {
        padding: 60px 0 40px;
    }

    .mission__inner {
        padding: 0 20px;
    }

    .mission__catch {
        font-size: 36px;
    }

    .mission__subcatch {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .mission__content {
        flex-direction: column;
    }

    .mission__text {
        max-width: none;
    }

    .mission__resolve-title {
        font-size: 26px;
    }

    .mission__resolve {
        margin-top: 48px;
    }

    .news__list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-archive {
        padding: 60px 0 40px;
    }

    .news-archive__inner {
        padding: 0 20px;
    }

    .pagination {
        gap: 8px;
        margin-top: 40px;
    }

    .pagination__number,
    .pagination__dots {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .news-card__tag {
        min-width: 130px;
        font-size: 16px;
    }

    .kaisoku {
        padding: 60px 0 40px;
    }

    .kaisoku__inner {
        padding: 0 20px;
    }

    .kaisoku__org-name {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: 32px;
    }

    .kaisoku__chapter-title {
        font-size: 20px;
        line-height: 32px;
    }

    .kaisoku__content {
        font-size: 16px;
        line-height: 28px;
    }

    .kaisoku__chapter {
        margin-bottom: 36px;
    }

    .kaisoku__article {
        margin-bottom: 24px;
    }

    .breadcrumbs {
        padding: 16px 20px 0;
    }

    .news-detail {
        padding: 60px 0 40px;
    }

    .news-detail__inner {
        padding: 0 20px;
    }

    .news-detail__title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 32px;
    }

    .news-detail__content {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 60px;
    }

    .news-detail__content a {
        font-size: 18px;
        line-height: 28px;
    }

    .news-detail__back-btn {
        width: 250px;
        height: 40px;
    }

    .news-detail__back-text {
        font-size: 16px;
        width: auto;
    }

    .activities {
        padding: 60px 0 0;
    }

    .activities__inner {
        padding: 0 20px;
    }

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

    .activities__cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-bottom: 48px;
    }

    .activities-card {
        width: 100%;
        max-width: 380px;
        min-height: auto;
        padding: 32px 20px;
    }

    .activities-card__number {
        font-size: 40px;
    }

    .activities-card__title {
        font-size: 24px;
    }

    .activities-card__text {
        width: 100%;
        font-size: 16px;
    }

    .activities__greeting {
        margin-top: 48px;
    }

    .activities__greeting-title {
        font-size: 28px;
    }

    .activities__greeting-content {
        flex-direction: column;
    }

    .activities__greeting-text {
        font-size: 16px;
    }

    .activities__greeting-image {
        width: 100%;
        max-width: 300px;
        align-self: center;
    }

    .activities__photo {
        margin-top: 48px;
    }

    .join-us {
        padding: 60px 0 40px;
    }

    .join-us__inner {
        padding: 0 20px;
    }

    .join-us__subtitle {
        font-size: 28px;
    }

    .join-us__description {
        font-size: 16px;
    }

    .officers__inner {
        padding: 0 20px;
    }

    .sp-only {
        display: block;
    }

    .scroll-hint {
        display: block;
        font-size: 14px;
        color: #888;
        margin-bottom: 8px;
        text-align: right;
    }

    .scroll-hint__arrow {
        display: inline-block;
        margin-left: 8px;
        animation: scrollArrow 1.5s ease-in-out infinite;
    }

    @keyframes scrollArrow {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(6px); }
    }

    .officers__table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .officers__table {
        min-width: 600px;
    }

    .officers__table td {
        white-space: nowrap;
    }

    .news__more-text {
        font-size: 14px;
        line-height: 1.4;
        white-space: nowrap;
    }

    .news__more-arrow svg {
        width: 30px;
        height: 30px;
    }

    .join-us__table {
        min-width: 800px;
    }

    .join-us__flow {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .join-us__flow-card {
        width: calc(100% - 40px);
        max-width: 400px;
        height: auto;
        padding: 24px 20px;
    }

    .join-us__flow-arrow {
        transform: rotate(90deg);
    }

    .join-us__cta-btn {
        width: 100%;
        max-width: 400px;
        font-size: 20px;
        height: 60px;
    }

    .join-us__message {
        font-size: 28px;
        line-height: 36px;
    }

    .join-us__message-sub {
        font-size: 16px;
    }

    .cta {
        padding: 60px 0;
    }

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

    .cta__divider {
        width: 100%;
        height: 1px;
    }

    .cta__phone-sub {
        font-size: clamp(12px, 3.5vw, 16px);
        white-space: nowrap;
    }

    .cta__phone-number span {
        font-size: clamp(24px, 7vw, 36px);
        letter-spacing: clamp(1px, 0.5vw, 4.6px);
    }

    .cta__mail-btn {
        width: 100%;
        max-width: 400px;
        height: 65px;
    }

    .cta__mail-btn span {
        font-size: 20px;
    }

    .scroll-top {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top svg {
        width: 60px;
        height: 60px;
    }

    .site-footer__inner {
        padding: 0 20px;
    }

    .site-footer__nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 30px 0;
    }

    .site-footer__nav a {
        font-size: 16px;
    }

    .site-footer__content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .site-footer__info {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__logo img {
        height: 60px;
    }

    .site-footer__address {
        text-align: center;
    }

    .site-footer__copyright {
        text-align: center;
    }
}

/* ==========================================================================
   Responsive: Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .hero__heading {
        font-size: 22px;
        letter-spacing: 1.32px;
    }

    .hero__subheading {
        font-size: 14px;
        margin-top: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .news-detail__title {
        font-size: 22px;
        line-height: 30px;
    }

    .news-detail__content {
        font-size: 16px;
        line-height: 26px;
    }

    .news-detail__content a {
        font-size: 16px;
        line-height: 26px;
    }

    .news-detail__date {
        font-size: 16px;
    }

    .mission__catch {
        font-size: 28px;
    }

    .mission__subcatch {
        font-size: 20px;
    }

    .mission__resolve-title {
        font-size: 22px;
    }

    .activities__greeting-title {
        font-size: 24px;
    }

    .join-us__subtitle {
        font-size: 24px;
    }

    .join-us__message {
        font-size: 24px;
        line-height: 32px;
    }

    .pagination__numbers {
        gap: 4px;
    }

    .pagination__number,
    .pagination__dots {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 40px 0;
    font-size: 0.8125rem;
    color: #666;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.breadcrumbs__item:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: #999;
}

.breadcrumbs__item a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumbs__item a:hover {
    text-decoration: underline;
}
