@charset "utf-8";

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

:root {
  --main: #bda9ac;
  --base: #c6c1b9;
  --sub:  #b19552;
  --text: #4f4a45;
  --white: #ffffff;
}

ul, ol {
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

/* 基本 */
body {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-style: normal;
  color: var(--text);
}

h1, h2 {
  letter-spacing: 0.08em;
  text-align: center;
}

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

a:hover {
  opacity: 0.6;
}

main {
  padding-top: 64px; /* ヘッダー分 */
}


/* 横幅と左右の余白*/
.w-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* ふわっと出る前の状態 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示された後 */
.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}


/* ヘッダー */
header {
  height: 64px;
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  color: var(--text);
  display: flex;
  justify-content: center;
  box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.header-container,
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  width: auto;
  height: 100%;
}

/*----------------- ナビゲーションボタン -----------------*/
.nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 32px;
  font-size: 20px;
}

/*----------------- メインビジュアル -----------------*/
.main-visual {
  height: calc(100dvh - 64px);
  display: flex;
  position: relative;
  background-image: url(../img/salon.jpg);
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--sub);
    padding-bottom: 80px;
}

.main-visual h1 {
  text-align: right;
}

.main-visual-text {
  text-align: right;
  margin-top: 0px;
  position: absolute;
  right: 1;
  bottom: 30px;
}

.main-visual p{
  font-size: 19px;
}

.main-visual h1 {
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
  font-weight: 700;
  font-size: 100px;
  line-height: 1;
}

section {
  padding: 60px 0;
}

/*----------------- 予約ボタン -----------------*/

#buttun {
  padding-top: 0;
}

.btn,
a.btn,
.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: var(--text);
}

.buttun {
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

a.btn-border {
  border-radius: 0;
}

a.btn-border:before,
a.btn-border:after {
  position: absolute;

  width: 100%;
  height: 2px;

  content: '';
  transition: all .3s;

  background: var(--text);
}

a.btn-border:before {
  top: 0;
  left: 0;
}

a.btn-border:after {
  right: 0;
  bottom: 0;
}

a.btn-border:hover:before,
a.btn-border:hover:after {
  width: 0;
}

/*----------------- コンセプト -----------------*/
#concept {
  text-align: center;
}
.concept {
  line-height: 2;
}

/*----------------- ギャラリー -----------------*/
.wrapper {
  max-width: 38rem;
  margin: auto;
  padding: 0 1rem;
}

.gallery {
  display: flex;
  gap: 20px;
  align-items: center;
}

.gallery-image {
  width: min(100%, 36rem);
  margin: auto;
  position: relative;
}

.gallery-image::after {
  display: block;
  content: '';
  width: calc(100% - 2rem);
  height: calc(100% - 2.5rem);
  z-index: 3;
  border: 3px solid var(--white);
  top: 1rem;
  left: 1rem;
  position: absolute;
}

.gallery-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.gallery-thumbnails {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 1rem 0;
}

.gallery-thumbnails img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
}

/*----------------- 金額 -----------------*/

.price h2 {
  margin-bottom: 30px;
}

.price-list li {
  text-align: center;
  display: grid;
  grid-template-columns:repeat(3 ,1fr);
  padding: 20px 0px;
  margin: 0 20px;
  border-bottom: 1px solid #e5e5e5;

}

.price-list .price {
  font-weight: 600;
}

.price p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin: 0 20px;
  text-align: right;
}

/*----------------- スタッフ -----------------*/

#staff h2 {
  margin-bottom: 30px;
}

.staff ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  text-align: center;
}

staff li p:first-of-type {
  font-weight: 600;
  margin-bottom: 8px;
}

/*----------------- アクセス -----------------*/

.access-container {
  display: flex;
  gap: 36px;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

#access h2 {
  padding-bottom: 30px;
}

iframe {
  width: 50%;
  height: 300px;
}

.access-container table {
  border-collapse: collapse;
}

.access-container tr {
  border-bottom: 1px solid var(--text);
}

.access-container tr:last-child {
  border: none;
}

.access-container th {
  padding: 1em;
}

.access-container td {
  padding: 1em;
  border-left: 1px solid var(--text);
}

/*----------------- リクルート -----------------*/

#recruit h2 {
  padding-bottom: 30px;
}

.recruit-container {
  text-align: center;
  padding-bottom: 30px;
}

.recruit-container p {
  padding-bottom: 30px;
}

/*----------------- フッター -----------------*/
footer {
  height: 64px;
  background-color: var(--white);
  vertical-align: bottom;
  color: var(--text);
  display: flex;
  justify-content: center;
}


/*----------------------------------------------------------*/
@media(min-width800px){
/* メインビジュアル */

.main-visual-text {
  text-align: right;
  margin-top: 0px;
  font-size: 20px;
}

.main-visual h1 {
  font-weight: 700;
  font-size: 40px;
}

  /* GALLARY */
  .gallery {
    flex-direction: row;
  }

  .gallery-image {
    width: 50vw;
    margin: 0;
  }

  .gallery-image img {
    height: 100dvh;
  }

  .gallery-content {
    width: 30vw;
  }

  .gallery-thumbnails {
    gap: 2vw;
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-thumbnails img:hover {
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.4);
    transition: 0.4s;
  }

  /* staff */
  .staff ul {
    grid-template-columns: 1fr;
  }
}
