@charset "UTF-8";

/* ==========================================================
   responsive（タブレット：〜1024px／スマホ：〜767px）
   ========================================================== */

body {
  overflow-x: clip;
}

/* ハンバーガーボタン（PCでは非表示） */
.menu-btn {
  display: none;
}

/* ----------------------------------------------------------
   tablet 〜1024px
   ---------------------------------------------------------- */
@media (max-width: 1024px) {

  /* menu button */
  .menu-btn {
    width: 64px;
    height: 64px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1003;
    border-radius: 50%;
    background-color: #fbef0c;
    color: #03052c;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    transition: background-color .4s, color .4s, transform .4s cubic-bezier(.2, .8, .2, 1);
  }
  .menu-btn:active {
    transform: scale(.92);
  }
  .menu-btn__lines {
    width: 22px;
    height: 12px;
    position: relative;
    display: block;
  }
  .menu-btn__lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: currentColor;
    transition: transform .5s cubic-bezier(.7, 0, .2, 1), opacity .3s, width .4s;
  }
  .menu-btn__lines span:nth-child(1) { top: 0; }
  .menu-btn__lines span:nth-child(2) { top: 5px; width: 70%; }
  .menu-btn__lines span:nth-child(3) { top: 10px; }
  .menu-btn__label {
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
  }
  .is-menu-open .menu-btn {
    background-color: #03052c;
    color: #fbef0c;
    box-shadow: 0 0 0 1px #fbef0c;
  }
  .is-menu-open .menu-btn__lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .is-menu-open .menu-btn__lines span:nth-child(2) { opacity: 0; width: 0; }
  .is-menu-open .menu-btn__lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  /* header → 全画面メニュー（ボタンの位置から円が広がる） */
  header.header {
    max-width: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 112px 10% 64px;
    align-content: flex-start;
    background-color: rgba(3, 5, 44, .97);
    z-index: 1002;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    clip-path: circle(0px at calc(100% - 52px) 52px);
    transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s .8s;
  }
  .is-menu-open header.header {
    visibility: visible;
    clip-path: circle(150% at calc(100% - 52px) 52px);
    transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), visibility 0s;
  }
  header.header:before {
    content: "MENU";
    position: absolute;
    top: 24px;
    left: 6%;
    font-family: "Roboto", sans-serif;
    font-size: 7rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
    pointer-events: none;
  }
  nav.nav {
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }
  nav.nav > h3:nth-of-type(1),
  nav.nav > ul {
    grid-column: 1;
  }
  nav.nav > h3:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }
  nav.nav > dl,
  nav.nav > p {
    grid-column: 2;
  }
  nav.nav > dl {
    grid-row: 2;
  }
  nav.nav > p {
    grid-row: 3;
  }
  nav.nav > .nav-sns {
    grid-column: 2;
    grid-row: 4;
  }
  nav.nav ul li {
    margin-bottom: 24px;
  }
  nav.nav ul li a {
    font-size: 1.2rem;
  }

  /* layout */
  .mv {
    overflow: hidden;
  }
  /* インクの着地前（拡大中）などで横にはみ出してレイアウト幅が広がらないように */
  main {
    overflow-x: clip;
  }
  .site-body {
    width: 92vw;
    right: 4%;
  }
  .logo {
    width: 220px;
  }
  /* 左の写真：左上に小さく置き、下に向かって透明に */
  .mv {
    height: 72vh;
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  }
  /* TOP：団員募集中！／いっしょにバレーをしよう！ を大きく */
  .recruit-title {
    padding: 0;
  }
  .recruit-title figure:first-child {
    flex: 0 0 64%;
    margin-right: 0;
  }
  .recruit-title figure:last-child {
    flex: 0 0 36%;
  }
  .recruit-title h2,
  .recruit-title p {
    max-width: none;
  }
  /* TOP：小見出しをタイトル画像の上に置き、メニューボタンと重ならないように */
  .top-recruit-ttile-area {
    margin-top: 104px;
  }
  .team-title {
    position: relative;
    left: 0;
    margin-bottom: 12px;
    gap: 4px;
  }
  .pagetop {
    left: auto;
    right: 20px;
    bottom: 20px;
  }
  .pagetop__ball {
    width: 48px;
    height: 48px;
  }
}

/* ----------------------------------------------------------
   smartphone 〜767px
   ---------------------------------------------------------- */
@media (max-width: 767px) {

  .menu-btn {
    width: 56px;
    height: 56px;
    top: 14px;
    right: 14px;
  }
  header.header {
    padding: 96px 8% 56px;
    clip-path: circle(0px at calc(100% - 42px) 42px);
  }
  .is-menu-open header.header {
    clip-path: circle(150% at calc(100% - 42px) 42px);
  }
  header.header:before {
    top: 20px;
    font-size: 4.4rem;
  }
  nav.nav {
    display: flex;
  }
  nav.nav h3 {
    margin-bottom: 40px;
  }
  nav.nav ul li {
    margin-bottom: 20px;
  }
  nav.nav ul li a {
    font-size: 1.1rem;
  }

  /* layout：左の写真は背景として敷き、本文を全幅に */
  .logo {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 160px;
  }
  .mv {
    height: 62vh;
    opacity: .8;
  }
  .site-body {
    width: 100%;
    position: relative;
    right: auto;
    padding: 0 16px 88px;
  }
  .footer {
    padding: 40px 20px 28px;
  }
  .footer h2 {
    margin-bottom: 32px;
  }
  .footer-nav {
    margin-bottom: 28px;
  }
  .footer-nav ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav a {
    padding: 16px 14px 14px;
  }
  .footer__copy {
    padding-top: 20px;
  }
  .pagetop {
    right: 14px;
    bottom: 14px;
    gap: 4px;
  }
  .pagetop__ball {
    width: 44px;
    height: 44px;
  }
  .pagetop .en {
    font-size: .6rem;
  }

  /* TOP：タイトルまわり */
  .top-recruit-ttile-area {
    margin-top: 240px;
  }
  .team-title {
    position: relative;
    left: 0;
    margin-bottom: 12px;
    gap: 4px;
  }
  .team-title h1 {
    font-size: .72rem;
  }
  .team-title p {
    font-size: .86rem;
  }
  .since {
    bottom: 10%;
  }
  .since p {
    font-size: 1rem;
  }
  .top-recruit-ttile-area:after {
    width: 32px;
  }

  /* TOP：団員募集 */
  .recruit {
    margin-top: -12px;
  }
  .recruit-title {
    padding: 0;
  }
  .recruit-title figure:first-child {
    flex-basis: 63%;
  }
  .recruit-title figure:last-child {
    flex-basis: 35%;
  }
  .recruit-inner {
    padding: 28px 6% 36px;
  }
  .recruit-inner h3,
  .recruit-inner h3 span {
    font-size: 1.2rem;
  }
  .recruit-inner ul {
    flex-flow: column;
    gap: 12px;
  }
  .recruit-inner ul li {
    width: 100%;
  }

  /* セクション共通 */
  .news,
  .result,
  .sponsor,
  .single,
  .content-panel,
  .is-archive {
    padding: 40px 6% 44px;
    margin-bottom: 40px;
  }
  .section-title {
    margin-bottom: 24px;
  }
  .section-title p {
    font-size: 1.6rem;
  }
  .section-title p:first-letter,
  .section-title p .char:first-child {
    font-size: 2.2rem;
  }
  .section-title h2 {
    font-size: .86rem;
  }
  .news:after,
  .result:after,
  .single:after,
  .content-panel:after {
    width: 52px;
    height: 52px;
  }

  /* NEWS：日付をタイトルの上に */
  .news dl {
    flex-flow: column;
    padding-bottom: 4px;
  }
  .news dl dt,
  .news dl dd {
    width: 100%;
    padding: 0 28px 4px 4px;
  }
  .news dl dt {
    font-size: .76rem;
  }
  .news.is-archive dl {
    padding: 16px 0 10px;
  }

  /* RESULT：スライダー */
  .result dl {
    width: 84%;
  }
  .result-area {
    --result-bleed: -6.82%;
  }
  .result-controls {
    gap: 12px;
  }
  .result-count__current {
    font-size: 1.3rem;
  }
  .result-prev,
  .result-next {
    width: 40px;
    height: 40px;
  }
  .result-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-right: 0;
  }

  /* 下層：見出し */
  .page-hero {
    padding: 104px 0 32px;
    margin-bottom: 32px;
  }
  .page-hero__en {
    font-size: 3.2rem;
  }
  .page-hero__ja {
    margin-top: 14px;
    font-size: .9rem;
  }
  .page-hero__marquee {
    top: 92px;
    font-size: 5rem;
  }
  .page-hero:after {
    width: 72px;
    height: 72px;
    top: 84px;
    right: 0;
  }
  .breadcrumb {
    margin-top: 28px;
  }
  .breadcrumb li span {
    max-width: 12em;
  }

  /* ページ送り */
  .pagination .nav-links {
    gap: 6px;
  }
  .pagination .page-numbers {
    min-width: 40px;
    height: 40px;
  }
  .pagination .prev,
  .pagination .next {
    padding: 0 14px;
  }

  /* 詳細 */
  .single-head {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .single-title {
    font-size: 1.3rem;
  }
  .single-eyecatch {
    margin-bottom: 32px;
  }
  .entry-content h2 {
    margin-top: 48px;
    font-size: 1.2rem;
  }
  .entry-content h3 {
    margin-top: 36px;
    font-size: 1rem;
  }
  .entry-content th,
  .entry-content td {
    padding: 10px 8px;
  }
  .entry-content blockquote {
    padding: 48px 20px 20px;
  }
  .entry-content blockquote:before {
    top: 8px;
    left: 16px;
    font-size: 3.2rem;
  }
  .post-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
  }

  /* ABOUT / RECRUIT / CONTACT */
  .panel-lead {
    font-size: 1.24rem;
  }
  .staff {
    gap: 10px;
  }
  .staff__role {
    font-size: .68rem;
  }
  .staff__role .en {
    font-size: .52rem;
  }
  .staff__name {
    font-size: .78rem;
  }
  .info-table__row {
    flex-flow: column;
    gap: 2px;
    padding: 14px 4px;
  }
  .info-table dt {
    width: auto;
  }
  .value-list__item {
    padding: 24px 18px 20px 76px;
  }
  .value-list__num {
    left: 14px;
    font-size: 2.4rem;
  }
  .timeline__item {
    gap: 14px;
  }
  .timeline__year {
    width: 52px;
    font-size: 1.15rem;
  }
  .flow__num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  .flow__item + .flow__item:before {
    left: 23px;
  }
  .faq__q {
    gap: 12px;
    padding: 18px 36px 18px 0;
    font-size: .9rem;
  }
  .faq__icon {
    right: 4px;
  }
  .faq__a-inner {
    gap: 12px;
    padding: 0 0 20px;
  }
  .cta-panel {
    padding: 48px 6% 44px;
    margin-bottom: 40px;
  }
  .cta-panel__title {
    font-size: 1.24rem;
  }
  .cta-panel__marquee {
    font-size: 4.4rem;
  }
  .cta-panel__btn {
    padding: 16px 28px;
    font-size: .9rem;
  }

  /* form */
  .form-steps {
    margin: 32px 0 36px !important;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  .form-submit {
    flex-flow: column-reverse;
    align-items: stretch;
  }
  .wpcf7-form .wpcf7-submit,
  .wpcf7-form .wpcf7-previous {
    min-width: 0;
    width: 100%;
  }
  .visit-calendar {
    padding: 18px 12px 16px;
  }
  .visit-calendar__day {
    font-size: .82rem;
  }
  .visit-calendar__item {
    padding-left: 14px;
    font-size: .8rem;
  }
  .thanks__en {
    font-size: 2.4rem;
  }

  /* support */
  .plans,
  .wpcf7-radio.plan-radio {
    grid-template-columns: 1fr;
  }
  .plan-card {
    padding: 34px 22px 24px;
  }
  .plan-card__num {
    font-size: 2.8rem;
  }
  .support-units {
    flex-flow: column;
  }
  .support-units > .wpcf7-form-control-wrap,
  .support-total {
    width: 100%;
    min-width: 0;
  }
  .sponsor-cta {
    padding: 20px;
  }
  .sponsor-cta .btn {
    margin-left: auto;
  }
}

/* ----------------------------------------------------------
   PC で画面の高さが低いとき：ヘッダーの余白を詰めて Instagram まで見えやすく
   ---------------------------------------------------------- */
@media (min-width: 1025px) and (max-height: 1000px) {
  header.header {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  nav.nav h3 {
    margin-bottom: 36px;
  }
  nav.nav ul {
    margin-bottom: 16px;
  }
  nav.nav ul li {
    margin-bottom: 18px;
    padding-bottom: 10px;
  }
  nav.nav dl dd {
    margin-bottom: 16px;
    padding-bottom: 10px;
  }
  nav.nav .nav-sns {
    margin-top: 24px;
  }
}
