/* --- フォントの指定 ------------------------------ */

/* ヒラギノ角ゴ：W3 を 400 に */
@font-face {
  font-family: "HiraGoFix";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Hiragino Sans W3"), local("Hiragino Kaku Gothic ProN W3");
}

/* ヒラギノ角ゴ：W6 を 700 に */
@font-face {
  font-family: "HiraGoFix";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("Hiragino Sans W6"), local("Hiragino Kaku Gothic ProN W6");
}

/* フォントをカスタムプロパティ（変数）に */
:root {
  --font-base: "HiraGoFix", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo;
  --font-accent: "Hiragino Mincho ProN", "Hiragino Mincho", "Yu Mincho", "Noto Serif JP";
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

/* ブラウザが勝手にフォントを合成して表示しない */
html {
  font-synthesis: none;
}

/* --- 全体にかかる設定 ------------------------------ */
body {
  font-family: var(--font-base), var(--font-emoji), sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

/* 「本文へスキップ」でスクロールしてきた際の上部の余白（固定メニューなどがある場合） */
main {
  scroll-margin-top: 100px;
}

/* 要素の上下に余白を付ける */
p,
hr,
ul,
ol,
dl,
table {
  margin-block-end: 2rem;
}

/* 見出しの上下に余白を付ける */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 2rem;
}

/* リスト項目のインデント */
ul,
ol {
  padding-inline-start: 2rem;
}

/* 定義 */
dt {
  font-weight: 700;
}

dd {
  margin-inline-start: 2rem;
}

/* 表 */

th {
  text-align: left;
  vertical-align: top;
}

th,
td {
  padding: 0 15px 0 0;
}

/* 表示・非表示 */
.disp-pc {
  display: none;
}

/* 強調 */
strong {
  font-weight: 700;
}

a:where(:any-link) {
  text-decoration: none;
  color: #06f;
}

a:where(:hover, :active) {
  color: #96f;
}

:root {
  --main-font-color: #5e1b07;

  --font-title: serif;
  --font-text: "HiraGoFix", sans-serif;
}

/* --- コンテナ --- */
/* sp */
.container {
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  max-width: 1024px;
}

/* --- 見出し --- */
h1 {
  margin: 0;
  font-family: serif;
  font-size: 5.6vw;
  font-style: italic;
  line-height: 1.2;
  text-align: right;
}

h1 small {
  font-size: 0.5em;
}


h2 {
  margin-top: 2rem;
  padding: 5px 10px;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--main-font-color);
}

/* --- メインコンテンツ ------------------------------ */
.hero-img {
  position: relative;
}

h1.visually-hidden {
  position: absolute;
  z-index: -999;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hero-img img {
  display: block;
  width: 100%;
}

.hero-img .tit {
  display: none;
  position: absolute;
  left: 5vw;
  top: 10%;
  width: 60vw;
  filter: drop-shadow(0 0 5px #210000);
}


.hero-img p {
  position: absolute;
  right: 3vw;
  top: 15vw;
  z-index: 2;
  font-family: serif;
  font-size: 1.65vw;
  color: #fff;
}

.greeting {
  margin: 2rem 0 0;
  font-family: var(--font-title);
  font-size: 1.6rem;
  text-align: center;
  color: var(--main-font-color);
}

.greeting::after {
  content: '';
  display: block;
  margin: 1.2rem auto 0;
  width: 250px;
  height: 20px;
  background: url(images/deco-line.svg) no-repeat center;
}

.lead {
  margin: 0 1rem 2rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Menu & Price */

.section--menu-price {
  padding: 2rem 0 2.7rem;
  background-color: #fdf9e5;
}

.section--menu-price h2 {
  margin: 0 0 1.5rem;
}

.section--menu-price .box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.section--menu-price .box>div {
  position: relative;
  flex-basis: 45%;
  overflow: hidden;
  border-radius: 12px;
}

.section--menu-price .box p {
  position: absolute;
  right: 15px;
  bottom: 10px;
  margin: 0;
  font-family: var(--font-title);
  font-size: min(4.3vw, 1.3rem);
  line-height: 1.5;
  text-align: right;
  text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
}

/* おしゃれな個室サロン */

.section--about-salon {
  overflow: hidden;
}

.section--about-salon h2,
.section--access h2 {
  position: relative;
  margin-inline: auto;
  width: fit-content;
}

.section--about-salon h2::before,
.section--about-salon h2::after,
.section--access h2::before,
.section--access h2::after {
  content: '';
  display: block;
  position: absolute;
  left: -150px;
  top: 50%;
  width: 150px;
  height: 20px;
  background: url(images/deco-line-left.svg) no-repeat center;
  transform: translateY(-50%);
}

.section--about-salon h2::after,
.section--access h2::after {
  left: auto;
  right: -145px;
  background-image: url(images/deco-line-right.svg);
}

.section--about-salon .box div:has(>img) {
  float: left;
  margin-left: 15px;
  margin-right: 30px;
  width: min(40%, 280px);
}

.section--about-salon .box p {
  margin: 1rem;
}

.section--about-salon .box .kakomi {
  clear: both;
  margin-bottom: 2rem;
  text-align: center;
  border: 4px solid #b59762;
}

.section--about-salon .box .kakomi span {
  font-family: var(--font-title);
  font-size: 1.3rem;
}

/* こだわり条件 */

.section--kodawari .container {
  padding: 30px 20px;
  background-color: #f3e7db;
  background-image:
    url(images/deco-kado1.svg),
    url(images/deco-kado2.svg),
    url(images/deco-kado3.svg),
    url(images/deco-kado4.svg);
  background-position:
    left 10px top 10px,
    right 10px top 10px,
    left 10px bottom 10px,
    right 10px bottom 10px;
  background-size: 90px;
  background-repeat: no-repeat;
}

.section--kodawari h2 {
  margin: 1rem 0 1.5rem;
}

.section--kodawari ol {
  margin: 0 30px;
  padding: 0;
  list-style: none;
  counter-reset: unset;
}

.section--kodawari li {
  margin-bottom: 20px;
  padding: 0 5px 5px 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  counter-increment: cnt;
}

.section--kodawari li::before {
  content: counter(cnt)'. ';
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--main-font-color);
}

/* Access & Contact */
.section--access {
  overflow: hidden;
}

.section--access .box {
  display: grid;
  gap: 1rem;
}

.section--access .box :is(img, iframe) {
  filter: sepia(0.2) grayscale(0.1);
}

.section--access .box div:has(>img) {
  position: relative;
}

.section--access .box div:has(>img)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(214, 196, 156, 0.4), transparent 20%);
}

.section--access .box div:has(iframe) {
  border: 1px solid #d1c3a9;
}

.address th {
  font-size: 0.85rem;
  color: var(--main-font-color);
}

.address table {
  margin: 1rem auto 0;
  width: fit-content;
}

.address a {
  color: #333;
}

.address a:hover {
  opacity: 0.7;
}

.instagram-btn {
  margin: 3rem 0;
}

.instagram-btn a {
  display: block;
  margin: 0 auto;
  padding: 15px 45px;
  width: fit-content;
  color: #fff;
  background-color: #333;
}

.instagram-btn a::before {
  content: '';
  display: inline-block;
  margin-right: 10px;
  width: 1.2em;
  height: 1.2em;
  background: url(images/Instagram.svg) no-repeat center;
  transform: translateY(3px);
}

.instagram-btn a:hover {
  opacity: 0.7;
}

footer {
  padding: 1rem 0 2rem 0;
  text-align: center;
  color: #fff;
  background-color: #5e1b07;
}

address {
  margin: 1rem;
  text-align: center;
}

address img {
  margin: 0 auto;
  width: 200px;
}
.instagram,
.hotpepper {
  margin: 2rem auto;
  max-width: 400px;
}

:is(.instagram,
.hotpepper):hover {
  opacity: 0.7;
}

.instagram {
  margin-bottom: 3rem;
}

.copyright {
  margin: 0;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* --- メディアクエリ設定用 ------------------------------ */
@media (min-width: 768px) {

  h2 {
    margin-top: 3.5rem;
  }

  /* tb */
  /* 表示・非表示 */
  .disp-sp {
    display: none;
  }

  .disp-pc {
    display: block;
  }

  /* --- メインコンテンツ ------------------------------ */

  .hero-img .tit {
    display: block;
    top: 15%;
    width: 32vw;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.7));
  }

  .greeting {
    margin-top: 3rem;
  }

  .greeting br {
    display: none;
  }

  .lead {
  margin-bottom: 3rem;
}

  /* Menu & Price */

  .section--menu-price .box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .section--menu-price .box p {
    right: 25px;
    bottom: 20px;
  }

  /* おしゃれな個室サロン */

  .section--about-salon .box div:has(>img) {
    float: none;
    margin-top: -2rem;
  }

  .section--about-salon .box {
    display: flex;
    gap: 30px;
    margin-bottom: 2rem;
  }

  .section--about-salon .box .kakomi {
    margin-left: 15px;
    margin-bottom: 0;
  }

  /* こだわり条件 */

  .section--kodawari .container {
    background-position:
      left 20px top 20px,
      right 20px top 20px,
      left 20px bottom 20px,
      right 20px bottom 20px;
  }

  .section--kodawari h2 {
    margin: 1.5rem 0 3rem;
  }

  .section--kodawari ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 35px;
    margin: 2rem 45px 1rem;
  }

  .section--kodawari li {
    position: relative;
    padding: 30px 10px 15px;
    text-align: center;
  }

  .section--kodawari li::before {
    content: counter(cnt);
    position: absolute;
    left: 50%;
    top: -2.2rem;
    font-size: 2.7rem;
    transform: translateX(-50%);
  }

  /* Access & Contact */

  .section--access .box {
    grid-template-columns: 48% auto;
    gap: 1rem;
  }

  .section--access .box img {
    position: relative;
    height: 100%;
    object-fit: cover;
  }

  .section--access .box iframe {
    vertical-align: bottom;
  }

  .address table {
    margin-top: 2rem;
  }

}

/* pc */
@media (min-width: 1025px) {
  .container {}
}

/* pc-l */
@media (min-width: 1440px) {
  .container {}
}
