:root {
    --udon-white: #FAF3E0;
    --dashi-brown: #7A5845;
    --black: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--udon-white);
    color: var(--black);
    margin: 0;
    padding-bottom: 20vw;
}

header {
    background-color: var(--udon-white);
    position: sticky;
    top: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 900;
}

header .menu {
    display: none;
}

.hamburger-icon {
    width: 24px;
    height: 24px;
    fill: #333;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* 下向きのドロップシャドウ */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    header .entry-link {
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 20px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
        height: auto;
        box-shadow: 0 0 3px var(--dashi-brown);
        border: 3px solid white;
    }

    header .entry-link:hover {
        background: var(--dashi-brown);
        color: var(--udon-white);
    }

    header nav {
        display: none;
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        margin-top: 20px;
        background-color: var(--udon-white);
        border-bottom: 3px solid var(--dashi-brown);
    }

    header nav ul {
        flex-direction: column;
        margin: 0 40px;
    }

    header nav ul li {
        margin-bottom: 10px;
    }

    header .menu {
        display: block;
    }
}

header nav ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

header nav ul li {
    font-family: "fot-tsukubrdgothic-std", sans-serif;
    font-size: clamp(16px, 1.8vw, 24px);
    font-weight: bold;
    margin-right: 1vw;
    white-space: nowrap;
}

header nav ul li a {
    text-decoration: none;
}

header nav ul li a:hover {
    text-decoration: underline;
}

.entry-link,
.link-to-fortee {
    min-height: 60px;
    background: var(--dashi-brown);
    border: 3px solid var(--dashi-brown);
    border-radius: 25px;
    padding: 10px 25px;
    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    font-family: "fot-tsukubrdgothic-std", sans-serif;
    font-size: clamp(18px, 2vw, 36px);
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.15vw;
    white-space: nowrap;
}

.entry-link:hover,
.link-to-fortee:hover {
    background: transparent;
    color: var(--dashi-brown);
}

.link-to-fortee {
    margin-top: 40px;
    margin-bottom: 40px;
}

#container {
    width: 88vw;
    max-width: 1200px;
    min-height: 100vh;
    margin: 2vh auto;
}

#main-visual {
    width: calc(100% - 10px);
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    margin-bottom: 30px;
    gap: 20px;
}

#icon-container {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    transition: transform 0.3s ease-in-out;
}

#icon-container.fixed {
    position: fixed;
    /*bottom: 20px;*/
    /*left: 20px;*/
    width: 14vw;
    height: 14vw;
    border-radius: 50%;
    background-color: var(--udon-white);
    /* 画面左下にアニメーションする */
    transform: translate(0, calc(100vh - (17vw * 2) - 20px));
}

#icon-container svg#icon {
    width: 100%;
    height: 100%;
}

#title {
    grid-column: 2 / 2;
    grid-row: 1 / 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    color: var(--black);
    font-family: Raleway, sans-serif;
    font-weight: 900;
    font-size: clamp(24px, 5vw, 120px);
}

#title > div {
    display: flex;
    align-items: center;
    line-height: 1;
}

#title .year {
    color: #333;
    font-family: "fot-tsukubrdgothic-std", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(18px, 4vw, 100px);
    margin-left: 1vw;
}

#place, #date {
    font-family: "fot-tsukubrdgothic-std", sans-serif;
    font-weight: 700;
    font-style: normal;
    display: flex;
    justify-content: center;
    align-items: center;
}

#date {
    grid-column: 1 / 2;
    grid-row: 2 / 2;

    font-size: clamp(12px, 1.8vw, 26px);
}

#place {
    grid-column: 2 / 2;
    grid-row: 2 / 2;

    font-size: clamp(16px, 2vw, 30px);
    text-align: center;
}

h1, h2, h3 {
    font-family: "fot-tsukubrdgothic-std", sans-serif;
}

hr {
    border-top: 1px solid var(--dashi-brown);
    margin-top: 20px;
    margin-bottom: 20px;
}

section {
    width: 100%;
}

section h1 {
    font-weight: bolder;
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: clamp(10px, 2vh, 24px);
}

section ul {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(10px, 2vh, 24px);
}

section p {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(10px, 2vh, 24px);
}

.about-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.about-overlay {
    position: relative;
    z-index: 100;
    width: 60%;
    padding: 20px;
    margin: clamp(20px, 3vw, 200px);
    background-color: rgba(255, 255, 255, 0.6);
    text-shadow: white 1px 0 0;
}

@media screen and (max-width: 768px) {
    .about-overlay {
        width: 80%;
        margin: 0 auto;
    }
}

.about-desc {
    width: 80%;

    line-height: 2;
    font-weight: bold;
}

.udon-tabeni-ikomai {
    font-size: 2em;
    font-weight: bold;
    font-family: "fot-tsukubrdgothic-std", sans-serif;
    text-align: center;
}

.about-hashtag {
    font-weight: bold;
    text-align: center;
}

.hashtag {
    font-size: 2em;
    font-weight: bold;
    color: var(--dashi-brown);
    text-align: center;
    margin: 30px;
}

#news-list li {
    margin-bottom: 10px;
}

#news-list li a {
    text-decoration: none;
}

#news-list li a:hover {
    text-decoration: underline;
}

.news-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.news-date {
    min-width: 150px;
    text-align: center;
    /* ラベルっぽくする */
    background-color: var(--dashi-brown);
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.news-title {
    font-weight: bold;
    padding: 10px 5px;
}


.news-body {
    border: 1px solid var(--dashi-brown);
    border-radius: 5px;
    padding-top: clamp(10px, 2vh, 24px);
}

.pricing-table {
    display: flex;
    flex-wrap: wrap; /* ここをwrapに設定すると、項目が多い時は自動で次の行に折り返す */
    justify-content: center; /* 中央寄せ */
    gap: 20px; /* 各プランの間隔 */
    padding: 20px;
}

.pricing-option {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin: 0 10px;
    text-align: center;
    width: 300px; /* 各プランのボックスの幅を固定 */
}

.pricing-option h2 {
    margin-bottom: 10px;
}

.pricing-option .price {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 20px;
}

.pricing-option ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.pricing-option ul li {
    list-style: circle;
    margin-left: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.pricing-option button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

.pricing-option button:hover {
    background-color: #0056b3;
}

/* レスポンシブ対応 */
@media (max-width: 1000px) {
    .pricing-table {
        flex-direction: column;
        align-items: center;
    }

    .pricing-option {
        width: 80%;
    }
}

.table-container {
    width: 100%;
    overflow-x: scroll;
}

table.law {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    border: 1px solid var(--dashi-brown);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    background: #fff;
}

table.law th, td {
    padding: 12px 15px;
}

table.law th {
    text-align: right;
    white-space: nowrap;
}

table.law td {
    display: block;
    overflow: scroll;
    white-space: nowrap;
}

table.law tbody tr {
    border-bottom: 1px solid var(--dashi-brown);
}

table.law tbody tr:nth-of-type(even) {
    background-color: transparent;
}

footer {
    padding: 40px;
}

footer p {
    text-align: center;
}

.tickets {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.ticket {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 20px;

    border: 3px solid var(--dashi-brown);
    border-radius: 10px;
    box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.15)
}

.ticket-title {
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    color: white;
    background-color: var(--dashi-brown);
    border-bottom: 3px solid var(--dashi-brown);
}

.ticket-price {
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.ticket-price .yen {
    font-size: 0.7em;
}

.ticket-details {
    display: flex;
    width: 100%;
    flex-direction: row;
    border-top: 3px solid var(--dashi-brown);
}

.ticket-detail {
    display: flex;
    width: 50%;
}

.ticket-detail-title {
    font-size: clamp(0.8em, 2vw, 1em);
    font-weight: bold;
    width: 60%;
    padding: 4px;
    text-align: right;
    background-color: var(--dashi-brown);
    color: white;
}

.ticket-detail-content {
    width: 40%;
    padding: 4px;
    text-align: center;
}

.ticket-link-button {
    background-color: var(--dashi-brown);
    padding: 10px;
}

.ticket-link-button a {
    color: var(--dashi-brown);
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    display: block;
    background-color: white;
    border-radius: 10px;
}

.ticket-link-button a:hover {
    background-color: var(--dashi-brown);
    color: white;
}

.ticket-link-button .time-limit {
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 3px orangered;
}

.tickets-desc {
    width: 80%;
    margin: 20px auto;
    font-size: 0.8em;
}

.tickets-desc p {
    margin-bottom: 0;
}

.ticket-table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px auto;
}

.ticket-table th,
.ticket-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.ticket-table th {
    background-color: var(--dashi-brown);
    color: white;
}

.ticket-table tr:nth-child(even) {
    background-color: white;
}

.ticket-table .price {
    text-align: right;
}

.ticket-shop-link {
    width: 280px;
    min-height: 60px;
    background: var(--dashi-brown);
    border: 3px solid var(--dashi-brown);
    border-radius: 25px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    font-family: "fot-tsukubrdgothic-std", sans-serif;
    font-size: clamp(12px, 2vw, 20px);
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.15vw;
    white-space: nowrap;
}

#staff-list {
    width: 80%;
    margin: 20px auto;
    display: flex;
    justify-content: flex-start;
    /* 4列並びにする */
    flex-wrap: wrap;
}

#staff-list .staff {
    max-width: calc(20% - 20px);
    min-width: 100px;
    margin: 10px;
    padding: 10px;
    text-align: center;
}

#staff-list .staff a {
    text-decoration: none;
}

#staff-list .staff a:hover {
    text-decoration: underline;
}

#staff-list .staff .staff-image img {
    /* 円形にする */
    border-radius: 50%;
}

.timetable {
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
}

#speaker-list {
    width: 80%;
    margin: 20px auto;
    display: flex;
    justify-content: flex-start;
    /* 4列並びにする */
    flex-wrap: wrap;
}

#speaker-list .speaker {
    max-width: calc(20% - 20px);
    width: 100%;
    min-width: 100px;
    margin: 10px;
    padding: 10px;
    text-align: center;
}

#speaker-list .speaker a {
    text-decoration: none;
}

#speaker-list .speaker a:hover {
    text-decoration: underline;
}

#speaker-list .speaker .speaker-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#speaker-list .speaker .speaker-image img {
    /* 円形にする */
    border-radius: 50%;
    object-fit: fill;
    width: 100%;
}

#speaker-list + .desc {
    width: 80%;
    text-align: right;
    font-size: 0.8em;
}

#sponsor-corp-container {
    width: 80%;
    margin: 20px auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.sponsor-corp {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    margin-bottom: 40px;
}

/* スマホの場合はcolumn*/
@media screen and (max-width: 768px) {
    #sponsor-corp-container {
        width: 90%;
    }

    .sponsor-corp {
        flex-direction: column;
    }

    .corp-image {
        width: 100% !important;
    }

    .corp-detail {
        max-width: max-content !important;
        min-height: 0 !important;
    }

    .corp-links {
        flex-direction: column !important;
        align-items: center !important;
    }
}

.corp-image {
    display: flex;
    align-items: center;
    width: 300px;
    min-height: 300px;
    margin: 20px;
    padding: 20px;
    background-color: white;
}

.corp-image a {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.corp-image img {
    object-fit: contain;
    max-height: 260px;
}

.corp-detail {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    min-height: 300px;
    justify-content: flex-start;
}

.corp-name {
    font-weight: bold;
    font-size: 1.4rem;
}

.corp-pr {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid var(--dashi-brown);
    border-radius: 5px;
    text-indent: 1em;
    line-height: 1.8;
    background-color: white;
}

.corp-links {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    font-weight: bold;
}

.corp-links a {
    text-decoration: none;
}

.corp-links a:hover {
    text-decoration: underline;
}

.guest-speakers {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
/* スマホの場合はcolumn*/
@media screen and (max-width: 1140px) {
    .guest-speakers {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .guest-speaker {
        width: 80% !important;
    }
}

.guest-speaker {
    display: flex;
    flex-direction: column;
    width: calc(48% - 20px);
    margin: 20px;

    background-color: white;
    border: 3px solid var(--dashi-brown);
    border-radius: 10px;
    box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.15);
    position: relative;
}

.guest-speaker .guest-speaker-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--dashi-brown);
    color: white;
    padding: 20px;
    border-radius: 0 0 0 10px;
    font-size: 1.5em;
}

.guest-speaker .guest-speaker-badge span {
    font-size: 0.5em;
}

.guest-speaker .guest-speaker-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.guest-speaker .guest-speaker-name {
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    color: white;
    background-color: var(--dashi-brown);
    border-bottom: 3px solid var(--dashi-brown);
}

.guest-speaker .guest-speaker-twitter {
    font-size: 1.5em;
    padding: 10px;
    text-align: center;
}

.guest-speaker .guest-speaker-twitter a {
    text-decoration: none;
}

.guest-speaker .guest-speaker-twitter a:hover {
    text-decoration: underline;
}

.guest-speaker .guest-speaker-desc {
    padding: 10px 40px;
    line-height: 1.8;
    min-height: 200px;
}

.guest-speaker .guest-speaker-talk-label {
    font-weight: bold;
    padding: 10px 20px;
    background-color: var(--dashi-brown);
    color: white;
}

.guest-speaker .guest-speaker-talk-title {
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 20px;
    color: black;
    background-color: white;
    /*border-bottom: 3px solid var(--dashi-brown);*/
}

.guest-speaker .guest-speaker-talk-desc {
    padding: 10px 20px;
    line-height: 1.8;
}

#individual-sponsor-list {
    width: 80%;
    margin: 20px auto;
    display: flex;
    justify-content: flex-start;
    /* 4列並びにする */
    flex-wrap: wrap;
}

#individual-sponsor-list .individual-sponsor {
    max-width: calc(20% - 20px);
    min-width: 100px;
    margin: 10px;
    padding: 10px;
    text-align: center;
}

#individual-sponsor-list .individual-sponsor a {
    text-decoration: none;
}

#individual-sponsor-list .individual-sponsor a:hover {
    text-decoration: underline;
}

#individual-sponsor-list .individual-sponsor .individual-sponsor-image {
    width: 100%;

}

#individual-sponsor-list .individual-sponsor .individual-sponsor-image img {
    /* 円形にする */
    border-radius: 50%;
}

@media screen and (min-width: 768px) {
    #individual-sponsor-list .individual-sponsor .individual-sponsor-image img {
        width: 152px;
    }
}

.attention {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    border: 3px solid var(--dashi-brown);
    border-radius: 10px;
    background-color: var(--dashi-brown);
    color: white;
    font-weight: bold;
    font-size: 1.2em;
}
