/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --main-color: #01A5C7;
  --main-color-light: #66E6FF;
  --dark-color: #0070c0;
  --inner-width: 1224px;
  text-align: left;
}

body {
  margin: 0;
  font-family: "BIZ UDPGothic",'Arial', sans-serif;
  box-sizing: border-box;
}


@media screen and (max-width: 768px) {
  body {
    overflow-y: hidden;
  }

}

p, li, dd, div, h2 {
  line-height: 1.8em;
}

h2 {
  font-weight: bold;
  color: var(--dark-color);
  font-size: 30px;
  padding: 50px 0;
}

h3 {
  font-weight: bold;
  /* background-color: var(--dark-color); */
  color: white;
  font-size: 20px;
  margin-top: 40px;
  padding: 10px 0;
  margin-bottom: 1em;
  color: #000;
  border-bottom: 1px solid #ccc;
}


@media screen and (max-width: 768px) {

h3:has(span[class="maincolor"]) {
  text-indent: -2.7em;
  margin-left: 2.7em;
  border-bottom: none;
}


}


h4 {
  font-weight: bold;
  background-color: transparent;
  color: var(--dark-color);
  font-size: 1em;
  padding-bottom: 0.5em;
}

h4 span{
  font-size: 1.2rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {

h4 {
  font-size: 1.2em;
}

}


img {
  max-width: 100%;
}

a {
  color: var(--dark-color);
  text-decoration: none;
}

a[target="_blank"]::after {
  content: "　";
  width: 1em;
  margin:0 0.25em;
  background: url(/img/external.svg) center center no-repeat;
  background-size: contain; 
  text-decoration: none;
  display: inline-block;
}

a[target="_blank"].pdflink::after {
  content: "　";
  width: 1em;
  font-size: 1.3em;
  margin:0 0.25em;
  background: url(/img/pdf.svg) center center no-repeat;
  background-size: contain; 
}

a[target="_blank"].pdflink::after {
  text-decoration: none;
}

button,
input[type="submit"] {
  position: relative;
  width: 270px;
  padding: 20px;
  margin: 20px;
  box-sizing: border-box;
  font-size: 1.1em;
  color: var(--dark-color);
  background-color: white;
  font-weight: bold;
  border: 2px solid var(--dark-color);
  border-radius: 50px;
  box-shadow: #00000033 3px 3px 2px;
  transition: 0.3s ease;
}


input[type="submit"] {
  text-align: center;
}

button:hover,
input[type="submit"]:hover {
  box-shadow: none;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  cursor: pointer;
}


button::after {
  position: absolute;
  content: "→";
  color: var(--dark-color);
  z-index: 10;
  /* margin-left: 10px; */
  right: 30px;
  transition: 0.3s ease;
  font-weight: bold;
}

button:hover::after,
input[type="submit"]:hover::after{
  transform: translateX(5px);
}

.sp,
.sp_scrollnote {
  display: none;
}

.pc {
  display: initial;
}



/* メインビジュアルここから */

/* ズームアップアニメーション */
/* @keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img{
  animation: zoomUp 10s linear 0s 1 normal both;  
}
.slide-img img{
  display: block;
} */
/* ズームアップアニメーション ここまで */

/* 背景画像を暗く */
.slide-img::before {
  background-color: rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: ' ';
}

.top .top-main-visual {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-img{
    display: block;
    height: 100%;
}

.slide-caption {
  position: absolute;
  top: 40%;
  left: 5%;
  color: #fff;
  /* background-color: rgba(0, 0, 0, 0.6); */
  padding: 20px 25px;
  /* border-radius: 8px; */
  max-width: 90%;
  box-sizing: border-box;
}

.slide-caption h2 {
  margin: 0 0 10px;
  font-size: 3rem;
  color: white;
  line-height: 1.5em;
  padding-top: 0;
}

.slide-caption a.detail_button {
    display: inline-block;
  color: #000;
  text-decoration: none;
  background-color: white;
  font-weight: bold;
  padding: 0.5em 1em;
  margin: 1em 0;
  border-radius: 2em;
  margin-top: 50px;
}


.slide-caption a.detail_button:hover {
    background-color: var(--main-color);
    color: #fff;
    transition: 0.5s;
}

.slide-caption p {
  margin: 0;
  font-size: 2rem;
  line-height: 1.5;
}

/* ページボタンのスタイル */
.swiper-pagination-bullet-active {
    background-color: white;
}

/* 左右送りボタンのスタイル */
.swiper-button-next, .swiper-button-prev {
    color: var(--main-color);
}

/* ✅ モバイル向けレスポンシブ */
@media screen and (max-width: 768px) {
  
  .sp {
    display: initial;
  }

  .sp_scrollnote {
    display: block;
    text-align: center;
    color: var(--main-color);
    font-size: 0.8em;
  }

  .pc {
    display: none;
  }

  .main-visual {
    height: 60vh;
  }

  .slide-caption {
    padding: 15px 20px;
    bottom: 3%;
    left: 3%;
  }

  .slide-caption h2 {
    font-size: 26px;
  }

  .slide-caption p {
    font-size: 1.3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none; /* 小画面ではナビゲーション非表示 */
  }

}

/* メインビジュアルここまで */

/* グローバルナビゲーション */
/* リセットと基本設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* グローバルメニュー全体の固定 */
.global-menu {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  /* background-color: #333; */
}

/* グローバルナビゲーション */

header {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

/* 会社名 */
.companyname {
  font-weight: bold;
  position: relative;
  bottom: 21px;
  font-size: 1.2rem;
  /* font-weight: bold; */
  /* color: var(--main-color); */
  text-decoration: none;
  font-family: "meiryo","メイリオ";
}

.global-menu .logo img {
  height: 54px; display: inline-block; margin-top: -4px;
}

/* ハンバーガーアイコン */
.hamburger {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;

  background-color: var(--main-color);
  border-radius: 5px;
  padding: 16px;
  box-sizing: content-box;
}

.hamburger span {
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* アクティブ時（アイコン変形） */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* グローバルメニュー */
.global-menu ul {
  display: flex;
  list-style: none;
  justify-content: right;
  align-items: center;
  background-color: #fff;
  padding: 15px 0;
}

.global-menu li {
  margin: 0 10px;
}

.global-menu a {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 12px;
}

.global-menu li.colorBtn a {
  /* background-color: var(--main-color); */
  color: var(--main-color);
  border: 4px solid var(--main-color);
  border-radius: 50px;
}

.global-menu a:hover {
    border-bottom: 4px solid var(--main-color);
  /* border-radius: 4px; */
}


.global-menu li.colorBtn a:hover {
  background-color: var(--main-color);
  color: #fff;
}

.global-menu a.logo {
    position: absolute;
    left: 0;
}
.global-menu a.logo:hover {
    border-bottom: none;
}

/* ------------------------------
   レスポンシブ対応
------------------------------ */
@media screen and (max-width: 1320px) {
  /* ハンバーガー表示 */
  .hamburger {
    display: flex;
  }

  /* メニュー非表示 */
.global-menu {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.global-menu.open {
  display: block;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  opacity: 1;
  overflow: hidden;

}

  .global-menu ul {
    flex-direction: column;
    text-align: center;
    padding: 60px 0 20px;
  }

  /* メニュー表示時（JavaScriptで.activeを追加） */
  .global-menu.active ul {
    display: flex;
  }

.global-menu a.logo {
    position: relative;
    left: inherit;
    top: 10px;
}
  /* メニュー項目間の余白 */
  .global-menu li {
    margin: 10px 0;
  }
  
  .global-menu .logo img {
    height: 60px;
  }

  .companyname {
    display: block;
    margin-left: 22px;
    margin-top: 15px;
    font-size: 20px;
    font-weight: bold;
  }

}

/* グローバルナビゲーションここまで */

/* トップページコンテンツ用スタイル */
section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}


.section-title {
  text-align: left;
  font-size: 3rem;
  position: relative;
  margin: 0 auto 30px auto;
  width: var(--inner-width);
}

.section-title span {
    display: inline-block;
    margin-left: 1em;
    text-align: center;
    font-size: 0.6em;
    font-weight: normal;
}


/* ニュースセクション */



/* ニュース用のスタイル（ニュースページ・トップ共通） */
#newslist .newscat {
  display: inline-block;
  /* background-color: var(--dark-color);
  color: white; */
  color: var(--dark-color);
  border: 1px solid var(--dark-color);
  border-radius: 50px;
  padding: 5px 10px;
  font-size: 0.8em;
  box-sizing: border-box;
  margin-left: 1em;
  font-weight: bold;
}

#newslist dd {
  position: relative;
}

/* #newslist dd:has(a)::after {
  position: relative;
  display: inline-block;
  margin-left: 1em;
  top: 5px;
  content: "→";
  color: var(--dark-color);
  font-size: 1.5em;
  transition: 0.3s ease;
}


#newslist dd:has(a:hover)::after {
  transform: translateX(5px);
} */

#newslist a {
  text-decoration: underline;
}


.top #newslist a::after{
  background-image: url(/img/external-white.svg);
}


.top #newslist a[target="_blank"].pdflink::after {
  background: url(/img/pdf-white.svg) center center no-repeat;
}

#newslist .news_title {
  font-weight: bold;
  color: var(--dark-color);
}

.top #newslist .news_title {
  font-weight: bold;
  color: var(--main-color-light);
}

#newslist a.news_link {
  text-decoration: none;
}

/* ニュース用のスタイル ここまで */

.news-section {
  padding: 60px 20px;
  /* background-color: #f8f8f8; */
  text-align: center;
  color: white;
  background-color: #1f3342;
}

.news-section a{
  color: white;
}

.news-section #newslist dd:has(a)::after{
  color: white;
}

.news-section #newslist .newscat {
  display: inline-block;
  color: var(--main-color-light);
  border: 1px solid var(--main-color-light);
}


.news-list {
  list-style: none;
  padding: 0;
  max-width: var(--inner-width);
  margin: 0 auto;
  text-align: left;
}

.news-list li {
  border-bottom: 1px solid #ddd;
  padding: 20px 1em;
  transition: background-color 0.2s;;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li:hover {
  background-color: #fff;
}

.news-list li > a {
  text-decoration: none;
  color: #333;
  display: block;
}

.news-list li > a .news-summary,
.news-list li > a .news-summary a {
  color: #333!important;
}

.news-date {
  font-size: 0.9rem;
  color: #999;
  color: var(--main-color);
  display: block;
  margin-bottom: 5px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.news-summary {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5em;
}
.news-more {
  text-align: center;
  margin-top: 30px;
}

.news-button {
  display: inline-block;
  padding: 12px 24px;
  /* background-color: #007acc; */
  /* color: #fff; */
  /* border: 1px solid var(--main-color);
  color: var(--main-color); */
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-weight: bold;
  /* border-radius: 4px; */
  transition: background-color 0.3s ease;
}

.news-button:hover {
  background-color: var(--main-color);
    color:#fff;
    text-decoration: none;
}

  /* スマホ対応 */
@media screen and (max-width: 600px) {
  .section-title {
    font-size: 30px;
  }
  .section-title span{
    margin-left: 0;
    display: block;
    text-align: left;
    line-height: 1em;
    margin-bottom: 0.5em;
  }

  .news-title {
    font-size: 1rem;
  }

  .news-summary {
    font-size: 0.9rem;
  }
}


/* カードセクション */
.card-slider {
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.card-slider .swiper-container {
  padding: 10px 0;
  cursor: grab;
}

.card-slider .swiper-wrapper {
  display: flex;
  gap: 5px;
}

.card-slider .swiper-slide {
  display: flex;
  justify-content: center;
  height: auto;
}

.card-slider .card {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  width: 100%;
  max-width: 300px;
  position: relative;
  z-index: 1;
}

.card-slider .card:hover {
  transform: translateY(-5px);
}

.card-slider .card > img,
.card-slider .card > .card-icon-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-icon-image img{
  object-fit: contain
}
.card-icon-image img{
  padding: 30px;
}

.card-slider .card h3 {
  font-size: 1.1rem;
  padding: 15px;
}

.card-slider .card p {
  font-size: 0.9rem;
  padding: 0 15px 15px;
}


/* カードセクションここまで */

/* スライドインアニメーションセクション */
.slidein-section {
  /* padding: 60px 20px; */
  background: #f9f9f9;
}

.slidein-section a {
    text-decoration: none;
}

.slidein-container {
  /* max-width: 1000px; */
  margin: 0 auto;
}

.slidein-item {
  position: relative;
  display: block;
  margin: 0;
  border-bottom: 1px solid #fff;
  text-decoration: none;
  /* background-color: #333; */
  color: #fff;
  padding: 40px 0;
}

.serviceImg1,
.serviceImg2,
.serviceImg3 {
  --bg-color: rgba(0, 92, 117, 1);
  --bg-color-alpha: rgba(30, 30, 30, 0.8);

}

.serviceImg1,
.serviceImg2,
.serviceImg3 {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; 
  background-position: right center;
}

.slidein-item .text-content {
    box-sizing: border-box;
    padding: 1em;
    flex: 1;
    width: var(--inner-width);
    margin: auto;
}

.slidein-item .text-content h3 {
  margin: 0 0 20px;
  font-size: 2rem;
}

.slidein-item .text-content p {
  margin: 0;
  color: #eee;
  font-size: 1rem;
}


a .slidein-item .text-content .to-detail-text {
    display: inline-block;
    margin-top: 2em;
}

a:hover .slidein-item .text-content .to-detail-text {
    color: var(--main-color-light);
    text-decoration: underline;
}

a:hover .slidein-item {
    background-color: #666;
  transition: background-color 0s;
}


@media (max-width: 600px) {
  .slidein-item .imgBox {
    margin: 0 0 15px;
    max-width: none;
    max-height: none;
    width: 100%;
    aspect-ratio: 340 / 150;
  }

  
}

/* グリッドセクション */
.card-glid .col3grid,.col1grid {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--inner-width);
  margin: 0 auto;
}

.card-glid div.card {
  background-color: #f4f4f4;
  background-color: #eee;
  border-left: 3px solid #fff;
  /* border-top: 1px solid #bbb; */
  /* padding: 1em; */
}
.card-glid div.card:last-child {
  border-right: 3px solid #fff;
}

.card-glid .col3grid div.card {
  width: 33.33333%;
}


.card-glid .col3grid div.card:last-child {
  flex: 1;
}

.card-glid .col1grid div.card {
  width: 100%;
  border-top: 3px solid #fff;
  /* border-bottom: 1px solid #bbb; */
}

    .image-wrapper {
      overflow: hidden;
    }
    div.card a:hover .image-wrapper img {
      transform: scale(1.08);
      opacity: 1;
    }

.card-glid div.card img {
  width: 100%;
      transition: transform 0.4s ease;
}
.card-glid div.card h3 {
  font-size: 1.2rem;
  margin: 1em 0 1.5em 0;
  font-weight: bold;
}

.card-glid div.card h4 {
  font-weight: bold;
}

/* グリッドセクションここまで */

.padding {
  padding: 1em;
}

.inner {
  width: var(--inner-width);
  margin: 0 auto;
}

/* バナーリスト */
ul.bannerList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  max-width: var(--inner-width);
  margin: 0 auto
}


    @media (max-width: 1200px) {
      ul.bannerList {
        justify-content: center;
  gap: 1em;
        padding: 1em;
      }

    }

    /* overview_section */
    .overview_section {
      padding: 100px 0;
      padding-top: 10px;
    }

    
    .overview_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* filter: blur(6px); */
    z-index: -1;
      background-image: linear-gradient(rgba(255,255,255,0.4),rgba(255,255,255,0.9)),url(/img/news/newsmv.jpg);
      background-size: cover;
      background-position: center 30%;
      background-repeat: no-repeat;
      background-attachment: fixed;
    }

    .overview_section .ov_caption {
      padding: 0 auto 100px auto;
      display: flex;
    }

    .overview_section .horizontal_border {
      /* background-color: #000; */
      width: 100%;
      border-top: 2px solid var(--dark-color);
      font-size: 1.3em;
      margin-top: .8em;
    }

    .overview_section .ov_caption > .text {
      width: 500px;
      text-align: center;
      font-size: 1.3em;
      color: var(--dark-color);
      font-weight: bold;
    }

    .overview_section h2{
      text-align: center;
      font-size: 60px;
      font-weight: bold;
      color: var(--dark-color);
      margin-bottom: 50px;
      line-height: 1.5em;
      text-shadow: #fff 0 0 4px;
    }
    
    .overview_section .container {
      max-width: var(--inner-width);
      margin: auto;
    }

    .overview_section p {
      text-align: center;
      color: #000;
      line-height: 2em;
      font-size: 1.3em;
      text-shadow: #fff 0 0 2px;

    }

    .overview_section .ov_title {
      margin-left: -150px;
    }
    
    .overview_section span {
      font-weight: bold; padding: 0 0.2em; margin-left: 250px;
    }
    
    
    @media screen and (max-width: 768px) {
      .overview_section .ov_title {
        margin-left: 0;
        font-size: 7vw;
      }
      
      .overview_section span {
        margin-left: 0;
      }

      
      .overview_section p {
        font-size: 0.95rem;
        padding: 0 1em;
        font-weight: bold;
      }

      
      .overview_section .horizontal_border {
        font-size: 0.95rem;
     }
      
      .overview_section .ov_caption > .text {
        width: 400px;
        font-size: 0.95rem;
      }
    }

    /* .index-section（グリッド風） */
    .index-section {
      padding: 0;
    }

    .index-section .topindex {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: var(--gap);
    }

    .index-section .topindex > a{
      position: relative;

      display: flex;
      width: 100%;
      height: 500px;
      background-color: #143e66cc;
      background-color: #1f3342;
      box-shadow: #00000033 0 0 20px;
      
      /* background-color: #01A5C711; */

      overflow: hidden;

      /* border-bottom: 10px solid #1f3342; */
      border-bottom: 1px solid white;
      box-sizing: border-box;
    }
  

    
    .index-section .topindex > a:hover .index_bg_img{
       transform: scale(1.05); /* ホバー時に子要素を110%に拡大 */
    }

    .index-section .index_bg {
      position: absolute;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg,#1f3342ff 0%,#1f334233 90%,#1f3342ee 100%);
    }

    .index-section .index_bg_img {
      position: absolute;
      width: 100%;
      height: 100%;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
      transition: transform 0.3s ease;
    }

    .index-section .index_content_wrap {
      color: white;
      /* margin-top: 200px; */
      border-left: 4px solid white;
      padding-left: 20px;
      position: absolute;
      bottom: 40px;
      width: var(--inner-width);
      margin-left: calc((100% - var(--inner-width))/2);
      transition: 0.3s ease;
    }

    .index-section .index_content_wrap .title {
      font-size: 3em;
      font-weight: bold;
    }

    .infobutton {
      margin-top: 1em;
      transition: 0.3s ease;
    }
    
    .index-section .topindex a .infobutton::after{
      position: absolute;
      content: "→";
      margin-left: 10px;
      transition: 0.3s ease;
    }
    
    .index-section .topindex a:hover .infobutton::after{
      transform: translateX(3px);
    }

    @media screen and (max-width: 768px) {
      /* レスポンシブ対応 */
      
      .index-section .index_content_wrap .title {
        font-size: 28px;
      }

      .index-section .index_content_wrap {
        width: 100%;
      }
      
      .index-section .index_content_wrap {
        margin-left: 0;
      }

      .index-section .description {
        margin-right: 1em;
      }
      
      .index-section .index_content_wrap {
        /* border-left: none; */
      }

    }

    .noimage {
      background-image: url(/common/noimage.png);
       background-size: cover;
      background-position:center;
      background-repeat: no-repeat;
    }


    .news-head {
      background-image: linear-gradient(#1f3342cc,#1f3342cc),url(/img/top/news.jpg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      width: 100%;
      padding: 1em 0;
      position: relative;
      /* color: #fff; */
      margin: 0;
      color: white;
      box-sizing: border-box;
      
    }

    .recruit-head {
      background-image: linear-gradient(#ffffff99,#ffffff99),url(/img/top/index/company.jpg); background-position: center top;;
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      background-repeat: no-repeat;
      width: 100%;
      padding: 1em 0;
      position: relative;
      color: var(--dark-color);
      margin: 0;
      box-sizing: border-box;
      
    }

/* トップページコンテンツ用スタイルここまで */

    .innerwrap {
      max-width: var(--inner-width);
      margin: 0 auto;
    }

    @media screen and (max-width: 768px) {
        .innerwrap {
          margin: 0 1em;
        }
    }
    

    .maincolor {
      color: var(--main-color);
      font-size: 1.3em;
    }

    .small {
      font-size: 0.8em;
    }

    .colorbox {
      box-sizing: border-box;
      border-radius: 20px;
      margin: 1em;
      box-shadow: #00000022 3px 3px 5px;
      color: white;
      background-color: var(--dark-color);
      padding: 1em;
      font-weight: bold;
    }

    .titlebox {
      box-sizing: border-box;
      border-radius: 20px;
      margin: 1em;
      box-shadow: #00000022 3px 3px 5px;
    }

    .titlebox .title {
      box-sizing: border-box;
      background-color: var(--main-color);
      border: 2px solid var(--main-color);
      color: white;
      border-radius: 10px 10px 0 0 ;
      padding: 0.5em 1em;
      font-weight: bold;
    }

    .titlebox .description {
      box-sizing: border-box;
      color: #333;
      background-color: white;
      border-radius: 0 0 10px 10px;
      padding: 0.5em;
      border: 2px solid var(--main-color);
      
      /* line-break: anywhere;
      word-wrap: break-word;
      word-break: break-all; */
    }

    .img_box {
      text-align: center;
      margin: 2em;
      border-radius: 10px;
    }

    .img_box .title{
      margin: 0.5em;
      font-weight: bold;
      color: var(--dark-color);
      text-align: center;
      font-size: 1.3em;
    }
    
    .img_box .title2{
      margin: 0.5em;

      color: var(--dark-color);
      font-weight: bold;
      font-size: 1.1em;
      text-align: center;
    }
    
    .img_box .bgtitle{
      margin: 0.5em;
      font-weight: bold;
      background-color: var(--dark-color);
      color: white;
      text-align: center;
      font-size: 1.3em;
    }

    .img_box .caption{
      font-size: .9em;
      text-align: center;
    }

    .lightbg {
      background-color: white;
      padding: 1em;
    }

    .mtp1 {
      margin-top: 1em;
    }

    p {
      margin-bottom: 1em;
    }


    
@media screen and (max-width: 768px) {
    .img_box {
      text-align: center;
      margin: 2em 0;
      border-radius: 10px;
    }
    
    .scroll_x_box {
      width: 100%; overflow-x: scroll;
    }

    .scroll_x_box img{
      max-width: 800px;
    }
}

/* フッター */
ul.foot_sitemap {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: top;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 20px 0;
  font-size: 0.9em;
  line-height: 1.6;
}

ul.foot_sitemap li {
  position: relative;
  text-align: left;
  margin: 0 10px;
  padding-left: 1.5em;
}

ul.foot_sitemap > li::after {
  content: '●';
  position: absolute;
  left: 0;
  top: 0;
  color: white;
}

ul.foot_sitemap li a > ul {
  list-style: none;
  padding-left: 1em;
}

ul.foot_sitemap li > ul > li{
  position: relative;
  left: -1.5em;
  margin-left: 0;
  padding-left: 1.5em;
}

ul.foot_sitemap li > ul > li::after{
  content: '　-';
  position: absolute;
  left: 0;
  top: 0;
  color: white;
}

ul.foot_sitemap a{
  color: white;
}

ul.foot_sitemap a::after{
  background-image: url(/img/external-white.svg);
}


#pageTop {
  display: inline-block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--main-color);
  background-image: url(/img/top_arr.svg);
  background-size: 70%;
  background-position: center 10px;
  background-repeat: no-repeat no-repeat;
  color: white;
  text-align: center;
  border: 2px solid white;
  opacity: 0.7;

}
#pageTop::after {
  display: inline-block;
  position: relative;
  padding-top: 32px;
  content: "TOP";
  font-size: 15px;
}


@media screen and (max-width: 768px) {
  ul.foot_sitemap {
    display: block;
  }

  ul.foot_sitemap > li {
    margin-bottom: 1em;
  }
}

/* パンくずリスト */
#breadcrumb ul {
  display: flex;
  padding: 10px 0;
  flex-wrap: wrap;
}
#breadcrumb ul li::after{
  content: "/";
  display: inline-block;
  margin: 0 0.5em;
}

#breadcrumb ul li:last-child::after{
  display: none;
}


/* パンくずリスト ここまで */

/* テストページ用 */
.hidden {
  display: none!important;
}

/* 第２階層以下 */
.main-visual {
  background-color: black;
  height: 600px;
  position: relative;

      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;

}

.main-visual .overview-wrap {
  position: absolute;
  top: 50%;
  padding-left: 30px;
  color: white;
}

.main-visual .overview-wrap h1 {
  font-size: 60px;
}

.main-visual .overview-wrap h1,
.main-visual .overview-wrap p {
  line-height: 1.5em;
}

.main-visual .overview-wrap h1 span {
  font-size: 0.6em;
  margin-left: 0.5em;
}

@media screen and (max-width: 768px) {

.main-visual .overview-wrap h1 {
  font-size: 25px;
  margin-bottom: 1em;
}

.main-visual {
  height: initial;
}
.main-visual .overview-wrap {
  position: relative;
  top: 0;
  padding: 2em 1em;
  padding-top: 150px;
}
}



.patternbg {
  background-color: #eee;
background: url(/img/plane_bg2.jpg) right bottom no-repeat;
background-size: 100%;
background-attachment: fixed;
}

.patternbg-alpha {
background: url(/img/top/plane_bg.png) right bottom no-repeat;
background-attachment: fixed;
background-size: 45%;
background-color: #1f3342;

}
.mbt1 {
  margin-bottom: 1em;
}

ul.disc {
  list-style: disc;
  padding-left: 25px;
}

.col2, .flexbox {
  display: flex;
  justify-content: space-between;
}

.col2 > label,
.col2 > div {
  width: 40%;
}

.col3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.col3 > div {
  width: 33%;
}

.col3 > div.thin,
.col2 > div.thin {
  width: 20%;
}

.col3 > div.max100,
.col2 > div.max100 {
  max-width: 100px;
}

.col3 > div.max200,
.col2 > div.max200 {
  max-width: 200px;
}

.col3 > div.max400,
.col2 > div.max400 {
  max-width: 400px;
}

@media screen and (max-width: 768px) {

  .patternbg {
    background-color: #eee;
  background: url(/img/plane_bg2.jpg) right bottom no-repeat;
  background-size: cover;
  background-attachment: fixed;
  }

  .col3, .col2, .flexbox {
    display: block;
  }

  .col2 > label,
  .col2 > div, 
  .col3 > div,
  .col3 > div.thin {
    width: 100%;
    margin: auto;
    margin-bottom: 50px;
  }

  form .col2 > label {
    display: block;
    margin-bottom: 0.5em;
  }
  
  .col3 > div.max100,
  .col2 > div.max100,
  .col3 > div.max200,
  .col2 > div.max200,
  .col3 > div.max400,
  .col2 > div.max400 {
    max-width: none;
  }
}


div.imgbox {
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center center;
}

p.center {
  text-align: center;
  padding-bottom: 50px;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 2em;
}

.center {
  display: block;
  width: 100%;
  text-align: center;
}

.bold {
  font-weight: bold;
  display: inline-block;
}

.bgbox {
  background-color: #DEEBF7;
}

.whitebox {
  background-color: white;
}

.whitebox.padding {
  padding: 50px;
  padding-top: 0;
}

@media screen and (max-width: 768px) {

.whitebox.padding {
  padding: 0;
}


}

.colortxt {
  color: var(--dark-color);
}

/* フォームのスタイル */
form h3 {
  background-color: transparent;
  color: #333;
  padding: 0;
  margin-top: 1em;
  margin-bottom: 0.2em;
  font-size: 1.2rem;
}

form input[type="text"],
form select,
form textarea{
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  padding: 2px 5px;
  font-size: 1.2em;
}

form textarea {
  height: 10em;
}

form input[type="radio"]{
  margin-right: 0.5em;
}

form button,
form input[type="submit"]{
  display: block;
  padding: 10px 30px;
  background-color: var(--dark-color);
  color: white;
  border-radius: 50px;
  margin: 1em auto;
  border: none;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
}

form button:hover,
form input[type="submit"]:hover{
  color: white;
  border: none;
  background-color: var(--main-color);
}

.required::after {
content: "必須";
color: #cc0000;
/* background: #cc0000; */
border: 1px solid #990000;
font-size: 0.6em;
padding: 0.3em;
border-radius: 0.5em;
margin-left:0.5em;
}

.err {
  color: #c00;
  font-size: 0.9em;
}

/* フォームのスタイル ここまで */

/* データリストのスタイル */
dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

dt, dd {
  box-sizing: border-box;
  padding: 20px 0;
  border-bottom: 1px solid #aac0cd;
}

dt:first-child, dt:first-child+dd {
  border-top: 1px solid #aac0cd;
}

dt {
  width: 250px;
  display: flex;
  align-items: center;
}

dd {
  width: calc(100% - 250px);
}

@media screen and (max-width: 768px) {
  dl {
    display: block;
  }

  dt, dd {
    width: 100%;
    padding: 0;
  }

  dt {
    padding-top: 1em;
  }

  dd {
    padding-bottom: 1em;
  }

  #newslist dd:has(a)::after {
    display: block;
    content: "";
  /* font-size: 1rem; */
  margin-left: 0;
  }

  #newslist a {
    text-decoration: underline;
  }

  dt {
    border-bottom: none;
    font-weight: bold;
    margin-bottom: 0.5em;
  }

  dt:first-child+dd {
    border-top: none;
  }
}


/* データリストのスタイル ここまで */

/* 表リスト用のスタイル */
ul.table_list > li{
  border-bottom: 1px solid #aac0cd;
  padding: 20px 0;
  line-height: 2em;
  font-size: 1.2em;
}

ul.table_list > li p,
ul.table_list > li p a{
  /* font-weight: bold; */
}

ul.table_list > li:last-child{
  border-bottom: none;
}

/* 表リスト用のスタイル ここまで */

/* タイルインデックス用のスタイル */

.tile_wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tile_wrap > a {
  display: block;
  width: 45%;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.tile_wrap > a:hover {
  text-decoration: none;
}

.tile_wrap > a .imagebox {
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
}

.tile_wrap > a img {
  width: 100%;
  transition: transform 0.4s ease;
}

.tile_wrap > a:hover img {
  width: 100%;
  transform: scale(1.08);
  opacity: 1;
}

.tile_wrap h2 {
  width: 100%;
  background-color: var(--dark-color);
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  margin-bottom: 5px;
  transition: 0.3s;
}


.tile_wrap > a:hover h2 {
  background-color: var(--main-color);
}

.tile_wrap .linkbutton {
  margin-top: 10px;
  border-bottom: 1px solid var(--dark-color);
  position: relative;
  font-weight: bold;
  transition: 0.3s;
}

.tile_wrap .linkbutton::after {
  position: absolute;
  width: 1px;
  height: 28px;
  content: "";
  border-right: 1px solid var(--dark-color);
  /* background-color: var(--dark-color); */
  margin-left: 0.5em;
  transform: rotate(-45deg);
  right: 10px;
  bottom: -5px;
}

.tile_wrap > a:hover .linkbutton {
  color: var(--main-color);
}


@media screen and (max-width: 768px) {


  .tile_wrap {
    display: block;
    width: 100%;
  }
  
  .tile_wrap > a{
    width: 100%;
    margin-bottom: 50px;
  }

}


/* タイルインデックス用のスタイル ここまで */

/* タブインデックス用のスタイル */
section.tab_index {
  border-bottom: 3px solid var(--dark-color);
  padding-bottom: 0;
}

.tab_index .tabwrap{
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.tab_index .tabwrap > a {
  display: block;
  background-color: #999;
  color: white;
  padding: 10px 5px;
  text-align: center;
  width: 12.5%;
  transition: 0.3s ease;
}

.tab_index .tabwrap > a.active {
  background-color: var(--dark-color);
}

.tab_index .tabwrap > a:hover {
  text-decoration: none;
  background-color: var(--main-color);
}

.tab_index .tabwrap > a[target="_blank"]::after {
  display: none;
}

@media screen and (max-width: 768px) {

section.tab_index {
  border-bottom: none;
}

    .tab_index .tabwrap{
      display: block;
    }

.tab_index .tabwrap > a {
  width: 100%;
  margin-bottom: 10px;
}

}




/* タブインデックス用のスタイル ここまで */
