:root {
  --ink: #352f2c;
  --blue: #57443b;
  --green: #9c765f;
  --mint: #c5a58e;
  --accent: #d8b39b;
  --paper: #f5efe9;
  --line: #ddd1c8;
  --white: #fff;
  --photo-dir: "./assets/美容室写真素材/";
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 1.6rem;
  -webkit-text-size-adjust: 100%;
}

body.open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

#container {
  max-width: 100%;
  overflow-x: hidden;
}

#main h2,
#main h3,
#main h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.16em;
}

#main p,
#main li,
#main dt,
#main dd,
#footer p,
#footer li {
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.spOnly {
  display: none;
}

.btn {
  width: min(340px, 18vw);
  margin: 10px auto;
}

.btn a {
  display: block;
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 10px 20px;
  border: 4px solid #9c765f;
  border-radius: 999px;
  color: #9c765f;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.btn a::after,
.btnCircle a::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 8px;
  margin-left: 12px;
  background:
    linear-gradient(currentColor, currentColor) left 50% / 20px 2px no-repeat,
    linear-gradient(45deg, transparent 48%, currentColor 50%, currentColor 60%, transparent 62%) right 50% / 9px 9px no-repeat;
  vertical-align: 1px;
}

.btn a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.triangle {
  width: clamp(86px, 9vw, 168px);
  aspect-ratio: 1;
  background: linear-gradient(135deg, #c7a78f, #ead8c6);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.88;
}

.triangle.no1 {
  background: linear-gradient(135deg, #bc9175, #ead4bc);
}

.triangle.no2 {
  background: linear-gradient(135deg, #d6aa8e, #9f7a68);
}

.triangle.no3 {
  background: linear-gradient(135deg, #cbb09d, #eee0d2);
}

.fadein,
.fadein2 {
  opacity: 0.01;
  transform: translateY(70px);
  transition: opacity 1s ease, transform 1s ease;
}

.fadein2 {
  transform: translate(80px, -140px);
}

.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/* header */

#header {
  position: relative;
  z-index: 40;
  height: 150px;
  transition: background-color 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}

#header.fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 98px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(18, 43, 65, 0.08);
  backdrop-filter: blur(10px);
}

.logo {
  position: absolute;
  top: 58px;
  left: 2vw;
  transition: top 0.35s ease;
}

#header.fixed .logo,
#header.fixed #gnav {
  top: 28px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 240px;
}

.logo-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 800;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-ja {
  font-size: clamp(1.8rem, 1.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.logo-en {
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

#gnav {
  position: absolute;
  top: 60px;
  right: 3vw;
  z-index: 50;
  transition: top 0.35s ease;
}

#gnav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#gnav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
}

#gnav > ul > li {
  position: relative;
  margin-left: 2vw;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

#gnav > ul > li > a {
  position: relative;
  transition: opacity 0.25s ease;
}

#gnav > ul > li > a:hover {
  opacity: 0.45;
}

.dropdown > ul {
  position: absolute;
  top: 120%;
  left: 50%;
  width: 178px;
  padding: 10px 0 20px;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.dropdown:hover > ul,
.dropdown:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown > ul a {
  display: block;
  padding: 9px 12px;
  color: var(--white);
  font-size: 1.35rem;
  text-align: center;
}

.dropdown > ul a:hover {
  color: var(--mint);
}

.exlink > a {
  position: relative;
  padding-left: 24px;
}

.exlink > a::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
}

.exlink > a::after {
  content: "";
  position: absolute;
  top: 0.26em;
  left: 8px;
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

/* main visual */

#mainVisual {
  position: relative;
  width: 100%;
}

#mainVisual .triangle {
  position: absolute;
  bottom: -10vw;
  left: 5vw;
  z-index: 12;
}

.catch {
  position: absolute;
  bottom: 15vh;
  left: 3vw;
  z-index: 6;
  width: min(900px, 90vw);
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.8rem, 3.2vw, 4.8rem);
  font-weight: 800;
  line-height: 2;
  letter-spacing: 0.28em;
}

.catch span {
  position: relative;
  display: inline-block;
}

.catch span::after {
  content: "";
  position: absolute;
  right: 0.15em;
  bottom: 0.42em;
  left: 0;
  z-index: -1;
  border-bottom: 2px solid var(--ink);
}

.swiperMainv {
  position: relative;
  width: 90vw;
  height: 90vh;
  min-height: 600px;
  margin-left: 9vw;
  overflow: hidden;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.2s ease, transform 4.5s ease;
}

.swiper-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-main {
  background-image: url("./assets/photo-1.jpg");
  background-position: center center;
}

.slide-vision {
  background-image: url("./assets/photo-3.jpg");
}

.slide-facility {
  background-image: url("./assets/photo-5.jpg");
}

.slide-classroom {
  background-image: url("./assets/photo-2.jpg");
}

/* news */

#news {
  position: relative;
  z-index: 8;
  margin-top: -55px;
}

#news .inner {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 220px;
  align-items: center;
  min-height: 220px;
  margin-left: 40vw;
  padding: 25px 36px 25px 50px;
  background: var(--ink);
}

.section-label {
  display: block;
  color: rgba(255, 255, 255, 0.96);
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.35em;
  line-height: 1;
  writing-mode: vertical-rl;
}

.news-list {
  min-width: 0;
  padding-left: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
}

.news-list dl {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  margin: 0 0 18px;
}

.news-list dl:last-child {
  margin-bottom: 0;
}

.news-list dt {
  color: #9fc9c4;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.news-list dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list a:hover {
  opacity: 0.65;
}

#news .btn {
  width: 150px;
  margin: 0 0 0 30px;
}

.btn-white a {
  border-color: var(--white);
  color: var(--white);
}

.btn-white a:hover {
  border-color: var(--mint);
  color: var(--mint);
}

#recBtn {
  position: absolute;
  top: -6.5vw;
  right: 0;
  z-index: 10;
  width: 100%;
}

#recBtn .btnWrap {
  display: flex;
  justify-content: flex-end;
}

.btnCircle {
  position: relative;
  width: clamp(120px, 9vw, 172px);
  height: clamp(120px, 9vw, 172px);
  margin-right: 2vw;
  text-align: center;
}

.btnCircle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 50% 55% / 50% 50% 55% 50%;
  opacity: 0.92;
}

.btnCircle.grad::after {
  background: linear-gradient(120deg, #f7a881, #f8ba7d);
}

.btnCircle.mid::after {
  background: linear-gradient(120deg, #74cea4, #74cead);
}

.btnCircle a {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px 16px 18px;
  border-radius: 50%;
  color: var(--ink);
  font-size: clamp(1.4rem, 1.05vw, 1.9rem);
  font-weight: 800;
  line-height: 1.45;
  transition: opacity 0.25s ease;
}

.btnCircle a::before {
  position: absolute;
  right: 50%;
  bottom: 22%;
  margin: 0;
  color: var(--white);
  transform: translateX(50%);
}

.btnCircle a span {
  display: block;
  font-size: clamp(1.0rem, 0.75vw, 1.35rem);
  font-weight: 500;
}

.btnCircle:hover::after {
  animation: rotateBlob 3s linear infinite;
}

.btnCircle a:hover {
  opacity: 0.68;
}

@keyframes rotateBlob {
  to {
    transform: rotate(360deg);
  }
}

/* vision */

#vision {
  position: relative;
  padding-bottom: 12vw;
}

#vision .triangle.no2 {
  position: absolute;
  top: 39vw;
  right: 5vw;
  z-index: 12;
}

#vision .triangle.no3 {
  display: none;
}

#vision .deco {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 12vw;
  overflow: hidden;
  background: var(--paper);
}

#vision .deco::before,
#vision .deco::after {
  content: "";
  position: absolute;
  bottom: -3vw;
  width: 60vw;
  height: 13vw;
  background: var(--white);
}

#vision .deco::before {
  left: -8vw;
  transform: skewY(7deg);
}

#vision .deco::after {
  right: -8vw;
  transform: skewY(-7deg);
}

#vision .inner {
  display: flex;
  position: relative;
  justify-content: space-between;
  width: 100%;
}

#vision h2 {
  display: flex;
  position: absolute;
  top: 0;
  left: 23vw;
  z-index: 6;
  align-items: flex-start;
}

.en-vertical {
  display: block;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  text-orientation: mixed;
  writing-mode: vertical-rl;
}

.ja-vertical {
  display: block;
  padding-left: 30px;
  font-size: 2rem;
  letter-spacing: 0.2em;
  line-height: 1.4;
  writing-mode: vertical-rl;
}

#vision .photo {
  width: 28%;
  background-repeat: no-repeat;
  background-size: cover;
}

#vision .photo.left {
  position: absolute;
  bottom: -5vw;
  left: 0;
  height: 50vw;
  margin-top: 30vh;
  background-image: url("./assets/photo-4.jpg");
  background-position: 58% center;
}

#vision .photo.right {
  height: 45vw;
  background-image: url("./assets/photo-5.jpg");
  background-position: 44% center;
}

#vision .center {
  width: 32%;
  margin-top: 100px;
  margin-left: 34%;
}

#vision .center h3 {
  font-size: clamp(2.4rem, 2vw, 3.8rem);
  line-height: 2;
  text-align: center;
}

#vision .center p {
  width: 94%;
  margin: 50px auto 0;
  font-size: 1.7rem;
  line-height: 2.05;
  text-align: center;
}

#vision .center h4 {
  margin-top: 50px;
  font-size: 2rem;
  text-align: center;
}

#vision .center h4 + p {
  margin-top: 28px;
}

#vision .btn {
  width: 98%;
  margin: 50px auto;
}

.spPhoto {
  display: none;
}

/* bottom cta */

#bottomBox {
  position: relative;
  z-index: 6;
  padding-top: 3vw;
  background: var(--paper);
}

#bottomBox .inner {
  display: flex;
  background: var(--paper);
}

#bottomBox .inner > div {
  display: flex;
  position: relative;
  align-items: flex-end;
  justify-content: space-between;
  width: 50%;
  min-height: 440px;
}

#bottomBox .txt {
  width: min(290px, 15vw);
  padding-bottom: 2.5vw;
  color: var(--white);
}

#bottomBox h3 {
  font-size: 1.9rem;
}

#bottomBox p {
  margin: 3vw 0 0;
}

#bottomBox .btn {
  width: 100%;
  margin: 2vw 0 0.5vw;
}

#bottomBox .btn a {
  border-color: var(--white);
  color: var(--white);
}

#bottomBox .btn a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.boxRecruit {
  padding: 0 2.5vw 0 8vw;
  background: var(--green);
}

.boxRecruit .photo {
  position: relative;
  z-index: 7;
  width: 22vw;
  height: 480px;
  margin-top: -3vw;
  background: url("./assets/photo-2.jpg") 63% center / cover no-repeat;
}

.boxRecruit .txt {
  padding-left: 2vw;
}

.boxFacilities {
  padding: 0 0 0 2.5vw;
  background: var(--blue);
}

.boxFacilities .photo {
  position: relative;
  z-index: 7;
  width: 30vw;
  height: 440px;
  margin-bottom: -1vw;
  background: url("./assets/photo-3.jpg") center center / cover no-repeat;
}

.txtDeco {
  position: absolute;
  z-index: 9;
  color: rgba(255, 255, 255, 0.92);
  font-family: Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.22em;
  pointer-events: none;
}

.txtDeco.vertical {
  bottom: 36px;
  left: -2vw;
  font-size: clamp(2.2rem, 2.5vw, 4.2rem);
  line-height: 1;
  writing-mode: vertical-rl;
}

.txtDeco.horizontal {
  top: 1vw;
  right: 1vw;
  font-size: clamp(2rem, 2.7vw, 5rem);
  line-height: 1;
}

/* footer */

#footer {
  padding-top: 200px;
  background: var(--paper);
}

#footer .inner {
  display: flex;
  flex-wrap: wrap;
  width: min(1200px, 88vw);
  margin: 0 auto;
}

#footer address {
  width: 30%;
  font-style: normal;
}

#footer address p {
  margin: 0 0 20px;
}

#footer .name {
  font-size: 1.8rem;
  font-weight: 800;
}

#footer .tel {
  font-family: Arial, sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 0.075em;
}

#footer .link {
  display: flex;
  width: 70%;
}

#footer .link ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#footer .link > ul {
  width: 32%;
}

#footer .link li {
  margin-bottom: 5px;
}

#footer .link a:hover {
  opacity: 0.45;
}

#footer .link ul ul {
  margin-top: 5px;
}

#footer .link ul ul a {
  display: block;
  position: relative;
  padding-left: 25px;
}

#footer .link ul ul a::before {
  content: "";
  position: absolute;
  top: 0.88em;
  left: 0;
  width: 15px;
  height: 2px;
  background: var(--line);
}

#footer small {
  display: block;
  width: 100%;
  padding: 40px 0;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.btnPagetop {
  position: fixed;
  right: 2vw;
  bottom: -60px;
  z-index: 100;
  width: 50px;
  height: 50px;
  transition: bottom 0.25s ease, opacity 0.25s ease;
}

.btnPagetop.visible {
  bottom: 2vw;
}

.btnPagetop a {
  display: block;
  position: relative;
  width: 50px;
  height: 50px;
  overflow: hidden;
  background: var(--blue);
  opacity: 0.92;
  text-indent: -999em;
}

.btnPagetop a::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 15px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: rotate(45deg);
}

@media screen and (min-width: 1600px) {
  #vision .photo.left {
    height: 56vw;
  }
}

@media screen and (max-width: 1200px) {
  #gnav > ul > li {
    margin-left: 1.35vw;
    font-size: 1.35rem;
  }

  .logo a {
    min-width: 210px;
  }

  .logo-ja {
    font-size: 1.7rem;
  }

  .news-list dl {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

@media screen and (max-width: 959px) {
  body {
    font-size: 1.5rem;
  }

  .spOnly {
    display: block;
  }

  .btnPagetop {
    display: none;
  }

  #header {
    height: 80px;
  }

  #header.fixed {
    height: 80px;
  }

  .logo {
    top: 19px;
    left: 18px;
  }

  #header.fixed .logo {
    top: 19px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-ja {
    font-size: 1.5rem;
  }

  .logo-en {
    font-size: 0.9rem;
  }

  .btnMenu {
    display: block;
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .btnMenu span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 2px;
    margin-left: -20px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  }

  .btnMenu .first {
    transform: translateY(-15px);
  }

  .btnMenu .third {
    transform: translateY(15px);
  }

  body.open .btnMenu {
    position: fixed;
  }

  body.open .btnMenu span {
    background: var(--white);
  }

  body.open .btnMenu .first {
    opacity: 0;
    transform: translateY(0) scale(0);
  }

  body.open .btnMenu .second {
    transform: rotate(45deg);
  }

  body.open .btnMenu .third {
    transform: translateY(0) rotate(-45deg);
  }

  #gnav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 990;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }

  body.open #gnav {
    opacity: 1;
    visibility: visible;
  }

  #gnav > ul {
    display: block;
    width: 70%;
  }

  #gnav > ul > li {
    margin: 0 0 1.4em;
    color: var(--white);
    font-size: 1.8rem;
    opacity: 0;
    transform: translateX(110px);
    transition: opacity 0.55s ease, transform 0.65s ease;
  }

  body.open #gnav > ul > li {
    opacity: 1;
    transform: translateX(0);
  }

  body.open #gnav > ul > li:nth-child(2) { transition-delay: 0.05s; }
  body.open #gnav > ul > li:nth-child(3) { transition-delay: 0.10s; }
  body.open #gnav > ul > li:nth-child(4) { transition-delay: 0.15s; }
  body.open #gnav > ul > li:nth-child(5) { transition-delay: 0.20s; }
  body.open #gnav > ul > li:nth-child(6) { transition-delay: 0.25s; }
  body.open #gnav > ul > li:nth-child(7) { transition-delay: 0.30s; }

  #gnav a {
    color: var(--white);
  }

  .dropdown > ul {
    position: static;
    width: auto;
    padding: 0;
    margin: 0.8em 0 0 1em;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown > ul a {
    padding: 0.25em 0;
    font-size: 1.4rem;
    text-align: left;
  }

  .exlink > a::before {
    top: 0.45em;
  }

  .exlink > a::after {
    top: 0.18em;
  }

  #mainVisual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: none;
  }

  #mainVisual .triangle.no1 {
    display: none;
  }

  .swiperMainv {
    width: 100%;
    height: 80vh;
    min-height: 520px;
    margin-left: 0;
  }

  .slide-main {
    background-position: 58% center;
  }

  .catch {
    bottom: 100px;
    left: 6vw;
    z-index: 7;
    width: 88vw;
    color: var(--white);
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  }

  .catch span::after {
    display: none;
  }

  #news {
    margin-top: 0;
  }

  #news .inner {
    display: block;
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 24px 18px 28px;
  }

  .section-label {
    margin-bottom: 16px;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    writing-mode: horizontal-tb;
  }

  .news-list {
    padding-left: 0;
    border-left: 0;
  }

  .news-list dl {
    display: block;
    margin-bottom: 20px;
  }

  .news-list dt,
  .news-list dd {
    font-size: 1.4rem;
  }

  #news .btn {
    width: min(420px, 80vw);
    margin: 22px auto 0;
  }

  #recBtn {
    top: -70px;
  }

  .btnCircle {
    width: min(25vw, 130px);
    height: min(25vw, 130px);
  }

  .btnCircle a {
    padding-top: 18px;
    font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  }

  .btnCircle a span {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }

  .btnCircle a::before {
    bottom: 16%;
  }

  #vision {
    margin-top: 17vw;
    padding-bottom: 10vh;
  }

  #vision .triangle.no2 {
    top: 28vh;
    width: 20vw;
  }

  #vision .triangle.no3 {
    display: block;
    position: absolute;
    bottom: 3vw;
    left: 20vw;
    z-index: 12;
    width: 20vw;
  }

  #vision .deco {
    display: none;
  }

  #vision .inner {
    flex-direction: column;
    justify-content: center;
  }

  #vision h2 {
    top: -5vw;
    left: 5vw;
  }

  .en-vertical {
    font-size: 0.95rem;
  }

  .ja-vertical {
    padding-left: 10px;
    font-size: 1.4rem;
  }

  #vision .photo.left {
    display: none;
  }

  #vision .photo.right {
    order: 1;
    width: 100vw;
    height: 34vh;
    background-position: center center;
  }

  #vision .center {
    order: 2;
    width: 100vw;
    margin: 0;
  }

  #vision .center h3 {
    width: 80vw;
    margin: 50px auto 0;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.65;
  }

  #vision .center p {
    width: 72vw;
    margin: 8vw auto 0;
    font-size: 1.5rem;
    line-height: 2;
  }

  .spPhoto {
    display: block;
    width: 100vw;
    height: 32vh;
    margin: 8vw 0;
    background: url("./assets/photo-4.jpg") 58% center / cover no-repeat;
  }

  #vision .btn {
    width: min(480px, 80vw);
    margin-bottom: 8vw;
  }

  #bottomBox .inner {
    flex-direction: column;
  }

  #bottomBox .inner > div {
    width: 100%;
  }

  #bottomBox .txt {
    width: 41vw;
    padding-bottom: 8vw;
  }

  .boxRecruit {
    padding: 0 5vw;
  }

  .boxRecruit .photo {
    width: 44vw;
    height: 400px;
    margin-top: -10vw;
    background-position: center top;
  }

  .boxFacilities {
    padding: 5vw 5vw 0;
  }

  .boxFacilities .photo {
    width: 44vw;
    height: 400px;
    margin-bottom: -5vw;
  }

  .txtDeco.vertical {
    bottom: 20px;
    left: -2vw;
    font-size: 3rem;
  }

  .txtDeco.horizontal {
    top: -1.2vw;
    right: 1vw;
    font-size: 3rem;
  }

  #footer {
    margin-top: 10vw;
    padding-top: 15vw;
  }

  #footer .inner {
    display: block;
    width: 100%;
  }

  #footer address {
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  #footer .link {
    display: block;
    width: 90%;
    margin: 26px auto 0;
  }

  #footer .link > ul:not(:last-child) {
    display: none;
  }

  #footer .link > ul {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #footer .link > ul > li:first-child {
    margin-right: 1.5em;
    padding-right: 1.5em;
    border-right: 1px solid #b9c5cf;
  }
}

@media screen and (max-width: 520px) {
  .logo a {
    min-width: 0;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .logo-ja {
    font-size: 1.25rem;
    letter-spacing: 0.06em;
  }

  .logo-en {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .btnMenu {
    right: 6px;
  }

  .news-list dd {
    white-space: normal;
  }

  .btn a {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 1.35rem;
  }

  .btn a::after {
    width: 18px;
    margin-left: 8px;
  }

  #bottomBox .inner > div {
    min-height: 390px;
  }

  .boxRecruit .photo,
  .boxFacilities .photo {
    height: 330px;
  }

  #bottomBox .txt {
    width: 43vw;
  }

  #bottomBox p {
    font-size: 1.35rem;
  }

  .txtDeco.horizontal {
    font-size: 2.35rem;
  }
}

/* price and access panels */

#pricing,
#access {
  scroll-margin-top: 120px;
}

#bottomBox {
  padding: clamp(70px, 7vw, 120px) 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(156, 118, 95, 0.09), transparent 28%),
    var(--paper);
}

#bottomBox .service-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  width: min(1180px, 90vw);
  margin: 0 auto;
  background: transparent;
}

.detail-card {
  overflow: hidden;
  border: 1px solid rgba(87, 68, 59, 0.18);
  border-radius: 4px;
  background: #fffdf9;
  box-shadow: 0 24px 55px rgba(53, 47, 44, 0.12);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 90px;
  padding: 20px 24px;
  color: #ead5ad;
  background: #201d1b;
}

.panel-heading.light-heading {
  color: #4f443e;
  background: #fffdf9;
  border-bottom: 1px solid #e9dfd5;
}

#bottomBox .panel-heading h3 {
  flex: 0 0 auto;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 2.4vw, 3.7rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
}

#bottomBox .panel-heading h3 span {
  color: var(--accent);
}

.heading-ornament {
  position: relative;
  width: min(72px, 8vw);
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.heading-ornament::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.heading-ornament:first-child::after {
  right: 0;
}

.heading-ornament:last-child::after {
  left: 0;
}

.panel-body {
  padding: clamp(26px, 3.2vw, 48px);
}

.price-group + .price-group {
  margin-top: 30px;
}

#bottomBox .price-group h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px;
  color: #3d3531;
  font-family: Georgia, "Yu Mincho", YuMincho, serif;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
}

#bottomBox .price-group h4::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 8px;
  background: #b9986f;
}

.line-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #b9986f;
  border-radius: 50%;
  color: #9c765f;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-left: 50px;
  color: #332d2a;
  font-family: "Yu Mincho", YuMincho, Georgia, serif;
  line-height: 1.5;
}

.price-row > span {
  max-width: 70%;
}

.price-row small {
  color: #796e67;
  font-family: "Yu Gothic", YuGothic, sans-serif;
  font-size: 1.15rem;
}

.price-row i {
  flex: 1;
  min-width: 20px;
  margin-bottom: 0.45em;
  border-bottom: 1px dotted #b9aea5;
}

.price-row strong {
  flex: 0 0 auto;
  font-size: 1.75rem;
  font-weight: 500;
  white-space: nowrap;
}

#bottomBox .price-note {
  margin: 34px 0 0;
  padding: 12px 16px;
  border: 1px solid #d9c8b7;
  color: #766b64;
  font-size: 1.15rem;
  line-height: 1.7;
  text-align: center;
}

.panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  min-height: 58px;
  margin: 28px auto 0;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  background: #8f7968;
  box-shadow: 0 0 0 1px #8f7968;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.panel-cta:hover {
  background: #332d2a;
  transform: translateY(-2px);
}

.map-schematic {
  position: relative;
  height: 355px;
  overflow: hidden;
  border: 1px solid #e0d9d2;
  background:
    linear-gradient(22deg, transparent 47%, rgba(196, 209, 202, 0.55) 48%, rgba(196, 209, 202, 0.55) 51%, transparent 52%) 0 0 / 180px 130px,
    linear-gradient(90deg, rgba(221, 213, 204, 0.55) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(rgba(221, 213, 204, 0.55) 1px, transparent 1px) 0 0 / 76px 76px,
    #f8f6f2;
}

.rail-line {
  position: absolute;
  top: 39px;
  right: -12px;
  left: -12px;
  height: 12px;
  border-top: 4px solid #6c625b;
  border-bottom: 4px solid #6c625b;
  transform: rotate(-4deg);
}

.rail-line::after {
  content: "";
  position: absolute;
  inset: -4px 0;
  background: repeating-linear-gradient(90deg, transparent 0 22px, #6c625b 22px 28px, transparent 28px 40px);
}

.rail-line span {
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: #6c625b;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.station-label,
.salon-label,
.landmark,
.map-note {
  position: absolute;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(255, 253, 249, 0.92);
  color: #4f443e;
  font-size: 1.2rem;
  font-weight: 700;
}

.station-label {
  top: 63px;
  left: 28px;
  border-left: 5px solid #5d5047;
}

.landmark {
  top: 165px;
  right: 28px;
  color: #50705c;
  background: rgba(220, 234, 217, 0.92);
}

.salon-label {
  right: 36px;
  bottom: 61px;
  color: #fff;
  background: #a74e43;
}

.salon-label small {
  font-weight: 400;
}

.map-note {
  bottom: 18px;
  left: 28px;
  color: #70645d;
  background: transparent;
}

.street {
  position: absolute;
  z-index: 1;
  height: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px #e7dfd7;
}

.street-one {
  top: 125px;
  left: -40px;
  width: 110%;
  transform: rotate(8deg);
}

.street-two {
  top: 222px;
  left: -20px;
  width: 112%;
  transform: rotate(-10deg);
}

.street-three {
  top: 60px;
  left: 43%;
  width: 9px;
  height: 270px;
  transform: rotate(4deg);
}

.route {
  position: absolute;
  z-index: 2;
  height: 0;
  border-top: 5px dotted #b2544b;
  transform-origin: left center;
}

.route-one {
  top: 100px;
  left: 87px;
  width: 145px;
  transform: rotate(37deg);
}

.route-two {
  top: 187px;
  left: 202px;
  width: 130px;
  transform: rotate(22deg);
}

.salon-pin {
  display: grid;
  position: absolute;
  right: 118px;
  bottom: 92px;
  z-index: 4;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  color: #fff;
  background: #b24f44;
  box-shadow: 0 3px 8px rgba(53, 47, 44, 0.2);
  transform: rotate(-45deg);
}

.salon-pin span {
  font-family: Georgia, serif;
  font-weight: 800;
  transform: rotate(45deg);
}

.access-list {
  margin: 30px 0 0;
  border-top: 1px solid #e5ddd5;
}

.access-list > div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #e5ddd5;
}

.access-list dt {
  color: #6d615a;
  font-weight: 700;
}

.access-list dt span {
  margin-right: 9px;
  color: #a88d72;
  font-size: 0.9rem;
}

.access-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.phone-cta {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 1.85rem;
}

.phone-cta span {
  margin-right: 10px;
  font-size: 2.4rem;
}

.map-link {
  display: block;
  width: max-content;
  margin: 18px auto 0;
  border-bottom: 1px solid currentColor;
  color: #74675f;
  font-size: 1.25rem;
}

#footer {
  padding-top: 110px;
}

@media (max-width: 900px) {
  #bottomBox .service-panels {
    grid-template-columns: 1fr;
    width: min(680px, 90vw);
  }

  .detail-card {
    width: 100%;
  }
}

@media (max-width: 560px) {
  #bottomBox {
    padding: 60px 0;
  }

  #bottomBox .service-panels {
    width: 92vw;
  }

  .panel-heading {
    min-height: 76px;
    gap: 10px;
    padding: 16px 12px;
  }

  #bottomBox .panel-heading h3 {
    font-size: 2.35rem;
    letter-spacing: 0.08em;
  }

  .panel-body {
    padding: 24px 18px 30px;
  }

  .price-row {
    padding-left: 0;
  }

  .price-row > span {
    max-width: 62%;
  }

  .price-row strong {
    font-size: 1.55rem;
  }

  .map-schematic {
    height: 290px;
  }

  .route-one {
    left: 60px;
    width: 120px;
  }

  .route-two {
    top: 170px;
    left: 153px;
    width: 105px;
  }

  .salon-pin {
    right: 76px;
    bottom: 75px;
  }

  .salon-label {
    right: 12px;
    bottom: 37px;
  }

  .access-list > div {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
    font-size: 1.3rem;
  }

  #footer {
    padding-top: 70px;
  }
}
