@charset "utf-8";

/* ==========================================================================
   基本設定
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Shippori Mincho', serif;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

#header {
    width: 100%;
    min-height: 90px;
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 28px;
}

.logo a {
    display: block;
    white-space: nowrap;
    font-size: 26px;
    font-weight: 700;
    color: #1a2a44;
    line-height: 1.3;
}

.gnav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.gnav ul li {
    margin-left: 22px;
}

.gnav ul li a {
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

.gnav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c4a006;
    transition: width 0.3s;
}

.gnav ul li a:hover::after {
    width: 100%;
}

.btn-contact {
    background: #1a2a44;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 4px;
}

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

.btn-contact:hover {
    background: #c4a006 !important;
}

/* ハンバーガーメニュー */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #1a2a44;
    margin: 7px auto;
    transition: all 0.3s ease;
}

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

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

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

/* ==========================================================================
   メインビジュアル
   ========================================================================== */

.hero-image {
    width: 100%;
    margin-top: 90px;
    overflow: hidden;
    background: #050b18;
}

.hero-content {
    width: 100%;
}

.hero-content picture {
    display: block;
    width: 100%;
}

.full-header-image {
    width: 100%;
    height: auto;
    display: block;
}

/* スマホ用ヘッダー画像 */
@media screen and (max-width: 768px) {
    .hero-image {
        margin-top: 74px;
    }

    .full-header-image {
        width: 100%;
        height: calc(100svh - 74px);
        object-fit: cover;
        object-position: center top;
    }
}

/* ==========================================================================
   共通セクション
   ========================================================================== */

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: #f9f7f2;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 70px;
    color: #1a2a44;
    line-height: 1.5;
}

.section-title span {
    display: block;
    font-size: 14px;
    color: #c4a006;
    letter-spacing: 0.3em;
    margin-top: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

/* ==========================================================================
   概要・宣言
   ========================================================================== */

.content-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.content-box p {
    margin-bottom: 2em;
    font-size: 17px;
    line-height: 2;
}

.declaration-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   主旨
   ========================================================================== */

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

.purpose-item {
    background: #fff;
    padding: 50px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    text-align: left;
    border-top: 5px solid #c4a006;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purpose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.purpose-item h3 {
    margin-bottom: 25px;
    color: #1a2a44;
    font-size: 20px;
    text-align: center;
}

.purpose-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.9;
}

/* ==========================================================================
   大会映像
   ========================================================================== */

.movie-box,
.movie-large-box {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.video-container,
.movie-frame {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(26, 42, 68, 0.18);
}

.video-container iframe,
.movie-frame iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
}

#movie iframe {
    min-width: 100%;
    min-height: 100%;
}

/* ==========================================================================
   開催予定案内
   ========================================================================== */

.event-table-wrap {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(196, 160, 6, 0.35);
    box-shadow: 0 16px 42px rgba(26, 42, 68, 0.08);
}

.event-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.event-table tr {
    border-bottom: 1px solid #eee;
}

.event-table tr:last-child {
    border-bottom: none;
}

.event-table th {
    width: 180px;
    padding: 24px 30px;
    background: #1a2a44;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
    text-align: left;
    vertical-align: middle;
    letter-spacing: 0.08em;
}

.event-table td {
    padding: 24px 30px;
    background: #fff;
    color: #333;
    font-size: 17px;
    line-height: 1.8;
    text-align: left;
    vertical-align: middle;
}

.event-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(196, 160, 6, 0.35);
    box-shadow: 0 16px 42px rgba(26, 42, 68, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.event-card-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid #eee;
}

.event-card-row:last-child {
    border-bottom: none;
}

.event-label {
    background: #1a2a44;
    color: #fff;
    padding: 22px 26px;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
}

.event-value {
    padding: 22px 30px;
    font-size: 17px;
    color: #333;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   創設の理念
   ========================================================================== */

.philosophy-text {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    text-align: left;
    font-size: 16px;
    line-height: 2.05;
}

.philosophy-block {
    margin-bottom: 4.2em;
}

.philosophy-block p {
    margin-bottom: 1.8em;
}

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

.philosophy-group {
    margin-bottom: 4.2em;
}

.philosophy-group p {
    margin-bottom: 1.8em;
}

.philosophy-group p:last-child {
    margin-bottom: 0;
}

.signature {
    margin-top: 80px;
    text-align: right;
    line-height: 2;
}

/* ==========================================================================
   活動内容
   ========================================================================== */

.activities-content {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding-left: 110px;
    padding-right: 40px;
    text-align: left;
}

.activities-intro {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 28px;
}

.activity-list {
    margin-top: 10px;
}

.activity-row {
    margin-bottom: 24px;
}

.activity-row h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.7;
    margin-bottom: 4px;
    letter-spacing: 0;
}

.activity-row p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

.activities-lead {
    max-width: 780px;
    margin: -20px auto 46px;
    text-align: center;
}

.activities-lead p {
    font-size: 16px;
    line-height: 2;
}

.activities-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.activity-card {
    background: #fff;
    border: 1px solid rgba(196, 160, 6, 0.22);
    border-top: 4px solid #c4a006;
    padding: 34px 32px;
    box-shadow: 0 14px 36px rgba(26, 42, 68, 0.06);
    text-align: left;
}

.activity-card h4 {
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    color: #1a2a44;
    margin-bottom: 16px;
    line-height: 1.6;
}

.activity-card p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}

/* ==========================================================================
   オフィシャルパートナー
   ========================================================================== */

.official-partners-section {
    background:
        radial-gradient(circle at top left, rgba(196, 160, 6, 0.10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f9f7f2 100%);
}

.partners-lead {
    max-width: 860px;
    margin: -24px auto 46px;
    text-align: center;
}

.partners-lead p {
    font-size: 16px;
    line-height: 2;
}

/*
   パートナー表示ルール
   PC：1段・横長カード
   SP：写真上、本文下
*/
.partners-grid {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.partner-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(26, 42, 68, 0.08);
    border: 1px solid rgba(196, 160, 6, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(26, 42, 68, 0.14);
}

.partner-photo-wrap {
    width: 180px;
    height: 180px;
    overflow: hidden;
    background: #f4efe4;
}

.partner-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 写真なし仮表示 */
.placeholder-photo {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(196, 160, 6, 0.18), transparent 34%),
        linear-gradient(135deg, #f4efe4, #fff);
}

.placeholder-photo span {
    font-family: 'Shippori Mincho', serif;
    font-size: 36px;
    color: #b38e4d;
    letter-spacing: 0.08em;
}

.partner-body {
    padding: 28px 32px 30px;
}

.partner-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 22px;
    color: #1a2a44;
    margin-bottom: 6px;
    line-height: 1.4;
}

.partner-title {
    font-size: 14px;
    color: #9a7b3f;
    margin-bottom: 16px;
    line-height: 1.6;
}

.partner-message {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

/* スマホ */
@media screen and (max-width: 768px) {
    .partners-lead {
        text-align: left;
        margin-bottom: 34px;
    }

    .partners-lead p {
        font-size: 15px;
        line-height: 1.9;
    }

    .partners-grid {
        max-width: 420px;
    }

    .partner-card {
        grid-template-columns: 1fr;
    }

    .partner-photo-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .partner-body {
        padding: 22px 20px 26px;
    }

    .partner-name {
        font-size: 20px;
    }

    .partner-title {
        font-size: 13px;
    }

    .partner-message {
        font-size: 14px;
    }
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */

.submit-btn {
    display: inline-block;
    min-width: 320px;
    padding: 16px 50px;
    background: #c4a006;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Shippori Mincho', serif;
    transition: 0.3s;
    text-align: center;
    white-space: nowrap;
    border-radius: 4px;
}

.submit-btn:hover {
    background: #1a2a44;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   フッター
   ========================================================================== */

footer {
    background: #1a2a44;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.copyright {
    font-size: 13px;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media screen and (max-width: 1280px) {
    .header-inner {
        padding: 0 18px;
    }

    .logo a {
        font-size: 23px;
    }

    .gnav ul li {
        margin-left: 15px;
    }

    .gnav ul li a {
        font-size: 14px;
    }

    .btn-contact {
        padding: 10px 18px !important;
    }
}

@media screen and (max-width: 1024px) {
    #header {
        min-height: 74px;
    }

    .header-inner {
        min-height: 74px;
    }

    .logo a {
        font-size: 21px;
    }

    .menu-toggle {
        display: block;
    }

    .gnav {
        position: fixed;
        top: 74px;
        left: 0;
        width: 100%;
        height: calc(100vh - 74px);
        background: rgba(255, 255, 255, 0.98);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        overflow-y: auto;
        border-top: 1px solid #eee;
    }

    .gnav.is-open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .gnav ul {
        display: block;
        padding: 26px 24px 40px;
    }

    .gnav ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .gnav ul li a {
        display: block;
        padding: 17px 4px;
        font-size: 16px;
    }

    .btn-contact {
        display: inline-block !important;
        margin-top: 18px;
        padding: 13px 28px !important;
    }

    .hero-image {
        margin-top: 74px;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .partners-grid {
        max-width: 780px;
        grid-template-columns: repeat(2, minmax(0, 360px));
    }
}

@media screen and (max-width: 768px) {
    html {
        scroll-padding-top: 74px;
    }

    .container {
        padding: 0 18px;
    }

    .section {
        padding: 82px 0;
    }

    .section-title {
        text-align: left;
        font-size: 28px;
        margin-bottom: 42px;
        line-height: 1.55;
    }

    .section-title span {
        font-size: 12px;
        margin-top: 8px;
    }

    .content-box {
        text-align: left;
    }

    .content-box p {
        font-size: 15px;
        line-height: 1.95;
    }

    .content-box br,
    .declaration-text br,
    .philosophy-text br {
        display: none;
    }

    .sp-left {
        text-align: left !important;
    }

    .purpose-item {
        padding: 36px 24px;
    }

    .purpose-item h3 {
        text-align: left;
        font-size: 19px;
    }

    .movie-box,
    .movie-large-box,
    .video-container,
    .movie-frame {
        max-width: 100%;
    }

    .event-card-row {
        grid-template-columns: 1fr;
    }

    .event-label {
        padding: 14px 20px;
    }

    .event-value {
        padding: 18px 20px;
        font-size: 16px;
    }

    .event-table,
    .event-table tbody,
    .event-table tr,
    .event-table th,
    .event-table td {
        display: block;
        width: 100%;
    }

    .event-table th {
        padding: 14px 20px;
        border-bottom: none;
    }

    .event-table td {
        padding: 18px 20px;
        font-size: 16px;
    }

    .philosophy-text {
        font-size: 15px;
        line-height: 1.95;
    }

    .philosophy-block,
    .philosophy-group {
        margin-bottom: 3em;
    }

    .signature {
        text-align: left;
        margin-top: 56px;
    }

    .activities-content {
        padding-left: 0;
        padding-right: 0;
    }

    .activities-lead {
        text-align: left;
        margin-bottom: 32px;
    }

    .activities-lead p,
    .activities-intro {
        font-size: 15px;
        line-height: 1.9;
    }

    .activity-card {
        padding: 28px 22px;
    }

    .activity-card h4 {
        font-size: 18px;
    }

    .partners-lead {
        text-align: left;
        margin-bottom: 34px;
    }

    .partners-lead p {
        font-size: 15px;
        line-height: 1.9;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .partners-grid .partner-card:only-child {
        grid-column: auto;
        max-width: 420px;
    }

    .partner-photo-wrap {
        aspect-ratio: 4 / 3;
    }

    .submit-btn {
        width: 100%;
        min-width: 0;
        padding: 15px 22px;
        font-size: 17px;
    }
}

@media screen and (max-width: 520px) {
    .logo a {
        font-size: 19px;
    }

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

.pc-only {
    display: inline;
}

@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
}