
@charset "UTF-8";


:root {
  --c-red: #e72a45;
  --c-teal: #279c97;
  --c-teal-light: #6ac5c1;
  --c-teal-pale: #e6f4f3;
  --c-bg: #f7f8f8;
  --c-text: #1f2323;
  --c-text-sub: #6b7170;
  --c-line: #dde3e2;
  --content-w: 760px;
  --radius: 10px;
}




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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--c-teal);
}




.page-title {
  text-align: center;
  padding: 28px 16px 8px;
}

.page-title__en {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-teal);
  margin-bottom: 4px;
}

.page-title h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.4;
}




.main {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 16px 40px;
}




.section-heading {
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-teal-light);
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}




.lead {
  margin: 40px 0 0;
}

.lead p {
  margin: 0 0 1.4em;
}

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




.project-nav {
  margin: 48px 0 0;
}

.project-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.project-nav__list li {
  min-width: 0;
}



.project-nav__list li:nth-child(1) {
  grid-column: 1 / span 2;
}

.project-nav__list li:nth-child(2) {
  grid-column: 3 / span 2;
}

.project-nav__list li:nth-child(3) {
  grid-column: 5 / span 2;
}



.project-nav__list li:nth-child(4) {
  grid-column: 2 / span 2;
}

.project-nav__list li:nth-child(5) {
  grid-column: 4 / span 2;
}


.project-nav__button {
  width: 100%;
  height: 100%;
  min-height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 8px 5px;

  background: #fff;
  border: 1.5px solid var(--c-teal-light);
  border-radius: 999px;

  color: var(--c-text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  text-align: center;

  cursor: pointer;

  transition:
    background .2s,
    color .2s,
    border-color .2s;
}




.project-nav__button.is-active {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: #fff;
}




.project-nav__button:not(.is-active):hover {
  background: var(--c-teal-pale);
  border-color: var(--c-teal);
}




.project-nav__button:focus-visible {
  outline: 3px solid var(--c-teal-light);
  outline-offset: 3px;
}




.project-panel {
  margin-top: 48px;
}

.project-panel[hidden] {
  display: none !important;
}

.project-panel.is-active {
  animation: panelFade .3s ease;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}




.project {
  margin-top: 72px;
}

.project-panel > .project:first-child {
  margin-top: 0;
}

.project + .project {
  margin-top: 80px;
}




.project__image {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-teal-pale);
  aspect-ratio: 16 / 9;
}

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




.project--guest .project__image {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 24px;

  aspect-ratio: 3 / 4;

  background: #fff;
}

.project--guest .project__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}




.project__info {
  margin: 0;
  border-top: 1px solid var(--c-line);
}

.project__row {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}

.project__row dt {
  display: inline-block;
  margin-bottom: 8px;
  padding: 1px 12px;
  border-radius: 4px;
  background: var(--c-teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.project__row dd {
  margin: 0;
}

.project__row dd p {
  margin: 0 0 .8em;
}

.project__row dd p:last-child {
  margin-bottom: 0;
}

.note {
  color: var(--c-text-sub);
  font-size: 13px;
}




.page-top {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 10;

  width: 52px;
  height: 52px;

  border-radius: 50%;
  background: var(--c-teal);
  color: #fff;

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

  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;

  box-shadow: 0 4px 12px rgba(39, 156, 151, .3);

  opacity: 0;
  pointer-events: none;

  transition: opacity .3s;
}

.page-top::before {
  content: "";
  width: 8px;
  height: 8px;
  margin: 4px 0 6px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

.page-top.is-show {
  opacity: 1;
  pointer-events: auto;
}




@media (min-width: 768px) {

  body {
    font-size: 16px;
  }


  .page-title {
    padding-top: 20px;
  }

  .page-title__en {
    font-size: 14px;
  }

  .page-title h1 {
    font-size: 36px;
  }


  .section-heading {
    font-size: 24px;
  }


  /* カテゴリータブ */

  .project-nav__list {
    gap: 14px;
  }

  .project-nav__button {
    min-height: 62px;
    padding: 10px;
    font-size: 14px;
  }


  .project-panel {
    margin-top: 56px;
  }


  .project {
    margin-top: 96px;
  }

  .project-panel > .project:first-child {
    margin-top: 0;
  }

  .project + .project {
    margin-top: 100px;
  }




  .project__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 22px 0;
  }

  .project__row dt {
    margin: 4px 0 0;
    text-align: center;
    align-self: start;
  }


  .site-footer__inner {
    padding-top: 40px;
  }

}




@media (max-width: 360px) {

  .project-nav__list {
    gap: 5px;
  }

  .project-nav__button {
    padding: 8px 3px;
    font-size: 11px;
  }

}


/* ================================================================
   第68回三田祭 共通ヘッダー・フッター
   ue.svg / sita.svg / mitasai-logo.png / mitanuki.png は
   このページの images/ フォルダに配置する。
   ================================================================ */

/* 上部の装飾（公式サイトの他ページと同じ） */
.site-header {
  position: relative;
  display: block;
  width: 100%;
  height: max(110px, calc(100vw * 360 / 1743));
  min-height: 110px;
  overflow: visible;
  background: #f7f8f8 url('images/ue.svg') center top / 100% auto no-repeat;
}

/* 上部装飾内の古いロゴ領域を隠して共通ロゴを置く */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 250px;
  height: 125px;
  background: #f7f8f8;
  pointer-events: none;
}

.site-header__logo {
  position: absolute;
  top: 30px;
  left: 45px;
  right: auto;
  z-index: 2;
  display: block;
  width: 190px;
  height: auto;
  color: inherit;
  text-decoration: none;
}

.site-header__logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 下部装飾（本文の後ろに置く） */
.footer-decoration {
  width: 100%;
  aspect-ratio: 1743 / 360;
  background: #f7f8f8 url('images/sita.svg') center bottom / 100% 100% no-repeat;
}

.site-footer {
  display: block;
  width: 100%;
  margin: 0;
  padding: 36px 20px 42px;
  background: #f7f8f8;
  text-align: center;
}

.footer-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.footer-sns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0 0 26px;
  padding: 0;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #1f2022;
  text-decoration: none;
  transition: transform .2s, opacity .2s;
}
.footer-sns a:hover {
  transform: translateY(-2px);
  opacity: .8;
}
.footer-sns i {
  font-size: 2.55rem;
  line-height: 1;
}
.tanuki-image {
  display: block;
  width: 44px;
  height: 44px;
  max-width: 100%;
  object-fit: contain;
}
.footer-copy {
  margin: 0;
  color: #6f7276;
  font-size: .95rem;
  line-height: 1.7;
  letter-spacing: .04em;
  text-align: center;
}

@media (max-width: 600px) {
  .site-header {
    height: 110px;
    min-height: 110px;
  }
  .site-header::before {
    width: 130px;
    height: 96px;
  }
  .site-header__logo {
    top: 0;
    left: 0;
    width: 130px;
    max-width: 65vw;
    padding: 24px 18px 20px 12px;
    background: #f7f8f8;
  }
  .footer-decoration {
    aspect-ratio: 1743 / 420;
  }
  .site-footer {
    padding: 28px 16px 34px;
  }
  .footer-sns {
    gap: 22px;
    margin-bottom: 20px;
  }
  .footer-sns a {
    width: 46px;
    height: 46px;
  }
  .footer-sns i {
    font-size: 2.1rem;
  }
  .tanuki-image {
    width: 38px;
    height: 38px;
  }
  .footer-copy {
    font-size: .82rem;
  }
}

@media (max-width: 360px) {
  .footer-sns { gap: 16px; }
}
