@charset "UTF-8";
/* ===================================
   CSSファイルのインポート
   @importは必ず最初に記述する
=================================== */
/* リセットCSS */
@import url('reset.css');
/* 各ページ専用CSS */
@import url('top.css');
@import url('company.css');
@import url('contact.css');
@import url('pamphlet.css');
@import url('privacy.css');
@import url('recruit.css');
@import url('SDGs.css');
@import url('service.css');
@import url('tobihi.css');
@import url('topics.css');
@import url('shukura.css');

/* ===================================
   共通スタイル（ここから）
=================================== */
* {
  font-family: 'Noto Sans JP', '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', 'メイリオ', Meiryo,
    'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  color: #3e3e3e;
}

/* html {
  scroll-padding-top: 91px;
}

@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 60px;
  }
} */

.btn {
  padding: 2em;
  text-align: center;
}

/* 基本設定　ここまで */
/* ヘッダー　ここから */
header {
  position: fixed;
  width: 100%;
  z-index: 111;
  height: 91px;
  top: 0;
  border-bottom: solid 1px #a4a4a4;
}

main {
  padding-top: 90px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

a {
  transition: 0.1s;
}

a:hover {
  opacity: 0.7;
}

#logo {
  height: 40px;
  padding: 0 4%;
}

.menu {
  display: flex;
  background-color: #fff;
  align-items: center;
  /* height: 9vh; */
}

.menu h1 {
  margin-left: 2.6rem;
}

nav {
  margin-left: auto;
}

.menu_wrap {
  display: flex;
  height: 90px;
}

.menu_wrap li {
  display: flex;
  align-items: center;
}

.menu_wrap li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu_wrap span {
  padding: 0 1em;
}

.menu_wrap li span {
  border-right: 1px solid #3c3c3c;
  padding: 0 27px;
  font-weight: 600;
}

.menu_wrap li:nth-last-child(1) span,
.menu_wrap li:nth-last-child(2) span,
.menu_wrap li:nth-last-child(3) span {
  border-right: none;
}

.cover_green {
  background-color: #008a75;
  /* display: flex; */
  /* align-items: center; */
  margin-left: 1em;
}

.cover_green a span {
  color: #fff;
}

.cover_blue {
  background-color: #0072b0;
  /* display: flex; */
  /* align-items: center; */
}

.cover_blue a span {
  color: #fff;
}

/* ヘッダー　ここまで */
section:nth-last-of-type(1) {
  margin-bottom: 200px !important;
}

/* フッターここから */
footer {
  background-color: #4d4d4d;
  padding: 50px 0 65px;
}

footer.pc {
  display: block;
}

footer.sp {
  display: none;
}

.footer_inner {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}

.footer_Logo {
  display: block;
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer_Logo small {
  color: #fff;
  font-size: 1.2rem;
}

.footer_menu ul {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.companyinformation_menu,
.businesscontent_menu,
.requestforinformation_menu,
.topics_menu {
  padding: 0 4% 0 0;
}

/* フッターここまで */
.footer_menu {
  width: 60%;
}

.footer_menu li {
}

.footer_menu li + li {
  margin-top: 16px;
}

.footer_menu li a {
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}

/* パンくずリスト　ここから */
.breadcrumbs {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  display: block;
}

ol {
  display: flex;
  padding: 0.5em 0;
}

.breadcrumbs ol li:not(:last-child)::after {
  display: inline-block;
  margin: 0 1rem;
  content: '＞';
}

/* パンくずリスト　ここまで */
/* 会社情報タイトル　ここから */
.pagevisual h2 {
  text-align: center;
  color: #009374;
  padding: 4em 0;
  display: flex;
  flex-direction: column;
}

.pagevisual .title {
  font-size: 5rem;
  color: #009375;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.pagevisual .subtitle {
  font-size: 1.8rem;
  color: #009375;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* 会社情報タイトル　ここまで */

/* リンクボタンノーマル　ここから */
/* .link_btn_left,
.link_btn {
  max-width: 400px;
}

.link_btn_left p,
.link_btn p {
  padding: 1em;
  position: relative;
  text-align: center;
  background: #008a75;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
  color: #008a75;
  isolation: isolate;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link_btn_left p::before,
.link_btn p::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: #fff;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  z-index: -1;
}

.link_btn_left p::after,
.link_btn p::after {
  position: relative;
  z-index: 1;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: bottom;
  content: "";
  background-image: url(../img/rightarrow_green.webp);
  width: 1em;
  height: 1em;
  margin-left: 1em;
} */

.link_btn_left,
.link_btn {
  max-width: 400px;
}

.link_btn_left p,
.link_btn p {
  padding: 1em;
  position: relative;
  text-align: center;
  background: #008a75;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
  color: #008a75;
  isolation: isolate;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.link_btn_left p::before,
.link_btn p::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: #fff;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  z-index: -1;
  background: linear-gradient(to right, #008a75 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: right;
  transition: background-position 0.4s ease;
}

/* hover時のa要素のopacityを1に */
.link_btn_left a:hover,
.link_btn a:hover {
  opacity: 1 !important;
}

.link_btn_left a:hover p::before,
.link_btn a:hover p::before {
  background-position: left;
}

/* hover時のテキスト色変更 */
.link_btn_left a:hover p,
.link_btn a:hover p {
  color: #fff;
  transition: color 0.4s ease;
}

.link_btn_left p::after,
.link_btn p::after {
  position: relative;
  z-index: 1;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: bottom;
  content: '';
  background-image: url(../img/rightarrow_green.webp);
  width: 1em;
  height: 1em;
  margin-left: 1em;
}

/* hover時の矢印画像を白に変更する場合 */
.link_btn_left a:hover p::after,
.link_btn a:hover p::after {
  background-image: url(../img/rightarrow_white.webp);
  /* 白い矢印画像が必要 */
  transition: background-image 0.4s ease;
  opacity: 1;
}

/* リンクボタン　ここまで */

/* リンクボタングリーン用　ここから */
.link_btn_left_white,
.link_btn_white {
  max-width: 400px;
}

.link_btn_left_white p,
.link_btn_white p {
  padding: 1em;
  position: relative;
  text-align: center;
  background: #fff;
  /* ボーダーの色 */
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
  color: #fff;
  isolation: isolate;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.link_btn_left_white p::before,
.link_btn_white p::before {
  content: '';
  position: absolute;
  inset: 1px;
  /* ボーダーの幅 */
  background: #009374;
  /* 内側の背景色 */
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  z-index: -1;
}

.link_btn_left_white.bgmgreen p::before,
.link_btn_white.bgmgreen p::before {
  content: '';
  position: absolute;
  inset: 1px;
  /* ボーダーの幅 */
  background: #008a75;
  /* 内側の背景色 */
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  z-index: 0;
}

.link_btn_left_white.bgdgreen p::before,
.link_btn_white.bgdgreen p::before {
  content: '';
  position: absolute;
  inset: 1px;
  /* ボーダーの幅 */
  background: #006756;
  /* 内側の背景色 */
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  z-index: 0;
}

/* hover用の背景アニメーション */
.link_btn_left_white p .hover-bg,
.link_btn_white p .hover-bg {
  content: '';
  position: absolute;
  inset: 1px;
  background: #fff;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 1;
}

.link_btn_left_white a:hover p .hover-bg,
.link_btn_white a:hover p .hover-bg {
  transform: translateX(0);
}

/* テキストを前面に表示 */
.link_btn_left_white p .btn-text,
.link_btn_white p .btn-text {
  position: relative;
  z-index: 10;
  color: #fff;
  transition: color 0.4s ease;
}

/* hover時のopacityを1に */
.link_btn_left_white a:hover,
.link_btn_white a:hover {
  opacity: 1;
}

/* hover時のテキスト色変更 */
.link_btn_left_white a:hover p,
.link_btn_white a:hover p {
  color: #009374;
  transition: color 0.4s ease;
  opacity: 1;
}

/* hover時のテキスト色変更 */
.link_btn_left_white a:hover p .btn-text,
.link_btn_white a:hover p .btn-text {
  color: #009374;
  /* hover時は緑 */
}

.modal-content .link_btn.white {
  margin: 40px auto 0;
}

.link_btn_left_white.bgmgreen a:hover p .btn-text,
.link_btn_white.bgmgreen a:hover p .btn-text {
  color: #008a75;
}

.link_btn_left_white.bgdgreen a:hover p .btn-text,
.link_btn_white.bgdgreen a:hover p .btn-text {
  color: #006756;
}

.link_btn_left_white.bgmgreen a:hover p,
.link_btn_white.bgmgreen a:hover p {
  color: #008a75;
  opacity: 1;
}

.link_btn_left_white.bgdgreen a:hover p,
.link_btn_white.bgdgreen a:hover p {
  color: #006756;
  opacity: 1;
}

.link_btn_left_white p::after,
.link_btn_white p::after {
  position: relative;
  z-index: 10;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: bottom;
  content: '';
  background-image: url(../img/rightarrow_white.webp);
  width: 1em;
  height: 1em;
  margin-left: 1em;
  transition: background-image 0.4s ease;
}

/* hover時の矢印を緑に変更 */
.link_btn_left_white a:hover p::after,
.link_btn_white a:hover p::after {
  background-image: url(../img/rightarrow_green.webp);
}

.link_btn_left_white.bgmgreen a:hover p::after,
.link_btn_white.bgmgreen a:hover p::after {
  background-image: url(../img/rightarrow_green.webp);
}

.link_btn_left_white.bgdgreen a:hover p::after,
.link_btn_white.bgdgreen a:hover p::after {
  background-image: url(../img/rightarrow_green.webp);
}

/* リンクボタンホワイト用　ここまで */

.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  position: relative;
  z-index: 101;
  margin-left: auto;
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* オーバーレイ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* SP用メニューポップアップ */
.sp-menu-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* transform: translate(-50%, -50%) scale(0.9); */
  width: 100%;
  height: 100%;
  /* max-width: 500px; */
  background-color: white;
  /* border-radius: 8px; */
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); */
  z-index: 3000;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 10px 16px;
}

.sp-menu-popup.active {
  display: block;
  opacity: 1;
  /* transform: translate(-50%, -50%) scale(1); */
}

/* ロゴ（ポップアップ内） */
.sp-menu-logo {
  margin-bottom: 30px;
}

.sp-menu-logo img {
  height: 35px;
  margin-left: 1rem;
  max-width: 240px;
  object-fit: contain;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.close-btn:hover {
  color: #333;
}

/* SP用メニューリスト */
.sp-menu-list {
  list-style: none;
  width: 90%;
  margin: 80px auto 0;
}

.sp-menu-list li {
  border-bottom: 1px solid #e0e0e0;
}

.sp-menu-list li:last-of-type {
  border-bottom: none;
  margin-bottom: 25px;
}

.sp-menu-list li a {
  display: block;
  padding: 18px 0;
  color: #333;
  text-decoration: none;
  font-size: 1.8rem;
  transition: color 0.2s ease;
  font-weight: 600;
}

.sp-menu-list li a:hover {
  color: #008b8b;
}

/* SP用ボタン */
.sp-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.sp-menu-buttons li {
  border: none !important;
  margin: 0 !important;
}

.sp-menu-buttons li a {
  width: 100%;
  display: block;
  /* padding: 15px !important; */
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.sp-menu-buttons .cover_green a {
  /* background-color: #008B8B; */
  /* color: white; */
}

.sp-menu-buttons .cover_green a:hover {
  background-color: #007070;
}

.sp-menu-buttons .cover_blue a {
  /* background-color: #0066CC; */
  /* color: white; */
}

.sp-menu-buttons .cover_blue a:hover {
  background-color: #0052a3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* PC用ナビを非表示 */
  /* header nav {
      display: none;
    } */
  /* ハンバーガーメニューを表示 */
  .hamburger-btn {
    display: flex;
    margin-right: 13px;
  }
}

@media screen and (max-width: 768px) {
  header {
    height: 60px;
    background-color: #fff;
  }

  header .menu nav {
    display: none;
  }

  .menu {
    height: 100%;
  }

  .menu h1 {
    max-width: 55%;
  }

  #logo {
    padding: 0;
    display: block;
  }

  #logo img {
    height: 35px;
    max-width: 240px;
    object-fit: contain;
  }

  main {
    padding-top: 60px;
  }

  .link_btn_left,
  .link_btn {
    /* max-width: 300px; */
    /* margin: auto; */
  }

  .link_btn_left p,
  .link_btn p {
    padding: 0.7em 1em;
    font-size: 2rem;
  }

  footer.pc {
    display: none;
  }

  footer.sp {
    display: block;
  }

  .footer_Logo {
    display: grid;
    place-content: center;
    width: 100%;
  }

  .footer_inner {
    width: 90%;
    flex-direction: column;
  }

  .footer_menu {
    width: 100%;
    margin: 30px 0;
  }

  .footer_menu nav {
    display: block;
  }

  .footer_menu nav ul {
    flex-direction: column;
  }

  .footer_accordion {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .accordion_item {
    border-bottom: 1px solid #a4a4a4;
  }

  .accordion_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 0px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    font-weight: 600;
  }

  .accordion_header:not(.no_children)::after {
    content: '+';
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
  }

  .accordion_item.active .accordion_header:not(.no_children)::after {
    content: '−';
  }

  .accordion_header:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .accordion_content {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .accordion_item.active .accordion_content {
    max-height: 500px;
  }

  .accordion_content li {
    padding: 0;
  }

  .accordion_content a {
    display: block;
    padding: 0px 0px 12px 0px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
  }

  .accordion_content a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
  }

  .footer_inner small {
    color: #fff;
    text-align: center;
  }

  .footer_menu li a {
    font-size: 1.8rem;
  }

  .footer_menu li + li {
    margin-top: 0px;
  }

  .sp-menu-buttons .link_btn_white p {
    font-size: 1.8rem;
  }

  .sp-menu-buttons .link_btn_white p.blue::before {
    background: #0071ad;
  }

  .breadcrumbs {
    width: 90%;
  }

  .pagevisual h2 {
    padding: 3em 0;
  }

  .pagevisual .title {
    font-size: 3.4rem;
  }

  .pagevisual .subtitle {
    font-size: 1.6rem;
    letter-spacing: 0.02em;
  }
}

/* スクロールアニメーション */
.animate {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1.2s ease-out;
}

.animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
