@charset "UTF-8";
/*
Theme Name: 山口県耐震ポータルサイト
*/
/* フォントのインポート */
/* @import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700;800;900&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap");
/* カスタムプロパティ定義 */
:root {
  /* フォントの太さ */
  --Light: 300;
  --Regular: 400;
  --Medium: 500;
  --SemiBold: 600;
  --Bold: 700;
  --ExtraBold: 800;
  --Black: 900;
  /* 画面サイズ関連 */
  --min-window: 1280px; /* ウィンドウサイズがこれより小さい場合は */
  --inner: 1000px; /* ニュース等の横幅 */
}

/* html全体に関わるもの */
html,
body {
  margin: 0;
  /* font-family: "Noto Serif JP", serif; */
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #241716;
  scroll-behavior: smooth;
  min-width: var(--min-window);
  letter-spacing: 2px;
  line-height: 2;
}
html:has(.toggle:checked),
body:has(.toggle:checked) {
  overflow: hidden;
}
html,
body {
  /* 横幅1920pxのときに10pxになる */
  /* font-size: calc(100vw / 192); */
}

@media screen and (max-width: 767px) {
  html,
  body {
    width: auto;
    min-width: auto;
    /* 横幅768pxのときに10pxになる */
    /* font-size: calc(100vw / 76.8); */
  }
  .pc {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .sp {
    display: none !important;
  }
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
  word-wrap: break-word;
}
a:hover {
  opacity: 0.6;
}

img {
  display: block;
  vertical-align: top;
  max-width: 100%;
}

summary::marker {
  content: "";
}

section[id^=page] {
  width: var(--inner);
  margin: 0 auto;
}

/* rechaptchaの非表示 */
/*
.grecaptcha-badge {
  visibility: hidden;
}
*/
#header .logo {
  max-width: 800px;
  margin: 24px;
}
@media screen and (max-width: 767px) {
  #header .logo {
    max-width: 75%;
    margin: 16px auto 16px 16px;
  }
}
#header .toggle {
  display: none;
}
#header .toggle:checked + .menu-button + nav ul {
  left: 0;
}
#header .menu-button {
  display: none;
  position: absolute;
  width: 45px;
  height: 45px;
  top: 0;
  right: 0;
  background-color: #3d96b0;
  transition: 0.3s;
}
@media screen and (max-width: 767px) {
  #header .menu-button {
    display: block;
  }
}
#header .menu-button span {
  position: absolute;
  background-color: #fff;
  width: 25px;
  height: 3px;
  left: 10px;
  border-radius: 4px;
}
#header .menu-button span:nth-child(1) {
  top: 12px;
}
#header .menu-button span:nth-child(2) {
  top: 21px;
}
#header .menu-button span:nth-child(3) {
  top: 30px;
}
#header .menu-button.close span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
#header .menu-button.close span:nth-child(2) {
  transform: rotate(45deg);
}
#header .menu-button.close span:nth-child(3) {
  top: 21px;
  transform: rotate(135deg);
}
#header nav ul {
  position: relative;
  list-style-type: none;
  margin: 0;
  padding-inline-start: 0;
  display: flex;
  gap: 44px;
  align-items: center;
  background-color: #3d96b0;
  color: #fff;
  margin: 0 auto;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s;
}
@media screen and (max-width: 767px) {
  #header nav ul {
    display: block;
    position: fixed;
    top: 0;
    left: 100vw;
    width: 100vw;
    height: 100dvh;
    z-index: 2;
    overflow: hidden;
    padding-top: 60px;
  }
}
#header nav ul li {
  position: relative;
}
#header nav ul li .item {
  display: block;
  position: relative;
  padding: 20px 0;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  #header nav ul li .item {
    padding: 8px 16px;
  }
}
#header nav ul li .item:hover {
  opacity: 1;
  color: #fef100;
}
#header nav ul li .item::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fef100;
  border-right: 2px solid #fef100;
  transform: rotate(45deg);
  margin-left: 9px;
}
@media screen and (max-width: 767px) {
  #header nav ul li .item.about {
    cursor: auto;
  }
}
#header nav ul li .item.about:hover + .fukidashi {
  display: block;
}
#header nav ul li .item.about::after {
  transform: rotate(135deg);
  margin-bottom: 2px;
}
#header nav ul li .fukidashi {
  display: none;
  position: absolute;
  width: 495.2px;
  height: 100.8px;
  background-image: url("./images/fukidashi.png");
  background-size: cover;
  color: #000;
  margin-top: -20px;
}
@media screen and (max-width: 767px) {
  #header nav ul li .fukidashi {
    width: auto;
    height: auto;
    position: relative;
    background: none;
    display: block;
    color: #fff;
  }
}
#header nav ul li .fukidashi:hover {
  display: block;
}
#header nav ul li .fukidashi .fukidashi-inner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 44px;
  gap: 24px;
}
@media screen and (max-width: 767px) {
  #header nav ul li .fukidashi .fukidashi-inner {
    display: block;
    padding: 16px 32px 24px;
    margin: 0;
  }
}
#header nav ul li .fukidashi .fukidashi-inner .fukidashi-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  #header nav ul li .fukidashi .fukidashi-inner .fukidashi-item {
    display: block;
  }
}
#header nav ul li .fukidashi .fukidashi-inner .fukidashi-item:hover {
  color: #1b86ac;
}
#header nav ul li .fukidashi .fukidashi-inner .fukidashi-item::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  background-image: url("./images/arrow-right.png");
  background-size: cover;
}

#front-page #why {
  display: flex;
  width: 1200px;
  margin: 0 auto;
  padding: 96px 0;
}
@media screen and (max-width: 767px) {
  #front-page #why {
    width: auto;
    flex-wrap: wrap;
    padding: 32px 0;
  }
}
@media screen and (max-width: 767px) {
  #front-page #why .left {
    order: 2;
  }
}
@media screen and (max-width: 767px) {
  #front-page #why .left img {
    width: 60%;
    margin: 32px auto;
  }
}
#front-page #why .right {
  width: 66%;
  margin: 32px 0 0 5%;
}
@media screen and (max-width: 767px) {
  #front-page #why .right {
    width: 100%;
    margin: 0 16px;
  }
}
#front-page #why .right .title {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: bold;
  padding: 0 64px 8px 0;
  margin-bottom: 32px;
  border-bottom: #000 4px solid;
}
@media screen and (max-width: 767px) {
  #front-page #why .right .title {
    font-size: 1.25rem;
    padding: 0 48px 8px 0;
  }
}
#front-page #why .right .text {
  font-size: 1.5rem;
  margin-bottom: 60px;
  letter-spacing: 4px;
}
@media screen and (max-width: 767px) {
  #front-page #why .right .text {
    font-size: 0.875rem;
    letter-spacing: 2px;
  }
}
#front-page #why .right .text .yellow-line {
  font-weight: bold;
  background: linear-gradient(transparent 65%, #ffef02 65%);
}
#front-page #why .right .text2 {
  display: inline-block;
  font-size: 2rem;
}
@media screen and (max-width: 767px) {
  #front-page #why .right .text2 {
    font-size: 1rem;
  }
}
#front-page #why .right .text2.yellow-line {
  font-weight: bold;
  background: linear-gradient(transparent 75%, #ffef02 75%);
}
#front-page .pickup {
  background-color: #d7f1fc;
}
#front-page .pickup .inner {
  width: 1180px;
  margin: 0 auto;
  padding: 64px 0;
}
@media screen and (max-width: 767px) {
  #front-page .pickup .inner {
    width: auto;
    margin: 0 24px;
    padding: 32px 0;
  }
}
#front-page .pickup .inner .title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  #front-page .pickup .inner .title {
    font-size: 2rem;
  }
}
#front-page .pickup .inner .subtitle {
  color: #989898;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 80px;
  font-family: "lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}
@media screen and (max-width: 767px) {
  #front-page .pickup .inner .subtitle {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }
}
#front-page .pickup .inner .pickup-item {
  display: block;
  width: 80%;
  margin: 0 auto 32px;
}
@media screen and (max-width: 767px) {
  #front-page .pickup .inner .pickup-item {
    width: 100%;
    margin: 0 auto 16px;
  }
}
#front-page #news {
  background-color: #f4d562;
}
#front-page #news .inner {
  width: 1180px;
  margin: 0 auto;
  padding: 64px 0;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner {
    width: auto;
    margin: 0 24px;
  }
}
#front-page #news .inner .title-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .title-wrap {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .title-wrap .title-wrap-inner {
    width: 100%;
  }
}
#front-page #news .inner .title-wrap .title-wrap-inner .title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .title-wrap .title-wrap-inner .title {
    font-size: 2rem;
  }
}
#front-page #news .inner .title-wrap .title-wrap-inner .subtitle {
  color: #651901;
  font-size: 1.5rem;
  line-height: 1.5;
  font-family: "lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .title-wrap .title-wrap-inner .subtitle {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .title-wrap .more {
    width: 130px;
  }
}
#front-page #news .inner .news-wrap {
  background-color: #ededee;
  padding: 48px 64px;
  border-radius: 16px;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .news-wrap {
    border-radius: 8px;
    padding: 16px;
  }
}
#front-page #news .inner .news-wrap .news {
  display: block;
  position: relative;
  border-bottom: 1px solid #b2b2b2;
  padding: 32px 0;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .news-wrap .news {
    padding: 16px 0;
  }
}
#front-page #news .inner .news-wrap .news:last-child {
  border-bottom: none;
}
#front-page #news .inner .news-wrap .news::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 25px;
  height: 21px;
  right: 0;
  bottom: 40px;
  background-image: url("./images/top/arrow.png");
  background-size: cover;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .news-wrap .news::after {
    width: 12.5px;
    height: 10.5px;
    bottom: 24px;
  }
}
#front-page #news .inner .news-wrap .news .flex {
  display: flex;
  margin-bottom: 8px;
}
#front-page #news .inner .news-wrap .news .flex .date {
  display: inline-block;
  color: #b2b2b2;
  margin-right: 24px;
  font-family: "lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .news-wrap .news .flex .date {
    font-size: 0.625rem;
    margin-right: 8px;
  }
}
#front-page #news .inner .news-wrap .news .flex .category {
  color: #651902;
  font-weight: bold;
  padding: 0 16px;
  border-radius: 16px;
  letter-spacing: 0;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .news-wrap .news .flex .category {
    font-size: 0.625rem;
    padding: 0 12px;
  }
}
#front-page #news .inner .news-wrap .news .flex .category.お知らせ {
  background-color: #f5f583;
}
#front-page #news .inner .news-wrap .news .flex .category.補助金・支援制度 {
  background-color: #fbefcf;
}
#front-page #news .inner .news-wrap .news .flex .category.イベント {
  background-color: #f7dde9;
}
#front-page #news .inner .news-wrap .news .title {
  font-size: 1.25rem;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  #front-page #news .inner .news-wrap .news .title {
    font-size: 0.75rem;
    width: 85%;
    letter-spacing: 1px;
  }
}
#front-page #other .inner {
  width: 1200px;
  margin: 0 auto;
  padding: 64px 0;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner {
    width: auto;
    padding: 32px 0 0;
  }
}
#front-page #other .inner .flex {
  display: flex;
  gap: 6%;
  margin-bottom: 120px;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .flex {
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin: 0 16px 40px;
  }
}
#front-page #other .inner .flex .left {
  width: 53%;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .flex .left {
    width: 100%;
    margin-bottom: 16px;
  }
}
#front-page #other .inner .flex .right {
  position: relative;
  width: 41%;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .flex .right {
    width: 100%;
    text-align: center;
  }
}
#front-page #other .inner .flex .right .text {
  font-size: 1.25rem;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .flex .right .text {
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 32px;
  }
}
#front-page #other .inner .flex .right .more {
  position: absolute;
  bottom: 0;
  right: 0;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .flex .right .more {
    position: static;
    width: 150px;
    margin: 0 auto;
  }
}
#front-page #other .inner .flex .title {
  display: flex;
  font-size: 2.5rem;
  font-weight: bold;
  align-items: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .flex .title {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }
}
#front-page #other .inner .flex .title::before {
  content: "●";
  display: inline-block;
  color: #eec171;
  margin-right: 16px;
  font-size: 3rem;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .flex .title::before {
    font-size: 2rem;
    margin-right: 8px;
  }
}
#front-page #other .inner .movie {
  position: relative;
  padding: 32px;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .movie {
    padding: 0;
    overflow: hidden;
  }
}
#front-page #other .inner .movie img {
  max-width: 110%;
  margin-left: -5%;
}
#front-page #other .inner .movie .more {
  position: absolute;
  left: 120px;
  bottom: 180px;
}
@media screen and (max-width: 767px) {
  #front-page #other .inner .movie .more {
    width: 100px;
    left: 0;
    right: 0;
    bottom: 30px;
    margin: 0 auto;
  }
}

footer {
  background-color: #eec171;
}
footer .arrow-top {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: -80px;
  right: 50px;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: 0.3s;
}
@media screen and (max-width: 767px) {
  footer .arrow-top {
    width: 40px;
    height: 40px;
    right: 20px;
  }
}
footer .arrow-top.fade-in {
  opacity: 1;
  bottom: 80px;
}
@media screen and (max-width: 767px) {
  footer .arrow-top.fade-in {
    bottom: 30px;
  }
}
footer .flex {
  display: flex;
  width: 1280px;
  margin: 0 auto;
  padding: 64px 0;
}
@media screen and (max-width: 767px) {
  footer .flex {
    width: auto;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 32px 0 96px;
  }
}
footer .flex .left {
  margin-right: 20%;
}
@media screen and (max-width: 767px) {
  footer .flex .left {
    order: 2;
    margin: 0;
  }
}
footer .flex .left .logo {
  margin-bottom: 32px;
}
@media screen and (max-width: 767px) {
  footer .flex .left .logo {
    width: 50%;
    margin: 32px auto 8px;
  }
}
footer .flex .left .item {
  display: inline-block;
  width: 4.5rem;
  font-weight: bold;
  text-align: center;
  color: #651902;
  background-color: #fff;
  border-radius: 16px;
  border: 1px solid #651902;
  line-height: 1.4;
  margin-right: 8px;
}
@media screen and (max-width: 767px) {
  footer .flex .left .item {
    width: 3.5rem;
    font-size: 0.8125rem;
    margin-right: 0;
  }
}
@media screen and (max-width: 767px) {
  footer .flex .left .item-detail {
    font-size: 0.8125rem;
  }
}
footer .flex .left .link {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: bold;
  margin: 24px 0 0;
}
@media screen and (max-width: 767px) {
  footer .flex .left .link {
    margin: 16px 0 0;
    font-size: 0.875rem;
  }
}
footer .flex .left .link::after {
  display: inline-block;
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 8px;
  background-image: url("./images/link.png");
  background-size: cover;
}
footer .flex .middle {
  margin-right: 7%;
}
@media screen and (max-width: 767px) {
  footer .flex .middle {
    margin-right: 0;
  }
}
footer .flex .middle,
footer .flex .right {
  color: #651902;
  margin-top: 16px;
}
footer .flex .middle .item,
footer .flex .right .item {
  display: block;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 8px;
}
@media screen and (max-width: 767px) {
  footer .flex .middle .item,
  footer .flex .right .item {
    font-size: 0.8125rem;
  }
  footer .flex .middle .item::before,
  footer .flex .right .item::before {
    margin-right: 4px;
  }
}
footer .flex .middle .item.mb32,
footer .flex .right .item.mb32 {
  margin-bottom: 32px;
}
footer .flex .middle .item::before,
footer .flex .right .item::before {
  display: inline-block;
  content: "●";
  margin-right: 8px;
}
footer .flex .middle .item-detail,
footer .flex .right .item-detail {
  display: block;
  margin-left: 32px;
}
@media screen and (max-width: 767px) {
  footer .flex .middle .item-detail,
  footer .flex .right .item-detail {
    font-size: 0.75rem;
    margin-left: 16px;
  }
}
footer .flex .middle .item-detail.mb32,
footer .flex .right .item-detail.mb32 {
  margin-bottom: 32px;
}
footer .flex .middle .item-detail::before,
footer .flex .right .item-detail::before {
  display: inline-block;
  content: "─";
  margin-right: 8px;
}
footer .bottom {
  color: #fff;
  text-align: center;
  letter-spacing: 0;
  padding-bottom: 16px;
}
@media screen and (max-width: 767px) {
  footer .bottom {
    font-size: 0.6875rem;
  }
}
