/*
Theme Name:custom theme
Description:カスタムテーマ
Author: app_murata
Version:1.0.0
*/

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: clamp(13px, 1.042vw, 1.6rem);
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 2;
  color: #565656;
  margin: 0;
}
.mincho {
  font-family: "Shippori Mincho B1", serif;
}
.noto {
  font-family: "Noto Serif JP", serif;
}
a {
  color: #565656;
  text-decoration: none;
}
p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}
th {
  font-weight: 500;
}

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

ul {
  margin: 0;
  padding: 0;
}
em {
  font-style: normal;
}
body .sp-only {
  display: none;
}
.inner {
  padding-left: 5.55%;
  padding-right: 5.55%;
}
.flex-wrap {
  display: flex;
}
.grid-wrap {
  display: grid;
}
.grid-wrap.fr2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-wrap.fr3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-wrap.fr4 {
  grid-template-columns: repeat(4, 1fr);
}
.tc {
  text-align: center;
}
.font12 {
  font-size: 12px;
}
.font16 {
  font-size: clamp(14px, 1.111vw, 1.6rem);
}
.font16ss {
  font-size: clamp(13px, 1.111vw, 1.6rem);
}
.font16xs {
  font-size: clamp(12px, 1.111vw, 1.6rem);
}
.fw300 {
  font-weight: 300;
}
.fw400 {
  font-weight: 400;
}
.fw500 {
  font-weight: 500;
}
.fw600 {
  font-weight: 600;
}
.fw700 {
  font-weight: 700;
}
.lh1 {
  line-height: 1;
}
.lh12 {
  line-height: 1.2;
}
.lh16 {
  line-height: 1.6;
}
.lh15s {
  line-height: 1.5;
}
.lh40px {
  line-height: 40px;
}
.lh30px {
  line-height: 30px;
}
.ls5 {
  letter-spacing: 0.05em;
}
.ls0 {
  letter-spacing: 0;
}
.ls07 {
  letter-spacing: 0.07em;
}
.ls10 {
  letter-spacing: 0.1em;
}
.ls20 {
  letter-spacing: 0.2em;
}
.page-404 {
  padding: 250px 0;
  text-align: center;
}
.img-box img {
  width: 100%;
}
.corg {
  color: #ea8e3d;
}
.borg {
  background: #ea8e3d;
}
.blorg {
  background: #f3a866;
}
.nblorg {
  background: #ffecdb;
}
.cbro {
  color: #bd8856;
}
.cwhite {
  color: #fff;
}
.bwhite {
  background: #fff;
}
.inner-mg {
  margin: 10px 0 5px;
}
* {
  box-sizing: border-box;
}
.pa65 {
  padding: 65px;
}
.pa1 {
  padding: 1em;
}
/*-------common-end------*/
/*-------hd-css---*/
.logo-wrap {
  position: absolute;
  left: 5.55%;
  top: 10px;
  z-index: 9;
  max-width: max(26.459vw, 240px);
}
.main-menu-nav {
  width: 100%;
  padding: 0 14.287%;
}
.main-menu li {
  padding: 20px 0 25px;
  border-bottom: 1px dashed #fff;
}
.main-menu li a {
  font-size: clamp(16px, 1.25vw, 1.8rem);
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.1em;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-menu li a::after {
  content: "";
  background: url(../../uploads/2025/12/arrow-icon.webp) no-repeat;
  background-size: contain;
  background-position: center;
  display: inline-block;
  width: 43px;
  height: 5px;
  transition: 0.2s linear;
}
.main-menu li a:hover::after {
  transform: translateX(15px);
}
.modern-accordion {
  max-width: max(66.67vw, 700px);
  width: 100%;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 40px;
  overflow: hidden;
  background: #fff;
  box-shadow: 4px 4px 20px #76694e33;
}
.modern-accordion .accordion-item:last-child {
  margin-bottom: 0;
}
.accordion-header {
  position: relative;
  width: 100%;
  padding: 20px 40px 20px 40px;
  display: flex;
  justify-content: left;
  gap: 20px;
  align-items: center;
  background: none;
  border: 1px solid #565656;
  border-width: 1px 0 0 0;
  cursor: pointer;
}
.accordion-header::before {
  content: "Q";
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(20px, 1.9444vw, 2.8rem);
  color: #ea8e3d;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.accordion-item .header-content {
  text-align: left;
  position: relative;
  z-index: 2;
}

.accordion-item .title {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  line-height: 1.2;
  font-size: clamp(14px, 1.111vw, 1.6rem);
  color: #565656;
  margin: 0;
}

.accordion-item .icon-wrap {
  position: absolute;
  right: 0;
  top: 0;
  background: #fff;
  width: 40px;
  height: 100%;
}

.accordion-item .line-ac {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background-color: #565656;
  transition: transform 0.3s ease;
}

.line-ac:first-child {
  transform: translateX(-50%) translateY(-50%);
}

.line-ac:last-child {
  transform: translateX(-50%) translateY(-50%) rotate(90deg);
}

.accordion-header.active .line-ac:last-child {
  transform: translateX(-50%) translateY(-50%) rotate(0);
}

.accordion-body {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
  border-bottom: 1px solid #565656;
}
.accordion-item .body-content::before {
  content: "A";
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(20px, 1.9444vw, 2.8rem);
  color: #565656;
  line-height: 1.2;
}
.accordion-item .body-content {
  padding: 20px 80px 20px 40px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  align-items: flex-start;
}

/*-------hamburger-css---*/
#menu-button {
  position: fixed;
  z-index: 701;
  top: 10px;
  right: 5.55%;
  opacity: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: visible;
  opacity: 1;
  display: flex;
  width: 70px;
  height: 70px;
  background: #ea8e3d;
  cursor: pointer;
}
#main-menu-container {
  position: fixed;
  z-index: 700;
  top: 0;
  left: auto;
  right: -100vw;
  bottom: auto;
  overflow-y: auto;
  background: #ea8e3d;
  background-size: cover;
  display: none;
  width: 38.89vw;
  height: 100vh;
  transition: 0.65s linear;
}

#main-menu-container.is-active {
  right: 0vw;
}

body #main-menu-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-button.nav-on {
  visibility: visible;
  opacity: 1;
}

#menu-button .ham-lines {
  position: relative;
  margin: 0 auto;
  width: 55.26px;
  height: 36.84px;
}

#menu-button .ham-lines span,
#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  position: absolute;
  display: block;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 55.26px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}

#menu-button .ham-lines span {
  bottom: 18.42px;
  transition: all 0.25s 0.25s;
  opacity: 1;
}

#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  content: "";
}

#menu-button .ham-lines::before {
  bottom: 36.84px;
  animation: menu-bar01 0.75s forwards;
}

#menu-button .ham-lines::after {
  bottom: 2px;
  animation: menu-bar03 0.75s forwards;
}

#menu-button.is-active .ham-lines span {
  opacity: 0;
}

#menu-button.is-active .ham-lines::before {
  animation: active-menu-bar01 0.5s forwards;
}

#menu-button.is-active .ham-lines::after {
  animation: active-menu-bar03 0.5s forwards;
}

@keyframes menu-bar01 {
  0% {
    transform: translateY(9px) rotate(45deg);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes menu-bar03 {
  0% {
    transform: translateY(-9px) rotate(-45deg);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes active-menu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(20px) rotate(45deg);
  }
}

@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(-17px) rotate(-45deg);
  }
}
/*-------ft---*/
.footerwrap {
  background: #faf6f0;
  padding-top: 40px;
  padding-bottom: 60px;
}
.footerwrap .img-box {
  max-width: max(26.5vw, 240px);
  margin: 0 auto 30px;
}
.footerwrap .flex-wrap {
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 45px;
}
.footerwrap .co p {
  margin-bottom: 20px;
}
.footerwrap .co p span {
  margin-right: 1em;
}
.footerwrap .co .btn1 {
  max-width: max(19.237vw, 178px);
  margin: 0 auto 10px;
}
.footerwrap .co .btn1.last {
  margin: 0 auto;
}
.footerwrap .co.last {
  max-width: max(29.775vw, 335px);
  width: 100%;
}
.g-wrap {
  width: 100%;
  height: 577px;
}
.copyright-container {
  background: #ea8e3d;
  padding: 30px 0;
}
/*-------ft-icon-css---*/

.sp-footer-icons-container {
  display: none;
  justify-content: center;
  gap: 10px;
  align-items: stretch;
  position: fixed;
  z-index: 699;
  right: 0;
  left: 0;
  bottom: 3px;
  width: 100%;
  padding-bottom: calc(env(safe-area-inset-bottom) / 2);
}

/*-------sp----*/

/*-------ipad----*/
@media screen and (max-width: 1180px) {
  .main-menu-nav {
    padding: 0 5.55%;
  }
  #main-menu-container {
    width: 90%;
    transition: 0.3s linear;
  }
}
@media screen and (max-width: 820px) {
  #main-menu-container {
    width: 90%;
    transition: 0.3s linear;
  }
  .pa65 {
    padding: 30px;
  }
}
/*-------iphone----*/
@media screen and (max-width: 680px) {
  body {
    /* font-size: 1.4rem; */
  }
  .fontsp15 {
    font-size: 15px;
  }
  .inner {
    padding-left: 5.55%;
    padding-right: 5.55%;
  }
  #menu-button {
    width: 38px;
    height: 38px;
  }
  #menu-button .ham-lines {
    width: 30px;
    height: 26px;
  }
  #menu-button .ham-lines span,
  #menu-button .ham-lines::before,
  #menu-button .ham-lines::after {
    width: 30px;
  }
  #menu-button .ham-lines span {
    bottom: 12px;
  }
  #menu-button .ham-lines::before {
    bottom: 22px;
  }
  @keyframes active-menu-bar01 {
    0% {
      transform: translateY(0) rotate(0);
    }

    50% {
      transform: translateY(9px) rotate(0);
    }

    100% {
      transform: translateY(10px) rotate(45deg);
    }
  }

  @keyframes active-menu-bar03 {
    0% {
      transform: translateY(0) rotate(0);
    }

    50% {
      transform: translateY(-9px) rotate(0);
    }

    100% {
      transform: translateY(-10px) rotate(-45deg);
    }
  }
  #menu-button {
    top: 16px;
    right: 20px;
  }
  .main-menu li a::after {
    width: 25px;
    height: 4px;
  }
  .main-menu-nav {
    padding: 0 20px;
  }
  .main-menu li {
    padding: 20px 0;
  }
  .logo-wrap {
    left: 20px;
  }
  .flex-wrap {
    flex-direction: column;
  }
  .grid-wrap {
    grid-template-columns: 1fr;
  }
  .grid-wrap.fr2,
  .grid-wrap.fr3,
  .grid-wrap.fr4 {
    grid-template-columns: 1fr;
  }
  body .sp-only {
    display: block;
  }

  body .pc-only {
    display: none;
  }
  .sp-footer-icons-container {
    display: flex;
  }
  .accordion-header {
    padding: 15px 35px 15px 20px;
  }
  .accordion-item .body-content {
    padding: 20px 10px 20px 20px;
  }
  .accordion-item .icon-wrap {
    width: 35px;
  }
  .accordion-item {
    margin-bottom: 20px;
  }
  .font12 {
    font-size: 11px;
  }
  .footerwrap .flex-wrap {
    align-items: center;
  }
  .footerwrap {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .g-wrap {
    height: 400px;
  }
  .footerwrap .img-box {
    margin: 0 auto 20px;
  }
  .footerwrap .co {
    width: 100%;
  }
  .copyright-container {
    padding: 30px 0 90px;
  }
}
