.noto-serif-jp {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.kaisei-decol-regular {
  font-family: "Kaisei Decol", serif;
  font-weight: 400;
  font-style: normal;
}
.shippori-mincho-b1-regular {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;
}

/* reset */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  line-height: 1;
  border: 0;
  box-sizing: border-box;
  font-style: normal;
}
html {
  font-size: 10px;
  line-height: 1;
  scroll-padding-top: 120px;
  overflow-y: scroll;
  height: -webkit-fill-available;
  scroll-behavior: smooth;
}
body {
  background: #a72125;
  font-family: "Noto Serif JP", "游明朝", "ヒラギノ明朝", "Noto Serif JP", "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
  font-size: 18px;
  color: #603813;
  line-height: 2;
  overflow: hidden;
  position: relative;
  counter-reset: number 0;
  word-break: auto-phrase;
  background-size: 100%;
}

/* デバイス別フォントサイズ調整 */
@media screen and (max-width: 821px) {
  html {
    scroll-padding-top: 140px;
  }
  body {
    font-size: calc(100vw / 54);
  }
}
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 10vw;
  }
  body {
    font-size: calc(100vw / 40);
  }
}
@media screen and (max-width: 430px) {
  html {
    scroll-padding-top: 18vw;
  }
  body {
    font-size: calc(100vw / 26);
  }
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: 500;
}
div,
dd,
dt,
ul,
li,
section {
  line-height: 1;
}
ul,
ol {
  list-style: none;
  line-height: 2;
}
a,
dt {
  display: block;
}
a {
  color: #603813;
  text-decoration: none;
}
a:active,
a:invalid,
a:hover {
  color: #603813;
  text-decoration: none;
}
img {
  width: 100%;
}
small {
  font-size: 75%;
}

/* ====== 共通css ====== */
.txt-c {
  text-align: center;
}
.txt-l {
  text-align: left;
}
.txt-r {
  text-align: right;
}

.br_sp,
.br_tab {
  display: none;
}
.br_pc {
  display: inline;
}
.sp_block {
  display: none;
}
@media screen and (max-width: 1081px) {
  .br_tab {
    display: inline;
  }
}
@media screen and (max-width: 768px) {
  .br_tab,
  .br_pc {
    display: none;
  }
  .br_sp {
    display: inline;
  }
  .sp_block {
    display: block;
  }
}

.cotns_box {
  width: 96%;
  max-width: 1280px;
  margin: 30px auto;
}
@media screen and (max-width: 768px) {
  .cotns_box {
    /* width: 100%; */
    margin: 4vh auto 6vh;
  }
}

.content_wrap {
  scroll-padding-top: 120px;
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  background: #fffbee;
  margin: 20px auto;
  position: relative;
  overflow-y: scroll;
  border-radius: 20px;
  z-index: 0;
}
.content_wrap::-webkit-scrollbar {
  display: none;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1368px) {
  .content_wrap {
    height: calc((var(--vh) * 100) - 40px);
  }
}
@media screen and (max-width: 821px) {
  .content_wrap {
    scroll-padding-top: 140px;
  }
}
@media screen and (max-width: 768px) {
  .content_wrap {
    scroll-padding-top: 10vw;
    width: calc(100vw - 30px);
    height: calc((var(--vh) * 100) - 30px);
  }
}
@media screen and (max-width: 430px) {
  .content_wrap {
    scroll-padding-top: 18vw;
  }
}

/* ====== header ====== */
header {
  padding: 10px 0 5px;
  width: 100%;
  height: auto;
  background: #ffffff;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  border-bottom: 4px solid #a72125;
  box-shadow: 1px 0 6px #66666666;
  overflow: hidden;
}
header .main_menu {
  width: 96%;
  height: auto;
  margin: 0 auto;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  align-content: space-between;
  justify-content: center;
  gap: 50px;
}
header h1 {
  max-width: 120px;
  text-align: center;
  margin: 0 auto;
}

/* header menu */
#menu_sp {
  display: none;
}
header#menu_pc .main_menu ul {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 30px;
}
header#menu_pc .main_menu li {
  padding-bottom: 6px;
  font-size: 18px;
  line-height: 1;
  position: relative;
  padding-left: 24px;
}
header#menu_pc .main_menu li a {
  padding: 0 5px 5px;
  background-position: center center;
  transition: all 0.3s ease 0s;
}
header#menu_pc .main_menu li::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: #a72125;
  transition: all 0.3s ease 0s;
}
header#menu_pc .main_menu li:hover::after {
  font-size: 20px;
  line-height: 1;
  width: 100%;
  transition: all 0.3s ease 0s;
}
#company .main_menu ul li:nth-of-type(2):after,
#about .main_menu ul li:nth-of-type(3):after,
#product .main_menu ul li:nth-of-type(4):after,
#store .main_menu ul li:nth-of-type(5):after,
#contact .main_menu ul li:nth-of-type(6):after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #a72125;
  transition: all 0.3s ease 0s;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  header {
    height: auto;
  }
  header#menu_pc .main_menu ul {
    gap: 1vw;
  }
  header#menu_pc .main_menu li a {
    font-size: 80%;
  }
}

/* hamburger menu */
nav.main_menu_sp {
  display: block;
  position: fixed;
  top: 0;
  right: -240px;
  bottom: 0;
  width: 240px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all 0.5s;
  z-index: 3;
  opacity: 0;
}
.open nav.main_menu_sp {
  right: 0;
  opacity: 1;
  transition: all 0.5s;
}
nav.main_menu_sp .inner {
  padding: 25px;
}
nav.main_menu_sp .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main_menu_sp .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #603813;
}
nav.main_menu_sp .inner ul li:last-child {
  border: 0;
}
nav.main_menu_sp .inner ul li a {
  display: block;
  color: #603813;
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav.main_menu_sp .inner ul li a:hover {
  background: #e4e4e4;
}
nav.main_menu_sp .inner ul li.main_menu_sp_sns a {
  width: 80px;
}
.toggle_btn {
  display: block;
  position: absolute;
  top: 18%;
  right: 3%;
  width: 30px;
  height: 30px;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 3;
}
.open .toggle_btn {
  right: 250px;
}
.toggle_btn span {
  display: block;
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: #603813;
  border-radius: 4px;
  transition: all 0.5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #ffffff;
}
.open .toggle_btn {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
.open .toggle_btn span:nth-child(1),
.open .toggle_btn span:nth-child(3) {
  width: 16px;
}
.open .toggle_btn span:nth-child(1) {
  top: 5px;
  -webkit-transform: translate(-1px, 4px) rotate(-45deg);
  transform: translate(-1px, 4px) rotate(-45deg);
}
.open .toggle_btn span:nth-child(2) {
  display: none;
}
.open .toggle_btn span:nth-child(3) {
  bottom: 4px;
  -webkit-transform: translate(-1px, -4px) rotate(45deg);
  transform: translate(-1px, -4px) rotate(45deg);
}
#mask {
  display: none;
  transition: all 0.5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
  z-index: 2;
  cursor: pointer;
}

/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  header .main_menu {
    width: 96%;
    display: block;
  }
  header h1 {
    font-size: calc(100vw / 24);
    width: 26%;
  }
  #navArea h1 {
    width: 50%;
  }
  #menu_pc {
    display: none;
  }
  #menu_sp {
    display: block;
    padding-left: 10px;
  }
}
@media screen and (max-width: 391px) {
  header h1 {
    font-size: calc(100vw / 20);
  }
  #menu_sp {
    display: block;
    padding-left: 10px;
  }
}

/* footer */
footer {
  padding: 0 0 80px;
  width: 100%;
  background: url(../images/common/footer_gb.png) no-repeat bottom 20% center;
  background-size: cover;
}
footer h1 {
  width: 20%;
  margin: auto;
}

footer .footer_menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 95%;
  max-width: 1560px;
  margin: 0 auto;
  padding-bottom: 30px;
}
footer .footer_menu .footer_adrs {
  width: 60%;
  margin-right: 10px;
}
footer .footer_menu .footer_adrs .main_btn {
  margin: 0 auto 30px;
  text-shadow: none;
}
footer .footer_menu .footer_adrs address ul {
  width: fit-content;
  margin: 15px auto 0;
  font-size: 18px;
  text-align: center;
}
footer .footer_menu .footer_adrs address ul li {
  width: fit-content;
  margin: 0 auto 10px;
}
footer .footer_sitemap ul {
  width: fit-content;
  margin: 20px auto;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
footer .footer_sitemap ul li {
  /* font-size: 18px; */
  position: relative;
  padding-left: 26px;
}
footer .footer_sitemap ul li a {
  display: block;
  transition: all 0.5s;
}
footer .footer_sitemap ul li a:hover {
  color: #a72125;
  transition: all 0.5s;
}
.copyright {
  padding: 5px 0;
  text-align: center;
  font-size: 16px;
}
@media screen and (max-width: 1081px) {
  footer .footer_menu .footer_adrs {
    width: 59%;
  }
  footer .footer_sitemap ul {
    padding: 15px 10px;
    gap: 20px;
  }
}
@media screen and (max-width: 768px) {
  footer {
    padding: 0 0 14vw;
    background: url(../images/common/footer_gb_sp.png) no-repeat bottom center;
    background-size: 105%;
  }
  footer h1 {
    width: 36%;
    margin: auto;
  }

  footer .footer_contact .footer_btn a {
    min-height: 50px;
  }
  footer .footer_contact .footer_btn a span {
    width: 25px;
  }
  footer .footer_contact .footer_btn a span::after {
    width: 10px;
  }
  footer .footer_menu {
    display: block;
    padding-bottom: 1vw;
  }
  footer .footer_menu .footer_adrs {
    width: 100%;
  }
  footer .footer_menu .footer_adrs address ul {
    width: 100%;
    font-size: calc(100vw / 28);
  }
  footer .footer_sitemap ul {
    width: 90%;
    width: fit-content;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    gap: 6vw 0;
    margin: 4vw auto 8vw 5vw;
  }
  footer .footer_sitemap ul li {
    width: calc(50% - 2vw);
  }
  footer .footer_sitemap .footer_icon {
    font-size: calc(100vw / 26);
    padding-left: 4vw;
  }
  footer .footer_sitemap .footer_icon::before {
    content: " ";
    width: 4vw;
    height: 4vw;
    top: calc(50% - 2vw);
    left: -2%;
  }
  .copyright {
    font-size: calc(100vw / 32);
  }
}
.tel {
  display: flex;
}

/* 見出し */
.cntns_hl1 {
  width: fit-content;
  margin: 0 auto;
  padding: 5px 20px;
  margin-bottom: 60px;
  background: #fffbee;
  font-family: "Kaisei Decol", serif;
  font-weight: bold;
  text-align: center;
  font-size: 1.8em;
  position: relative;
  border-left: 3px solid #a72125;
  border-right: 3px solid #a72125;
}
.cntns_hl1.is-animated::after {
  width: 100%;
}
.cntns_hl1::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% - 25vw);
  z-index: -1;
  width: 50vw;
  height: 3px;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  background: #a72125;
  transition: all 0.5s;
}
.cntns_hl1.is-active::before {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  .cntns_hl1 {
    padding: 1vw 3vw;
    margin-bottom: 5vw;
    font-size: calc(100vw / 34);
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .cntns_hl1 {
    padding: 2vw 3vw;
    margin-bottom: 6vw;
    font-size: calc(100vw / 18);
  }
  .cntns_hl1::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% - 35vw);
    z-index: -1;
    width: 70vw;
  }
}

.cntns_hl2 {
  width: 100%;
  margin: 20px 0 10px;
  padding: 6px 10px 10px 10px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  position: relative;
}
.cntns_hl2::before {
  content: "";
  display: block;
  margin: auto;
  height: 6px;
  width: 0;
  background: #cc5f63;
  position: absolute;
  bottom: -6px;
  left: 0;
}
.cntns_hl2::after {
  content: "";
  display: block;
  margin: auto;
  height: 6px;
  width: 0;
  background: #a72125;
  position: absolute;
  bottom: -6px;
  left: 0;
}
.cntns_hl2.is-active::before {
  width: 100%;
  transition: all 1.5s ease 0s;
}
.cntns_hl2.is-active::after {
  width: 100px;
  transition: all 0.5s ease 0s;
}

/*中の要素*/
.whitemarker .cntns_hl2_items {
  opacity: 0;
}
.whitemarker.is-active .cntns_hl2_items {
  animation-name: cntnshl2items;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
}

@keyframes cntnshl2items {
  0%,
  50% {
    opacity: 0;
  }
  50.001%,
  100% {
    opacity: 1;
  }
}

/* 背景からにゅっと出てくるやつ */
.whitemarker {
  position: relative;
}
.whitemarker.is-active::before {
  animation-name: whitemarker;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fffbee;
  z-index: 5;
}

@keyframes whitemarker {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/* 動くマーカー */
.marker {
  position: relative;
  font-weight: bold;
  display: inline;
  background: linear-gradient(transparent 50%, #ffdd2966 50%) no-repeat;
  background-size: 0 1.4em;
  transition: background-size 1s ease-out;
  padding-bottom: 0.1em;
  line-height: 1.4;
}
.marker.is-active {
  background-size: 100% 1.4em;
  transition: background-size 1s ease-out;
}

/* 共通ボタン */
.main_btn {
  width: fit-content;
  overflow: hidden;
}
.main_btn a,
button.main_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 100px 10px 60px;
  width: 100%;
  min-height: 70px;
  background: #603813;
  color: #ffffff;
  font-family: "Shippori Mincho B1", serif;
  font-weight: bold;
  text-align: center;
  position: relative;
  z-index: 0;
}
#contact button.main_btn {
  width: fit-content;
  overflow: hidden;
  margin: auto;
  font-size: 1em;
  font-family: "Shippori Mincho B1", serif;
  font-weight: bold;
}
.main_btn a::before,
button.main_btn::before {
  content: "";
  display: block;
  border-top: 1px solid #ffffff;
  width: 50px;
  position: absolute;
  right: 30px;
  transition: all 0.3s ease 0s;
}
.btn01 {
  width: fit-content;
  background: #ffffff;
  border: 2px #a72125 solid;
  border-radius: 5px;
  margin: 30px 0 0 auto;
  padding: 10px 20px 13px 20px;
  font-family: "Shippori Mincho B1", serif;
  font-weight: bold;
  color: #a72125;
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition: all 0.5s ease 0s;
}
.btn01:hover {
  color: #ffffff;
  transition: all 0.5s ease 0s;
}
.main_btn a::after,
button.main_btn::after,
.btn01::after {
  content: "";
  display: block;
  background: #a72125;
  width: 600px;
  height: 600px;
  position: absolute;
  top: calc(50% - 350px);
  left: -680px;
  transition: all 0.5s ease 0s;
  z-index: -1;
}
button.main_btn::after {
  background: #603813;
}
.main_btn a:hover,
button.main_btn:hover {
  font-weight: bold;
}
.main_btn a:hover::after,
button.main_btn:hover::after,
.btn01:hover::after {
  left: 0;
  transition: all 0.5s ease 0s;
}
.main_btn a:hover::before,
button.main_btn:hover::before {
  transform: translateX(15px);
  transition: all 0.3s ease 0s;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  .main_btn a,
  button.main_btn {
    padding: 2vw 10vw 2vw 7vw;
  }
  .main_btn a::before,
  button.main_btn::before {
    width: 4vw;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .main_btn a,
  button.main_btn {
    padding: 5vw 15vw 5vw 8vw;
    width: 100%;
    min-height: 40px;
  }
  .main_btn a::before,
  button.main_btn::before {
    width: 5vw;
    position: absolute;
    right: 30px;
    transition: all 0.3s ease 0s;
  }
}
/* トップへ戻るボタン */
.page_top {
  align-items: center;
  justify-content: center;
  background: url(../images/common/tsubaki04.png) no-repeat center center;
  background-size: contain;
  width: 120px;
  height: 80px;
  margin-left: auto;
  text-align: center;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  position: fixed;
  bottom: 100%;
  right: 1vw;
  z-index: 990;
  text-shadow: #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 6px, #a72125 0px 0px 6px, #a72125 0px 0px 6px, #a72125 0px 0px 6px, #a72125cc 2px 2px 4px;
  transition: all 0.8s ease 0s;
}
@media screen and (max-width: 768px) {
  .page_top {
    width: 20vw;
    height: 16vw;
    max-width: 80px;
    max-height: 80px;
    position: fixed;
    right: 5vw;
    font-size: 80%;
    text-shadow: #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125 0px 0px 3px, #a72125cc 2px 2px 4px;
    transition: all 1s ease 0s;
  }
}
.page_top.is-animated {
  display: flex;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  transition: all 0.8s ease 0s;
}
@media screen and (max-width: 768px) {
  .page_top.is-animated {
    display: flex;
    bottom: 3vw;
    right: 5vw;
    z-index: 1;
    transition: all 0.8s ease 0s;
  }
}
