html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    color: #31230F;
    background: #FCFAF4;
}
a{
  cursor: pointer;
}
a[href^="TEL:"] {
    pointer-events: none;
}
.grecaptcha-badge { visibility: hidden; }
header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
    background: rgba(255, 255, 255 ,.8);
    z-index: 100;
}
header nav > img{
  display: none;
}
header nav,
header nav ul {
    display: flex;
    align-items: center;
    gap: min(4vw, 60px);
    font-weight: 600;
}
header nav a.contact {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: #31230F;
    padding: 8px 24px;
    border-radius: 50px;
}
header nav a.contact::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: center / cover no-repeat url(../images/common/ico_paper-plane.svg);
}
header .hbg-btn{
  display: none;
}
p {
    line-height: 1.8;
}
button {
    cursor: pointer;
}
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    color: #fff;
    background: #4C391F;
    padding: 24px 0;
}
footer address {
    font-size: 12px;
    line-height: 1.8;
}
#confirm,
#thanks {
    padding: 160px 0;
}
#confirm h1,
#thanks h1 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
}
#confirm .inner {
    width: min(98%, 900px);
    margin: 0 auto;
}
#confirm dl {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: dashed 1px #8A7559;
}
#confirm dl:last-of-type {
    margin-bottom: 40px;
}
#confirm dt {
    width: 30%;
    font-weight: 500;
}
#confirm dt p {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#confirm dt span {
    font-size: 12px;
    color: #fff;
    background-color: #BB0F0F;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
} 
#confirm dd {
    width: 65%;
}
#confirm .inner div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
#confirm .prev {
    cursor: pointer;
}
#confirm .submit {
    width: fit-content;
    font-weight: 700;
    color: #fff;
    background: #31230F;
    padding: 12px 60px;
    border-radius: 50px;
    cursor: pointer;
}
#confirm .submit p {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: inherit;
}
#confirm .wpcf7-spinner {
    display: none;
}
#thanks p {
    text-align: center;
}

@media screen and (max-width:1080px){
  header{
    padding: 12px 24px;
  }
  header > a img{
    width: 120px;
  }
  header nav a{
    font-size: 14px;
  }
  header nav, header nav ul{
    gap: min(3.2vw, 40px);
  }
  header nav a.contact {
    gap: 8px;
    padding: 6px 22px;
    font-size: 12px;
  }
  footer{
    gap:32px;
  }
}

@keyframes hbg-opacity{
  0%{
    opacity: 0;
    top: -100%;
  }
  1%{
    top: 0;
  }
  100%{
    opacity: 1;
    top: 0;
  }
}

@media screen and (max-width:800px){
  header{
    background: rgba(255,255,255,0.4);
    justify-content: space-between;
    padding: 20px 24px;
  }
  header > a img {
      width: 150px;
  }
  header nav{
    position: fixed;
    top: -100%;
    left: 0;
    justify-content: center;
  }
  /* header nav:not(.open){ */
/*    animation: hbg-opacity 0.6s forwards reverse;*/
  /* } */
  header nav.open{
    background: #BB6F0E;
    height: 100vh;
    width: 100%;
    top: 0;
    flex-direction: column;
    animation: hbg-opacity 0.6s forwards;
  }
  header nav > img{
    width: 160px;
    margin: 0 auto 40px;
    display: block;
  }
  header nav a {
    font-size: 16px;
  }
  header nav ul{
    flex-direction: column;
    margin-bottom: 24px;
  }
  header nav a.contact {
    padding: 8px 32px;
    font-size: 14px;
  }
  header .hbg-btn{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 28px;
  }
  header span,
  header .hbg-btn::before,
  header .hbg-btn::after{
    content:"";
    display: block;
    width: 40px;
    height: 4px;
    background: #31230F;
    transition: .3s;
  }
  header .hbg-btn.open{
    z-index: 2;
  }
  header .hbg-btn.open span{
    height: 0;
  }
  header .hbg-btn.open::before{
    transform: rotate(38deg);
    transform-origin: top left;
  }
  header .hbg-btn.open::after{
    transform: rotate(-38deg);
    transform-origin: bottom left;   
  }

}

@media screen and (max-width:768px){
  footer{
    padding: 24px;
    gap:24px;
  }
  footer address {
    font-size: 10px;
  }
  footer img{
    width: 160px;
  }
}

@media screen and (max-width:540px){
  footer{
    padding: 16px;
    gap:12px;
  }
  footer img{
    width: 144px;
  }
  footer address {
    font-size: 8px;
  }
  header{
    padding: 16px 24px 16px 12px;
  }
  header > a img {
      width: 120px;
  }
  header nav img {
    width: 120px;
    margin: 0 auto 24px;
  }
  header nav a {
    font-size: 14px;
  }
  header nav a.contact{
    font-size: 12px;
  }
  header span, header .hbg-btn::before, header .hbg-btn::after{
    width: 32px;
    height: 3px;
  }
  header .hbg-btn{
    width: 32px;
    height: 24px;
  }
  header .hbg-btn.open::before {
    transform: rotate(42deg);
  }
  header .hbg-btn.open::after {
    transform: rotate(-42deg);
  }

}