@charset "utf-8";

:root {
  --color-main: #42210B;
  --color-light_brown: #7F5102;
  --color-beige: #FAF5E9;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --font-cormorant: "Cormorant Garamond", serif;
  --font-lora: "Lora", serif;
}

* {
  box-sizing: border-box;
  font-feature-settings: "palt";
  line-height: 1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: min(8rem, 80px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-size: calc(100vw / 114);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html::-webkit-scrollbar {
}

body, h1, h2, h3, h4, h5, h6, h7, p {
  margin: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-main);
  letter-spacing: .1em;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.active {
  height: 100%;
  overflow: hidden;
}

p {
  text-align: justify;
}

img {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  vertical-align: bottom;
}

ul, ol, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  transition: opacity .8s;
  color: inherit;
}

@media (hover: hover) {
  a:hover {
    opacity: 0.6;
  }
}

a[href^="#!"] {
  pointer-events: none;
}

span {
  display: inline-block;
}

dl, dt, dd {
  all: unset;
  display: block;
}

button {
  all: unset;
  display: block;
}

table {
  border-collapse: collapse;
}

.sp_obj {
  display: none !important;
}

@media (max-width: 799px) {

  html {
    scroll-padding-top: 5.288rem;
    font-size: calc(100vw / 39);
  }

  .sp_obj {
    display: block !important;
  }
  
  .pc_obj {
    display: none !important;
  }
}

/* ----- common ----- */

.bg {
}

.no_mt {
  margin-top: 0 !important;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: min(10rem, 100px) 20px;
}

h2.common_h2 {
  font-size: min(4.0rem, 40px);
  font-weight: 400;
  text-align: center;
  font-family: var(--font-serif);
}

h2.common_h2.white {
  color: #fff;
}

h2.common_h2 span.sub_ttl {
  width: fit-content;
  margin: 0 auto min(1.5rem, 15px);
  font-size: min(2rem, 20px);
  font-weight: 400;
  font-family: var(--font-serif);
  color: #AA8D4D;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(0.5rem, 5px);
}

h2.common_h2.white span.sub_ttl {
  color: #fff;
}

h2.common_h2 span.sub_ttl:before, 
h2.common_h2 span.sub_ttl:after {
  content: "";
  width: min(2.5rem, 25px);
  height: min(0.05rem, 0.5px);
  background-color: #AA8D4D;
}

h2.common_h2.white div.sub_ttl:before, 
h2.common_h2.white div.sub_ttl:after {
  background-color: #fff;
}

a.common_btn {
  margin: min(6rem, 60px) auto 0;
  width: min(24rem, 240px);
  height: min(6rem, 60px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: min(1.6rem, 16px);
  font-weight: 400;
  font-family: var(--font-serif);
  background-color: var(--color-main);
  color: #fff;
  position: relative;
}

a.common_btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: min(23rem, 230px);
  height: min(5rem, 50px);
  border: min(0.1rem, 1px) solid #fff;
  pointer-events: none;
}

a.common_btn::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url(../img/_top/shape_tri_white.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: min(1.5rem, 15px);
  height: min(1.5rem, 15px);
  right: 0;
  bottom: 0;
  transform: translate(max(-1rem, -10px), max(-1rem, -10px));
}

a.common_btn.white {
  background-color: #fff;
  color: var(--color-main);
}

a.common_btn.white::before {
  border: min(0.1rem, 1px) solid var(--color-main);
}

a.common_btn.white::after {
  background-image: url(../img/_top/shape_tri_brown.png);
}

@media (max-width: 799px) {
  .container {
    padding: 5rem 2rem;
  }

  h2.common_h2 {
    font-size: 2.8rem;
    line-height: 1.4;
  }
  
  h2.common_h2 span.sub_ttl {
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    gap: .5rem;
  }
  
  h2.common_h2 span.sub_ttl:before, 
  h2.common_h2 span.sub_ttl:after {
    width: 2rem;
    height: .05rem;
  }

  a.common_btn {
    margin: 3rem auto 0;
    width: 21rem;
    height: 5.5rem;
    font-size: 1.4rem;
  }
  
  a.common_btn::before {
    width: 20rem;
    height: 4.5rem;
    border: .1rem solid #fff;
  }
  
  a.common_btn::after {
    width: 1rem;
    height: 1rem;
    transform: translate(-1rem, -1rem);
  }
}

/* ----- header ----- */

header {
  position: fixed;
  width: 100%;
  background-color: #fff;
  top: 0;
  left: 0;
  z-index: 99;
}

header div.container {
  max-width: 100%;
  padding: 0 0 0 min(2rem, 20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1, 
header h1 a {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: min(0.5rem, 5px);
}

header h1 span.sub_ttl {
  font-size: min(.9rem, 9px);
  color: #9B9280;
  letter-spacing: .04em;
}

header h1 span.main_ttl {
  width: min(20rem, 200px);
}

header ul.grand_nav_list {
  display: flex;
  align-items: center;
  gap: 0;
}

header ul.grand_nav_list li.grand_nav_item a {
  display: block;
  width: min(24rem, 240px);
}

@media (max-width: 799px) {
  header div.container {
    padding: 0 0 0 .1rem;
    gap: 0;
  }
  
  header h1, 
  header h1 a {
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  header h1 span.sub_ttl {
    font-size: 0.6rem;
    line-height: 1.2;
  }
  
  header h1 span.main_ttl {
    width: 12.5rem;
  }

  header ul.grand_nav_list li.grand_nav_item a {
    width: 8rem;
  }

  header ul.grand_nav_list li.grand_nav_item:nth-of-type(2) a {
    width: 9rem;
  }
  
  #open {
    width: 4.5rem;
  }
}

/* ----- overlay ----- */

div.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 60, 60, 0.3);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all .8s;
}

div.overlay.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

div.overlay div.overlay_container {
  width: min(50rem, 500px);
  height: 100vh;
  margin-left: auto;
  background-color: #fff;
  padding: min(15rem, 150px) min(6rem, 60px) 0;
  position: relative;
  transform: translateX(50%);
  transition: all .8s;
}

div.overlay.active div.overlay_container {
  transform: none;
}

#close {
  position: absolute;
  width: min(9rem, 90px);
  top: 0;
  right: 0;
  cursor: pointer;
}

div.overlay ul.overlay_list {
  display: flex;
  flex-direction: column;
  gap: min(3.2rem, 32px);
}

div.overlay ul.overlay_list li.overlay_item a {
  display: block;
  font-size: min(1.6rem, 16px);
  font-weight: 700;
}

@media (max-width: 799px) {
  div.overlay div.overlay_container {
    width: 30rem;
    padding: 9.5rem 0 0 4rem;
    background-color: #ece3d8;
  }
  
  div.overlay.active div.overlay_container {
    transform: none;
  }
  
  #close {
    width: 4.5rem;
  }
  
  div.overlay ul.overlay_list {
    gap: 2.4rem;
  }
  
  div.overlay ul.overlay_list li.overlay_item a {
    font-size: 1.4rem;
  }
}

/* ----- main ----- */

main {
  overflow: hidden;
  padding-top: min(8rem, 80px);
}

@media (max-width: 799px) {
  main {
    padding-top: 5.288rem;
  }
}

/* ----- global_nav ----- */

section.global_nav {
  background-color: var(--color-beige);
}

section.global_nav div.container {
  padding: 0 20px;
}

section.global_nav ul.global_nav_list {
  margin: 0 auto;
  width: fit-content;
  height: min(5rem, 50px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

section.global_nav ul.global_nav_list li.global_nav_item a {
  display: block;
  font-size: min(1.6rem, 16px);
  font-weight: 500;
  padding: 0 min(4rem, 40px);
  position: relative;
  font-family: var(--font-serif);
}

section.global_nav ul.global_nav_list li.global_nav_item:not(:last-of-type) a::after {
  content: "";
  display: block;
  position: absolute;
  width: min(.1rem, 1px);
  height: min(2.5rem, 25px);
  background-color: var(--color-main);
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
}

