@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

* {
   -webkit-appearance: none;
   margin:0;
    padding: 0;
}

html{
  height: 100%;
}

/*基本設定*/
body{
  color: #000;
  font-size: 16px;
  position: relative;
  margin:0;
  padding: 0;
  height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-top: 70px;
  background: #fefef2;
}

/* style.css */
html, body {
    font-family: "Noto Serif", serif;
}

@media (max-width: 768px) {
  html, body {
      width: 100%;
      background: #fff;
  }
}

input[type="submit"]{
   -webkit-appearance: none;
   border-radius: 0;
}

button:active{
  border: none !important;
}


input[type="text"],textarea {
  border: 1px solid #999;
  border-radius: 0;

}

img {
  max-width: 100%;
}

textarea:focus {
  border: none !important;
}

.clearfix:after {
    content: "."; 
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.clearfix {
    min-height: 1px;
}

* html .clearfix {
    height: 1px;
    /*¥*//*/
    height: auto;
    overflow: hidden;
    /**/
}

a{
  color: #00376b;
  text-decoration: none;
  font-weight: 900;
}

main,header,footer,img,i,div,p,ul,li,input,td,th,span,textarea,select,option,ul,form,nav,body,h2,h3,a,table,th,td,tr,section,label,table{
    box-sizing: border-box;
}


.container {
    width: 980px;
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 35px 55px;
    background: #fff;
}

@media (max-width: 768px) {
  
  .container {
      width: 100%;
      max-width: 100%;
      width: 100%;
      margin: 0 auto;
      padding: 0px;
  }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 10px 15px;
    text-align: left;
    z-index: 1000;
    border-bottom: solid 1px #eee;
}

header .header_container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

header img {
    height: 50px;
    margin-right: 15px;
}

header img,header .subtitle {
  float: left;
  color: #333;
  font-weight: 600;
}

header .subtitle {
  line-height: 16px;
  font-size: 13px;
  height: 50px;
  padding-top: 10px;
}

.link_container {
  position: fixed;
  z-index: 1002;
  right: 15px;
  top: 0;
  height: 70px;
}

.link_container ul{
  padding-top: 10px;
}

.link_container ul li{
  float: right;
  list-style: none;
  text-align: center;
  width: 60px;
  transition: .2s;
}

.link_container ul li:hover{
  opacity: .7;
  transition: .2s;
}

.link_container ul li:nth-child(2) {
  display: none !important;
}

.link_container ul li a{
  display: block;
  line-height: 100%;
  margin: 0;
  padding: 0;
}

.link_container ul li span{
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.link_container ul li img{
  width: auto;
  height: 35px;
}


@media (max-width: 768px) {

  header {
    padding: 10px 10px;
  }
  header img {
      height: 45px;
      margin-right: 10px;
  }

  .link_container {
    position: fixed;
    z-index: 1002;
    right: 0px;
    top: auto;
    bottom: 0px;
    height: 70px;
    width: 100%;
    background: #0490c7;
  }

  .link_container ul{
    padding-top: 0px;
  }

  .link_container ul li{
    float: left;
    list-style: none;
    text-align: center;
    width: 50%;
    margin-top: -20px;
  }

  .link_container ul li a{
    display: block;
    line-height: 100%;
    margin: 0;
    padding: 0;
  }

  .link_container ul li span{
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
  }

  .link_container ul li img{
    width: auto;
    height: 60px;
    background: #fff;
    padding: 5px;
    border: solid 2px #0490c7;
    border-radius: 16px;
  }
}

section {
  padding-top: 35px;
  padding-bottom: 35px;
  margin-bottom: 35px;
}

section h2.title {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 55px;
  line-height: 120%;
  font-weight: 400;
  font-family: "Noto Serif", serif;
  color: #0490c7;
  font-size: 45px;
  letter-spacing: .1em;
}

section h2.title img{
  height: 100px;
  width: auto;
}

@media (max-width: 768px) {
  section {
    padding-top: 25px;
    padding-bottom: 25px;
    margin-bottom: 25px;
  }

  section h2.title {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
    line-height: 120%;
    font-weight: 400;
    font-family: "Noto Serif", serif;
    color: #0490c7;
    font-size: 45px;
    letter-spacing: .1em;
  }

  section h2.title img{
    height: 80px;
    width: auto;
  }
}

/*slider*/

section.slider {
  padding-top: 10px;
  padding-bottom: 0px;
}

@media (max-width: 768px) {
  section.slider {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

.slider {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 0px;
}

.slides,.slides2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide,.slide2 {
    width: 100%;
    flex-shrink: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.dot {
    width: 20px;
    height: 20px;
    margin: 0 5px;
    background-color: #f2e0c3;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #f29600;
}

/*text-image*/

.text-image {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    background: #f9f9f9;
    padding-left: 35px;
    padding-right: 35px;
}

.text-image img {
    width: 35%;
}

.text-image .text {
    width: 60%;
    padding-left: 25px;
    color: #ff2a2a;
}

.text-image .text h2{
    font-size: 28px;
    margin-bottom: 20px;
}

.text-image .text p{
     font-size: 30px;
     text-decoration: underline;
     padding-left: 15px;
}



/*banners*/

.banners {
    display: flex;
    flex-direction: column; /* タイトルとグリッドを縦並びに */
    align-items: center;
    gap: 20px;
}

.banners .banner-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列グリッド */
    gap: 0px;
    width: 100%; /* 幅を調整 */
    max-width: 980px; /* PCの最大幅 */
}

.banners .banner{
  padding: 10px;
}

.banners img {
    width: 100%;
}


@media (max-width: 768px) {
  .banners {
    display: flex;
    flex-direction: column; /* タイトルとグリッドを縦並びに */
    align-items: center;
    gap: 20px;
  }

  .banners .banner-container {
      display: grid;
      grid-template-columns: repeat(1, 1fr); /* 2列グリッド */
      gap: 10px;
      width: 100%; /* 幅を調整 */
      max-width: 980px; /* PCの最大幅 */
  }

  .banners .banner{
    padding: 10px;
    line-height: 100%;
    margin: 0;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .banners img {
      width: 100%;
  }
}

/*product*/

.product img {
    width: 100%;
    margin-bottom: 10px;
}

.product .product_content {
  margin-top: 60px;
  margin-bottom: 85px;
  background: #fff;
  border: solid 4px #ffdcaf;
  box-shadow: 15px 15px 0px #ffdcaf;
  border-radius: 6px;
  padding: 45px; 
}

.product .product_content.p2 {
  border: solid 4px #49d7dc;
  box-shadow: 15px 15px 0px #49d7dc;
}

.product .product_content.content2 {
  background: #ff9101;
}


.product .product_content h2 {

}

.product .product_content h4 {
  
}

.product .product_content .textarea {
  font-size: 18px;
  padding: 40px 40px;
  
}

.product .product_content .textarea p {
  margin-bottom: 25px;
  padding-left: 10px;
  padding-right: 10px;
  }

/*video*/

.product .product_content .textarea video {
    width: 100%;
    margin-bottom: 35px;
    border-radius: 20px;
}

@media (max-width: 768px) {
  .product img {
    width: 100%;
    margin-bottom: 10px;
  }

  .product .product_content {
    margin-top: 0px;
    margin-bottom: 45px;
    background: #fff;
    border: 0px;
    box-shadow: none;
    border-radius: 6px;
    padding: 10px 0px;
  }

  .product .product_content:last-child {
    margin-bottom: 0px;
  }

  .product .product_content .textarea {
    font-size: 16px;
    padding: 10px;
    
  }

  .product .product_content .textarea p {
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    }

  /*video*/

  .product .product_content .textarea video {
      width: 100%;
      margin-bottom: 35px;
      border-radius: 20px;
  }  
}

/*links*/

.links {
    display: flex;
    flex-direction: column; /* タイトルとグリッドを縦並びに */
    align-items: center;
    gap: 20px;
}


.links .links-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列グリッド */
    gap: 10px;
    width: 100%; /* 幅を調整 */
    max-width: 980px; /* PCの最大幅 */
}

.links a img{
  border: solid 3px #eee;
  transition: .3s;
}

.links a:hover img {
  border: solid 3px #ff9101;
  transition: .3s;
}

/*faq*/

.faq details {
    border-bottom: 1px solid #ddd;
    color: #333;
    background: #fff;
    transition: .2s;
    font-size: 20px;
}

.faq details:hover{
    color: #fff;
    background: #ff9101;
    transition: .2s;
}

.faq details[open] {
  color: #fff;
  background: #ff9101;
}

.faq summary {
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.faq summary:hover {
    
}

.faq p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    padding: 0 10px;
    background: #fff;
    color: #333;
}

.faq details[open] p {
    max-height: 100px;
    opacity: 1;
    padding: 25px;
}

@media (max-width: 768px) {
  .faq details {
    font-size: 18px;
  }

}

footer {
  text-align: center;
}

footer img{
  width: 150px;
}

@media (max-width: 768px) {
  footer {
    padding-bottom: 100px !important;
  }

  footer p{
    font-size: 14px;
  }
}


@media (max-width: 768px) {
    .text-image {
        flex-direction: column;
    }
    .text-image img, .text-image .text {
        width: 100%;
    }

    .text-image {
        padding-left: 10px;
        padding-right: 10px;
    }

    .text-image img {
        width: 70%;
    }

    .text-image .text {
        width: 100%;
        padding-left: 0px;
        text-align: center;
    }

    .text-image .text h2{
        font-size: 22px;
        margin-bottom: 10px;
    }

    .text-image .text p{
         font-size: 22px;
         text-decoration: underline;
         padding-left: 0px;
    }

    .banners {
        grid-template-columns: repeat(1, 1fr);
    }
    .links {
        flex-direction: column;
        text-align: center;
    }


}