@charset "UTF-8";
:root {
  --bg-color-white: #FDFDFD;
  --text-color-black: #0B0706;
  --main-color-brown:  #6E4D3E;
  --sub-color-beige: #F0EAE3;
  --font-title: "Zen Maru Gothic", sans-serif;
  --font-english: "Bree Serif", serif;
  --shadow-black: 0 0 10px #02020240;
  --shadow-white: 0 0 10px #FFFFFF40, 0 0 10px #FFFFFF40;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color-white), #FDFDFD;
  color: var(--text-color-black), #0B0706;
  overflow-x: hidden;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 8px;
}

.container {
  width: min( 93.6%, 500px);
  margin-left: auto;
  margin-right: auto;
}

#top:target {
  scroll-margin-top: 72px;
}

/* font */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.3;
}

h2 {
  font-size: clamp(3.2rem, 8.5vw, 3.6rem);
  text-align: center;
  margin-bottom: 56px;
}

h2::after {
  content: '';
  display: block;
  width: 99px;
  height: 24px;
  background-image: url(../images/common/title-deco.svg);
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  margin: 8px auto 0;
}

h3 {
  font-size: clamp(2rem, 5.3vw, 2.4rem);
  margin-bottom: 32px;
}

p + p {
  margin-top: 1em;
}

/* button */
.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background-color: var(--main-color-brown);
  color: var(--bg-color-white);
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1;
  font-size: 2rem;
  width: 298px;
  height: 66px;
  border-radius: 33px;
  padding-left: 36px;
  padding-right: 15.5px;
  outline: 1px dashed var(--bg-color-white);
  outline-offset: -4px;
  margin: 48px auto 0;
  box-shadow: var(--shadow-black);
  transition: all 0.3s;
} 

.btn:hover {
  filter: brightness(125%);
  box-shadow: none;
}

.btn span {
  width: 100%;
  text-align: center;
}

.btn::after {
  content: '';
  display: block;
  width: 10px;
  height: 16px;
  background-image: url(../images/common/arrow-btn.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.btn svg {
  width: 16px;
  height: 10px;
  fill: var(--bg-color-white);
  stroke: transparent;
}

/* ==========
header
========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  filter: drop-shadow(0 0 2px #02020240);

}

.header {
  background-color: var(--main-color-brown);
  color: var(--bg-color-white);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  height: 72px;
}

.logo--header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  height: 56px;
  transition: opacity 0.3s;
}

.logo--header:hover {
  opacity: 0.64;
}

.logo--header img {
  width: auto;
  height: 100%;
  display: block;
}

.logo--header p {
  font-size: 3.2rem;
  line-height: 1;
}

.logo--header p span {
  font-size: 2.4rem;
}

.nav-btn {
  width: 48px;
  height: 48px;
  padding: 6px;
  position: relative;
  cursor: pointer;
}

.nav-btn span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background-color: var(--bg-color-white);
  border-radius: 1px;
  transition: all .5s;
}

.nav-btn span:nth-of-type(1) {
  top: 12px;
}
.nav-btn span:nth-of-type(2) {
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.nav-btn span:nth-of-type(3) {
  bottom: 12px;
}

.open .nav-btn span:nth-of-type(1) {
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}
.open .nav-btn span:nth-of-type(2) {
  opacity: 0;
}
.open .nav-btn span:nth-of-type(3) {
  bottom: 50%;
  -webkit-transform: translate(-50%, 50%) rotate(-45deg);
  transform: translate(-50%, 50%) rotate(-45deg);
}

header nav {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: calc(100dvh - 72px);
  z-index: -1;
  background-color: #fdfdfdf2;
  transform: translateY(-100%);
  transition: transform 0.6s;
}

.open header nav {
  transform: translateY(0);
}

.open body {
  overflow: hidden;
}

header nav ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-color-black);
  width: min( 93.6%, 532px);
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

header nav li {
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px dashed var(--main-color-brown);
}
header nav li a {
  font-size: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0.5em ;
}

header nav li a::after {
  content: '';
  display: block;
  width: 10px;
  height: 16px;
  background-image: url(../images/common/arrow-nav.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

header > span {
  display: block;
  width: 100%;
  height: 10px;
  background-image: url(../images/common/wavy.png);
  background-position: top center;
  background-size: auto 100%;
  background-repeat: repeat-x;
}

/* ==========
main / sub-page-visual
========== */
main {
  margin-top: 72px;
}

.sub-page-visual {
  height: 160px;
  display: grid;
  place-items: center;
  background-image: url(../images/commitment/page-visual-comittment.jpg);
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
}


.sub-page-visual h1 {
  font-size: clamp(3.8rem, 3.45rem + 1.5vw, 4.8rem);
  text-align: center;
  text-shadow: var(--shadow-white), var(--shadow-white);
}

/* ====================
intro
==================== */
.intro__txt {
    text-align: center;
    line-height: 2;
}


@media (min-width: 769px) {
  .sub-page-visual {
    height: 280px;
  }
}

/* ==========
banner
========== */
.banner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.container--banner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.banner li {
  flex: 1;
  filter: drop-shadow(0 0 8px #02020240);
  transition: all 0.3s;
}

.banner li:hover {
  opacity: 0.8;
  filter: none;
  box-shadow: none;
}

.banner li a{
  display: grid;
}

.banner li img {
  grid-area: 1 / 1;
}

.banner li p {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--bg-color-white);
  font-family: var(--font-title);
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.banner li span {
  font-family: var(--font-english);
  font-size: 2rem;
  font-weight: 400;
}

/* ==========
info-contact 
========== */
.container--info-contact {
  display: grid;
  place-items: center;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}

.info-contact .info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: var(--sub-color-beige);
  color: var(--text-color-black);
  padding: 40px 4.6%;
  border-radius: 24px;
}

.info img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.info__txt h2 {
  margin-bottom: 32px;
}

.info__txt h2::after {
  display: none;
}

.info__txt table {
  width: 100%;
}

.info__txt th, .info__txt td {
  padding: 0.5em 0;
}

.info__txt tr:first-of-type th, .info__txt tr:first-of-type td {
  padding-top: 0;
}

.info__txt th {
  margin-right: 16px;
}

.info__txt a.btn {
  margin-top: 24px;
}

/* ==========
info-contact / info
========== */
.info-contact {
  background-color: var(--main-color-brown);
  color: var(--bg-color-white);
  position: relative;
  margin-top: 10px;
}

.info-contact::before {
  content: '';
  display: block;
  width: 100%;
  height: 10px;
  background-image: url(../images/common/wavy.png);
  background-size: auto 100%;
  background-position: top center;
  background-repeat: repeat-x;
  position: absolute;
  left: 0;
  right: 0;
}

.info-contact::before {
  transform: rotate(180deg);
  top: -10px;
}

.info__txt tr, .store tr {
  border-bottom: 1px dashed var(--main-color-brown);
}

.info__txt th, .store th {
  text-align: start;
  font-weight: inherit;
  min-width: 5.5em;
}

.info__txt th, .store th {
  padding-left: 0.5em;
}
.info__txt td, .store td {
  padding-right: 0.5em;
}


.info__txt p, .store p {
  margin-top: 8px;
  font-size: 1.2rem;
}

/* ==========
footer
========== */
footer {
  background-color: var(--main-color-brown);
  color: var(--bg-color-white);
}

.container--footer {
  display: grid;
  place-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 16px;
}

footer ul {
  width: 92%;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  justify-items: start;
  gap: 0.5em 40px;
  text-align: center;
  font-family: var(--font-title);
  line-height: 1.5;
}

footer li a {
  display: block;
  padding: 0.5em;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

footer li a:hover {
border-bottom: 1px solid var(--bg-color-white);
}

small {
  font-family: var(--font-title);
  font-size: 1.3rem;
}

/* ==========
page-top
========== */
.page-top img {
  display: inline-grid;
  align-items: start;
  justify-content: center;
  width: 64px;
  line-height: 1.2;
  filter: drop-shadow(0 0 2px #FFFFFF);
  position: fixed;
  bottom: 8px;
  right: 8px;
  z-index: 90;
}

.page-top img:hover {
  animation: shake 0.5s ease-in-out 1;
}

@keyframes shake {

  0%, 100% {
    transform: rotate(0deg);
  }
  
  33% {
    transform: rotate(6deg);
  }

  67% {
    transform: rotate(-6deg);
  }
}




/* ====================
PC
==================== */
@media (min-width: 769px) {
  
  /* ==========
  common PC
  ========== */
  .container {
    width: min(90.4%, 1120px);
  }

  .spBr {
    display: none;
  }

  .pcBr {
    margin-top: 0;
  }

  /* ==========
  header
  ========== */
  header > span {
    height: 20px;
  }

  /* ==========
  banner
  ========== */
  .container--banner {
    flex-direction: row;
    gap: 56px;
  }

  /* ==========
  info-contact pc
  ========== */
  .info-contact .info {
    flex-direction: row;
    justify-content: space-between;
    gap: 56px;
    padding: 56px min(5.6%, 80px);
    border-radius: 24px;
  }

  .info figure {
    flex: 1 1 56.7%;
  }

  .info img {
    height: 100%;
    object-fit: cover;
  }

  .info__txt {
    flex: 0 0 37.5%;
    min-width: 296px;
  }

  .info__txt h2 {
    text-align: start;
  }

  .info__txt .btn {
    width: 274px;
  }

  /* ==========
  info-contact / info
  ========== */
  .info-contact::before {
    height: 20px;
  }

  .info-contact::before {
    top: -20px;
  }

  .info-contact {
    margin-top: 20px;
  }

  .info__txt td, .store td {
    min-width: 13.5em;
  }

  /* ==========
  footer pc
  ========== */
  footer ul {
    width: 100%;
    grid-template-rows: auto;
    grid-template-columns: repeat(6, auto);
    gap: 0.5em 38px;
  }

  footer li a {
    display: inline-block;
    padding: 0.2em;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
  }

  footer li a:hover {
  border-bottom: 1px solid var(--bg-color-white);
  }
}

/* ====================
tablet
==================== */
@media (min-width: 928px) {
  /* ==========
  header
  ========== */
  .nav-btn {
    display: none;
  }
  
  header nav {
    position: static;
    background-color: transparent;
    height: 100%;
    transform: translateY(0);
    z-index: 1;
  }

  header nav ul {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2em;
    color: var(--bg-color-white);
    width: auto;
  }

  header nav li {
    width: auto;
    border-bottom: none;
  }

  header nav li:first-of-type {
    display: none;
  }

  header nav li a {
    font-size: clamp(1.6rem, 1.7vw, 2rem);
    justify-content: space-between;
    align-items: center;
    padding: 0.2em;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
  }
  
  header nav li a:hover {
  border-bottom: 1px solid var(--bg-color-white);
  }

  header nav li a::after {
    display: none;
  }
}
