﻿/* ==========================================
   東北大学 法学部 OPEN CAMPUS 2026
   装飾案01
========================================== */

:root {
    --pink: #ef8bb6;
    --yellow: #ffda2a;
    --turquoise: #31b6a0;
    --marinblue: #49a9d6;
    --sand: #fff8ee;
    --sky: #f7fdff;
    --text: #333;
    --radius: 28px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.8;
    background: #fff;
}

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

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
    position: relative;
    z-index: 10;
}

/* ==========================
   HEADER
========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.tu-logo > img {
    height: 60px;
    width: 60px;
    position: relative;
    top: 0px;
    left: 0px;
    box-shadow: 5px 5px #666;
}

.logo {
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--turquoise);
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: #333;
    font-weight: 700;
    transition: .3s;
}

.nav a:hover {
    color: var(--pink);
}

/* ==========================
   HERO
========================== */
.hero {
    position: relative;
    min-height: 100vh;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3ClinearGradient id='ocean' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%2300b4d8'/%3E%3Cstop offset='100%25' stop-color='%230077b6'/%3E%3C/linearGradient%3E%3Crect width='100' height='100' fill='%23e8d8c8'/%3E%3Cpath d='M35,-10 Q55,25 30,50 T65,110 L110,110 L110,-10 Z' fill='rgba(255,255,255,0.5)'/%3E%3Cpath d='M38,-10 Q57,25 33,50 T67,110 L110,110 L110,-10 Z' fill='url(%23ocean)'/%3E%3C/svg%3E");
    
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.05));
}

.hero-inner {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.hero-copy {
        position:relative;
    color: #fff;
}

.hero-ribbon{
    position:relative;
    left:0px;
    top:0;

    max-width:400px;
    height:auto;

    pointer-events:none;

}

.hero-badge {
    display: inline-block;
    background: var(--yellow);
    color: #333;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 999px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    letter-spacing: .08em;
}

.hero-sub {
    letter-spacing: .25em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.hero h1 span {
    display: block;
    color: #fff;
    font-size: .75em;
}

.hero-message {
    font-size: 1.4rem;
    font-weight: 500;
}

.hero-date {
    background: rgba(255,255,255,.9);
    border-radius: 32px;
    padding: 30px;
    text-align: center;
    min-width: 220px;
}

.hero-date span {
    display: block;
    color: var(--pink);
    font-weight: 700;
}

.hero-date strong {
    display: block;
    font-size: 3rem;
    line-height: 1;
    color: var(--turquoise);
}

.hero-date small {
    display: block;
    margin-bottom: 10px;
}

.hero-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    line-height: 0;
    z-index: 20;
}

.hero-wave img {
    width: 100%;
    display: block;
}

/* ==========================
   SECTION COMMON & WAVE
========================== */
section {
    position: relative;
    padding: 120px 0;
}

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

.section-heading span {
    display: block;
    color: var(--pink);
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 10px;
}

.section-heading h2 {
    position:relative;
    overflow: hidden;
    display:inline-block;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--turquoise);
    font-family: "Zen Maru Gothic", sans-serif;

    background:none;

    -webkit-background-clip:initial;
    background-clip:border-box;
    -webkit-text-fill-color:currentColor;

}

.section-heading h2::before{
    content:"";

    position:absolute;

    top:0;
    left:-150%;

    width:60%;
    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.9),
            transparent
        );

    transform: skewX(-25deg);

    opacity:0;
}

.section-heading h2::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-15px;

    width:0;
    height:4px;

    background:
        repeating-linear-gradient(
            90deg,
            #c63a3a,
            #d84c4c
        );

    border-radius: 999px;

    transform:translateX(-50%);
    transition:width .8s ease;
}

.section-heading.animate h2::before{
    animation: titleShine 1s ease;
}

.section-heading.animate h2::after{
    width:120%;
}

@keyframes titleShine{

    0%{
        left:-150%;
        opacity:0;
    }

    20%{
        opacity:1;
    }

    100%{
        left:200%;
        opacity:0;
    }
}

.section-wave {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    z-index: 5;
}

.section-wave img {
    display: block;
    width: 100%;
}

/* ==========================
   SCHEDULE
========================== */
.schedule-section {
    background: var(--sand);
    position: relative;
    overflow: hidden;
    padding-bottom: 180px;
}

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

.schedule-card {
    background: #fff;
    border-radius: 32px;
    text-align: center;
    padding: 50px 30px;
    box-shadow: var(--shadow);
    transition: .35s;
}

.schedule-card:hover {
    transform: translateY(-10px);
}

.day-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquoise), #5ed8c4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(49,182,160,.3);
}

.schedule-card h3 {
    margin: 10px 0;
}

/* ==========================
   PROGRAM TIMELINE
========================== */
.program-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.timeline {
    max-width: 900px;
    margin: auto;
    position: relative;
}

.timeline:before {
    content: "";
    position: absolute;
    left: 90px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(var(--pink), var(--turquoise));
}

.timeline-item {
    display: flex;
    gap: 35px;
    margin-bottom: 40px;
    position: relative;
}

.time {
    min-width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffe57a;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    border:3px solid #ffd93d;
}

.timeline-item .content {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.timeline-item h3 {
    color: var(--turquoise);
    margin-bottom: 10px;
}


.timeline-item .content{ margin: 5px; }

.timeline-item.exhibition .time {
    background: linear-gradient(135deg, #ffda2a, #ffe978);
    color: #333;
}

.timeline-item.exhibition .content {
    border-left: 6px solid var(--yellow);
}

/* Utility Colors for general use */
.pink {
    background: linear-gradient(135deg, #ef8bb6, #f6a8c8);
}

.turquoise {
    background: linear-gradient(135deg, #31b6a0, #59d5c1);
}

.lavendar {
    background: linear-gradient(135deg, #7d8ef3, #a5b1ff);
}


.all-day-event{
    margin-top:20px;

    background:#fff;

    border:2px solid #bfe8df;

    border-radius:24px;

    box-shadow:0 6px 18px rgba(0,0,0,.05);

    overflow:hidden;

    max-width:700px;
    margin-left:auto;
    margin-right:auto;
}

.all-day-label{
    display:inline-block;

    background:#dff6f1;
    color:#2c8f80;

    padding:6px 14px;

    font-size:.85rem;
    font-weight:700;

    border-bottom-right-radius:12px;
}

.all-day-content{
    position: relative;
    padding:24px 28px;
    min-height: 300px;
}

.all-day-content h3{
    position:relative;
    color:var(--turquoise);
    font-size:1.2rem;
    margin-bottom:8px;
    background: rgba(255,255,255,0.9);
    z-index: 10;
}
.all-day-content p{
    position:relative;
    background: rgba(255,255,255,0.9);
    z-index: 10;
}

/* ==========================
   29日・30日専用レイアウト
========================== */

.timeline-days{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    margin-bottom:40px;
}

.timeline-days .timeline-item{
    margin-bottom:0;
    padding: 5px;
}

.timeline-days .content{
    flex:1;
}

/* ==========================
   VENUE
========================== */
.venue-section {
    background: var(--sand);
    position: relative;
    padding-bottom: 180px;
}

.venue-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.venue-card {
    background: #fff;
    padding: 40px;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.venue-card h3 {
    color: var(--turquoise);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.venue-card ul {
    margin: 15px 0 25px 20px;
    padding-left: 1.2em;
    list-style: disc;
}

.venue-card li {
    margin-bottom: 8px;
}

.reception {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reception-time {
    margin: 20px 0;
}

.reception-time strong {
    display: block;
    font-size: 4rem;
    color: var(--pink);
    line-height: 1;
}

.reception-photo {
    margin-top: 25px;
}

.reception-photo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.reception-photo figcaption {
    margin-top: 10px;
    font-size: .9rem;
    color: #666;
}

/* ==========================
   EVENT DETAILS
========================== */
.details-section {
    background: #f8fcfc;
    padding: 120px 0 180px;
    position: relative;
    overflow: hidden;
}

.event-detail-card {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    margin-bottom: 50px;
    transition: .3s;
}

.event-detail-card:hover {
    transform: translateY(-6px);
}

.event-detail-head {
    background: linear-gradient(135deg, var(--turquoise), #62d9c6);
    color: #fff;
    padding: 35px 40px;
}

.event-detail-head h3 {
    margin: 0;
    font-size: 1.8rem;
}

.event-detail-head.pink {
    background: linear-gradient(135deg, var(--pink), #f5aac8);
}

.event-detail-head.turquoise {
    background: linear-gradient(135deg, var(--turquoise), #5fd8c4);
}

.event-detail-head.marinblue {
    background: linear-gradient(135deg, var(--marinblue), #7fd4ee);
}

.event-detail-head.yellow {
    background: linear-gradient(135deg, var(--yellow), #ffe97a);
    color: #333;
}

.event-tag {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.event-tag.day29,
.event-tag.day30{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:8px 16px;
    border-radius:999px;

    font-size:.9rem;
    font-weight:700;
}

/* 丸い日付 */
.event-tag.day29::before,
.event-tag.day30::before{
    display:flex;
    align-items:center;
    justify-content:center;

    width:36px;
    height:36px;

    border-radius:50%;

    font-size:.75rem;
    font-weight:700;

    color:#fff;

    flex-shrink:0;
}

/* 7/29 */
.event-tag.day29{
    background:#fff5f7;
    color:#d94f72;
    border:2px solid #f6b5c4;
}

.event-tag.day29::before{
    content:"7/29";
    background:#e56f8a;
}

/* 7/30 */
.event-tag.day30{
    background:#f4fbff;
    color:#3f8ab7;
    border:2px solid #a7d8ef;
}

.event-tag.day30::before{
    content:"7/30";
    background:#5ca9d6;
}

.event-detail-body {
    padding: 40px;
}

.detail-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

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

.label {
    font-weight: 700;
    color: var(--turquoise);
}

.value {
    line-height: 1.9;
}

.value strong {
    color: var(--pink);
}

.day29 strong{color: var(--pink)}
.day30 strong{color: #5ca9d6}

.day-cards{
    display:flex;
    gap:24px;
    flex:1;
}

.day-wrap{
    flex:1;
    background:#e8e2ff;
    border-radius:24px;
    padding:30px 20px 20px;
    position:relative;
}

.day-wrap .event-tag{
    position:absolute;
    top:-14px;
    left:20px;
}

.day-card{
    background:#fff;
    border-radius:18px;
    padding:20px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.day-card h3{
    margin:0 0 10px;
}

.day-card p{
    margin:0;
}


/* ==========================
   DECORATIONS (FRUITS & SHELLS)
========================== */

.deco-fruit,
.deco-watermelon,
.deco-shell {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 1;
}

.deco-fruit {
    position: absolute;
    top: 120px;
    right: -40px;
    width: 240px;
    height: 240px;
    transform: rotate(8deg);
    opacity: .92;
}

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

.deco-watermelon {
    position: absolute;
    left: -30px;
    bottom: 100px;
    width: 220px;
    height: 220px;
    transform: rotate(-6deg);
}

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

.deco-shell {
    position: absolute;
    right: -20px;
    bottom: 100px;
    width: 220px;
    height: 220px;
    transform: rotate(10deg);
    opacity: .95;
}

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


/* ==========================
   TEACHER
========================== */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.teacher-card {
    position: relative;
    text-align: center;
    background: #fff;
    padding: 24px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity:0;
    transform:translateY(30px);
}

.teacher-card.show{
    opacity:1;
    transform:translateY(0);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.teacher-photo {
  width: 140px;
  height: 140px;
  background: #333;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.teacher-card h4 {
    margin-bottom: 5px;
    color: var(--turquoise);
}

.teacher-date {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: 5px solid currentColor;
    font-weight: 700;
    line-height: 1;
    z-index: 20;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.teacher-date.day29{
    color:var(--pink);
}

.teacher-date.day30{
    color:#5ca9d6;
}

.teacher-date .month {
    font-size: .9rem;
    letter-spacing: .05em;
    margin-bottom: 4px;
}

.teacher-date strong {
    font-size: 2rem;
    font-weight: 900;
}

.teacher-field{
    color:var(--turquoise);
    font-weight:700;
    margin-bottom:12px;
}

.teacher-theme{
    position:relative;
    background:#fff8ee;
    border:none;
    box-shadow:0 4px 12px rgba(0,0,0,.05);

    margin-top:10px;
    padding:12px 14px;
    font-size:.92rem;
    line-height:1.7;
    border-radius:16px;
}

.teacher-theme::before{
    content:"講義テーマ";

    display:block;

    color:var(--pink);

    font-size:.75rem;

    font-weight:700;

    margin-bottom:6px;

    letter-spacing:.05em;
}
.teacher-link{
    display:inline-block;

    margin-top:15px;

    padding:10px 18px;

    border-radius:999px;

    background:var(--yellow);

    color:#333;

    font-size:.9rem;
    font-weight:700;

    transition:.3s;
}

.teacher-link:hover{
    transform:translateY(-3px);
}

/* ==========================
   ACCESS
========================== */
.access-section {
    background: #fff;
    position: relative;
    padding-bottom: 180px;
}

.access-guide{
    max-width:1100px;
    margin:auto;
}

.access-lead{
    text-align:center;
    font-size:1.1rem;
    margin-bottom:30px;
}

.access-map{
    margin-bottom:40px;
}

.access-map iframe{
    width:100%;
    height:450px;
    border:none;
    border-radius:24px;
    display:block;
}

/* 下段 */

.access-images{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:30px;
    align-items:start;
}

.access-campus-map img{
    width:100%;
    border-radius:24px;
    box-shadow:var(--shadow);
}

.access-buildings{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.access-buildings figure{
    position:relative;
    overflow:hidden;
    margin:0;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.access-buildings figure::before{
    position:absolute;
    top:12px;
    left:12px;
    z-index:10;

    padding:8px 14px;

    border-radius:12px;

    font-size:.9rem;
    font-weight:700;
    letter-spacing:.05em;

    background:#ffda2a;
    color:#333;

    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

/* C19 */
.building-c19::before{
    content:"C19";
}

/* C18 */
.building-c18::before{
    content:"C18";
}

.access-buildings img{
    width:100%;
    display:block;
}

.access-buildings img{
    transition:.3s;
}

.access-buildings figure:hover img{
    transform:scale(1.03);
}

.access-buildings figcaption{
    padding:14px 18px;
    font-weight:700;
    color:var(--turquoise);
    background:#fff;
}
/* ==========================
   PAMPHLET
========================== */
.pamphlet-section {
    background: #fff4f8;
    text-align: center;
}

.pamphlet-label {
    display: inline-block;
    color: var(--pink);
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 10px;
}

.pamphlet-section h2 {
    color: var(--turquoise);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}


.pamphlet-text {
    max-width: 700px;
    margin: 0 auto 40px;
}

.pamphlet-link {
    display: inline-block;
    transition: .3s;
}

.pamphlet-link:hover {
    transform: translateY(-8px);
}

.pamphlet-cover {
    width: min(320px, 80vw);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.pamphlet-download {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    border-radius: 999px;
    background: var(--yellow);
    color: #333;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* ==========================
   university-link
========================== */

.university-link{
    margin-top:50px;
}

.university-link p{
    margin-bottom:15px;
    font-weight:700;
}

.university-banner{
    display:inline-block;
    max-width:700px;
    width:100%;
    transition:.3s;
}

.university-banner:hover{
    transform:translateY(-6px);
}

.university-banner img{
    width:100%;
    height:auto;
    display:block;

    border:4px solid var(--turquoise);
    border-radius:24px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.12);
}
/* ==========================
   FOOTER
========================== */
.footer {
    position: relative;
    background: var(--turquoise);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.footer h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.footer p {
    opacity: .95;
}

.footer-panel{
    display:inline-block;
    background:rgba(255,255,255,.16);
    padding:40px;
    border-radius:28px;
    color:#fff;
    transition:.3s;
    box-shadow:
        0 10px 30px rgba(0,0,0,.15);
    border:1px solid rgba(255,255,255,.25);
    backdrop-filter:blur(8px);
}

.footer-panel:hover{
    transform:translateY(-6px);

    background:rgba(255,255,255,.18);
}

.footer-logo{
    width:90px;
    height:auto;
    margin:0 auto 20px;
    border: solid #FFF 3px;
}

.footer-panel h2{
    margin-bottom:10px;
}

.footer-panel p{
    opacity:.95;
}
.footer-links{
    margin-top:30px;

    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
}

.footer-btn{
    display:inline-block;
    padding:12px 24px;

    border-radius:999px;

    background:#fff;
    color:var(--turquoise);

    font-weight:700;

    transition:.3s;
}

.footer-btn:hover{
    transform:translateY(-4px);
}

.x-btn{
    background:#000;
    color:#fff;
}

/* ==========================
   HAMBURGER MENU
========================== */

.hamburger{
    display:none;
    width:44px;
    height:44px;
    border:none;
    background:none;
    cursor:pointer;
    position:relative;
    z-index:1001;
}

.hamburger span{
    display:block;
    width:28px;
    height:3px;
    background:var(--turquoise);
    margin:5px auto;
    transition:.3s;
}

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

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

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


/* ==========================
   ANIMATION KEYFRAMES
========================== */
.schedule-card {
    animation: fadeUp .8s ease both;
}

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

.mascot.anime{
    opacity:0;
    transform:translateY(60px) scale(0.5);
    transition:none;
}

.mascot.anime.show{
    animation: mascotJump 0.6s ease-out forwards;
}

@keyframes mascotJump{

    0%{
        opacity:0;
        transform:translateY(60px) scale(0.9);
    }

    60%{
        opacity:1;
        transform:translateY(-25px) rotate(-8deg) scale(1.05);
    }

    80%{
        transform:translateY(5px) rotate(4deg) scale(0.98);
    }

    100%{
        opacity:1;
        transform:translateY(0) rotate(0deg) scale(1);
    }

}
/* ==========================
研一くん
 ==========================*/
.mascot{
    position:relative;
    right:0px;
    bottom:0px;

    max-width:300px;
    height:auto;
    z-index: 11;
    pointer-events:none;
}

.mascot.posright{
    position:absolute;
    right:0px;
    bottom:0px;
}

.mascot.posleft{
    position:absolute;
    left:0px;
    bottom:0px;
}

.mascot.poscenter{
        margin: 0 auto;
}

/* ==========================
   QUESTION FORM
========================== */

.question-section {
    background: #fff8ee;
}

.question-card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 32px;
    box-shadow: var(--shadow);
    text-align: center;
}

.question-card h3 {
    color: var(--turquoise);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.question-card p {
    margin-bottom: 15px;
}

.question-deadline {
    font-weight: 700;
    color: var(--pink);
    font-size: 1.2rem;
    margin: 25px 0;
}

.question-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    background: var(--yellow);
    color: #333;
    font-weight: 700;
    border-radius: 999px;
    transition: .3s;
}

.question-btn:hover {
    transform: translateY(-4px);
}

/* ==========================
   展示コーナー写真
========================== */

.exhibition-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width:700px;
    gap: 24px;
    margin: 30px auto 0;
}

.exhibition-gallery figure {
    margin: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.exhibition-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.exhibition-gallery figcaption {
    padding: 12px;
    text-align: center;
    font-size: .9rem;
    font-weight: 700;
    color: var(--turquoise);
}



/* ==========================
   RESPONSIVE (MEDIA QUERIES)
========================== */
@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed;
    }
}

@media(max-width: 900px) {
    .hero-inner,
    .schedule-grid,
    .venue-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
    .hero-inner {
        text-align: center;
    }
    .hero-date {
        margin: auto;
    }
    .timeline:before {
        display: none;
    }
    .timeline-item {
        flex-direction: column;
    }
    .time {
        margin: auto;
    }
}

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

    .nav{
        position:fixed;
        top:80px;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        gap:0;
        display:none;
        box-shadow:0 10px 30px rgba(0,0,0,.1);
    }

    .nav.active{
        display:flex;
    }

    .nav a{
        padding:18px 24px;
        border-bottom:1px solid #eee;
    }

    .tu-logo > img{
        width:56px;
        height:56px;
    }

    section {
        padding: 80px 0;
    }
    .hero {
        min-height: 700px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
        .hero-copy{
            padding-top:60px;
        }
    .day-circle {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }
    .hero-badge {
        font-size: .85rem;
    }
    .timeline-item .content {
        padding: 20px;
    }
        .timeline-days{
            grid-template-columns:1fr;
            gap:20px;
        }
    .day-cards{
        flex-direction:column;
    }
    .reception-time strong {
        font-size: 3rem;
    }
    .event-detail-body {
        padding: 25px;
    }
    .detail-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .event-detail-head {
        padding: 25px;
    }
    .event-detail-head h3 {
        font-size: 1.4rem;
    }

    .teacher-photo{
        width:140px;
        height:140px;
    }

    .deco-fruit,
    .deco-watermelon,
    .deco-shell {
        opacity: 0.2;
    }

    .access-images{
        grid-template-columns:1fr;
    }

    .access-map iframe{
        height:350px;
    }

    .exhibition-gallery{
        grid-template-columns:1fr;
        gap:18px;
    }

    .mascot.posleft,.mascot.posright{position: relative;}

}

