@charset "utf-8";

html {
  scroll-behavior: smooth;
}

body {
  font-size: 62.5%;
  background-color: #035144;
}

h1 img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  vertical-align: bottom;
}

header {
  width: 60%;
  margin: 0 auto;
}

.slider {
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity .5s linear; /* ふんわり表示用 */

}

.slider2 {
  margin-bottom: 30px;
  opacity: 0;
  transition: opacity .5s linear; /* ふんわり表示用 */

}

.slick-initialized {
  opacity: 1;
}



header li img {
  width: 70%;
  height: auto;
}



ul.menu {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  /* border-radius: 15px; */
  margin-bottom: 30px;
  border: 2px solid #B07F2A;
}

ul.menu a {
  color: #fafafa;
  font-family: fot-chiaro-std, sans-serif;
  font-size: 17px;
  display: block;
  padding: 10px;
  border-right: 1px solid #fafafa;
  width: 100%;
  text-align: center;
  background-color: #B07F2A;
  transition: .5s;
}

ul.menu a:hover {
  background-color: #ffffff;
  color: #B07F2A;
}





ul.menu a:last-child {
  border-right: none;
}

.box {
  width: 60%;
  margin: 0 auto;
  padding: 10px;
  background-image: url(./images/back_img.jpg);
  margin-bottom: 30px;
}

h2 {
  font-size: 20px;
  text-align: center;
  font-family: fot-chiaro-std, sans-serif;
  color: #035144;
  margin-top: 30px;
  margin-bottom: 30px;
}

.section_flex {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.image img {
  width: 100%;
  height: auto;
}

.text_box {
  /* background-color: #fff; */
  width: 70%;
}

.image {
  transition: .3s;
}

.image:hover {
  opacity: .7;
}

.topic_flex {
  display: flex;
  align-items: center;
  /* background-color: #fff; */
  width: 90%;
  margin: 0 auto;
}

.topic_flex img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

.topic_flex p {
  font-family: ab-tsubaki, sans-serif;
  color: #B07F2A;
  font-size: 16px;
  line-height: 1.5;
}

.green_box {
  background-color: #035144;
  color: #fafafa;
  padding: 25px;
  line-height: 3;
  font-family: fot-chiaro-std, sans-serif;
  border-radius: 15px;
  width: 90%;
  margin: 0 auto;
}

.green_box h3 {
  font-size: 16px;
}

.green_box p {
  font-size: 14px;
}

.button_flex {
  display: flex;
  width: 90%;
  margin: 0 auto;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 20px;
}

.button {
  display: block;
  width: 48%;
  border: 2px solid #035144;
  padding: 15px;
  border-radius: 13px;
  text-align: center;
  font-family: ab-tsubaki, sans-serif;
  color: #035144;
  font-size: 14px;
  background-color: #fff;
  transition: .5s ease-in-out;
  overflow: hidden;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.button::before {
  position: absolute;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  transition: all 0.5s ease-in-out;
  transform: translateX(-100%);
z-index: -1;
  background: #035144;
  opacity: 0.2;
}

.button:hover:before {
  transform: translateX(0);

}

.bn:hover {
opacity: .6;
}

.bn {
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
  transition: .2s;
}

.sing_button_flex {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: 0 auto;
}

a.sing_button {
  display: block;
  width: 47%;
  background-color: #fff;
  text-align: center;
  height: 40px;
  line-height: 40px;
  border: 2px solid #B07F2A;
  border-radius: 15px;
  color: #B07F2A;
  font-size: 15px;
  font-family: ab-tsubaki, sans-serif;
  transition: .5s ease-in-out;
  overflow: hidden;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

a.sing_button::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  transition: all 0.5s ease-in-out;
  transform: translateX(-100%);
z-index: -1;
  background: #B07F2A;
  opacity: 0.2;
}

a.sing_button:hover:before {
  transform: translateX(0);

}

.yellow {
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 15px;
  color: #fff;
  background-color: #B07F2A;
  text-align: center;
  margin: 0 auto;
  font-family: ab-tsubaki, sans-serif;
  border-radius: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pagetop {
  cursor: pointer;
  position: fixed;
 right: 25px;
  bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: .3s;
  color: #B07F2A;
  background: #b07f2a11;
  font-family: ab-tsubaki, sans-serif;
  font-size: 15px;
  border: 2px solid #B07F2A;
  z-index: 500;
  /*   デフォルトは非表示 */
  opacity: 0;
}

.pagetop:hover {
  box-shadow: 0 0 10px #B07F2A;
}

.sp {
  display:none;
}

@media screen and (max-width:1300px) {
  .box {
    width: 90%;
  }

  ul.menu {
    width: 90%;
  }

  header {
    width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width:750px) {

  ul.menu a {
    font-size: 15px;
    padding: 7px;
  }

  .image img {
    width: 40%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  section {
    padding-top: 50px;
    padding-bottom: 50px;
  background-color: #0351440f;
    margin-bottom: 20px;
    margin-top: 20px;
    border-radius: 15px;
    border: 2px solid #75877aa8;

  }

  .bn {
    margin-top: 30px;
  }

  h2 {
    margin-bottom: 30px;
  }


.section_flex {
  display: block;
  margin-bottom: 0;
}

.text_box {
  /* background-color: #fff; */
  width: 100%;
  margin: 0 auto;
}

.topic_flex {
  display: flex;
  align-items: center;
  /* background-color: #fff; */
  width: 90%;
  margin: 0 auto;
}
}

@media screen and (max-width:480px) {
  .green_box {
    padding: 20px 10px 20px 10px;
    background-color: #035144;
    line-height: 2;
  }

  .topic_flex img {
    width: 70px;
    height: auto;
  }

  .green_box h3{
    font-size: 15px;
  }

  .topic_flex p {
    font-size: 15px;
  }

  .sp {
    display: block;
  }

  ul.menu a {
    font-size: 14px;
    padding: 2px;
  }

}

@media screen and (max-width:410px) {
  .topic_flex img {
    width: 55px;
  }

  .topic_flex p {
    font-size: 14px;
  }
  
}







/* 
font-family: fot-chiaro-std, sans-serif;
font-family: ab-tsubaki, sans-serif;
 */