@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  color: #000;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}
a {
  text-decoration: none;
  color: #000;;
  transition: 0.3s all;
}
a:hover {
  opacity: 0.7;
}
li {
  list-style: none; 
}
img {
  max-width: 100%;
  vertical-align: bottom;
  object-fit: cover;
}

/*-------------------------------------------
header
-------------------------------------------*/
.header {
  background-color: #fff;
  padding: 30px;
  display: flex;
  align-items: center;
}
.header-logo {
  width: 80px;
  margin-right: clamp(20px, 5vw, 130px);
  flex-shrink: 0;
}
.header-nav {
  font-size: 16px;
  font-weight: 600;
  margin-right: auto;
}
.header-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 0;
  margin-bottom: 0;
}
.header-nav-row > li {
  padding-inline: 1em;
  position: relative;
}
.header-nav-row > li:not(:last-child) {
  border-right: 1px solid #000;
}
.header-nav-row > li > a:hover {
  color: #129459;
  opacity: 1;
}
.header-nav-li:hover {
  color: #129459;
  opacity: 1;
  cursor: pointer;
}
.header-nav-row li ul {
  font-size: 14px;
  background-color: #129459;
  position: absolute;
  padding: 0.5em 1em;
  z-index: 100;
  display: none;
}
.header-nav-row > li:hover ul {
  display: block;
}
.header-nav-row > li:nth-child(1) ul {
  width: 12em;
  left: calc(50% - 6em);
}
.header-nav-row > li:nth-child(4) ul {
  width: 18em;
  left: calc(50% - 9em);
}
.header-nav-row ul li {
  padding-block: 0.5em;
}
.header-nav-row ul a {
  color: #fff;
}
.header-button {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  padding: 0.5em;
  width: min(21vw, 300px);
  background-color: #E01810;
  border-radius: 12px;
  margin-left: 40px;
}

/*-------------------------------------------
footer
-------------------------------------------*/
.footer a {
  color: #fff;
  font-weight: normal;
}
.footer-button {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 50px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 100;
}
.footer-button a {
  font-size: min(24px, 2.3vw);
  font-weight: bold;
  display: block;
  background-color: #129459;
  width: min(420px, 29vw);
  padding: 0.35em;
}
.footer-button a:hover {
  opacity: 0.9;
}
.footer-button a:last-child {
  background-color: #FF3301;
}
.footer-inner {
  color: #fff;
  background-color: #97a3a7;
  padding: 45px 50px 70px;
}
.footer-nav {
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  margin-bottom: 80px;
}
.footer-logo {
  display: block;
  width: 8.5vw;
}
.footer-nav-item {
  padding-top: 45px;
  padding-left: 20px;
}
.footer-heading {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}
.footer-nav li {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.copy {
  text-align: center;
}

/*-------------------------------------------
下層ページのタイトルまわり
-------------------------------------------*/
.page-mv {
  height: 260px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 35px;
  padding-left: calc(50vw - 620px);
  margin-bottom: 95px;
}
.page-mv container {
  display: flex;
  align-items: center;
}
.page-title {
  font-size: clamp(40px, 4.6vw, 48px);
  font-weight: bold;
  line-height: 1.3;
  color: #fff;
  padding-left: 20px;
}

.page-section-title {
  font-size: clamp(28px, 3.6vw, 32px);
  font-weight: bold;
  line-height: 1.5;
  color: #129459;
  text-align: center;
}

/*-------------------------------------------
関連ページのリンク
-------------------------------------------*/
.relation-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  margin-bottom: 100px;
}
.relation-link li {
  margin-right: 20px;
}
.relation-link li:last-child {
  margin-right: 0;
}
.relation-link li a {
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: #129459;
  background-color: #fff;
  padding: 0.6em 1.5em;
  border: 1px solid #129459;
  border-radius: 999px;
  margin-inline: auto;
}
.relation-link li a span {
  margin-left: 1em;
}


/*-------------------------------------------
Tablet
-------------------------------------------*/
@media screen and (max-width: 1024px) {
  /* header
  -------------------------------------------*/
  .header-logo {
    margin-right: 20px;
  }
  .header-nav-row > li {
    padding-inline: 0.8em;
  }
  .header-button {
    font-size: 18px;
    margin-left: 60px;
  }

    /* footer
  -------------------------------------------*/
  .footer-inner {
    padding: 60px 30px 70px;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: minmax(144px, auto) minmax(122px, auto) minmax(144px, auto);
    gap: 40px 60px;
    justify-content: center;
    margin-bottom: 60px;
  }
  .footer-logo {
    min-width:100px;
  }
  .footer-nav-item {
    padding-top: 0;
  }
}


/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }

  /* header
  -------------------------------------------*/
  .header {
    height: 50px;
    padding: 5px 15px 5px 20px;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0 2px 4px #ccc;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  .header-button {
    font-size: 15px;
    color: #000;
    width: auto;
    background-color: transparent;
    order: -1;
    margin-left: 0;
  }
  .header-logo {
    width: 38px;
    margin-right: 0;
  }

  .hamburger {
    width: 60px;
    height: 16px;
    cursor: pointer;
    position: relative;
  }
  .hamburger span {
    width: 25px;
    height: 2px;
    background-color: #000;
    display: block;
    position: absolute;
    top: 7px;
    right: 0;
  }
  .hamburger span:first-child {
    top: 0px;
  }
  .hamburger span:last-child {
    top: 14px;
  }

  .over-lay {
    display: none;
  }
  .header.open .over-lay {
    display: block;
    width: 100%;
    height: 100lvh;
    background-color: #fff;
    opacity: 0.7;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }

  .header-nav {
    width: 90%;
    height: 100vh;
    background-color:#97A3A7;
    padding: 1em 1em 10em;
    overflow-y: auto;
    position: fixed;
    top: 50px;
    right: -90%;
    z-index: 999;
    transition: all 0.3s ease;
  }
  .header.open .header-nav {
    right: 0;
  }
  .header-nav-row {
    display: block;
  }
  .header-nav-row > li {
    font-weight: 500;
    color: #fff;
    padding: 0.7em 0 0.7em 1em;
    border-bottom: 1px solid #fff;
  }
  .header-nav-row > li:not(:last-child) {
    border-right: none;
  }
  .header-nav-row li a {
    font-weight: 500;
    color: #fff;
    padding: 0.5em 0;
  }
  .header-nav li a:hover {
    color: #fff;
    opacity: 0.7;
  }
  .header-nav-li:hover {
    color: #fff;
    cursor: default;
  }
  .header-nav-row li ul {	
    display: block;
    margin-top: 0.2em;
    background-color: transparent;
    position: static;
    padding: 0;
  }
  .header-nav-row ul li {
    padding: 0.4em 0 0.4em 1em;
  }
  .header-nav-row > li:nth-child(1) ul,
  .header-nav-row > li:nth-child(4) ul {
    width: auto;
  }

  .close {
    width: 25px;
    height: 25px;
    cursor: pointer;
    margin-left: auto;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 1;
  }
  .close span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    display: block;
    position: absolute;
    top: 50%;
  }
  .close span:first-child {
    transform: rotate(45deg);
  }
  .close span:last-child {
    transform: rotate(-45deg);
  }

  /* footer
  -------------------------------------------*/
  .footer {
    position: relative;
  }
  .footer-button {
    width: 100%;
    gap: 10px;
  }
  .footer-button a {
    font-size: 16px;
    width: 160px;
    padding: 0.5em;
  }
  .footer-inner {
    padding: 30px 20px 65px;
  }
  .copy {
    font-size: 14px;
  }

  /* 下層ページのタイトルまわり
  -------------------------------------------*/
  .page-mv {
    height: 250px;
    padding-top: 25px;
    padding-left: 25px;
    padding-right: 10px;
    margin-top: 50px;
    margin-bottom: 45px;
  }
  .page-title {
    font-size: clamp(30px, 6.6vw, 38px);
    line-height: 1.5;
    padding-left: 0

  } 
  .page-section-title {
    font-size: clamp(24px, 5.3vw, 32px);
  }
  /* .page-title {
    font-size: 50px;
  }  */
  /* .page-section-title {
    font-size: 36px;
  } */
  
  /*-------------------------------------------
  関連ページのリンク
  -------------------------------------------*/
  .relation-link {
    margin-bottom: 80px;
  }
  .relation-link li {
    margin-right: 10px;
  }
  .relation-link li a {
    font-size: 12px;
    padding: 0.6em 1em;
  }
  .relation-link li a span {
    margin-left: 0.6em;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none !important;
  }
}
