@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  color: #000;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-weight: 400;
}
img {
  max-width: 100%;
  vertical-align: bottom;
  pointer-events: none;
}
p {
  font-size: 15px;
  line-height: 1.8;
  padding: 0 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}
li {
  list-style: none;
}
a {
  color: #000;
  text-decoration: none;
}
a:hover {
  opacity: 0.6;
}
.link a {
  color: #000;
  text-decoration: underline;
}
.link {
  margin: 5px;
}

/* 横幅設定用のクラス */
.wrapper {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.wrapper-wide {
  max-width: 1300px;
  padding: 0 20px;
  margin: 0 auto;
}

/*-------------------------------------------
Page-header
-------------------------------------------*/
.page-header {
  padding-bottom: 50px;
  position: relative;
}
.page-header .img img{
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}
.page-header .text {
  max-width: 500px;
  background-color: rgba(253, 248, 248, 0.8);
  padding: 30px 40px;
  position: absolute;
  bottom: 80px;
  right: 0;
}
.page-header .text .page-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

/*-------------------------------------------
Title
-------------------------------------------*/
/* メインセクションタイトル */
.main-section-title {
  position: relative;
  padding: 20px 16px;
  outline: 2px solid #333;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
  box-sizing: border-box;
  max-width: 500px;
  text-align: center; 
  margin: 50px;
  margin-inline: auto;
}

.main-section-title::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 100%;
  height: 100%;
  background: #fffacd;
  z-index:-999;
}

/* セクションタイトル */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-top: 80px;
  margin-bottom: 80px;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: "";
  width: 80px;
  height: 2px;
  background-color: #000;
  margin: 0 auto;
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
}
.section-title .small {
  font-size: 20px;
}

/* コンテンツタイトル */
.contents-title {
  font-size: 20px;
  font-weight: 500;
  display: inline-block;
  position: relative;
  margin: calc(2.5em / 2) 0 calc(2.5em / 4) calc(2.5em / 2);
  line-height: 1;
}

.contents-title::before {
  position: absolute;
  bottom: calc(-2.5em / 4);
  left: calc(-1.0em / 2);
  z-index: -1;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: #fff280;
  content: '';
}

/* サブタイトル */
.sub-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  padding: 0 20px;
  margin-bottom: 10px;
}

/*-------------------------------------------
News
-------------------------------------------*/
.news {
  padding-top: 80px;
}
.news .item {
  display: flex;
  margin-bottom: 80px;
}
.news .item .img {
  max-width: 55%;
}
.news .item .text {
  max-width: 45%;
  padding: 0 6%;
}
.news .item .text .content-title {
  display: flex;
  align-items: center;
  font-size: 24px;
  margin-top: 10px;
  margin-bottom: 40px;
}
.news .item .text .description {
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}
.news .item .text .btn {
  max-width: 140px;
  border: solid 1px #121212;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  font-size: 12px;
  padding: 8px 0;
  margin-bottom: 10px;
  position: relative;
  text-align: center;
}
.news .item .text .btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  transform: rotate(45deg);
  position: absolute;
  top: 14px;
  right: 14px;
}

/*-------------------------------------------
Header
-------------------------------------------*/
#header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 0 20px;
}
#header .logo {
  width: 100%;
  max-width: 150px;
}
#header .logo a {
  display: block;
}
#header .navi .menu {
  display: flex;
  align-items: center;
}
#header .navi .menu li {
  font-size: 14px;
  margin-left: 40px;
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer {
  background-color: #fffacd;
  padding: 20px 20px 40px;
}
#footer .content {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 30px;
  padding: 5%;
  margin: 30px auto 30px;
  position: relative;
}
#footer .content .info-area {
  width: 55%;
  font-size: 14px;
}
#footer .content .info-area .menu {
  display: flex;
  flex-wrap: wrap;
}
#footer .content .info-area .menu li {
  width: 45%;
  border-bottom: solid 1px #121212;
  position: relative;
  margin-right: 5%;
}
#footer .content .info-area .menu li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: solid 1px #121212;
  border-right: solid 1px #121212;
  transform: rotate(45deg);
  position: absolute;
  top: 20px;
  right: 10px;
}
#footer .content .info-area .menu li:nth-child(-n+2) {
  border-top: solid 1px #121212;
}
#footer .content .info-area .menu li a {
  display: block;
  padding: 18px 0;
}
#footer .content .btn-area {
  width: 40%;
  max-width: 380px;
  margin-left: 5%;
}
#footer .content .btn-area .btn1 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffef00;
  border-radius: 20px;
  box-shadow: 0px 4px 0px 0px #aaa;
  font-weight: bold;
  padding: 25px 0;
  margin-bottom: 20px;
}
#footer .content .btn-area .btn1:hover {
  transform: translateY(5px);
  box-shadow: none;
}
#footer .content .btn-area .btn2 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #66e3ff;
  border-radius: 20px;
  box-shadow: 0px 4px 0px 0px #aaa;
  font-weight: bold;
  padding: 25px 0;
}
#footer .content .btn-area .btn2:hover {
  transform: translateY(5px);
  box-shadow: none;
}
#footer .copyright {
  font-size: 12px;
  text-align: center;
}

/*-------------------------------------------
Pagination
-------------------------------------------*/
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}
.pagination li{
  margin: 0 10px;
}
.pagination .btn1 {
  max-width: 300px;
  border: solid 1px #121212;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  font-size: 16px;
  padding: 10px 20px 10px 30px;
  position: relative;
  text-align: center;
}
.pagination .btn1::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  transform: rotate(225deg);
  position: absolute;
  top: 18px;
  left: 14px;
}
.pagination .btn2 {
  max-width: 300px;
  border: solid 1px #121212;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  font-size: 16px;
  padding: 10px 30px 10px 20px;
  position: relative;
  text-align: center;
}
.pagination .btn2::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  transform: rotate(45deg);
  position: absolute;
  top: 18px;
  right: 14px;
}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and  (max-width: 1020px) and (min-width: 768px) {
  /*-------------------------------------------
  Header
  -------------------------------------------*/
  #header {
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }
  #header .logo {
    max-width: 120px;
  }
  #header .navi {
    width: 80%;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 20;
    transition: all 0.6s;
  }
  #header .navi.active {
    right: 0;
  }
  #header .navi .menu {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 60px 0;
    overflow: auto;
  }
  #header .navi .menu li {
    padding: 10px 0;
    margin-left: 0;
  }
  #header .hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }
  #header .hamburger span {
    width: 30px;
    height: 3px;
    background-color: #000;
    display: inline-block;
    position: absolute;
    left: 10px;
    transition: all 0.4s;
  }
  #header .hamburger span:nth-of-type(1) {
    top: 16px; 
  }
  #header .hamburger span:nth-of-type(2) {
    top: 25px;
  }
  #header .hamburger span:nth-of-type(3) {
    top: 34px;
  }
  #header .hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
  }
  #header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }
  #header .hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
  }

}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
  main {
    padding-top: 60px;
  }

  /*-------------------------------------------
  Page-header
  -------------------------------------------*/
  .page-header {
    padding-bottom: 10px;
  }
  .page-header .img img {
    max-height: 270px;
    margin-bottom: 30px;
  }
  .page-header .text {
    max-width: 400px;
    padding: 20px 30px;
    bottom: 50px;
  }
  .page-header .text .page-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  /*-------------------------------------------
  Title
  -------------------------------------------*/
  /* メインセクションタイトル */
  .main-section-title {
    font-size: 26px;
    max-width: 350px;
    outline: 2px solid #333;
    margin: 30px;
    margin-inline: auto;
  }

  /* セクションタイトル */
  .section-title {
    font-size: 24px;
    margin-bottom: 60px;
  }
  .section-title::after {
    width: 60px;
  }

  /*-------------------------------------------
  News
  -------------------------------------------*/
  .news {
    padding-top: 40px;
  }
  .news .item.topic1 {
    flex-direction: column;
    margin-bottom: 60px;
  }
  .news .item.topic2 {
    flex-direction: column-reverse;
    margin-bottom: 60px;
  }
  .news .item .img {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .news .item .text {
    max-width: 100%;
    padding: 0;
  }
  .news .item .text .content-title {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /*-------------------------------------------
  Header
  -------------------------------------------*/
  #header {
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }
  #header .logo {
    max-width: 120px;
  }
  #header .navi {
    width: 80%;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 20;
    transition: all 0.6s;
  }
  #header .navi.active {
    right: 0;
  }
  #header .navi .menu {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 60px 0;
    overflow: auto;
  }
  #header .navi .menu li {
    padding: 10px 0;
    margin-left: 0;
  }
  #header .hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }
  #header .hamburger span {
    width: 30px;
    height: 3px;
    background-color: #000;
    display: inline-block;
    position: absolute;
    left: 10px;
    transition: all 0.4s;
  }
  #header .hamburger span:nth-of-type(1) {
    top: 16px; 
  }
  #header .hamburger span:nth-of-type(2) {
    top: 25px;
  }
  #header .hamburger span:nth-of-type(3) {
    top: 34px;
  }
  #header .hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
  }
  #header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }
  #header .hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
  }

  /*-------------------------------------------
  Footer
  -------------------------------------------*/
  #footer .content {
    flex-direction: column;
    padding: 40px 20px;
    margin: 20px auto;
  }
  #footer .content .info-area {
    width: 100%;
    margin-bottom: 30px;
  }
  #footer .content .btn-area {
    width: 100%;
    margin: 0 auto;
  }

}
