/* 1400px-
------------------------------ */
@media screen and (min-width:1400px) {
  .header-inner {
  padding-left: clamp(40px, 10.9vw, 210px);
  padding-right: 40px;
  justify-content: flex-start;
}
}
/* -1400px
------------------------------ */
@media screen and (max-width:1399px) {
  .header-left {
    width: 230px;
  }
  
}
/* -1200px
------------------------------ */
@media screen and (max-width:1199px) {
  .header-inner {
    width: calc(100% - clamp(260px, 26vw, 500px));
  }
  .header-right {
    display: none;
  }
  .openbtn {
    display: block;
  }  
}

/* -1000px
------------------------------ */
@media screen and (max-width:999px) {
  #jumokuso .image-container {
    margin-top: 120px;
  }  
  #jumokuso .image-content {
    position: static;
  }
  #jumokuso .image-btm {
    width: clamp(342px, 44.4vw, 444px);
  }
  
}

/* 320px-
------------------------------ */
@media screen and (max-width:767px) { 
  .spbr {
    display: block;
  }
  .sp-only {
    display: block;
  }
  /*-- header --*/
  .header {
    height: 68px;
  }
  h1 {
    display: none;
  }
  .header-inner {
    width: calc(100% - 136px);
    background-image: url(../images/bg_header_sp01.png);
    background-size: 144px 100%;
  }  
  .header-logo img {
    width: 117px;
  }
  .header-request {
    width: 68px;
    height: 100%;
  }
  .header-request span {
    display: none;
  }
  
    .openbtn {
    width: 68px;
    height: 100%;
  }
    .openbtn.active {
      position: fixed;
      top: 0;
      right: 0;
    width: 68px;
    height: 100%;
  }
  .openbtn span:nth-of-type(1) {
    top: 21px;
  }
  .openbtn span:nth-of-type(2) {
    top: 35px;
  }
  .openbtn span:nth-of-type(3) {
    top: 49px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 24px;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 36px;
  }

    /* topのスライダー */
.fv {
  margin-top: 68px;
}

.links {
  padding: 60px 20px;
}
.links ul {
  justify-content: center;
}
.link-card {
  width: clamp(280px, 88vw, 320px);
  height: clamp(202px, 63vw, 230px);
}

/* footer */
#footer .top {
  padding: 60px 20px;
}
#footer .wrapper {
  flex-direction: column-reverse;
}
#footer .container.left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}
#footer .footer-link {
  font-size: clamp(2.2rem, 3.3vw, 3.3rem);
}
#footer .footer-link span {
  font-size: clamp(2.6rem, 3.6vw, 3.6rem);
}
#footer .address {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
}
#footer .phone,
#footer .fax {
  font-size: clamp(2rem, 3.3vw, 2.6rem);
}
#footer .phone a,
#footer .fax span {
  font-size: clamp(3.1rem, 5.2vw, 4rem);
}
#footer .time {
  font-size: 1.6rem;
}
#footer .container.right {
  flex-direction: column;
  row-gap: 26px;
  margin-top: 0;
}
#footer .bottom {
  padding: 16px 10px 24px;
}

.main {
  padding: 120px 20px 60px;
}
.title {
  font-size: clamp(2.2rem, 3.9vw, 3rem);
}
.content {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  margin-top: 40px;
}

.fv-title {
  font-size: clamp(2.2rem, 3.9vw, 3rem);
  width: clamp(250px, 42.7vw, 328px);
}


#index .container {
  display: flex;
  flex-direction: column-reverse;
  margin: 60px auto 0;
}
#index .box.left {
  padding: 20px 10px 20px;
}
#index .box-title {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}
#index .box-content {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin-top: 16px;
}
#index .box-link {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  padding: 12px 10px 14px;
  margin-top: 20px;
}

#about .container {
  margin: 60px auto 0;
  flex-direction: column;
}
#about .box.left {
  max-width: 100%;
  row-gap: 20px;
}
#about .box.right {
  max-width: 480px;
  padding-left: 0;
  margin: 20px auto 0;
}
#about .title:nth-of-type(2) {
  margin-top: 60px;
}
#about .container:nth-of-type(2) {
  padding-right: 0;
  margin: 60px auto 0;
  flex-direction: column;
}
#about .container:nth-of-type(2) .box.left {
  max-width: 100%;
  padding-left: 0;
}
#about .container:nth-of-type(2) .box.right {
  max-width: 480px;
}

#keidai .container {
  margin-top: 60px;
  flex-direction: column;
}
#keidai .content {
  padding-right: 0;
}
#keidai .map-image {
  width: 100%;
  max-width: 400px;
  margin: 20px auto 0;
}
#keidai .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 30px;
  row-gap: 40px;
  margin-top: 60px;
}
#keidai figure {
  width: 280px;
}
#keidai figcaption {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}

#bochi .annotation {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  padding: 10px 12px 16px;
  margin-top: 20px;
}
#bochi .subtitle {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
  margin-top: 60px;
}
#bochi .subtitle:nth-of-type(2) {
  margin-top: 80px;
}
#bochi .subtitle:nth-of-type(3) {
  margin-top: 60px;
}
#bochi .inner {
  flex-direction: column;
  row-gap: 20px;
}
#bochi .description,
#omairi .description {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  width: 100%;
  padding-right: 0;
}
#bochi .inner-image {
  width: 80%;
  max-width: 522px;
  margin-left: auto;
}
#bochi .outer-image {
  width: 80%;
  transform: translateX(40px);
  margin-top: -20px;
}
#bochi .alert-title {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
}
#bochi .alert-lists {
  width: 90%;
}
#bochi .alert-lists:last-of-type {
  width: 90%;
}
#bochi .alert-list {
  font-size: clamp(1.8rem, 2.6vw, 2rem);
}
#bochi .stores-sec {
  padding: 28px 12px 46px;
}
#bochi .stores-title {
  font-size: clamp(1.8rem, 2.6vw, 2rem);
}
#bochi .stores {
  flex-direction: column;
  align-items: center;
  column-gap: 40px;
  row-gap: 40px;
}
#bochi .store {
  width: clamp(100%, 46.8vw, 360px);
}

#bochi .store-label {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  width: clamp(128px, 18.5vw, 142px);
}
#bochi .store-name {
  font-size: clamp(2.2rem, 3.1vw, 2.4rem);
}
#bochi .store-name span {
  font-size: clamp(1.7rem, 2.4vw, 1.9rem);
}
#bochi .store-address,
#bochi .store-phone,
#bochi .store-fax,
#bochi .store-mail {
  font-size: clamp(1.5rem, 2.3vw, 1.8rem);
}
#bochi .store-detail {
  font-size: clamp(1.5rem, 2.2vw, 1.7rem);
}

#omairi .container {
  flex-direction: column;
  row-gap: 20px;
  margin: 40px auto 0;
}
#omairi .container.block {
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
}
#omairi .content {
  width: 100%;
}
#omairi .image {
  width: 90%;
  margin: 0 auto;
}
#omairi .title:nth-of-type(2) {
  margin-top: 60px;
}
#omairi .message {
  margin-top: 40px;
}
#omairi .inner {
  flex-direction: column;
  row-gap: 20px;
}
#omairi .inner-image {
  width: 80%;
  max-width: 522px;
  margin-left: auto;
}
#omairi .outer-image {
  width: 80%;
  transform: translateX(40px);
  margin-top: -40px;
}
#omairi .patterns {
  flex-direction: column;
  row-gap: 30px;
  margin: 40px auto 0;
}
#omairi .pattern {
  width: 100%;
}
#omairi .pattern-title {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
}
#omairi .pattern-content {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
}
#omairi .alert-sec {
  margin-top: 60px;
}
#omairi .alert-title {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
}
#omairi .alert-box {
  padding: 20px 10px 30px;
}
#omairi .alert-content {
  font-size: clamp(1.8rem, 2.6vw, 2rem);
}

/* Google Map */
#access .googlemap {
  margin-top: 60px;
}
#access .address {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  margin-top: 20px;
}
#access .map {
  margin-top: 100px;
}
#access .container {
  flex-direction: column;
  align-items: center;
  row-gap: 40px;
}
#access .patterns {
  width: clamp(280px, 73vw, 560px);
}
#access .pattern-title {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
  padding: 10px;
}
#access .pattern {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
}

#event .content {
  font-size: clamp(1.6rem, 2.3vw, 1.8rem);
}
#event .content.top {
  margin-top: 60px;
}
#event .content.btm {
  margin-top: 40px;
  padding: 20px 10px;
}
#event .title:last-of-type {
  margin-top: 120px;
}
#event .event-title {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
  line-height: 1.35;
}

#faq .box:nth-of-type(2n-1) {
  margin-top: 40px;
}
#faq .question-title {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
  line-height: 1.4;
}
#faq .question {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
  line-height: 1.4;
}
#faq .answer-title {
  font-size: clamp(2rem, 2.8vw, 2.2rem);
}
#faq .answer {
  font-size: clamp(1.8rem, 2.6vw, 2rem);
}


    #inquiry p {
      margin: 40px auto;
      line-height: 1.35;
      }
      #inquiry label.error {
        color: #aa0000;
        }
        #inquiry label {
    display: block;
    }
    #inquiry dl {
      display: block;
    }
    #inquiry dl:after {
      content: "";
      display: block;
      clear: both;
    }
    #inquiry dl dt {
      padding: 0 0 0 8px;
      margin: 0px 0px 0px 20px;
      float: left;
    }
    #inquiry dl dt:nth-of-type(2) {
      margin: 10px 0px 0px 20px;
      padding: 0 0 0 8px;
      float: left;
      clear: both;
    }
    #inquiry dl dd:nth-of-type(2) {
      margin: 10px 0px 0px;
    }
    #inquiry dl dd {
      float: left;
      margin: 0px;
      padding: 0px;
    }
    #inquiry table td:nth-of-type(odd) {
      display: block;
      width: 100%;
      text-indent: 8px;
      font-size: 1.6rem;
      font-weight: bold;
      border-radius: 6px 6px 0px 0px;
    }
    #inquiry table td:nth-of-type(even) {
      display: block;
      width: 100%;
      padding: 20px 8px;
      font-size: 1.6rem;
      text-align: center;
      border-radius: 0px 0px 6px 6px;
      line-height: 1.8;
    }
    #inquiry table td.sp-start {
      text-align: start;
    }
    #inquiry span {
      color: #fff;
      font-size: 1.5rem;
      font-weight: normal;
      padding: 3px 5px;
      line-height: 1.5;
      }    
    #inquiry input {
      width: 80%;
    }
    #inquiry input[type="radio"] {
      width: 10px;
      padding: 5px 8px;
      margin: 0 0.5em;
      border: solid 1px #dddddd;
    }    
    #inquiry .submit {
      padding: 8px 0px 20px;
      text-align: center;
    }
    #inquiry .submit input {
      margin: 0px auto;
      border: none;
      padding: 20px 20px;
      color: #ffffff;
      text-decoration: none;
      display: block;
      cursor: pointer;
      background-color: #B20000;
      font-weight: 600;
    }
    #inquiry.mail input {
      width: 300px;
      font-size: 1.6em;
    }
    #inquiry.mail .submit input {
      width: auto;
    }
    #inquiry.mail td {
    display: block;
    text-align: center;
    }
    #inquiry.mail td.submit {
    padding: 10px 0px 20px;
    }

  #jumokuso .image-box {
    margin-top: 40px;
  }
  #jumokuso .annotation {
    font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  }
  #jumokuso .alert-sec {
    margin-top: 30px;
  }
  #jumokuso .alert-title {
    font-size: clamp(2rem, 2.8vw, 2.2rem);
  }  
  #jumokuso .alert-lists {
    margin: 24px auto 0;
    padding-bottom: 18px;
  }
  #jumokuso .alert-list {
    font-size: clamp(1.8rem, 2.6vw, 2rem);
  }
  #jumokuso .image-container {
    margin-top: 60px;
  }
  #jumokuso .image-content {
    width: 100%;
    padding-top: clamp(20px, 6vw, 46px);
    padding-bottom: clamp(20px, 6vw, 46px);
    padding-left: 20px;
    padding-right: 20px;
    font-size: clamp(2.0rem, 3.5vw, 2.7rem);
  }
  #jumokuso .image-content span {
    display: inline-block;
  }
  #jumokuso .image-btm {
    width: clamp(110px, 44vw, 444px);
    margin-top: clamp(-131px, -17vw, -56px);
  }
  
  
  #privacy .subtitle {
    font-size: clamp(1.8rem, 2.6vw, 2rem);
    margin-top: 40px;
  }
  #privacy .content {
    font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  }
  #privacy .list {
    font-size: clamp(1.6rem, 2.3vw, 1.8rem);
  }
}