@charset "utf-8";

/* ------------------
 グローバル変数
------------------ */
:root {

  /* 色 */
  --main-color: #00AE7D;
  --bg-color: #BFEBDE;

  /* 文字サイズ */
  --font-14: 1.4rem;
  --font-15: 1.5rem;
  --font-16: 1.6rem;
  --font-18: 1.8rem;
  --font-20: 2rem;
  --font-24: 2.4rem;
  --font-26: 2.6rem;
  --font-32: 3.2rem;

  /* 余白 */
  --space-65: 65px;

  /* コンテンツ幅 */
  --content-w: 1024px;
  @media screen and (max-width: 767px) {
    /* 文字サイズ */
    --font-15: 1.4rem;
    --font-16: 1.5rem;
    --font-18: 1.6rem;
    --font-20: 1.7rem;
    --font-26: 2.2rem;
    --font-32: 2.4rem;

    /* 余白 */
    --space-65: 35px;
  }
  @media screen and (min-width: 1400px) {
    /* コンテンツ幅 */
    --content-w: 1296px;
  }
}

/* ------------------
 フォント、全体レイアウト
------------------ */
body {
  width: 100%;
  font-family: 'Noto Sans JP','Helvetica Neue',Arial,'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif;
  font-size: var(--font-16);
  line-height: 2;
  position: relative;
}
.main {
  background: #eee;
  padding-bottom: var(--space-65);
}

/* ------------------
 SVGスプライト
------------------ */
.fill_color {
  fill: var(--var-color, var(--main-color));
}

/* ------------------
 config、パーツ
------------------ */
/* スマホメニュー非表示 */
.spNav_btn,.spNav_panel {display: none;}

/* スマホ閲覧時のみ表示 */
.sp_block {display: none;}

:where(a:hover) {
  opacity: 0.8;
}

/* レイアウト */
.container {
  max-width: var(--content-w);
  width: 90%;
  padding: var(--space-65) 0;
  margin-inline: auto;
}

/* 見出し */
.top_heading {
  width: 100%;
  padding-bottom: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: var(--font-32);
  font-weight: bold;
  text-align: center;
  position: relative;
}
@media screen and (max-width: 767px) {
  .top_mv--items {
    gap: 60px;
  }
}

/* お問い合わせボタン */
.contact_btn {
  max-width: 276px;
  width: 100%;
  margin-top: 2em;
}
.contact_btn a {
  width: 100%;
  padding: 0.5em 1em;
  display: block;
  background: #000;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

/* 一覧を見る */
.more_btn {
  max-width: 390px;
  width: 80%;
  margin: 35px auto 0;
}
.more_btn a {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  text-align: center;
}

/* テキスト */
.main_txt {
  padding-bottom: 1.5em;
  a {
    color: var(--main-color);
    text-decoration: underline;
  }
  a:hover {
    text-decoration: none;
  }
  a[target="_blank"]::after {
    content: "";
    width: 12px;
    height: 12px;
    display: inline-block;
    background: url(../img/icon_window.webp) no-repeat center center;
    background-size: contain;
    margin-inline: 3px;
  }
}

/* ------------------
 header
------------------ */
.header {
  width: 100%;
  position: relative;
  @media screen and (max-width: 767px) {
  }
}
.header_mv {
  width: 100%;
  height: 187px;
}
.header_mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top_mv--items {
  max-width: var(--content-w);
  width: 90%;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 25px;
    top: 20px;
  }
}
.header_logo {
  height: 90px;
  padding: 10px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  line-height: 1.2;
  position: relative;
  @media screen and (max-width: 767px) {
    height: auto;
    max-width: 320px;
    padding: 10px 15px;
    margin-inline: auto;
  }
}
.header_logo--en {
  font-size: var(--font-18);
}
.header_logo--main {
  font-size: var(--font-26);
  font-weight: bold;
}
.header_logo--left, .header_logo--right {
  width: 2px;
  height: 100%;
  display: block;
  background: #fff;
  position: absolute;
  &::before {
    content: "";
    display: block;
    height: 2px;
    width: 20px;
    background: #fff;
    position: absolute;
    top: 0;
    @media screen and (max-width: 767px) {
      width: 10px;
    }
  }
  &::after {
    content: "";
    display: block;
    height: 2px;
    width: 20px;
    background: #fff;
    position: absolute;
    bottom: 0;
    @media screen and (max-width: 767px) {
      width: 10px;
    }
  }
}
.header_logo--left {
  top: 0;
  left: 0;
}
.header_logo--right {
  top: 0;
  right: 0;
}
.header_logo--left::before, .header_logo--left::after {
  right: 0;
  transform: translateX(100%);
}
.header_logo--right::before, .header_logo--right::after {
  left: 0;
  transform: translateX(-100%);
}

.pc_nav {
  width: 100%;
  height: 70px;
  background: #000;
}
.pc_nav--list {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pc_nav--item {
  height: 100%;
  position: relative;
  &:hover::before {
    content: "";
    width: calc(100% - 20px);
    height: 2px;
    display: block;
    background: var(--main-color);
    position: absolute;
    bottom: 0;
    left: 10px;
    z-index: 1;
    @media screen and (min-width: 1440px) {
      width: calc(100% - 40px);
      left: 20px;
    }
  }
}
.pc_nav--item:not(:last-child)::after {
  content: "";
  width: 10px;
  height: 1px;
  display: block;
  background: var(--main-color);
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(100%, -50%);
}
.pc_nav--item a {
  height: 100%;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  &:hover {
    opacity: 1;
  }
  @media screen and (min-width: 1440px) {
    padding: 0 20px;
  }
}

/* ------------------
 footer
------------------ */
.footer {
  width: 100%;
  background: #fff;
}
.footer_links {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5em auto 1.5em;
  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5em 1em;
    margin: 2em auto;
  }
}
.footer_links--item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5em;
  position: relative;
  &::before {
    content: "";
    width: 1px;
    height: 1em;
    display: block;
    background: var(--main-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  &:last-child::after {
    content: "";
    width: 1px;
    height: 1em;
    display: block;
    background: var(--main-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  @media screen and (min-width: 1440px) {
    padding: 0 1em;
  }
  @media screen and (max-width: 767px) {
    max-width: calc(50% - 0.5em);
    width: 100%;
    &:nth-child(even)::after {
      content: "";
      width: 1px;
      height: 1em;
      display: block;
      background: var(--main-color);
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
  }
}
.footer_links--item a {
  font-size: 1.3rem;
  text-align: center;
  color: #000;
  &:hover {
    text-decoration: underline;
  }
  @media screen and (min-width: 1440px) {
    font-size: var(--font-14);
  }
}
.footer_sns {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
}
.footer_bottom {
  padding: 2em 5%;
  background: #000;
}
.footer_bottom--inner {
  max-width: var(--content-w);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: auto;
  font-size: var(--font-14);
  line-height: 2.5;
  color: #fff;
  small {
    font-size: var(--font-14);
    letter-spacing: 0.02em;
  }
  @media screen and (max-width: 767px) {
    flex-direction: column-reverse;
    line-height: 2;
    gap: 1.5em;
    align-items: flex-start;
    small {
      display: block;
      padding-top: 1.5em;
    }
  }
}
.news_content--inner {
  width: 80%;
  max-height: 450px;
  overflow: auto;
  margin-inline: auto;
  @media screen and (max-width: 767px) {
    width: 90%;
  }
}
.news_item {
  margin-inline: auto;
  border-top: 1px solid var(--main-color);
  &:last-of-type {
    border-bottom: 1px solid var(--main-color);
  }
}
.news_item a {
  width: 100%;
  padding: 1em 2em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  color: #000;
}
.news_item--cate {
  font-size: 1.2rem;
  color: #000;
  padding: 0.1em 0.5em 0.2em;
  border: 1px solid var(--main-color);
}
.news_item--status {
  display: flex;
  align-items: center;
  gap: 1em;
}
.news_item--txt {
  font-weight: normal;
  font-size: var(--font-16);
}

/* ------------------
 Backtop
------------------ */
#backtop {
  position: fixed;
  display: block;
  width: 80px;
  height: 81px;
  right: 3%;
  bottom: 50px;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  z-index: -10;
}
#backtop.active {
  opacity: 1;
  visibility: visible;
  z-index: 50;
}

/* ------------------
下層ページ共通
------------------ */
/* パンくずリスト */
.breadcrumb {
  max-width: var(--content-w);
  width: 90%;
  padding: 1.5em 0;
  margin-inline: auto;
  overflow-x: auto;
  @media screen and (max-width: 767px){
    padding: 0.5em 0;
    margin-bottom: 1em;
  }
}
.breadcrumb_list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0 15px;
  @media screen and (max-width: 767px){
    width: auto;
    gap: 5px 10px;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
}
.breadcrumb_item {
  color: #000;
  font-weight: normal;
  a {
    text-decoration: underline;
		color: #000;
    &:hover {text-decoration: none;}
  }
  &:has(a[href]) {
    display: flex;
    align-items: center;
    gap: 0 15px;
    @media screen and (max-width: 767px) {
      gap: 5px 10px;
    }
  }
  &:has(a[href])::after {
    content: "";
    display: inline-block;
    height: 2px;
		width: 5px;
		background: #5BC5C9;
  }
  @media screen and (max-width: 767px) {
    white-space: nowrap;
  }
}
.page_article {
  padding: 35px 5% 55px;
  background: #fff;
  box-shadow: 0 3px 6px #ccc;
}
.page_heading {
  font-size: var(--font-32);
  color: var(--main-color);
  padding-bottom: 1em;
}
.page_subheading {
  padding: 0.5em 0.75em;
  border: 1px solid var(--main-color);
  font-size: var(--font-24);
  font-weight: bold;
  margin-bottom: 1.5em;
}
.page_item--name {
  padding-bottom: 0.5em;
  font-size: var(--font-18);
  font-weight: bold;
}

/* 先頭「・」のリスト */
.bullet_list {
  padding-bottom: 1.5em;
}
.bullet_list li {
  text-indent: -1em;
  padding-left: 1em;
  padding-bottom: 0.5em;
  &:last-child {
    padding-bottom: 0;
  }
   &::before {
    content: "・";
  }
}
/* 先頭「数値」のリスト */
.decimal_list {
  margin-left: 1.1em;
  padding-bottom: 1.5em;
  
}
.decimal_list li {
  list-style-type: decimal;
  padding-bottom: 0.5em;
  &:last-child {
    padding-bottom: 0;
  }
}
/* 先頭が（1）、（2）のリスト */
.num_indent {
  text-indent: -2.6em;
  padding-left: 2.6em;
}
/* 画像（単体） */
.post_image {
  margin: 0.5em 0 1.5em;
  figcaption {
    text-align: center;
    font-size: var(--font-14);
  }
}

/* テーブル */
.table_outer {
  width: 100%;
  margin: 0.5em auto 2.5em;
  overflow: auto;
}
@media screen and (max-width: 767px) {
  .table_outer > table {
    white-space: nowrap;
  }
}
.cmn_table {
  width: 100%;
  border: 1px solid #ccc;
  th {
    padding: 0.5em 0.8em;
    background: var(--bg-color);
    font-weight: bold;
    text-align: center;
  }
  a {
    color: var(--main-color);
    text-decoration: underline;
  }
  a:hover {
    text-decoration: none;
  }
}
.cmn_table thead th:not(:last-child) {
  border-right: 1px solid #ccc;
}
.cmn_table tbody th {
  border-right: 1px solid #ccc;
}
.cmn_table tbody tr {
  border-top: 1px solid #ccc;
}
.cmn_table td {
  padding: 0.5em 0.8em;
}
.cmn_table tbody td:not(:last-child) {
  border-right: 1px solid #ccc;
}

/* テキスト＋画像 */
.cmn_flex {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px 35px;
  margin: 0 auto 2em;
  & > .cmn_flex--txt {
    max-width: calc(100% - 355px);
    width: 100%;
  }
  & > .cmn_flex--img {
    max-width: 320px;
    width: 100%;
  }
  figcaption {
    padding: 0.2em;
  }
  @media screen and (max-width: 767px){
    & > .cmn_flex--txt {
      max-width: 100%;
    }
    & > .cmn_flex--img {
      max-width: 100%;
    }
  }
}
@media screen and (max-width: 767px){
  .cmn_flex.rev {
    flex-direction: column-reverse;
  }
}
.cmn_flex .post_image {
  margin-bottom: 0;
}

.flex_box {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2em;
}
.flex_box.column2 > * {
  max-width: calc(50% - 10px);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.flex_box.column3 > * {
  max-width: calc(100% / 3 - 40px / 3);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}

/* 画像のファイル名に「-waku」がある場合css適用 */
img[src*="-waku"] {
  border: 1px solid #ccc;
}


@media screen and (max-width: 1279px) {
/* 推奨動作環境1280pxに固定 */
  body {
    width: 1280px;
  }
}

@media screen and (min-width: 768px) {
/* PCの場合はtelリンクを無効 */
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: #000;
  }
}

@media screen and (max-width: 767px) {
	
	/* ------------------
	 config
	------------------ */
	/* スマホ閲覧時、横幅可変 */
  body {
    width: 100%;
  }
	/* スマホのみ表示する要素を表示、PCのみ表示する要素を非表示 */
	.sp_block {display: block;}
	.pc_block,.pc_nav {display: none;}
	
  /* ------------------
  スマホメニュー
  ------------------ */
  /* ボタン */
  .spNav_btn {
    display: block;
    width: 60px;
    height: 60px;
    padding-top: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.5s;
    position: absolute;
    top:10px;
    right: 10px;
    z-index: 11;
    color: #fff;
    span {
      display: block;
      height: 2px;
      background: #fff;
      margin-inline: auto;
      position: absolute;
    }
    /* 閉じた状態 */
    &[aria-pressed="false"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="false"] span:nth-child(1) {top: 15px;left: 0;right: 0;}
    &[aria-pressed="false"] span:nth-child(2) {top: 22px;left: 0;right: 0;}
    &[aria-pressed="false"] span:nth-child(3) {top: 29px;left: 0;right: 0;}
    
    /* 開いた状態 */
    &[aria-pressed="true"] {background: transparent;}
    &[aria-pressed="true"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="true"] span:nth-child(1) {top: 35%;transform: translateY(-1.5px) rotate(45deg);left: 13px;}
    &[aria-pressed="true"] span:nth-child(2) {display: none;}
    &[aria-pressed="true"] span:nth-child(3) {bottom: 65%;transform: translateY(1.5px) rotate(-45deg);left: 13px;}
  }

  /* メニューパネル */
  .spNav_panel {
    display: block;
    height: 100vh;
    width: 85%;
    max-width: 340px;
    padding-top: 50px;
    position: fixed;
    top: 0;
    right: 0;
    transition: all 0.5s;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: -8px 0px 8px -1px rgba(0, 0, 0, 0.2);
    overflow: auto;
    z-index: 9;
    
    /* パネルが閉じている状態 */
    &[aria-hidden="true"] {
      visibility: hidden;
      pointer-events: none;
      transform: translateX(100%);
    }

    /* パネルが開いている状態 */
    &[aria-hidden="false"] {
      visibility: visible;
      transform: translateX(0);
    }
  }

  /* メニューパネル内の項目 */
  .spNav_list {
    width: 100%;
    padding: 15px 0 150px 15px;
  }
  .spNav_list--item {
    border-bottom: 1px solid var(--main-color);
    a {
      display: block;
      padding: 1em 0.5em;
      color: var(--main-color);
    }
    & > a {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    &:has(.spNav_accordion--title) {
      border-bottom: none;
    }
  }
  /* bodyをタッチ不可に */
  #onbody {position: absolute;height: 100%;width: 100%; top: 0;left: 0;background: rgba(0, 0, 0, 0.6);z-index: 8;overflow: hidden;pointer-events: none;}
  body:has(#onbody[aria-hidden="true"]) {height: 100%; overflow: hidden;}
}

/* 印刷用設定 */
@media print {
  body {
    width:1280px!important;
    zoom: 0.68;
    -webkit-print-color-adjust: exact;
  }
}
@page {
  size: A4;margin: 5px;
}