@charset "UTF-8";

body {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #41413d;
  background-color: #fffbed;
}

main {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.fv__title img {
  width: 100%;
}

/* メニューボタン */
.menu-button,
.menu-close {
  position: fixed;
  top: 10px;
  right: max(16px, calc((100vw - 480px) / 2 + 16px));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #d7b56d;
  border-radius: 50%;
  background-color: #fffbed;
  color: #41413d;
}

.menu-button {
  z-index: 100;
  flex-direction: column;
  gap: 5px;
}

.menu-button__line {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

/* メニュー画面 */
.site-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: auto;
  padding: 76px 24px 40px;
  border: none;
  background-color: rgb(255 251 237 / 96%);
  color: #41413d;
  overflow-y: auto;
}

.site-menu::backdrop {
  background-color: rgb(255 251 237 / 85%);
}

/* 閉じるボタン */
.menu-close {
  z-index: 1;
}

.menu-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

/* メニュー項目 */
.site-menu__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.site-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.site-menu__list a {
  display: inline-block;
  padding: 6px 2px;
  border-bottom: 2px dotted #e9a2a9;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-menu__list a:hover {
  color: #b76673;
}

.menu-button:focus-visible,
.menu-close:focus-visible,
.site-menu__list a:focus-visible {
  outline: 2px solid #b76673;
  outline-offset: 5px;
}

/* ==============================
   Theme
============================== */

.theme {
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 0;
    padding: 100px 20px 80px;

    background:
        url("../images/theme-bg-upper.webp") center top / 100% auto no-repeat,
        url("../images/theme-bg-bottom.webp") center bottom / 100% auto no-repeat,
        #fffbed;
}

.theme__heading,
.theme__greeting,
.theme__students {
    position: relative;
    z-index: 1;
}

/* ------------------------------
   見出し
------------------------------ */

.theme__heading {
    margin-bottom: 64px;
    text-align: center;
}

.theme__title {
    margin: 0 0 24px;
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #353535;
}

.theme__logo {
    display: block;
    width: min(320px, 70%);
    height: auto;
    margin: 0 auto 8px;
}

.theme__subtitle {
    margin: 0;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #353535;
}

/* ------------------------------
   ご挨拶
------------------------------ */

.theme__greeting {
    width: min(760px, 100%);
    margin: 0 auto;
}

.theme__greeting-title {
    margin: 0 0 40px;
    text-align: center;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #353535;
}

.theme__message {
    padding: 48px 28px;
    background: #fffdf7;
    border-radius: 32px;
}

.theme__message p {
    margin: 0;
    padding: 30px 0;
    font-size: 15px;
    line-height: 2.15;
    letter-spacing: 0.06em;
    color: #353535;
    border-top: 2px dotted #e9a1aa;
}

.theme__message p:first-child {
    padding-top: 0;
    border-top: none;
}

.theme__message p:last-child {
    padding-bottom: 0;
}

.theme__lead {
    text-align: center;
    font-size: 18px !important;
    font-weight: 600;
}

/* FVのピンクに合わせた強調色 */
.theme__accent {
    color: #df6f7c;
    font-weight: 700;
}

/* ------------------------------
   学生イラスト
------------------------------ */

.theme__students {
    display: block;
    width: min(520px, 80%);
    height: auto;
    margin: 64px auto 0;
}

/* ==============================
   EVENT
============================== */

.event {
    padding: 88px 20px 72px;
    background: #fffbed;
}

.event__inner {
    width: 100%;
}

.event__heading {
    margin-bottom: 40px;
    text-align: center;
}

.event__heading-visual {
    position: relative;
    width: min(100%, 280px);
    margin: 0 auto 28px;
}

.event__heading-decoration {
    display: block;
    width: 100%;
    height: auto;
}

.event__heading-text {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 6px;
    text-align: center;
}

.event__title {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12em;
    color: #3f3a39;
}

.event__subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: #3f3a39;
}

.event__lead {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #3f3a39;
}

/* ------------------------------
   Card
------------------------------ */

.event__cards {
    display: grid;
    gap: 24px;
}

.event-card {
    position: relative;
    padding: 22px 18px 26px;
    background: #fffdf7;
    border: 1.5px solid #e8a3aa;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(63, 58, 57, 0.06);
    overflow: hidden;
}

.event-card__grid {
    display: grid;
    grid-template-columns: 76px 1fr;
    column-gap: 16px;
    row-gap: 12px;
    align-items: start;
    position: relative;
    z-index: 1;
    padding-right: 36px;
}

.event-card__number {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    padding: 0 10px;
    border: 1.5px solid #e8a3aa;
    border-radius: 50%;
    background: #fffdf7;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #3f3a39;
}

.event-card__title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 12px 0 14px;
    border-bottom: 2px dotted #efb8bd;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.06em;
    color: #3f3a39;
}

.event-card__icon {
    grid-column: 1;
    grid-row: 2 / 5;
    align-self: start;
    padding-top: 4px;
}

.event-card__icon img {
    display: block;
    width: 72px;
    height: auto;
}

.event-card__text {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #3f3a39;
}

.event-card__place {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: #3f3a39;
}

.event-card__place-icon {
    flex-shrink: 0;
    line-height: 1;
}

.event-card__label {
    grid-column: 2;
    grid-row: 4;
    justify-self: start;
    margin: 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f8e7a3;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    color: #3f3a39;
}

.event-card__decoration {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: auto;
    pointer-events: none;
}

/* ==============================
   CAMPUS MAP
============================== */

.campus-map {
    padding: 88px 20px 72px;
    background: #fffbed;
}

.campus-map__heading {
    margin-bottom: 36px;
    text-align: center;
}

.campus-map__heading-visual {
    position: relative;
    width: min(100%, 290px);
    margin: 0 auto;
}

.campus-map__heading-decoration {
    display: block;
    width: 100%;
    height: auto;
}

.campus-map__title {
    position: absolute;
    inset: 0;

    display: grid;
    place-content: center;

    margin: 0;

    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;

    color: #3f3a39;
}

/* MAP本体 */

.campus-map__frame {
    overflow: hidden;
    padding: 0;
    background-color: #fffdf7;

    /* border: 1.5px solid #e8a3aa; */
    border-radius: 24px;

    /* MAPを見せる窓の高さ */
    aspect-ratio: 3 / 4.7;
}

.campus-map__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;

    display: block;
}

/* ==============================
   MAP DETAIL
============================== */

.map-detail {
    margin-top: 56px;
    padding-inline: 12px;
    background-color: #fffbed;
}

/* ------------------------------
   Heading
------------------------------ */

.map-detail__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    margin-bottom: 28px;
}

.map-detail__visual {
    flex: 0 0 110px;
}

.map-detail__visual img {
    display: block;
    width: 100%;
    height: auto;
}

.map-detail__visual--large img {
    width: 120%;
    max-width: none;
    margin-left: -10%;
}

.map-detail__heading {
    width: 190px;
}

.map-detail__title {
    margin: 0 0 10px;

    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.06em;

    color: #3f3a39;
}

.map-detail__intro {
    margin: 0;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.9;
    letter-spacing: 0.04em;

    color: #3f3a39;
}


/* ------------------------------
   Content
------------------------------ */

.map-detail__content {
    padding: 28px;
    background: #fffdf7;
    /* border: 1px solid #efb8bd; */
    border-radius: 20px;
}

.map-detail__floor + .map-detail__floor {
    margin-top: 26px;
    padding-top: 26px;

    border-top: 1.5px dotted #efb8bd;
}


/* ------------------------------
   Floor
------------------------------ */

.map-detail__floor-title {
    display: inline-block;

    margin: 0 0 18px;
    padding: 6px 12px;

    border-radius: 999px;
    background: #f8e7a3;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    color: #3f3a39;
}


/* ------------------------------
   Room
------------------------------ */

.map-detail__room + .map-detail__room {
    margin-top: 20px;
}

.map-detail__room-title {
    margin: 0 0 10px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;

    color: #3f3a39;
}


/* ------------------------------
   List
------------------------------ */

.map-detail__list {
    display: grid;
    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.map-detail__list li {
    position: relative;

    padding-left: 18px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.03em;

    color: #3f3a39;
}

.map-detail__list li::before {
    content: "";

    position: absolute;
    top: 0.8em;
    left: 2px;

    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: #e8a3aa;
}

.map-detail__list li span {
    margin-left: 4px;

    font-size: 12px;
    font-weight: 500;

    color: #777;
}


/* ------------------------------
   Separator
------------------------------ */

.map-detail__separator {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;

    margin: 48px 0;
}

.map-detail__separator span {
    border-top: 2px dotted #e8a3aa;
}

.map-detail__separator img {
    display: block;

    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ==============================
   Instagram
============================== */

.instagram {
    padding: 80px 20px 88px;
    text-align: center;
}

.instagram__title {
    position: relative;

    display: inline-block;

    margin: 0 0 42px;
    padding-bottom: 14px;

    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;

    color: #3f3a39;
}

.instagram__title::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: 80px;

    border-bottom: 2px dotted #efb8bd;

    transform: translateX(-50%);
}

.instagram__lead {
    margin: 0 0 28px;

    font-size: 15px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.05em;

    color: #3f3a39;
}

.instagram__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    color: #3f3a39;
    text-decoration: none;
}

.instagram__icon {
    display: block;

    width: 76px;
    height: 76px;

    object-fit: contain;
}

.instagram__account {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

/* ==============================
   Footer
============================== */

.site-footer {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;

    background-color: #fffdeb;
    background-image: url("../images/footer-img.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;

    color: #3f3a39;
}

.site-footer__inner {
    padding: 58px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer__logo {
    display: block;
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.site-footer__students {
    display: block;
    width: 150px;
    height: auto;
    margin-bottom: 24px;
}

.site-footer__info {
    margin-bottom: 22px;
}

.site-footer__info p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.06em;
}

.site-footer__contact {
    margin-bottom: 48px;
}

.site-footer__contact p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 2.2;
    letter-spacing: 0.05em;
}

.site-footer__contact span {
    font-size: 11px;
}

.site-footer__contact a {
    color: inherit;
    text-decoration: none;
}

.site-footer__copyright {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

/* ==============================
   Page Top
============================== */

.page-top {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 90;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    padding: 0;

    background: rgba(255, 253, 247, 0.94);
    border: 1.5px solid #e8a3aa;
    border-radius: 50%;

    box-shadow: 0 4px 12px rgba(63, 58, 57, 0.08);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease;
}

.page-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 上向き矢印 */
.page-top__arrow {
    width: 10px;
    height: 10px;

    border-top: 2.5px solid #3f3a39;
    border-left: 2.5px solid #3f3a39;

    transform: rotate(45deg) translate(2px, 2px);
}