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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;

  background: #f3f2ed;
  color: #111;
}


/* ========================
   HEADER
======================== */

.header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  padding: 24px 6%;

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

  z-index: 1000;

  /* MAINでは透明 */
  background: transparent;

  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease;
}


/* MAINを抜けた後 */

.header.scrolled {
  background: rgba(52, 52, 154, 0.88);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}


/* ロゴ */

.logo {
  position: relative;
  z-index: 201;

  color: #fff;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
}


/* PCナビ */

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: #fff;

  text-decoration: none;

  font-size: 11px;
  letter-spacing: 0.12em;

  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 0.55;
}


/* アンカー移動時にヘッダーが被らない */

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

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

.menu-button {
  display: none;

  position: relative;
  z-index: 201;

  width: 44px;
  height: 44px;

  padding: 0;

  border: none;
  background: transparent;

  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 7px;

  width: 30px;
  height: 1px;

  background: #fff;

  transition:
    top 0.3s,
    transform 0.3s,
    opacity 0.3s;
}

.menu-button span:nth-child(1) {
  top: 13px;
}

.menu-button span:nth-child(2) {
  top: 21px;
}

.menu-button span:nth-child(3) {
  top: 29px;
}


/* ========================
   MOBILE MENU
======================== */

.mobile-menu {
  position: fixed;

  top: 75px;
  right: 5%;

  width: min(320px, 90vw);

  padding: 25px;

  background: rgba(52, 52, 154, 0.72);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.35);

  border-radius: 16px;

  opacity: 0;
  visibility: hidden;

  transform: translateY(-10px);

  z-index: 200;

  transition:
    opacity 0.25s,
    visibility 0.25s,
    transform 0.25s;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  padding: 14px 4px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.35);

  color: #fff;

  text-decoration: none;

  font-size: 18px;
  letter-spacing: 0.08em;
}

.mobile-nav a:last-child {
  border-bottom: none;
}


/* 開いた状態 */

.header.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}


/* 三本線 → × */

.header.menu-open .menu-button span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.header.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.header.menu-open .menu-button span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}


/* ========================
   SMARTPHONE
======================== */

@media (max-width: 800px) {

  .header {
    padding: 24px 6%;
  }

  .nav {
    display: none;
  }

  .logo {
    display: block;
    position: relative;
    z-index: 201;
  }

  .menu-button {
    display: block;
  }

}

/* ========================
   HERO
======================== */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: flex-end;

  padding:
    120px
    6%
    80px;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0.35)
    ),
    url("../images/main.jpg");

  background-size: cover;
  background-position: center;

  color: #fff;
}

.hero-content {
  width: 100%;
}

.hero-en {
  margin-bottom: 25px;

  font-size: 12px;

  letter-spacing: 0.28em;
}

.hero h1 {
  font-size: clamp(52px, 7.5vw, 118px);

  line-height: 1.05;

  font-weight: 500;

  letter-spacing: -0.03em;
}

.hero-copy {
  margin-top: 35px;

  font-size: 18px;

  letter-spacing: 0.25em;
}

.scroll {
  position: absolute;

  right: 4%;
  bottom: 45px;

  font-size: 10px;

  letter-spacing: 0.25em;

  writing-mode: vertical-rl;
}


/* ========================
   COMMON SECTION
======================== */

.section {
  padding:180px 7% 140px;

  border-bottom: 1px solid #ccc;
}


/* セクション見出し全体 */

.section-title {
  display: flex;
  align-items: flex-start;

  gap: 22px;
}


/* 01、02、03、04 */

.section-number {
  padding-top: 5px;

  font-size: 26px;
  font-weight: 600;
  line-height: 1;

  color: #34349a;

  letter-spacing: 0.05em;
}


/* 縦線より右側 */

.section-title-text {
  padding-left: 22px;

  border-left: 1px solid #999;
}


/* ABOUT、NEWS、MEMBERSなど */

.section-title-text h2 {
  margin: 0;

  font-size: clamp(36px, 4vw, 58px);

  line-height: 0.9;

  font-weight: 400;
  letter-spacing: -0.02em;
}


/* 日本語サブタイトル */

.section-title-text p {
  margin-top: 14px;

  font-size: 20px;
  line-height: 1.4;

  letter-spacing: 0.08em;

  color: #333;
}


/* ========================
   SMARTPHONE
======================== */

@media (max-width: 800px) {

  .section {
    padding:
      90px
      6%;
  }

  .section-title {
    gap: 14px;
  }

  .section-number {
    padding-top: 4px;

    font-size: 20px;
  }

  .section-title-text {
    padding-left: 14px;
  }

  .section-title-text h2 {
    font-size: 36px;
  }

  .section-title-text p {
    margin-top: 10px;

    font-size: 15px;
  }

}




/* ========================
   ABOUT
======================== */

.about-section {
  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(52, 52, 154, 0.045),
      transparent 35%
    ),
    #f3f2ed;
}


/* ========================
   SECTION TITLE
======================== */

.section-title {
  display: flex;
  align-items: flex-start;

  gap: 22px;
}


.section-number {
  padding-top: 5px;

  font-size: 26px;
  font-weight: 600;
  line-height: 1;

  color: #34349a;

  letter-spacing: 0.02em;
}


.section-title-text {
  padding-left: 22px;

  border-left: 1px solid #999;
}


.section-title-text h2 {
  margin: 0;

  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.9;

  font-weight: 400;
  letter-spacing: -0.02em;

  color: #111;
}


.section-title-text p {
  margin-top: 14px;

  font-size: 20px;
  line-height: 1.4;

  letter-spacing: 0.08em;

  color: #333;
}


/* ========================
   PHILOSOPHY
======================== */

.philosophy {
  margin-top: 100px;
}


.small-title {
  margin: 0;

  font-size: 12px;
  font-weight: 500;

  letter-spacing: 0.15em;

  color: #333;
}


.philosophy h3 {
  margin-top: 15px;

  font-size: 24px;
  font-weight: 500;

  letter-spacing: 0.03em;

  color: #171717;
}


/* 理念の大きな文章 */

.philosophy-main {
  max-width: 1100px;

  margin-top: 55px;
  margin-bottom: 80px;

  font-size: clamp(28px, 3.6vw, 54px);
  font-weight: 400;

  line-height: 1.55;
  letter-spacing: 0.03em;

  color: #111;

  word-break: normal;
  overflow-wrap: normal;
}


/* ========================
   PHILOSOPHY LIST
======================== */

.philosophy-list {
  border-top: 1px solid #aaa;
}


.philosophy-item {
  display: grid;
  grid-template-columns: 120px 1fr;

  gap: 40px;

  padding: 42px 0;

  border-bottom: 1px solid #aaa;
}


/* 01 02 03 */

.philosophy-item > span {
  padding-top: 3px;

  font-size: 13px;
  font-weight: 500;

  letter-spacing: 0.15em;

  color: #555;
}


/* 本文 */

.philosophy-item p {
  max-width: 900px;

  margin: 0;

  font-size: 17px;
  font-weight: 400;

  line-height: 2;
  letter-spacing: 0.035em;

  color: #1d1d1d;
}


/* ========================
   SOKO
======================== */

.soko {
  margin-top: 160px;
  padding-top: 40px;
}


.soko-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;

  gap: 100px;

  margin-top: 45px;
}


/* 私たちが大切にする言葉 */

.soko-title > p {
  margin: 0 0 20px;

  font-size: 16px;
  font-weight: 400;

  letter-spacing: 0.06em;

  color: #222;
}


/* 素光 */

.soko-title h3 {
  margin: 0;

  font-size: clamp(80px, 11vw, 160px);
  line-height: 1;

  font-weight: 400;
  letter-spacing: 0.05em;

  color: #111;
}


/* ========================
   SOKO DESCRIPTION
======================== */

.soko-description {
  padding-top: 15px;
}


/* 由来 */

.soko-origin {
  margin: 0;

  font-size: 17px;
  font-weight: 400;

  line-height: 2;
  letter-spacing: 0.025em;

  color: #1d1d1d;
}


/* ========================
   素心・点火・放光
======================== */

.soko-words {
  margin-top: 45px;

  border-top: 1px solid #aaa;
}


.soko-words > div {
  display: grid;
  grid-template-columns: 100px 1fr;

  align-items: center;

  padding: 22px 0;

  border-bottom: 1px solid #aaa;
}


/* 素心など */

.soko-words dt {
  font-size: 18px;
  font-weight: 500;

  color: #171717;
}


/* 意味 */

.soko-words dd {
  margin: 0;

  font-size: 16px;
  font-weight: 400;

  line-height: 1.7;

  color: #333;
}


/* ========================
   最後の説明文
======================== */

.soko-message {
  margin-top: 45px;

  font-size: 17px;
  font-weight: 400;

  line-height: 2;
  letter-spacing: 0.025em;

  color: #1d1d1d;
}


/* ========================
   ABOUT - SMARTPHONE
======================== */

@media (max-width: 800px) {

  /* SECTION TITLE */

  .section-title {
    gap: 14px;
  }


  .section-number {
    padding-top: 4px;

    font-size: 20px;
  }


  .section-title-text {
    padding-left: 14px;
  }


  .section-title-text h2 {
    font-size: 36px;
  }


  .section-title-text p {
    margin-top: 10px;

    font-size: 16px;
  }


  /* PHILOSOPHY */

  .philosophy {
    margin-top: 70px;
  }


  .small-title {
    font-size: 11px;
  }


  .philosophy h3 {
    margin-top: 12px;

    font-size: 20px;
    line-height: 1.6;
  }


  .philosophy-main {
    margin-top: 40px;
    margin-bottom: 60px;

    font-size: 26px;
    line-height: 1.6;

    letter-spacing: 0.02em;
  }


  .philosophy-item {
    grid-template-columns: 42px 1fr;

    gap: 14px;

    padding: 30px 0;
  }


  .philosophy-item > span {
    font-size: 11px;
  }


  .philosophy-item p {
    font-size: 15px;

    line-height: 1.9;
    letter-spacing: 0.02em;
  }


  /* SOKO */

  .soko {
    margin-top: 100px;
    padding-top: 20px;
  }


  .soko-content {
    grid-template-columns: 1fr;

    gap: 50px;

    margin-top: 35px;
  }


  .soko-title > p {
    font-size: 14px;
  }


  .soko-title h3 {
    font-size: 90px;
  }


  .soko-description {
    padding-top: 0;
  }


  .soko-origin {
    font-size: 15px;

    line-height: 1.9;
  }


  .soko-words {
    margin-top: 35px;
  }


  .soko-words > div {
    grid-template-columns: 80px 1fr;

    padding: 19px 0;
  }


  .soko-words dt {
    font-size: 17px;
  }


  .soko-words dd {
    font-size: 14px;
  }


  .soko-message {
    margin-top: 35px;

    font-size: 15px;

    line-height: 1.9;
  }

}

/* ========================
   NEWS
======================== */

#news {
  background: #fff;
}


/* ニュース一覧 */

.news-list {
  margin-top: 90px;

  border-top: 1px solid #aaa;
}


/* 1件 */

.news-item {
  min-height: 105px;

  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;

  gap: 30px;

  padding: 24px 0;

  border-bottom: 1px solid #aaa;
}


/* 日付 */

.news-date {
  margin: 0;

  font-size: 14px;
  font-weight: 500;

  letter-spacing: 0.06em;

  color: #555;

  white-space: nowrap;
}


/* お知らせ本文 */

.news-title {
  margin: 0;

  font-size: 17px;
  font-weight: 400;

  line-height: 1.8;
  letter-spacing: 0.025em;

  color: #1d1d1d;
}


/* 本文内のリンク */

.news-title a {
  color: #34349a;

  font-weight: 500;
  text-decoration: none;

  padding-bottom: 2px;

  border-bottom: 1px solid rgba(52, 52, 154, 0.6);

  transition:
    opacity 0.2s,
    border-color 0.2s;
}


.news-title a:hover {
  opacity: 0.6;

  border-color: #34349a;
}


/* ========================
   NEWS - SMARTPHONE
======================== */

@media (max-width: 800px) {

  .news-list {
    margin-top: 60px;
  }


  .news-item {
    display: block;

    min-height: 0;

    padding: 25px 0;
  }


  .news-date {
    margin-bottom: 10px;

    font-size: 12px;
  }


  .news-title {
    width: 100%;

    font-size: 15px;

    line-height: 1.8;
    letter-spacing: 0.02em;
  }

}

/* ========================
   SCHEDULE
======================== */

#schedule {
  background: #f3f2ed;
}

.schedule-section {
  overflow: hidden;
}


/* ========================
   今月の予定
======================== */

.schedule-heading {
  margin-top: 90px;
}

.schedule-heading .small-title {
  font-size: 13px;
  font-weight: 500;

  letter-spacing: 0.15em;

  color: #444;
}

.schedule-heading h3 {
  margin-top: 15px;

  font-size: 34px;
  font-weight: 500;

  letter-spacing: 0.03em;

  color: #171717;
}


/* ========================
   GOOGLE CALENDAR
======================== */

.calendar-wrapper {
  width: 100%;

  margin-top: 50px;

  overflow: hidden;

  border: 1px solid #aaa;

  background: #fff;
}

.calendar-wrapper iframe {
  display: block;

  width: 100%;
  height: 700px;

  border: 0;
}


/* ========================
   YEARLY SCHEDULE
======================== */

.yearly-section {
  padding-top: 120px;

  background: #f3f2ed;
}

.yearly-heading {
  margin-bottom: 50px;
}

.yearly-heading .small-title {
  font-size: 13px;
  font-weight: 500;

  letter-spacing: 0.15em;

  color: #444;
}

.yearly-heading h3 {
  margin-top: 15px;

  font-size: 34px;
  font-weight: 500;

  letter-spacing: 0.03em;

  color: #171717;
}


/* ========================
   年間予定一覧
======================== */

.yearly-list {
  border-top: 1px solid #aaa;
}

.yearly-item {
  min-height: 110px;

  display: grid;
  grid-template-columns: 140px 1fr;

  align-items: center;

  gap: 20px;

  padding: 28px 0;

  border-bottom: 1px solid #aaa;
}


/* 月 */

.yearly-month {
  font-size: 34px;
  font-weight: 400;

  line-height: 1;

  letter-spacing: 0.03em;

  color: #222;
}


/* 大会・行事 */

.yearly-events {
  display: flex;
  flex-direction: column;

  gap: 8px;

  font-size: 17px;
  font-weight: 400;

  line-height: 1.7;
  letter-spacing: 0.025em;

  color: #1d1d1d;
}

.yearly-events span {
  white-space: nowrap;
}


/* ========================
   SCHEDULE - SMARTPHONE
======================== */

@media (max-width: 800px) {

  /* 今月 */

  .schedule-heading {
    margin-top: 60px;
  }

  .schedule-heading .small-title {
    font-size: 11px;
  }

  .schedule-heading h3 {
    margin-top: 12px;

    font-size: 27px;
  }


  /* カレンダー */

  .calendar-wrapper {
    margin-top: 35px;
  }

  .calendar-wrapper iframe {
    height: 600px;
  }


  /* 年間予定 */

  .yearly-section {
    padding-top: 90px;
  }

  .yearly-heading {
    margin-bottom: 35px;
  }

  .yearly-heading .small-title {
    font-size: 11px;
  }

  .yearly-heading h3 {
    margin-top: 12px;

    font-size: 27px;
  }


  /* 一覧 */

  .yearly-item {
    grid-template-columns: 70px 1fr;

    min-height: 90px;

    gap: 15px;

    padding: 22px 0;
  }

  .yearly-month {
    font-size: 25px;
  }

  .yearly-events {
    gap: 6px;

    font-size: 15px;
    line-height: 1.7;
  }

  .yearly-events span {
    white-space: normal;
  }

}


/* ========================
   MEMBERS
======================== */

.members-section {
  position: relative;
  overflow: hidden;

  background-image:
    linear-gradient(
      rgba(247, 242, 229, 0.35),
      rgba(247, 242, 229, 0.35)
    ),
    url("../images/members-bg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #171717;
}


/* ========================
   GRADE
======================== */

.grade-block {
  margin-top: 100px;
}

.grade-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 40px;
}

.grade-heading h3 {
  font-size: 30px;
  font-weight: 500;
}


/* ========================
   BUTTONS
======================== */

.member-buttons {
  display: flex;
  gap: 10px;
}

.member-buttons button {
  width: 48px;
  height: 48px;

  border: 1px solid rgba(40, 30, 20, 0.4);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  color: #222;

  font-size: 18px;

  cursor: pointer;

  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.member-buttons button:hover {
  background: #34349a;
  color: #fff;

  transform: scale(1.05);
}


/* ========================
   MEMBER SLIDER
======================== */

.member-slider {
  display: flex;

  gap: 28px;

  overflow-x: hidden;

  padding: 25px 5px 40px;

  scroll-behavior: smooth;
  scrollbar-width: none;
}

.member-slider::-webkit-scrollbar {
  display: none;
}


/* ========================
   WOOD CARD
======================== */

.member-card {
  position: relative;

  flex: 0 0 290px;

  min-height: 340px;

  padding: 55px 28px 30px;

  border: 1px solid rgba(105, 68, 31, 0.45);

  border-radius: 3px;

  background:
    repeating-linear-gradient(
      90deg,
      rgba(120, 75, 30, 0.035) 0px,
      rgba(120, 75, 30, 0.035) 1px,
      transparent 1px,
      transparent 8px
    ),
    linear-gradient(
      90deg,
      #d6a86c 0%,
      #edc88f 25%,
      #dfb474 55%,
      #efca91 80%,
      #d5a267 100%
    );

  box-shadow:
    0 14px 24px rgba(50, 35, 20, 0.22),
    inset 0 0 20px rgba(255, 255, 255, 0.15);

  color: #20170f;

  text-align: center;

  transition:
    transform 0.3s,
    box-shadow 0.3s;
}


/* 穴 */

.member-card::before {
  content: "";

  position: absolute;

  top: 18px;
  left: 50%;

  width: 12px;
  height: 12px;

  transform: translateX(-50%);

  border-radius: 50%;

  background: #57402b;

  box-shadow:
    inset 0 2px 3px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(255, 220, 160, 0.25);
}


/* hover */

.member-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 20px 32px rgba(50, 35, 20, 0.28),
    inset 0 0 20px rgba(255, 255, 255, 0.15);
}


/* ========================
   CARD TEXT
======================== */

.member-role {
  margin-bottom: 25px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;

  color: #3a2818;
}

.member-card h4 {
  margin-bottom: 35px;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 28px;
  font-weight: 600;

  letter-spacing: 0.08em;

  color: #17110c;
}

.member-card dl {
  margin: 0;
}

.member-card dl > div {
  display: grid;
  grid-template-columns: 85px 1fr;

  gap: 12px;

  padding: 14px 0;

  border-top: 1px solid rgba(55, 35, 15, 0.38);

  text-align: left;
}

.member-card dt {
  font-size: 13px;
  font-weight: 500;

  color: #3d2b1c;
}

.member-card dd {
  margin: 0;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;

  color: #17110c;
}


/* ========================
   MEMBERS - SMARTPHONE
======================== */

@media (max-width: 800px) {

  .members-section {
    background-position: center top;
    background-size: auto 100%;
  }

  .grade-block {
    margin-top: 70px;
  }

  .grade-heading {
    margin-bottom: 25px;
  }

  .grade-heading h3 {
    font-size: 24px;
  }

  .member-buttons button {
    width: 42px;
    height: 42px;
  }

  .member-slider {
    gap: 20px;
    padding-top: 20px;
  }

  .member-card {
    flex: 0 0 78vw;

    max-width: 300px;

    min-height: 320px;

    padding: 50px 25px 28px;
  }

  .member-card h4 {
    font-size: 26px;
  }

}


/* ========================
   RESULTS
======================== */

#results {
  background: #171717;
  color: #fff;
}


/* セクション全体 */

.results {
  min-height: 650px;

  padding: 140px 7% 100px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: #171717;
  color: #fff;
}


/* ========================
   RESULTS TITLE
======================== */

/* 05 */

#results .section-number {
  color: #7777ff;
}


/* 縦線 */

#results .section-title-text {
  border-left-color: rgba(255, 255, 255, 0.45);
}


/* RESULTS */

#results .section-title-text h2 {
  color: #fff;
}


/* 試合結果 */

#results .section-title-text p {
  color: rgba(255, 255, 255, 0.75);
}


/* ========================
   RESULTS CONTENT
======================== */

.results-content {
  margin-top: 100px;
}


/* 説明文 */

.results-content p {
  max-width: 650px;

  font-size: 15px;
  line-height: 2;

  color: rgba(255, 255, 255, 0.72);
}


/* 試合結果ページへのリンク */

.results-link {
  display: inline-flex;
  align-items: center;

  gap: 20px;

  margin-top: 45px;

  padding-bottom: 8px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.5);

  color: #fff;

  text-decoration: none;

  font-size: 14px;
  letter-spacing: 0.12em;

  transition:
    opacity 0.3s,
    gap 0.3s;
}

.results-link:hover {
  gap: 30px;
  opacity: 0.7;
}


/* 矢印 */

.results-link::after {
  content: "→";

  font-size: 18px;
}


/* ========================
   RESULTS - SMARTPHONE
======================== */

@media (max-width: 800px) {

  .results {
    min-height: 500px;

    padding: 110px 6% 80px;
  }

  #results .section-number {
    font-size: 20px;
  }

  #results .section-title-text h2 {
    font-size: 36px;
  }

  #results .section-title-text p {
    font-size: 16px;
  }

  .results-content {
    margin-top: 70px;
  }

  .results-content p {
    font-size: 14px;
    line-height: 1.9;
  }

  .results-link {
    margin-top: 35px;

    font-size: 13px;
  }

}

/* ========================
   FOOTER
======================== */

.footer {
  min-height: 500px;

  padding: 100px 7% 45px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: #0b0b0b;
  color: #fff;
}


/* ========================
   FOOTER TOP
======================== */

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;

  gap: 80px;
}


/* 左側 */

.footer-small {
  margin: 0 0 20px;

  font-size: 10px;
  letter-spacing: 0.2em;

  color: rgba(255, 255, 255, 0.55);
}


.footer-title h2 {
  margin: 0;

  font-size: clamp(55px, 8vw, 120px);
  line-height: 0.9;

  font-weight: 400;
  letter-spacing: -0.04em;

  color: #fff;
}


.footer-jp {
  margin: 25px 0 0;

  font-size: 14px;
  letter-spacing: 0.08em;

  color: rgba(255, 255, 255, 0.65);
}


/* ========================
   CONTACT
======================== */

.footer-contact {
  padding-top: 5px;
}


.footer-label {
  margin: 0 0 25px;

  font-size: 11px;
  letter-spacing: 0.2em;

  color: rgba(255, 255, 255, 0.5);
}


.footer-mail {
  display: inline-block;

  padding-bottom: 7px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.45);

  color: #fff;

  text-decoration: none;

  font-size: 16px;
  line-height: 1.5;

  transition:
    opacity 0.25s,
    border-color 0.25s;
}


.footer-mail:hover {
  opacity: 0.6;

  border-color: rgba(255, 255, 255, 0.8);
}


/* ========================
   FOOTER BOTTOM
======================== */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 40px;

  margin-top: 100px;
  padding-top: 35px;

  border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* ========================
   SNS ICONS
======================== */

.footer-sns {
  display: flex;
  align-items: center;

  gap: 18px;
}


.footer-sns a {
  width: 44px;
  height: 44px;

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

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  color: #fff;

  text-decoration: none;

  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}


.footer-sns svg {
  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.footer-sns a:hover {
  background: #fff;
  color: #0b0b0b;

  border-color: #fff;

  transform: translateY(-3px);
}


/* ========================
   COPYRIGHT
======================== */

.copyright {
  margin: 0;

  font-size: 10px;
  letter-spacing: 0.12em;

  color: rgba(255, 255, 255, 0.45);
}

/* ========================
   OLD WEBSITE
======================== */

.footer-old-site {
  margin-top: 55px;
}

.footer-old-site .footer-label {
  margin-bottom: 18px;
}

.footer-old-link {
  display: inline-block;

  padding-bottom: 6px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.45);

  color: #fff;
  text-decoration: none;

  font-size: 14px;
  letter-spacing: 0.08em;

  transition:
    opacity 0.25s,
    border-color 0.25s;
}

.footer-old-link:hover {
  opacity: 0.6;
  border-color: rgba(255, 255, 255, 0.8);
}


/* ========================
   FOOTER - SMARTPHONE
======================== */

@media (max-width: 800px) {

  .footer {
    min-height: auto;

    padding: 80px 6% 35px;
  }


  /* 上側を縦並び */

  .footer-top {
    grid-template-columns: 1fr;

    gap: 60px;
  }


  .footer-title h2 {
    font-size: 52px;
  }


  .footer-jp {
    margin-top: 18px;

    font-size: 12px;
  }


  /* CONTACT */

  .footer-label {
    margin-bottom: 18px;
  }


  .footer-mail {
    font-size: 14px;

    word-break: break-all;
  }


  /* 下側 */

  .footer-bottom {
    margin-top: 70px;
    padding-top: 30px;

    align-items: center;
  }


  /* SNS */

  .footer-sns {
    gap: 14px;
  }


  .footer-sns a {
    width: 42px;
    height: 42px;
  }


  .footer-sns svg {
    width: 18px;
    height: 18px;
  }


  .copyright {
    font-size: 9px;
  }

}


/* ========================
   VERY SMALL SCREEN
======================== */

@media (max-width: 480px) {

  .footer-title h2 {
    font-size: 44px;
  }


  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 30px;
  }

}


/* ========================
   SMARTPHONE
======================== */

@media (max-width: 800px) {

  .header {
    padding: 25px 20px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding:
      100px
      25px
      60px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .section {
    padding:
      90px
      25px;
  }

  .section-title h2 {
    font-size: 55px;
  }

  .about-content {
    margin-top: 70px;
  }

  .about-content h3 {
    font-size: 27px;
  }

  .news-item {
    grid-template-columns: 1fr 30px;

    padding: 20px 0;
  }

  .news-item time {
    grid-column: 1 / 3;

    margin-bottom: -10px;
  }

  .member-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .results {
    min-height: 500px;

    padding:
      70px
      25px;
  }

  footer {
    padding:
      70px
      25px
      40px;
  }

}

/* ========================
   RESULTS LOADING
======================== */

.results-loading {
  position: fixed;

  inset: 0;

  width: 100%;
  height: 100vh;

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

  background: #171717;

  color: #fff;

  z-index: 99999;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}


.results-loading.active {
  opacity: 1;
  visibility: visible;
}


.results-loading-content {
  padding: 30px;

  text-align: center;
}


.results-loading-small {
  margin-bottom: 20px;

  font-size: 10px;
  letter-spacing: 0.2em;

  color: rgba(255, 255, 255, 0.5);
}


.results-loading h2 {
  margin: 0;

  font-size: clamp(52px, 8vw, 100px);
  font-weight: 400;

  line-height: 1;

  letter-spacing: -0.04em;
}


.results-loading-text {
  margin-top: 35px;

  font-size: 14px;
  letter-spacing: 0.08em;

  color: rgba(255, 255, 255, 0.7);
}


/* 3つの点 */

.results-loading-dots {
  display: flex;

  justify-content: center;

  gap: 8px;

  margin-top: 25px;
}


.results-loading-dots span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #fff;

  animation: resultsLoadingDot 1.2s infinite ease-in-out;
}


.results-loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}


.results-loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}


@keyframes resultsLoadingDot {

  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-6px);
  }

}