@charset "UTF-8";

/*====COMMON=====================*/

*, *::before, *::after {
  box-sizing: border-box;
}
html{
  height: 100%;
  font-size: 62.5%;
}
html.fixed, html.fixed body {
  height: 100%;
  overflow: hidden;
}
:root {
  --headerHeight: 108px;
}
body{
  height: 100%;
  margin: 0;
  color: #333;
  font-family: 'Noto Serif JP', serif;
}
body.fixed {
  margin: auto;
  position: fixed;
  left: 0;
  right: 0;
}
.header {
  height: 50%;
  /* padding-top: 108px; */
  padding-top: var(--headerHeight);
}
.header__inner {
  height: 100%;
}
/* .kv-area {
  height: 100%;
} */
h1, h2, h3 {
  font-weight: normal;
}
a {
  color: #333;
  text-decoration: none;
  transition: opacity 0.4s;
}
a:hover {
  opacity: 0.8;
}
p {
  /* margin: 1rem 0; */
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
table {
  border-collapse: collapse;
}
th, td {
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  padding: 2rem;
  font-weight: normal;
}
.preload {
  transition: none !important;
}
.sp-content {
  display: none;
}
/* .gothic {
  font-family: 'Noto Sans JP', sans-serif;
} */

@media screen and (max-width:1100px) {
  :root {
    --headerHeight: 95px;
  }
}
@media screen and (max-width:768px) {
  html{
    /* font-size: 50%; */
  }
  :root {
    --headerHeight: 48px;
  }
  .sp-content {
    display: block;
  }
  .pc-content {
    display: none;
  }
}
@media screen and (max-width:360px) {
  :root {
    --headerHeight: 78px;
  }
}
@media screen and (max-width:340px) {
  :root {

  }
}

/*====SLICK=====================*/
.box__slider > li {
  opacity: 0;
}
.box__slider > li:not(:first-of-type) {
  display: none;
}


/*====SLIDE MENU=====================*/
.slide-menu {
  position: fixed;
  top: 54px;
  right: 55px;
  z-index: 100;
  transform: translate(0, -50%);
}
.slide-menu a {
  display: inline-block;
  padding: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;

}
.slide-menu__menuTab ul {
  display: flex;
  gap: 0 52px;
}
.slide-menu__menuTab ul li {
  position: relative;
}
.slide-menu__menuTab ul > li + li::before {
  content: '';
  display: block;
  width: 1px;
  height: 16px;
  background-color: #ddd;
  position: absolute;
  top: 50%;
  left: -26px;
  transform: translate(-50%, -50%);
}

@media screen and (max-width:1100px) {
  .slide-menu {
    width: 100%;
    color: #ffffff;
    top: 0;
    right: 0;
    transform: translate(0, 0);
  }
  .slide-menu a {
    color: #ffffff;
  }
  .slide-menu.active {
    height: 100%;
  }
  .slide-menu__bg {
    width: calc(100vw - 15px);
    height: 100%;
    background-color: #000000;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    cursor: pointer;
  }
  .slide-menu__menuTab {
    width: 30%;
    height: 100vh;
    font-size: 1.6rem;
    background-color: #2A739A;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 11;
    transition: transform 0.6s, width 0.6s;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    opacity: 0;
  }
  .slide-menu.active .slide-menu__menuTab {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    opacity: 1;

  }
  .slide-menu__menuTab ul {
    display: block;
    margin-left: 20%;
  }
  .slide-menu__menuTab ul li {
    padding: 1em 0;
  }
  .slide-menu__menuTab ul > li + li::before {
    display: none;
  }

  .btn-hbg {
    cursor: pointer;
    width: 48px;
    height: 20px;
    position: fixed;
    top: 47.5px;
    right: 40px;
    z-index: 100;
    transition: backgroud-color 0.8s, opacity 0.8s;
    transform: translate(0, -50%);
  }
  .btn-hbg:hover {
    opacity: 0.6;
  }
  .btn-hbg::before,
  .btn-hbg::after {
    content: '';
    display: block;
  }
  .btn-hbg span,
  .btn-hbg::before,
  .btn-hbg::after {
    width: 100%;
    height: 1px;
    background-color: #1A1311;
    position: absolute;
    left: 0;
    transition: opacity 0.4s, transform 0.4s;
  }
  .btn-hbg.active span,
  .btn-hbg.active::before,
  .btn-hbg.active::after {
    background-color: #fff;
  }
  .btn-hbg span {
    top: 50%;
    transform: translate(0, -50%);
}
  .btn-hbg.active span {
    opacity: 0;
  }
  .btn-hbg::before {
    top: 0;
  }
  .btn-hbg.active::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .btn-hbg::after {
    bottom: 0;
  }
  .btn-hbg.active::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}
@media screen and (max-width:768px) {
  .btn-hbg {
    width: 27px;
    height: 11px;
    top: 24px;
    right: 15px;
  }
  .slide-menu__menuTab {
    width: 50%;
  }
}

@media screen and (max-width:540px) {
  .slide-menu__menuTab {
    width: 100%;
    justify-content: center;
  }
  .slide-menu.active .slide-menu__menuTab ul {
    margin-left: 0;
  }
}

/*====KV AREA=====================*/
.kv-area {
  color: #fff;
  position: relative;
}
.kv-area--image {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 100%;
  min-height: 100%;
  vertical-align: bottom;
  transform: translate(-50%,-50%);
}
.kv__text {
  width: 100%;
  font-size: 2rem;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  z-index: 1;
}
.kv__text > h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 5.2rem;
  margin: 0;
  font-weight: normal;
}
.kv__logo {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: var(--headerHeight);
  padding: 10px;
  background-color: #fff;
}
.kv__logo a {
  /* width: 75%; */
  width: fit-content;
  /* max-width: 355px; */
  display: inline-block;
  color: #191210;
  position: relative;
}
.kv__logo .box {
  display: flex;
  align-items: center;
  gap: 0 15px;
}
.logo__image {
  display: none;
  width: 65px;;
}
.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px 0;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.4;
}
.logo__text-top,
.logo__text-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
}
.logo__text .text {
  font-size: 2rem;
  font-weight: bold;
}
.logo__text .label {
  display: inline-block;
  padding: 0.25em 1em;
  background-color: #A50005;
  color: #fff;
  font-size: 1.2rem;
}
.kv__logo .kv__heading {
  font-size: 2.0rem;
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
}
.kv__logo .kv__heading span,
.kv__logo .kv__heading small {
  display: block;
  color: #191210;
  font-weight: bold;
}
.kv__logo .kv__heading span {
  font-size: 2rem;
}
.kv__logo .kv__heading small {
  font-size: 1.4rem;
}
.kv__logo .box__image {
  margin-left: 20px;
}
.kv__logo .box__image img {
  width: auto;
  vertical-align: middle;
}
@media screen and (min-width:1900px) {
  .kv-area--image {
    width: 100%;
  }
}
@media screen and (max-width:1110px) {
  .kv__logo {
  }
  .kv__text {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:768px) {
  .kv__logo {
    padding: 1rem 6rem 1rem 1.5rem;
  }
  .kv__logo a {
    width: fit-content;
  }
  .logo__image {
    width: 32px;
  }
  .logo__text .text {
    font-size: 12px;
  }
  .logo__text .label {
    padding: 0.25em 0.8em;
    font-size: 10px;
  }
  .kv__logo .kv__heading small {
    font-size: 0.6rem;
  }
  .kv__logo .kv__heading span {
    font-size: 1rem;
  }
  .kv__logo .box__image img {
    width: 60px;
  }
}

@media screen and (max-width:540px) {
  .kv__logo h1,
  .kv__logo p {
    font-size: 1.6rem;
  }
  .kv__logo h1 img,
  .kv__logo p img {
    width: 6rem;
  }
  .kv__text h1 {
    font-size: 3.4rem;
  }

  .slide-menu__menuTab {
    width: 100%;
    justify-content: center;
  }

  .slide-menu.active .slide-menu__menuTab ul {
    margin-left: 0;
  }

  .kv__text {
    padding-left: 6%;
  }

  .kv-area > h1.kv-area--designText {
    padding-right: 0;
  }

  .kv__text > h2 {
    font-size: 4.0rem;
  }

}
@media screen and (max-width:450px) {
  .kv__logo .kv__heading {
    line-height: 1.1;
  }
  .kv__logo .box__image {
    margin-left: 4px;
  }
}
@media screen and (max-width:360px) {
  .logo__text-top,
  .logo__text-bottom {
    flex-wrap: wrap;
  }
}
@media screen and (max-width:320px) {
  .logo__text .text {
    font-size: 10px;
  }
}

/*====SUB NAV=====================*/

.m-content-inner {
  overflow: hidden;
}

.m-sub-navigation {
  font-size: 1.6rem;
}

.m-sub-navigation__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-bottom: 2px solid #ddd;
}

.m-sub-navigation__list li {
  min-width: 124px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
}

.m-sub-navigation__list li.selected,
.m-sub-navigation__list li.selected a {
  color: #3f7197;
}

.m-sub-navigation__list li.selected::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #3f7197;
  width: 100%;
  height: 2px;
}

.m-sub-navigation__list li a {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  padding: 30px;
  align-items: center;
}

.m-sub-navigation__list li a:hover {
  color: #3f7197;
}
@media screen and (max-width:1100px) {
  .m-sub-navigation {
    font-size: 1.4rem;
  }
  .m-sub-navigation__list li a {
    padding: 15px 20px;
  }
}
@media screen and (max-width:768px) {
  /* .m-sub-navigation {
    font-size: 1.4rem;
  } */
  .m-sub-navigation__list {
    border-bottom: none;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .m-sub-navigation__list li {
    display: block;
    width: 50%;
    border-bottom: 2px solid #ddd;
  }
  .m-sub-navigation__list li:nth-of-type(odd) {
    border-right: 1px solid #ddd;
  }
  .m-sub-navigation__list li:nth-of-type(even) {
    border-left: 1px solid #ddd;
  }
  .m-sub-navigation__list li a {
    display: block;
    text-align: center;
    /* padding: 15px 20px; */
  }
  .m-sub-navigation__list li.selected a {
    color: #fff;
    background-color: #3f7197;
  }
  .m-sub-navigation__list li.selected::after {
    content: none;
  }
}
@media screen and (max-width:540px) {
  .m-sub-navigation {
    margin-bottom: 80px;
  }
  .m-sub-navigation__list li {
    width: 100%;
    text-align: left;
  }
}

/*====BREADCRUMB=====================*/

.m-breadcrumb {
  font-size: 1.3rem;
  display: none;
}

.m-breadcrumb ul {
  padding-left: 5rem;
  color: #ffffff;
  background-color: #707070;
}

.m-breadcrumb ul::after {
  content: "";
  display: block;
  clear: both;
}

.m-breadcrumb ul li {
  padding: 1em;
  float: left;
}

/*====ANNOTATION=====================*/
.superscript {
  vertical-align: super;
  font-size: 0.5em;
  display: inline-block;
  padding-bottom: 0.5em;
}
.annotation {
  margin-top: 18px;
}
.main .annotation p,
.annotation ul li,
.annotation li {
  margin: 0.25em 0;
  font-size: 0.8em;
}
.annotation p {
  display: table;
  color: #666;
}
.annotation p > span {
  display: table-cell;
}
.annotation p > span:first-of-type {
  min-width: 60px;
  text-align: right;
}
.annotation + p,
.annotation + h2,
.annotation + h4 {
  margin-top: 70px;
}


/*====ITEMIZATON=====================*/
.itemization {
  margin-left: 1.5em;
  line-height: 1.8;
}
.itemization > li {
  list-style-type: disc;
}

/*====BTM=====================*/

.main .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 248px;
  margin: 0 auto;
  padding: 1em;
  background-color: #fff;
  border: 1px solid #3f7197;
  font-family: 'Noto Sans JP', sans-serif;
  color: #3f7197;
  font-size: 1.6rem;
  text-align: center;
  gap: 15px;
  transition: background-color 0.6s, border 0.6s;
}
.main .btn::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: url(../img/icon_toggle1.svg) no-repeat center;
  background-size: contain;
}
.main .btn:hover {
  background-color: #3f7197;
  color: #fff;
}
.main .btn:hover::after {
  background: url(../img/icon_toggle2.svg) no-repeat center;
}

/*====FOOTER=====================*/

.footer-nav {
  padding: 70px 20px;
  background-color: #fff;
}
.footer-nav a {
  display: inline-block;
  border-right: 1px solid #3f7197;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.2;
  color: #3f7197;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-nav__main li:last-of-type a,
.footer-nav__sub li:last-of-type a {
  border-right: 0;
}
.footer-nav__main,
.footer-nav__sub {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav__main {
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 1.8;
}
.footer-nav__main a {
  /* padding: 0 1.8em; */
  padding: 0 32px;
}
.footer-nav__sub {
  margin: 1em auto 0;
  font-size: 1.4rem;
}
.footer-nav__sub a {
  /* padding: 0 0.6em; */
  padding: 0 32px;
}
.footer__copyright {
  padding: 25px 20px;
  background-color: #3f7197;
  font-family: 'Noto Sans JP', sans-serif;
  color: #fff;
  text-align: center;
}
@media screen and (max-width:768px) {
  .footer-nav {
    padding: 0;
  }
  .footer-nav__main {
    display: none;
  }
  .footer-nav__sub {
    display: block;
    margin-top: 0;
    padding-bottom: 5px;
  }
  .footer-nav__sub > li {
    border-bottom: 1px solid #D1D0CF;
  }
  .footer-nav__sub > li:last-of-type {
    /* border-bottom: 1px solid #D1D0CF; */
  }
  .footer-nav__sub a {
    display: block;
    padding: 1.5em 4em 1.5em 1.5em;
    border-right: 0;
    position: relative;
  }
  .footer-nav__sub a::after {
    content: '';
    display: block;
    width: 1.2em;
    height: 1.2em;
    background: url(../img/icon_toggle1.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 2em;
    transform: translate(50%, -50%);
  }
}

/*====NEWS=====================*/

.m-news-list {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 1.8rem;

}
.m-news-list > li {
  padding: 1.8em 0;
  border-bottom: 1px solid #ddd;
}
.m-news-list > li > a {
  display: flex;
  align-items: center;
}
.m-news .line {
  display: flex;
  /* align-items: flex-start; */
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6em 32px;
}
.m-news .news-data {
  display: flex;
  align-items: center;
  gap: 8px 32px;
  /* min-width: 235px; */
  font-family: 'Noto Sans JP', sans-serif;
}
.m-news .pdf {
  font-family: 'Noto Sans JP', sans-serif;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #3f7197;
  padding: 0.2rem 2rem;
}
.m-news .news-data small {
  /* min-width: 105px; */
  font-size: 2rem;
}
.m-news .square {
  display: inline-block;
  color: #3f7197;
  font-size: 1.2rem;
  text-align: center;
  border: 1px solid #3f7197;
  padding: 0.5em 3.2em;
}
.m-news p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  letter-spacing: 0.025em;
}
.main .m-news p,
.m-news p a {
  font-size: 2rem;
}

.m-news p a {
  text-decoration: none;
}
.m-news a > small {
  font-size: 1.4rem;
}

@media screen and (max-width:768px) {
  .m-news-list p {
    font-size: 1.6rem !important;
  }
}
@media screen and (max-width:540px) {
  .m-news {
    padding: 38px 0 70px;
  }
}

/* ==========================================
   CSSのみモーダル（既存構造スタイル調整）
   ========================================== */

/* チェックボックス本体は隠す */
.modal-trigger {
  display: none;
}

/* labelにしたことで行全体をボタン（カーソルポインター）にする */
.news-modal-open-btn {
  cursor: pointer;
  display: flex; /* 既存の.lineのレイアウト設定に合わせて調整してください */
  align-items: center;
}

/* aタグ風の見た目を維持するための指定 */
/* .news-title-link {
  color: inherit;
  text-decoration: underline;
} */
.news-modal-link:hover {
  opacity: 0.8;
  transition: opacity 0.4s;
}
.news-modal-open-btn:hover .news-title-link {
  text-decoration: none;
}

/* --- モーダル表示制御 --- */
.modal-overlay {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;

  /* 非表示状態 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* チェックが入ったらモーダルを表示 */
.modal-trigger:checked + .modal-overlay {
  opacity: 1;
  visibility: visible;
}

/* 背景全画面クリックで閉じる領域 */
.modal-overlay-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* モーダル枠 */
.modal-container {
  position: relative;
  background-color: #fff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 10;
  overflow: hidden;
}

/* 閉じるボタン（×） */
.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 20;
  padding: 5px;
}

/* モーダル内部構造 */
.modal-header {
  padding: 20px 50px 15px 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
}

.modal-header .news-data {
  display: flex;
  align-items: center;
  gap: .6em 32px;
}

.modal-header .news-data p, .modal-header .modal-title {
  font-size: 2rem;
  margin: 0;
}

.modal-header .square {
  display: inline-block;
  color: #3f7197;
  font-size: 1.2rem;
  text-align: center;
  border: 1px solid #3f7197;
  padding: 0.5em 3.2em;
}

.modal-body {
  padding: 15px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 1.8rem;
  font-family: 'Noto Sans JP', sans-serif;
}

/* --- レスポンシブ対応（スマホ時） --- */
@media screen and (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }
  .modal-container {
    max-height: 95vh;
  }
  .modal-header {
    padding: 15px 40px 10px 15px;
  }
  .modal-header .news-data {
    display: block;
  }
  .modal-header .news-data p, .modal-header .square, .modal-header .modal-title {
    margin-bottom: 8px;
  }
  .modal-header .news-data p, .modal-header .modal-title {
    font-size: 2rem;
  }

}
