@charset "UTF-8";

/* =========================================
   common
========================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #fff;
  --black: #000;
  --bar: #bcbcbc;
  --grey: #b7b7b7;
  --table: #e5e5e5;
  --bg: #f1efeb;
  --footerBg: #4c4c4c;
  --copyBg: #303030;
  --red: #cf121b;
  --section: #6d6d6d;
}

body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic,
    "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo",
    sans-serif;
}

h1,
h2,
h3,
h4 {
  line-height: 1;
}

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

ul,
ol {
  list-style: none;
}

p {
  line-height: 1.8;
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrapper {
  padding: 5.625rem 0;
}

.inner {
  width: min(90%, 48.75rem);
  margin-inline: auto;
}

.innerb {
  width: min(90%, 72.25rem);
  margin-inline: auto;
}

.logo {
  width: 10rem;
  height: auto;
}

@media screen and (min-width: 768px) {
  .logo {
    width: 16.25rem;
  }
}

.title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  width: 1rem;
  aspect-ratio: 1/1;
  cursor: pointer;
  border-bottom: 1px solid var(--white);
  transform: translateY(-50%);
}

.arrow-btn.prev {
  left: 1rem;
  border-left: 1px solid var(--white);
  transform: translateY(-50%) rotate(45deg);
}

.arrow-btn.next {
  right: 1rem;
  border-right: 1px solid var(--white);
  transform: translateY(-50%) rotate(-45deg);
}

.center {
  text-align: center;
}

.sns-icon {
  width: 1.5rem;
  aspect-ratio: 1 / 1;
}

.u-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.u-column {
  flex-direction: column;
}

.u-row {
  flex-direction: row;
}

.u-flex-wrap {
  flex-wrap: wrap;
}

.fz12 { font-size: 0.75rem; }
.fz12-16 { font-size: clamp(0.75rem, 0.6893rem + 0.2589vw, 1rem); }
.fz13 { font-size: 0.8125em; }
.fz14 { font-size: 0.875rem; }
.fz15 { font-size: 0.9375rem; }
.fz16 { font-size: 1rem; }
.fz16-24 { font-size: clamp(1rem, 0.8786rem + 0.5178vw, 1.5rem); }
.fz20 { font-size: 1.25rem; }
.fz24 { font-size: 1.5rem; }
.fz28 { font-size: 1.75rem; }
.fz40 { font-size: 2.5rem; }

/* =========================================
   header
========================================= */
.header {
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

@media screen and (min-width: 768px) {
  .header {
    padding: 2.5rem 4rem;
  }
}

.hamburger {
  width: 2.5rem;
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: pointer;
  z-index: 110;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2px;
  background-color: var(--white);
  transition: 0.3s ease;
  border-radius: 2px;
}

.hamburger span { top: 50%; }
.hamburger span::before { top: -0.5rem; }
.hamburger span::after { top: 0.5rem; }

.hamburger.open span { background: transparent; }

.hamburger.open span::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.hamburger.open span::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

.nav {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 100;
}

.nav-list {
  gap: 2rem;
  color: var(--white);
  height: 100%;
}

.nav.open {
  transform: translateX(0);
}

.open::before,
.open::after {
  background-color: var(--white);
}

.nav.open .nav-list a{
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.nav.open .nav-list{
  gap: 1.8rem;
}

/* =========================================
   mainvisual
========================================= */
.mv { position: relative; }

.mv img { height: min(100svh, 975px); }

.slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  height: min(100svh, 975px);
  transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
}

.slide {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.mv-btn.prev { left: 3rem; }
.mv-btn.next { right: 3rem; }

.pagination {
  gap: 0.25rem;
  margin-top: 1.25rem;
}

.pagination span {
  display: block;
  width: 3rem;
  height: 0.125rem;
  background: var(--bar);
  cursor: pointer;
}

.pagination span.active { background: var(--red); }

.vertical-rl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  font-size: clamp(1.5rem, 1.2269rem + 1.165vw, 2.625rem);
  color: var(--white);
  line-height: 1.5;
  letter-spacing: 0.167em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* =========================================
   news
========================================= */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media screen and (min-width: 768px) {
  .news-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hidden { display: none; }

.news-list.news-open .hidden { display: block; }

.news-btn {
  width: 16rem;
  height: 3.125rem;
  background-color: var(--grey);
  color: var(--white);
  margin-top: 2.75rem;
  margin-inline: auto;
  gap: 2rem;
  position: relative;
}

.news-btn img {
  width: 1.3rem;
  height: auto;
}

.arrow {
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================================
    works
========================================= */
.choice { margin-top: 3rem; }

.choice-inner {
  display: flex;
  gap: 4rem;
}

.choice-buttons {
  gap: 2rem;
  position: relative;
}

#choice-text p { margin: 0 0 1.3em; }
#choice-text p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .choice-buttons {
    gap: 1rem;
    position: relative;
  }
}

.choice-buttons button {
  background: var(--grey);
  color: var(--white);
  width: 11rem;
  height: 5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}

@media screen and (min-width: 768px) {
  .choice-buttons button {
    height: 9rem;
  }
}

.choice-buttons button.is-active { background: var(--black); }

.choice-buttons button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(100%);
  width: 0;
  height: 0;
  border-left: 1rem solid transparent;
  border-right: 1rem solid transparent;
  border-top: 1rem solid var(--black);
  opacity: 0;
}

.choice-buttons button.is-active::after { opacity: 1; }

.choice-buttons img { width: 50%; }

.btn-en { display: block; }
.btn-ja {
  display: block;
  margin-top: 0.25rem;
  opacity: 0.7;
}

#choice-title { margin-top: 2rem; }
#choice-title svg { width: 8rem; height: auto; }
#choice-text { margin-top: 3rem; }

.thumb-area {
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
  position: relative;
}

.thumb-list {
  display: flex;
  gap: 0.5rem;
}

.thumb-list img {
  cursor: pointer;
  opacity: 0.6;
}

.thumb-list img.is-active{ opacity: 1; }

.thumb-list img:hover { opacity: 1; }

.gallery-btn { border-bottom: 1px solid var(--black); }

.gallery-btn.prev {
  border-left: 1px solid var(--black);
  left: 0.5rem;
}

.gallery-btn.next {
  border-right: 1px solid var(--black);
  right: 0.5rem;
}

@media screen and (min-width: 768px) {
  .gallery-btn.prev { left: -2rem; }
  .gallery-btn.next { right: -2rem; }
}

/* =========================================
   flow
========================================= */
.flow { background-color: var(--bg); }

.flow .inner { position: relative; }

.flow-viewport {
  overflow: hidden;
  padding-inline: 10%;
}

@media screen and (min-width: 768px) {
  .flow-viewport { padding: 0; }
}

.flow-list {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}

.flow-card {
  flex: 0 0 100%;
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
}

@media (min-width: 768px) {
  .flow-card {
    flex: 0 0 calc((100% - 3rem) / 3);
  }
}

.flow-card .step {
  display: block;
  margin-top: 1rem;
}

.flow-card .text { margin-top: 1.5rem; }

.flow-btn {
  top: 65%;
  border-bottom: 1px solid var(--black);
  z-index: 110;
}

.flow-btn.prev {
  border-left: 1px solid var(--black);
  left: 0.5rem;
}

.flow-btn.next {
  border-right: 1px solid var(--black);
  right: 0.5rem;
}

@media screen and (min-width: 768px) {
  .flow-btn.prev { left: -3rem; }
  .flow-btn.next { right: -3rem; }
}

/* =========================================
   outline
========================================= */
.outline table {
  margin-inline: auto;
  width: min(90%, 40rem);
}

.outline tr {
  display: block;
  padding: 1.5rem;
  border-top: 1px solid var(--table);
}

.outline tr:last-child { border-bottom: 1px solid var(--table); }

.outline th,
.outline td {
  display: block;
  text-align: left;
}

@media screen and (min-width: 768px) {
  .outline th,
  .outline td {
    display: inline-block;
  }

  .outline th { width: 30%; }
}

/* =========================================
   contact
========================================= */
.contact .innerb {
  gap: 2rem;
  position: relative;
}

.mail-link p { white-space: nowrap; }

@media screen and (min-width: 768px) {
  .contact .innerb {
    flex-direction: row;
    gap: 4.5rem;
  }
}

.section-line {
  width: min(90%, 72.25rem);
  height: 1px;
  background-color: var(--section);
  margin-inline: auto;
}

.section-line:first-of-type { margin-bottom: 3.5rem; }
.section-line:last-of-type { margin-top: 3.5rem; }

.contact .link a {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
}

.contact .mail-link p { text-decoration: underline; }

.contact img { width: 1.25rem; }

/* =========================================
   footer
========================================= */
.sub-footer { margin-top: 5.625rem; }

.sub-footer .container {
  display: flex;
  flex-direction: column;
  height: 30.5rem;
}

@media screen and (min-width: 768px) {
  .sub-footer .container { flex-direction: row; }
}

.sub-footer img {
  width: auto;
  height: 50%;
}

.sub-footer iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

@media screen and (min-width: 768px) {
  .sub-footer img,
  .sub-footer iframe {
    width: 50%;
    height: 100%;
  }
}

.footer .container {
  gap: 3rem;
  background-color: var(--footerBg);
  padding: 4rem 1rem;
}

@media screen and (min-width: 768px) {
  .footer .container {
    flex-direction: row;
    justify-content: space-between;
    padding: 2.5rem 4rem;
  }
}

.footer-nav-list {
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--white);
}

.footer .sns { gap: 1rem; }

.footer .copy {
  background-color: var(--copyBg);
  color: var(--white);
  padding: 1rem 2rem;
}

@media screen and (min-width: 768px) {
  .footer .copy { justify-content: end; }
}

small { font-size: 100%; }

/* =========================
   NEWS内のInstagram埋め込み調整
========================= */
.news-list.insta-news{
  display: block;
  padding: 0;
  margin: 0;
}

.news-list.insta-news .instagram-container{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media screen and (min-width: 768px){
  .news-list.insta-news .instagram-container{
    grid-template-columns: repeat(4, 1fr);
  }
}

.news-list.insta-news .instagram-item{
  width: auto !important;
}

.news-list.insta-news a.instagram-card{
  display: block;
}

.news-list.insta-news .instagram-card__badge{
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1;
}

/* =========================
   NEWS：最初4枚だけ表示
========================= */
.news-list.insta-news .instagram-container > .instagram-item:nth-of-type(n + 5){
  display: none;
}

.news-list.insta-news.news-open .instagram-container > .instagram-item:nth-of-type(n + 5){
  display: block;
}

/* ==================================================
   ★追加：WORKS サムネを常に6枚表示＋矢印でどんどん出す
================================================== */
.thumb-area{
  align-items: center;
}

.thumb-viewport{
  overflow: hidden;
  flex: 1;
}

.thumb-list{
  display: flex;
  gap: 0.5rem;
  transition: transform 0.3s ease;
  will-change: transform;
}

.thumb-list li{
  flex: 0 0 calc((100% - (0.5rem * 5)) / 6);
}
