@charset "utf-8";

/*Font Awesomeの読み込み*/
/*---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み*/
/*---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Kurenaido&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yesteryear&display=swap');


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）*/
/*---------------------------------------------------------------------------*/
:root {
  --space-large: 8vw;
  /*主に余白の一括管理用。画面幅100%＝100vwです。*/
}

/*fadeInのキーフレーム設定（汎用的）*/
/*---------------------------------------------------------------------------*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/*fadeOutのキーフレーム設定（汎用的）*/
/*---------------------------------------------------------------------------*/
@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}


/*全体の設定*/
/*---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
}

html,
body {
  font-size: 13px;
  height: 100%;
  overflow-x: hidden;
}

/*画面幅1200px以上の追加指定*/
@media screen and (min-width:1000px) {

  html,
  body {
    font-size: 14px;
  }

}

/*追加指定ここまで*/

/*画面幅1600px以上の追加指定*/
@media screen and (min-width:1600px) {

  html,
  body {
    font-size: 1vw;
  }

}

body {
  overflow-x: clip;
}

/*追加指定ここまで*/


body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  -webkit-text-size-adjust: none;
  color: #333;
  line-height: 2;
  padding-top: 110px;
}

@media screen and (max-width: 767px) {
  body {
    padding-top: 55px;
  }
}

/* タブレット：縦 (768px〜1024px 縦画面) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    body {
    padding-top: 90px;
  }
}

/* タブレット：横 (768px〜1024px 横画面) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  body {
    padding-top: 90px;
  }
}

/*リセット他*/
figure {
  margin: 0;
}

dd {
  margin: 0;
}

nav ul {
  list-style: none;
}

nav,
ul,
li,
ol {
  margin: 0;
  padding: 0;
}

p {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  text-align: center;
}

.text {
  font-size: 1rem;
  align-items: center;
}

/*table全般の設定*/
table {
  border-collapse: collapse;
}

/*画像全般の設定*/
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/*videoタグ*/
video {
  max-width: 100%;
}

/*iframeタグ*/
iframe {
  width: 100%;
}

/*input*/
input {
  font-size: 1rem;
}

/*content-wrapper*/
.content-wrapper {
  padding: 0 10rem;
  padding-bottom: 2.5rem;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .content-wrapper {
    padding: 0 2rem;
    padding-bottom: 2.5rem;
  }
}

/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .content-wrapper {
    padding: 0 5rem;
    padding-bottom: 2.5rem;
  }
}

/*リンクテキスト全般の設定*/
/*---------------------------------------------------------------------------*/
a {
  color: inherit;
  /* 親要素の文字色を継承 */
  transition: 0.3s;
  text-decoration: none;
}

/*マウスオン時*/
a:hover {
  text-decoration: none;
  opacity: 0.9;
}


/*container（サイト全体を囲むボックス）*/
/*---------------------------------------------------------------------------*/
#container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*ヘッダーブロック
---------------------------------------------------------------------------*/
header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 110px;
    display: flex;
    justify-content: center;
}

header.header-top {
    background-color: #FFA44A;
    box-shadow: none;
}

.head_wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.hd_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* トップメッセージ */
.top-message {
    font-size: 0.7rem;
    margin: 0;
    color: #ffffff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.9);
}

/* ロゴ画像 */
.hd_logo {
    display: flex;
    margin: 0;
}

.hd_logo img {
    width: 80px;
    height: auto;
}

/* スマートフォン (〜767px) */
@media screen and (max-width: 767px) {
    header {
        height: 55px;
        flex-direction: column;
        justify-content: center;
    }
    .head_wrapper {
        padding: 0 0.5rem;
    }
    .hd_wrap {
        align-items: center;
        padding: 5px 0;
    }
    .top-message {
        font-size: 0.5rem;
        text-align: left;
    }
    .hd_logo img {
        width: 35px;
    }
}

/* タブレット：縦 (768px〜1024px 縦画面) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    header {
        height: 90px;
    }
    .head_wrapper {
        padding: 0 1rem;
    }
    .hd_wrap {
        padding: 3px 0;
    }
    .top-message {
        font-size: 0.85rem;
    }
    .hd_logo img {
        width: 65px;
    }
}

/* タブレット：横 (768px〜1024px 横画面) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    header {
        height: 90px;
    }
    .head_wrapper {
        padding: 0 1rem;
    }
    .hd_wrap {
        padding: 3px 0;
    }
    .top-message {
        font-size: 0.7rem;
    }
    .hd_logo img {
        width: 65px;
    }
}

/* メニューバー 
---------------------------------------------------------------------------*/
.flex {
  display: flex;
}

/* 共通メニュー設定 */
#menubar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menubar a {
  display: block;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  color: #0300c9;
  position: relative;
}

/* ----------------------------------------------------
   ブレイクポイントによるPC/SPメニューの表示切替
---------------------------------------------------- */
/* PC幅（1025px以上）の表示設定 */
@media screen and (min-width: 1025px) {
  #menubar_pc {
    display: block;
  }
  #menubar_hdr {
    display: none !important;
  }
}

/* スマホ・タブレット幅（1024px以下）の表示設定 */
@media screen and (max-width: 1024px) {
  #menubar_pc {
    display: none !important;
  }
  #menubar_hdr {
    display: flex;
  }
}

/* 表示/非表示切替（JSのSPメニュー開閉動作用） */
.db {
  display: block !important;
}
.dn {
  display: none !important;
}

/* ----------------------------------------------------
   PCメニュー (1025px以上)
---------------------------------------------------- */
@media screen and (min-width: 1025px) {
  #menubar_pc #menubar {
    margin-left: auto;
    display: inline-block;
  }

  #menubar_pc #menubar ul.flex {
    margin: 0;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  #menubar_pc #menubar a {
    display: block;
    height: 2.4rem;
    line-height: 2.4rem;
    padding: 0 0.8rem;
    color: #0014ca;
    transition: transform 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    overflow: visible !important;
  }

  @media (hover: hover) and (pointer: fine) {
    #menubar_pc #menubar a:hover {
      color: #ffffff;
    }
  }
}

/* ----------------------------------------------------
   SP・タブレットメニュー全体（右からのスライドイン設定）
---------------------------------------------------- */
#menubar_sp {
  position: fixed;
  overflow: hidden;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(93, 116, 164, 0.98);
  -webkit-overflow-scrolling: touch;
  
  /* 初期位置を右画面外にセット */
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.2, 1);
}

#menubar_sp.db {
  display: block !important;
  transform: translateX(0);
}

#menubar_sp.dn {
  display: block !important;
  transform: translateX(100%);
  pointer-events: none;
}

/* SPメニュー中身 */
#menubar_sp #menubar {
  height: 100%;
  padding: 80px 20px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ★修正: .dbが外れて閉じる際にもスタイルを保持させるため、.dbなしで指定 */
#menubar_sp ul {
  flex-direction: column;
  margin:  0 auto;
}

/* SPメニューリンク */
#menubar_sp #menubar a {
  padding: 18px 20px;
  width: 100%;
  color: #fff;
  font-weight: bold;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#menubar_sp #menubar a::after {
  content: "»";
  position: absolute;
  right: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-10px);
}

/* ★修正: ホバーアクションのみに限定し、タップ時の :active を削除 */
@media (hover: hover) and (pointer: fine) {
  #menubar_sp #menubar a:hover {
    padding-left: 30px;
    background-color: rgba(255, 255, 255, 0.1);
  }
  #menubar_sp #menubar a:hover::after {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----------------------------------------------------
   子メニュー（ddmenu）
---------------------------------------------------- */
#menubar li {
  position: relative;
}

.ddmenu {
  position: absolute; 
  top: 100%;
  left: 50%;
  transform: translate(-50%, 15px);
  background-color: #ffffff;
  padding: 15px 0;
  margin: 15px 0 0 0;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  min-width: 200px; 
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.ddmenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ffffff;
}

.ddmenu li {
  width: 100%;
}

.ddmenu a {
  color: #0014ca !important;
  padding: 12px 20px !important;
  font-size: 1.1rem !important;
  line-height: 1.5 !important;
  height: auto !important;
  text-align: center;
  transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  #menubar li:hover > .ddmenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  
  .ddmenu a:hover {
    color: #ffa44a !important;
  }
}

/* ----------------------------------------------------
   ハンバーガーメニュー (トリガーボタン)
---------------------------------------------------- */
#menubar_hdr {
  position: fixed;
  z-index: 999999999;
  cursor: pointer;
  right: 10px;
  top: 25px;
  padding: 14px 12px;
  width: 50px;
  height: 50px;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
  #menubar_hdr:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  }
}

#menubar_hdr span {
  display: block;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-top: 3px solid #ffffff;
  border-radius: 5%;
  width: 100%;
}

#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
  transform-origin: center center;
  width: 26px;
}

#menubar_hdr.ham span:nth-of-type(1) {
  transform: rotate(45deg) translate(5.8px, 5.5px);
}

#menubar_hdr.ham span:nth-of-type(3) {
  transform: rotate(-45deg) translate(7.8px, -7.1px);
}

#menubar_hdr.ham span:nth-of-type(2) {
  opacity: 0;
  transform: translateX(-10px);
}

/* ----------------------------------------------------
   レスポンシブ設定 (スマートフォン / タブレット縦・横)
---------------------------------------------------- */
/* スマートフォン */
@media screen and (max-width: 767px) {
  #menubar_sp ul {
    width: 100%;
  }
  #menubar_sp #menubar a {
    font-size: 1.2rem;
  }

  #menubar_hdr {
    width: 40px;
    height: 40px;
    padding: 13px 10px;
    top: 10px;
    right: 0;
  }

  #menubar_hdr span {
    border-top: 2px solid #ffffff;
  }

  #menubar_hdr.ham span:nth-of-type(1),
  #menubar_hdr.ham span:nth-of-type(3) {
    width: 19px;
  }

  #menubar_hdr.ham span:nth-of-type(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }

  #menubar_hdr.ham span:nth-of-type(3) {
    transform: rotate(-45deg) translate(5px, -4px);
  }
}

/* タブレット：縦 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  #menubar_sp ul {
    width: 80%;
  }
  #menubar_sp #menubar a {
    font-size: 1.5rem;
  }
}

/* タブレット：横 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  #menubar_sp ul {
    width: 70%;
  }
  #menubar_sp #menubar a {
    font-size: 1.5rem;
  }
}

/* メインビジュアルが無いページの上部padding
---------------------------------------------------------------------------*/
main.main2 > *:first-child {
  padding-top: 20px;
}

@media screen and (max-width: 767px) {
  main.main2 > *:first-child {
    padding-top: 10px;
  }
}

/*メインビジュアル
---------------------------------------------------------------------------*/
aside.mainimg {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  height: auto;
  background-color: #ffffff;
}

/* スライドの基本スタイル設定 */
.swiper-slide {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* レスポンシブ */
.smart-only {
  display: none !important;
}
.pc-only {
  display: block;
}
.swiper-slide.pc-only {
  display: flex;
}

/* スマホ (〜767px) */
@media screen and (max-width: 767px) {
  aside.mainimg {
    max-width: 95%;
  }

  .pc-only {
    display: none !important;
  }
  .smart-only {
    display: block; 
  }
  .smart-only.flex {
    display: flex;
  }
  .swiper-slide.smart-only {
    display: flex; 
  }
}

/* タブレット：縦 (768px〜1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  aside.mainimg {
    max-width: 90%;
  }
}

/* Swiper用の追加スタイル
---------------------------------------------------------------------------*/
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  /* 中央揃えの調整 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; /* 画像の縦横比を崩さずに枠に収める */
}

/* inner
---------------------------------------------------------------------------*/
.inner {
  margin: 0 auto;
  padding: 7%;
}

@media screen and (min-width: 601px) {
  .inner {
    padding: 1% 15% 5%;
  }
}

/* セクションタイトル
---------------------------------------------------------------------------*/
.section_title {
  position: relative;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  z-index: 2;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .section_title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* タブレット：縦 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .section_title {
    font-size: 2rem;
  }
}

/* タブレット：横 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .section_title {
    font-size: 2rem;
  }
}

/* セクションスタイル
---------------------------------------------------------------------------*/
section {
  position: relative;
  z-index: 1;
}

section.bgBL {
  background-color: #5d74a4;
  color: #ffffff;
  position: relative;
  z-index: 1;
  overflow: visible;
}

section.bgLB {
  background-color: #e8ecef;
  color: #333333;
  position: relative;
  z-index: 2;
  overflow: visible;
}

[class*="shape-"]::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.shape-convex-lb::after {
  bottom: -1px;
  height: 50px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,120 L0,0 C300,160 900,160 1200,0 L1200,120 Z" fill="%23e8ecef"/></svg>');
  background-size: 100% 100%;
}

.shape-convex-bl::after {
  bottom: -1px;
  height: 50px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,120 L0,0 C300,160 900,160 1200,0 L1200,120 Z" fill="%235d74a4"/></svg>');
  background-size: 100% 100%;
}

.shape-zigzag-lb::after {
  bottom: -1px;
  height: 25px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 30" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><polygon points="0,30 50,0 100,30" fill="%23e8ecef"/></svg>');
  background-size: 60px 100%;
}

.shape-zigzag-bl::after {
  bottom: -1px;
  height: 25px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 30" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><polygon points="0,30 50,0 100,30" fill="%235d74a4"/></svg>');
  background-size: 60px 100%;
}

.shape-wave-lb::after {
  bottom: -1px;
  height: 35px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 40" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,40 L0,20 C25,20 25,0 50,0 C75,0 75,20 100,20 L100,40 Z" fill="%23e8ecef"/></svg>');
  background-size: 120px 100%;
}

.shape-wave-bl::after {
  bottom: -1px;
  height: 35px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 40" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,40 L0,20 C25,20 25,0 50,0 C75,0 75,20 100,20 L100,40 Z" fill="%235d74a4"/></svg>');
  background-size: 120px 100%;
}

.bg-half-lightblue {
  background-image: linear-gradient(to bottom, transparent 50%, #bce2fa 50%);
}

.relative-inner {
  position: relative;
  z-index: 2;
}

.prlx-text {
  position: absolute;
  top: 5%;
  left: -2%;
  font-size: 15vw;
  font-weight: 900;
  color: rgba(93, 116, 164, 0.05);
  z-index: -1;
  pointer-events: none;
  white-space: nowrap;
}

/* タブレット：横 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .prlx-text {
    top: 4%;
  }
}

/* タブレット：縦 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .shape-convex-lb::after,
  .shape-convex-bl::after {
    height: 40px;
  }
  .shape-zigzag-lb::after,
  .shape-zigzag-bl::after {
    height: 20px;
  }
  .shape-wave-lb::after,
  .shape-wave-bl::after {
    height: 25px;
  }

  .prlx-text {
    font-size: 18vw;
    top: 3%;
  }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .shape-convex-lb::after,
  .shape-convex-bl::after {
    height: 25px;
  }
  
  .shape-zigzag-lb::after,
  .shape-zigzag-bl::after {
    height: 15px;
    background-size: 40px 100%;
  }
  
  .shape-wave-lb::after,
  .shape-wave-bl::after {
    height: 15px;
    background-size: 80px 100%;
  }
  
  .prlx-text {
    font-size: 22vw;
    top: 2%;
    left: -5%;
  }
}

/* もっと見るボタン
---------------------------------------------------------------------------*/
.button018 {
  display: flex;
  justify-content: flex-end;
  padding-top: 3rem;
}

.button018 a {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content; 
  white-space: nowrap;
  padding: 10px 1rem 10px 3rem;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-decoration: none;
}

.button018 a:before {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  left: 0.8rem; 
  z-index: 2;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.3s;
}

.button018 a:after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4rem;
  transform: translateY(-50%);
  transition: all 0.5s;
}

.button018 a span {
  position: relative;
  transition: all 0.3s;
  z-index: 3;
}

@media (hover: hover) and (pointer: fine) {
  .button018 a:hover:before {
    left: 1.3rem; 
  }
  .button018 a:hover:after {
    width: 100%;
  }
}

.button018 a {
  color: #313131;
}

.button018 a:before {
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
}

.button018 a:after {
  background: #6bb6ff;
}

@media (hover: hover) and (pointer: fine) {
  .button018 a:hover span {
    color: #313131;
  }
}

section.bgBL .button018 a {
  color: #ffffff;
}

section.bgBL .button018 a:before {
  border-top: solid 2px #5d74a4;
  border-right: solid 2px #5d74a4;
}

section.bgBL .button018 a:after {
  background: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  section.bgBL .button018 a:hover span {
    color: #5d74a4;
  }
}

/* ページトップのためのCSS */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-top.UpMove {
  opacity: 1;
  visibility: visible;
}

#page-top.DownMove {
  opacity: 0;
  visibility: hidden;
}

#page-top a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  background-color: #0056b3;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

#page-top a:hover {
  background-color: #004494;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

#page-top .arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: translateY(2px) rotate(45deg);
  margin-bottom: 2px;
}

#page-top .text {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-family: sans-serif;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  #page-top {
    bottom: 20px;
    right: 5px;
  }

  #page-top a {
    width: 50px;
    height: 50px;
  }

  #page-top .arrow {
    width: 8px;
    height: 8px;
    transform: translateY(3px) rotate(45deg);
  }

  #page-top .text {
    font-size: 8px;
  }
}

/* タブレット向け */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #page-top {
    bottom: 25px;
    right: 25px;
  }

  #page-top a {
    width: 58px;
    height: 58px;
  }

  #page-top .text {
    font-size: 9px;
  }
}

/* 採用・エントリーボタンエリア */
.entry-nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.entry-nav-top {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.btn-recruit {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    background-color: #fff;
    padding: 2.5rem 1rem;
}

.btn-recruit .jp {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 6px;
}

.btn-recruit .en {
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* 各ボタンの固有カラー設定 */
.btn-newgraduate {
    border: 2px solid #ff9f1c; /* ポップなオレンジ */
    color: #ff9f1c;
}

.btn-career {
    border: 2px solid #2ec4b6; /* ポップなティールグリーン */
    color: #2ec4b6;
}

/* ボタン内の矢印アイコン（共通） */
.btn-arrow {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    fill: none; /* 線画SVGに対応させるためnoneに調整 */
    transition: transform 0.3s ease;
}

/* =========================================================
   ホバーアクション（PC・マウス操作時のみ適用）
========================================================= */
@media (hover: hover) and (pointer: fine) {
    .btn-recruit:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        color: #fff;
    }
    
    /* ホバー時に背景がそれぞれの固有カラーで塗りつぶされる設定 */
    .btn-newgraduate:hover {
        background-color: #ff9f1c;
    }
    
    .btn-career:hover {
        background-color: #2ec4b6;
    }
    
    /* 矢印が右に動くアニメーション */
    .btn-recruit:hover .btn-arrow {
        transform: translate(5px, -50%);
    }
}

/* =========================================================
   レスポンシブ設定
========================================================= */

/* スマートフォン */
@media screen and (max-width: 767px) {
    .entry-nav-container {
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .entry-nav-top {
        flex-direction: column;
        gap: 15px;
    }

    .btn-recruit {
        padding: 2rem 1rem; /* スマホ環境でも縦の大きさを維持 */
    }

    .btn-recruit .jp {
        font-size: 1.25rem;
    }

    .btn-arrow {
        right: 20px;
        width: 20px;
        height: 20px;
    }
}

/* タブレット：縦 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .entry-nav-container {
        padding: 2.5rem 2rem;
        gap: 2rem;
    }

    .entry-nav-top {
        gap: 20px;
    }

    .btn-recruit {
        padding: 2.2rem 1rem;
    }
}

/* タブレット：横 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .entry-nav-container {
        padding: 3rem 2rem;
    }
    
    .btn-recruit {
        padding: 2.5rem 1rem; /* PC同様のゆったりしたサイズ感 */
    }
}

/* =========================================================
   追加：応募するボタン（btn-apply）のスタイル
========================================================= */

/* 共通ボタンベース設定 */
.btn-apply {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 100%; /* 横幅いっぱいに広げる */
    background: linear-gradient(135deg, #0ea5e9, #2dd4bf); /* 爽やかなグラデーション（お好みの色に変えてもOKです） */
    color: #ffffff; /* 文字色は白 */
    padding: 2.5rem 1rem;
}

.btn-apply .jp {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 6px;
}

.btn-apply .en {
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* ホバーアクション（PC・マウス操作時のみ適用） */
@media (hover: hover) and (pointer: fine) {
    .btn-apply:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
        opacity: 0.95;
    }
    
    /* ホバー時に矢印を右に動かす */
    .btn-apply:hover .btn-arrow {
        transform: translate(5px, -50%);
    }
}

/* ---------------------------------------------------------
   既存のレスポンシブ（@media）の中に組み込む記述
--------------------------------------------------------- */

/* スマートフォン（max-width: 767px）の塊の中に追記してください */
@media screen and (max-width: 767px) {
    .btn-apply {
        padding: 2rem 1rem;
    }
    .btn-apply .jp {
        font-size: 1.25rem;
    }
}

/* タブレット：縦（min-width: 768px and max-width: 1024px...）の塊の中に追記してください */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .btn-apply {
        padding: 2.2rem 1rem;
    }
}

/* =========================================
   メインビジュアル（採用スライド）のスタイル
========================================= */
#mainimg .slide-item {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 300px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#mainimg .slide-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

#mainimg .slide_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0;
}

#mainimg .slide_text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 6rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); 
    padding: 0 20px;
}

/* スマートフォン */
@media screen and (max-width: 767px) { 
    #mainimg .slide-item {
        height: 40vh;
        min-height: 250px;
    }
    #mainimg .slide_text {
        font-size: 2rem;
        padding: 0 15px;
    }
}

/* タブレット：縦 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { 
    #mainimg .slide-item {
        height: 45vh;
    }
    #mainimg .slide_text {
        font-size: 3.5rem;
    }
}

/* タブレット：横 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) { 
    #mainimg .slide-item {
        height: 55vh;
    }
    #mainimg .slide_text {
        font-size: 4.5rem;
    }
}

/* =========================================
   アクションボタンエリアの共通スタイル
========================================= */
.action-btn-area {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px; /* 下のPHPコンテンツとの余白 */
}

/* ボタンの基本スタイル */
.action-btn-area .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 60px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* 募集要項を見るボタン（白背景・枠線） */
.action-btn-area .btn-outline {
    background-color: #ffffff;
    color: #333333;
    border: 2px solid #333333;
}

/* 応募するボタン（メインカラー） */
.action-btn-area .btn-primary {
    /* サイトのメインカラーに合わせて数値を変更してください */
    background-color: #0056b3; 
    color: #ffffff;
    border: 2px solid #0056b3;
}

/* =========================================
   ホバーアクション（マウス操作が可能な端末のみ適用）
========================================= */
@media (hover: hover) and (pointer: fine) {
    .action-btn-area .btn-outline:hover {
        background-color: #333333;
        color: #ffffff;
    }
    .action-btn-area .btn-primary:hover {
        background-color: #004085;
        border-color: #004085;
    }
}

/* =========================================
   レスポンシブ対応
========================================= */

/* スマートフォン */
@media screen and (max-width: 767px) { 
    .action-btn-area {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }
    .action-btn-area .btn {
        width: 100%;
        max-width: 320px;
        height: 50px;
        font-size: 1rem;
    }
}

/* タブレット：縦 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { 
    .action-btn-area {
        gap: 20px;
    }
    .action-btn-area .btn {
        width: 250px;
        height: 55px;
        font-size: 1rem;
    }
}

/* タブレット：横 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) { 
    .action-btn-area {
        gap: 25px;
    }
    .action-btn-area .btn {
        width: 280px;
        height: 60px;
    }
}

/* ==========================================
   大型応募ボタン（CTA）のスタイル
   ========================================== */
.cta-btn-wrapper {
    margin-top: 4rem; /* 上の要素（フロー）との余白をしっかりとる */
    text-align: center;
    padding-bottom: 2rem;
}

.cta-large-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 5rem; /* 大胆に余白を取ってボタンを大きく */
    background: linear-gradient(135deg, #0ea5e9, #2dd4bf); /* 先ほどのラインと合わせた爽やかなグラデーション */
    color: #ffffff !important;
    font-size: 1.5rem; /* 文字を大きく */
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px; /* 丸みのあるピル型で今っぽく */
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3); /* ボタンと同じ系統の色で影をつける */
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn-icon {
    display: flex;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

/* ==========================================
   キラッと光るエフェクト（おしゃれ感の演出）
   ========================================== */
.cta-large-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

/* ==========================================
   ホバーアクション（PC等ポインティングデバイス専用）
   ========================================== */
@media (hover: hover) and (pointer: fine) {
    .cta-large-btn:hover {
        transform: translateY(-5px); /* 少し浮き上がる */
        box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4); /* 影が広がる */
        color: #ffffff;
    }
    
    /* ホバー時に光の筋が通り抜ける */
    .cta-large-btn:hover::after {
        left: 120%;
    }
    
    /* 矢印が右にスッと動く */
    .cta-large-btn:hover .cta-btn-icon {
        transform: translateX(6px);
    }
}

/* ==========================================
   レスポンシブデザイン
   ========================================== */

/* スマートフォン */
@media screen and (max-width: 767px) {
    .cta-btn-wrapper {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    .cta-large-btn {
        width: 100%; /* スマホでは横幅いっぱいに広げて押しやすく */
        max-width: 400px;
        padding: 1.25rem 2rem;
        font-size: 1.25rem;
    }
    .cta-btn-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* タブレット：縦 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .cta-large-btn {
        padding: 1.25rem 4rem;
        font-size: 1.35rem;
    }
}

/* indexお問い合わせボタン
------------------------------------------------------------*/
.static_contact_wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin: 3rem auto 0;
}

.orange_action_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 8px solid #e87b1c;
    padding: 35px 50px;
    text-decoration: none;
    color: #333333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
    .orange_action_btn:hover {
        transform: translateY(-4px);
        box-shadow: 6px 6px 0px rgba(0,0,0,0.15);
    }
}

.orange_btn_text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.orange_btn_text .en {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
}

.orange_btn_text .ja {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
    color: #333333;
}

.orange_action_btn i {
    font-size: 70px;
    color: #333333;
}

/* スマートフォン (767px以下) */
@media screen and (max-width: 767px) {
    .static_contact_wrap {
        gap: 1rem;
        margin: 3rem 0;
    }

    .orange_action_btn {
        padding: 20px;
        border: 5px solid #e87b1c;
    }

    .orange_btn_text .en {
        font-size: 1.6rem;
    }

    .orange_btn_text .ja {
        font-size: 0.85rem;
        margin-top: 5px;
    }

    .orange_action_btn i {
        font-size: 40px;
    }
}

/* タブレット：縦 (768px 〜 1024px & 縦持ち) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .orange_action_btn {
        padding: 25px 35px;
        border: 6px solid #e87b1c;
    }

    .orange_btn_text .en {
        font-size: 2.2rem;
    }

    .orange_action_btn i {
        font-size: 55px;
    }
}

/* タブレット：横 (768px 〜 1024px & 横持ち) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .orange_action_btn {
        padding: 30px 45px;
        border: 7px solid #e87b1c;
    }

    .orange_btn_text .en {
        font-size: 2.5rem;
    }

    .orange_action_btn i {
        font-size: 60px;
    }
}

/* フローティングバナー
------------------------------------------------------------*/
.floating-banner {
  position: fixed;
  right: 0;
  bottom: 100px;
  z-index: 100;
  transition: all 0.3s ease;
}

.floating-banner a {
  display: block;
}

.floating-banner_img {
  display: block;
  width: 10vw;
  height: auto;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .floating-banner:hover {
    transform: translateY(-5px);
    opacity: 0.9;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .floating-banner {
    bottom: 80px;
  }
  .floating-banner_img {
    width: 20vw;
  }
}

/* タブレット（縦・横） */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .floating-banner {
    bottom: 85px;
  }
  .floating-banner_img {
    width: 15vw;
  }
}