/* CSSコード */

@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;500;700&display=swap");

/* ------------------------------------- */
/* 全体 */

* {
  color: #1C3F4F;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  padding: 0;
  height: 100%;
}

a{
  text-decoration: none;
}

dd{

}

.body {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ------------------------------------- */
/* パンくずリスト */
.breadcrumb {
  margin-left: 1rem;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-weight: bold;/*太字*/
}

.breadcrumb li:after {/* >を表示*/
  content: ">";
  padding: 0 0.2em;
  color: #555;
}

.breadcrumb li:last-child:after {
  content: "";
}

/* ------------------------------------- */
/* ローディング */

#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
}

#loading.loadEnd {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}

.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 40px;
  height: 40px;
  background: #eee;
  border-radius: 50%;
}

.loader:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
}

.loader div {
  width: 40px;
  height: 20px;
  border-radius: 20px 20px 0 0;
}

.loader div:first-child {
  background: lightblue;
  transform-origin: 20px 20px;
  transform: rotate(0deg);
  animation: loading 0.5s linear 0s infinite;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ------------------------------------- */
/* 見出し */
h2{
 /* color:#515D63; */
  font-size: 18px;
  font-weight: 700;
}

/* ------------------------------------- */
/* テーブル */
.tableview th,
.tableview tr,
.tableview td {
  display: block;
  vertical-align: top;
}

.tableview tr {

}

.tableview th {
  width: 100%;
  border-bottom: none;
  padding: 0 0.5rem;
  font-weight: 700;
  text-align: left;
}

.tableview th,
.tableview td {

}

.tableview td {
  padding: 0.5rem;
  border-bottom: 1px solid silver;
}

.tableview {
  width: 100%;
}

/* ------------------------------------- */
/* 定義リスト */

dl {
  width: 100%;
}

dt {
  font-weight: 700;
}

dd{
  margin-left: 1rem;
}

dd ul{
  margin-left: 1.5rem;
}

.content ul{
  margin-left: 1.5rem;
}

/* ------------------------------------- */
/* 定義リスト(採用情報) */

.recruit dl {
  border-bottom: 1px solid silver;
}

.recruit dt {

}

.recruit dd{
  margin-left: 0;
}

/* ------------------------------------- */
/* 画像 */

figure {
  display: table;
}

figcaption {
  caption-side: inline-start;
  display: table-caption;
}

/* ------------------------------------- */
/* 複数画像 */

.pictures {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-evenly;
}

.pictures a {
  margin: .5rem 1rem;
}

.pictures figure {
  padding: .5rem;
  border: 1px solid silver;
  border-radius: 10% 10% 0% 0%;
}

.pictures figcaption {
  width: fit-content; /* コンテンツに合わせて幅を可変する */
  margin-right: auto; /* 右から左に寄せる */
  margin-left: auto; /* 左から右に寄せる */
}

.pictures img {
  width: 200px;
  height: 200px;
  object-fit: scale-down;
  object-position: center center;
  clip-path: inset(0px 0px round 10px);
}

.cover img {
  object-fit: cover; 
}

.contain img {
  object-fit: contain;
}

/* ------------------------------------- */
/* 地図 */

/* 横幅を指定するための要素 */
.map-wrap {
  min-width: 300px; /* ここに横幅を指定 */
}
 
/* Google Mapを囲う要素 */
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
 
/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------------------- */
/* リンクテキスト */

.link_text a{
  padding-bottom: 1px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#1C3F4F, #1C3F4F);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: opacity 0.6s, background-size 0.8s;
}

.link_text a:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
  opacity: 0.6;
}

/* ------------------------------------- */
/* ポップアップマーク */
.popup_mark {
  width: 10px;
}

/* ------------------------------------- */
/* リンク画像 */

.link_image a {
  display: block; 
  position: relative;
}

.link_image a img {
  display: block;
}

.link_image a:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  background: #fff;
  opacity: 0;
  transition: 0.3s;
}

.link_image a:after {
  content: "もっと見る";
  display: block;
  color: #1C3F4F;
  width: 180px;
  text-align: center;
  position: absolute; 
  top: 45%;
  left: 50%;
  margin-top: -1rem;
  margin-left: -90px;
  opacity: 0;
  z-index: 3;
  transition: 0.3s;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.link_image a:hover:before {
  opacity: 0.8;
}

.link_image a:hover:after {
  opacity: 1;
  margin-top: -0.5em;
}

.link_image a p{
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: .5rem 2rem;
  margin: 0;
  font-size: 15px;
  background: rgba(173, 216, 230, 0.9);
}

/* ------------------------------------- */
/* ページ内リンク調整 */
.link_adjuster {
  content: "";
  display: block;
  padding-top: 2.5rem;
  margin-top: -2.5rem;
}

/* ------------------------------------- */
/* トップへ戻るボタン */
#page-top {
  position: fixed;
  right: 5px;
  bottom: 20px;
  height: 50px;
  text-decoration: none;
  font-weight: 700;
  transform: rotate(90deg);
  font-size: 90%;
  line-height: 1.5rem;
  padding: 0 0 0 35px;
  border-top: solid 1px;
  opacity: 0;
  transition: opacity 0.4s ease-in, bottom 0.8s;
}

#page-top::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  width: 15px;
  border-top: solid 1px;
  transform: rotate(35deg);
  transform-origin: left top;
}

#page-top.fadein {
  opacity: 1;
}

#page-top:hover {
  bottom: 30px;
}

/* ------------------------------------- */
/* ヘッダ */

.header {
  font-size: 14px;
  background-color: #fff;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 8px solid lightblue;
  z-index: 100;
}

.logo {
  padding: 0;
}

.logo img{
  max-width: 70%;
}

/* ------------------------------------- */
/* メイン */
.main {
  padding-top: 3.2rem;
}

.main .title{
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  padding: .5rem 0;
  text-align: center;
  background-color: #1C3F4F;
  background: linear-gradient(rgba(80, 91, 102, 1), rgba(80, 91, 102, 0.9)), url("../img/background.jpg");
}

/* ------------------------------------- */
/* フッタ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.grid div{
  border-left: 1px dotted #7D9CA5;
  padding: 0 1rem;
}

.footer {
  margin-top: auto;
  width: 100%;
  padding: 1rem 1rem;
  font-size: 14px;
  background-color: lightblue;
}

.footer-content {
  padding: 1rem;
}

.footer-navi-heading {
  font-weight: 700;
}

.footer_navi{
  list-style: none;
}

.footer-navi li{
  display: block;
  margin-bottom: 0.75rem;
}

.footer-copyright {
  padding: 1rem;
  line-height: 1;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

/* ------------------------------------- */
/* メニュー */

/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になるように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(244, 252, 255, 0.95);
  text-align: center;
  padding-top: 40px;
  top: 0;
  right: -100%;
  z-index: 99;
  transition: .5s;
  overflow-x: hidden;
  overflow-y: auto;
}

/* メニューリスト */
.nav_list {
  list-style: none;
}

/* メニュー項目 */
.nav_item {
  flex: auto;
  width: 100%;
  padding: .5rem 0;
}

.nav_item a {
  color: #1C3F4F;
  font-weight: 700;
}

/*子階層以降共通*/
.nav_list li ul {
  list-style: none!important;
  background: rgba(173, 216, 230, 0.9);
  margin-top: .5rem;
}

.nav_list li li {
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  line-height: 1.5;

  height: 2.5rem;
  overflow: visible;
  padding: 0.5rem 0;
  margin-bottom: 1px; /*下のバーとの余白*/
}

.nav_list li li a {

}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  right: 0%;
}

/* ------------------------------------- */
/* 新着情報 */

.news {
  max-width:800px;
  width: calc(100vw - 2rem);
  margin: 2rem auto;
}

.news_list {
  margin: 20px 0;
  border-top: 1px dashed #1C3F4F; /* #515D63; */
}
.news_list li {
  padding: 15px 5px;
  border-bottom: 1px dashed #1C3F4F; /* #515D63; */
  overflow: hidden;
}

.news_date {
  font-size: 16px;
  margin-right: 10px;
}

.news_category {
  display: inline-block;
  color: #fff;
  height: 25px;
  width: 100px;
  font-size: 14px;
  text-align: center;
  margin-right: 10px;
  padding: 2px 10px;
  background-color: #1C3F4F; /* #515D63; */
}

.news_text {
  font-size: 14px;
  width: 100%;
}

.news_text summary {
  /* display: list-item; 以外を指定してデフォルトの三角形アイコンを消します */
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.news_text summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}

.news_text .summary_inner{

}

.summary_content {
  padding: .5rem;
};

/* アイコンのバーのスタイル */
.news_text .icon {
  cursor: pointer;
  display: block;
  position: relative;
  width: 16px;
  margin-left: 4px;
}

.news_text .icon::before,
.news_text .icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 2px;
  background-color: #1C3F4F; /* #515D63; */
  transform-origin: center 40%;
  transition: transform 0.3s;
  cursor: pointer;
}

.news_text .icon::before {
  transform: rotate(90deg);
}

/* アコーディオンが開いた時のスタイル */
.news_text .is-active .icon::before {
  transform: rotate(180deg);
}

/* ------------------------------------- */
/* スライドショー */

.slideshow {
  margin: .5rem;
}

.swiper {
  position: relative;
  display: flex;
  max-width: 800px;
  width: calc(100vw - 2rem);
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  clip-path: inset(0px 0px round 10px);
}

.swiper-slide figure {
  position: relative;
  display: inline-block;
}

.swiper-slide figcaption {
  position: absolute;
  left: .5rem;
  top: .5rem;
  padding: 0rem 1rem;
  color: #fff;
  background: rgba(0,0,0,0.6);
  clip-path: inset(0px 0px round 20px);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: #fff;
  cursor: pointer;
  opacity: 0.2;
  left: 0;
  clip-path: inset(0px 0px round 20px);
  transition: opacity 0.3s;
}

.swiper-button-prev:hover {
  opacity: 0.7;
}

.swiper-button-prev::after {
  display: inline-block;
  vertical-align: middle;
  color: #000;
  line-height: 1;
  width: 14px;
  height: 14px;
  border: 4px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(23%) rotate(-135deg);
}

.swiper-button-next {
  width: 40px;
  height: 40px;
  background-color: #fff;
  cursor: pointer;
  opacity: 0.2;
  right: 0;
  clip-path: inset(0px 0px round 20px);
  transition: opacity 0.3s;
}

.swiper-button-next:hover {
  opacity: 0.7;
}

.swiper-button-next::after {
  display: inline-block;
  vertical-align: middle;
  color: #000;
  line-height: 1;
  width: 14px;
  height: 14px;
  border: 4px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-20%) rotate(-315deg);
}

.swiper-pagination-bullet {
  background-color: #fff ;
}

/* ------------------------------------- */
.title_image {
  max-width:800px;
  width: calc(100vw - 2rem);
  margin: 1rem auto;
}

.title_image img{
  width: 100%;
  clip-path: inset(0px 0px round 10px);
}

/* ------------------------------------- */
/* コンテンツ */

.content {
  max-width:800px;
  width: calc(100vw - 2rem);
  margin: 2rem auto;
  border: 1px solid #1C3F4F;
  border-radius: 10px 10px 10px 10px;
}

.content_title {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: .5rem 0;
  text-align: center;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.80)), url("../img/background.jpg");
  background-color: #fff;
  background-size: cover;
  border-radius: 10px 10px 0px 0px;
}

.content_category {
  display: inline-block;
  color: #fff;
  height: 25px;
  width: auto;
  font-size: 14px;
  text-align: center;
  margin-right: 10px;
  padding: 2px 10px;
  background-color: #1C3F4F;
}

.content_item {
  padding: 1rem;
}

.content ul{
  margin-left: 1.5rem;
}

/* ------------------------------------- */
/* 罫線 */

.border-top {
  border-top: 1px solid silver;
}

/* ------------------------------------- */
/* 吹き出し */

.balloon-left {
    display: inline-block;
    align-items: center;
    position: relative;
    max-width: 250px;
    min-width: 350px;
    margin: .5rem;
    padding: 1rem;
    border-radius: 5px;
    background-color: #f2f2f2;
    color: #333333;
}

.balloon-left::before {
    position: absolute;
    left: -15px;
    width: 15px;
    height: 30px;
    background-color: #f2f2f2;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}

.balloon-right {
    display: inline-block;
    align-items: center;
    position: relative;
    max-width: 250px;
    min-width: 350px;
    margin: .5rem;
    padding: 1rem;
    border-radius: 5px;
    background-color: #f2f2f2;
    color: #333333;
}

.balloon-right::before {
    position: absolute;
    right: -15px;
    width: 15px;
    height: 30px;
    background-color: #f2f2f2;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: '';
}

.balloon-top {
    display: inline-block;
    justify-content: center;
    position: relative;
    max-width: 250px;
    min-width: 350px;
    margin: .5rem;
    padding: 1rem;
    border-radius: 5px;
    background-color: #f2f2f2;
    color: #333333;
}

.balloon-top::before {
    position: absolute;
    top: -15px;
    width: 30px;
    height: 15px;
    background-color: #f2f2f2;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    content: '';
}

.balloon-bottom {
    display: inline-block;
    justify-content: center;
    position: relative;
    max-width: 250px;
    min-width: 350px;
    margin: .5rem;
    padding: 1rem;
    border-radius: 5px;
    background-color: #f2f2f2;
    color: #333333;
}

.balloon-bottom::before {
    position: absolute;
    bottom: -15px;
    width: 30px;
    height: 15px;
    background-color: #f2f2f2;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

/* ------------------------------------- */
/* 回り込み */

.float-left {
  float: left;
  margin: auto;
}

.float-right {
  float: right;
  margin: auto;
}

.float-clear {
  clear:both;
}

.float-box {
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

/* ------------------------------------- */
/* 選択無効 */

.no-pointer {
  pointer-events: none;
}
