.top-button{
font-weight: 200;
    font-size: 1.4rem;
    padding: 18px 12px 16px;
    letter-spacing: 1px;
    line-height: 100%;
    display: inline-block;
    color: #9c9c9c;
}

.top-button a:hover {
        background: rgba(0, 43, 102, 0.8);
}

.top-button a {
        transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}


/* ハンバーガーアイコン */
.hamburger {
  margin-top: 15px;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.hamburger .lines span {
  display: block;
  width: 30px;
  height: 2px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* サイドメニュー */
.side-menu {
  position: fixed;
  top: 0;
  right: 0px;
  height: 100vh;
  width: 250px;
  background-color: rgba(50, 50, 50, 0.9);
  color: black;
  z-index: 1000;
  padding-top: 80px;
  transform: translateX(100%);  
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu ul li {
  text-align: right;
  transition: background-color 0.3s ease;
}

/* ホバーしたとき li 全体が青くなる！ */
.side-menu ul li:hover {
  background-color: rgba(0, 120, 255, 0.3);
}

.side-menu ul li a{
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  cursor: pointer;
  margin: 10px 20px;
  padding: 10px 5px;
  transition-property: opacity;
}

.side-menu ul li a:hover {
  opacity: 0.4; 
}

.side-menu .submenu-toggle {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  cursor: pointer;
  margin: 10px 20px;
  padding: 10px 5px;
}

/* メニューが開いてる時 */
.side-menu.open {
  transform: translateX(0); 
}

/* アニメーションさせる .open クラス */
.hamburger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* SNSリンク用スタイル（競合回避版） */
.social-links-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* サブメニュー */
.submenu {
  display: none;
  flex-direction: column;
  margin-top: 10px;
  gap: 10px;
}

.submenu li {
  font-size: 16px;
}

li.open .submenu {
  display: flex;
}

.toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 8px;
}

li.open .toggle-icon {
  transform: rotate(45deg);
}



/* アニメーションさせる .open クラス */
.hamburger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}








@font-face {
    font-family: "Champagne & Limousines";
    src: url("fonts/Champagne & Limousines.ttf") format("truetype");
}

@font-face {
    font-family: "HangyakuG3";
    src: url("fonts/Hangyaku-G3rpg.ttf") format("truetype");
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    transition: background 0.5s cubic-bezier(0.4, 0.4, 0, 1);
    font-weight: 400;
}





body.fade-in-soft {
  opacity: 0;
  animation: softFadeIn 1.5s ease-out forwards;
}

@keyframes softFadeIn {
  to {
    opacity: 5;
  }
}








.blinker-thin {
  font-family: "Blinker", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.subtitle {
    font-family: "HangyakuG3", serif;
    font-size: 24px;
}


/* 画像のサイズ調整 */
.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を枠いっぱいに調整 */
}

/* heroがあったところ */

img {
    margin: 0;
    padding: 0;
    vertical-align: text-bottom;
    width: 100%;
    height: auto;
}

img {
    z-index: +1; 
    overflow-clip-margin: content-box;
    overflow: clip;
}

/* リンクのスタイル */
a {
  border: 0;
  font-family: sans-serif;
  line-height: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  color: #333;
  transition: all 0.3s ease-in-out; /* すべてのプロパティを0.3秒で変化 */
  word-spacing: 1px;
}



.background-image {
  position: fixed; /* 画像を固定表示 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* 他の要素よりも奥に表示 */
 filter: brightness(0.9) grayscale(0.2);
}


/* リンクのスタイル */
a {
  border: 0;
  font-family: sans-serif;
  line-height: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  color: #333;
  transition: all 0.3s ease-in-out; /* すべてのプロパティを0.3秒で変化 */
  word-spacing: 1px;
}


nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    background-color: #333;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    display: block;
}

nav ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

.social-icons {
    text-align: center; /* 中央揃え */
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin: 5px; /* アイコン同士の間隔を調整 */
}

.social-icons img {
    width: 30px; /* アイコンサイズを小さく */
    height: 30px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3)); /* 影を小さめに */
    transition: transform 0.2s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.1); /* ホバー時に少し拡大 */
}



/* ナビゲーションバーのデザイン */
nav {
    padding: 10px 70px 10px 40px;
    text-align: center;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}
nav ul li {
    margin: 0 15px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    display: block;
}
nav ul li a:hover {
    background-color: #0072ff;
    border-radius: 5px;
}

.sns-links {
    margin-top: 10px;
}

.sns-icon {
    width: 30px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.sns-icon:hover {
    transform: scale(1.2);
}





/* パンくずリストのデザイン */





.breadcrumb-nav {
    text-align: left;
    padding: 20px 48px;
    background-color: #f4f4f4;
    font-size: 13px;
}

.breadcrumb-nav a {
    font-family: "Blinker", sans-serif;
    font-weight: 600;
    text-decoration: none;
    color: #aaaaaa;
    transition-delay: 0ms;
    transition-duration: 600ms;
}

.breadcrumb-nav a2 {
    font-family: "Blinker", sans-serif;
    font-weight: 600;
    text-decoration: none;
    color: #1E5A9F;
    transition: color 0.3s ease-in-out;
}

.breadcrumb-nav a:hover {
    opacity: 0.5;
}

.breadcrumb-nav span {
    margin: 0 8px;
    color: #1E5A9F;
}

/* ✅ ナビゲーションバーの縮小 */
.navbar {
    height: 53px;
    background-color:#f4f4f4;
    transition: all 0.3s ease;
}
.navbar.small {
    height: 50px;
    background-color: rgba(0, 87, 146, 0.9);
}

/* ✅ フェードインアニメーション */
.fade-in {
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ✅ ボタンのクリックアニメーション */
.btn {
    background-color: #005792;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.btn.clicked {
    transform: scale(0.95);
}

/* ナビゲーションバーのデザインをテンプレートに似せる */
.fixed.sd {
    align-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(102, 102, 102, 0) 100%);
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: auto;
    justify-content: space-between;
    left: 0;
    margin: 0;
    padding: 30px 20px;
    position: fixed;
    top: 0;
    transition: background 0.8s ease-in-out 1.4s;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
}

.fixed.sd .link {
  color: white;
  text-decoration: none;
  margin: 0 30px;
}

.fixed.sd h1 {
  font-size: 24px;
  margin: 0;
}

.fixed.sd nav {
  display: flex;
  align-items: center;
}

.fixed.sd button {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.sd .link {
  /* ... (既存のスタイル) ... */
  transition: transform 0.3s ease;
}

.sd .link:hover {
  transform: scale(1.2); /* 1.2倍に拡大 */
}

.scroll-effect {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* スクロールで表示されると発動 */
.scroll-effect.visible {
    opacity: 1;
    transform: translateY(0);
}








/* 🌟 プロモーションセクション（テキスト左揃え & ボタン右寄せ）🌟 */
.promo-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
   background: rgba(30, 90, 159, 0.5); /* 背景を半透明ブルーに */
    padding: 96px;
}

.promo-content {
    text-align: left;
    max-width: 60%;
}

.promo-button-container {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

.promo-button {
  font-weight: 600;
    align-content: center;
    align-items: center;
    background: #ffffff;
    border-bottom: 0px solid #000;
    border-left: 0px solid #000;
    border-radius: 10px;
    border-right: 0px solid #000;
    border-top: 0px solid #000;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.2);
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 12px 48px 12px;
    transition-delay: 0ms;
    transition-duration: 600ms;
}

.promo-button:hover {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
    transform: translate(10px, 10px);
}

/* フッターのデザイン */
.custom-footer {
    background: #505050;
    color: white;
    text-align: center;
    padding: 60px 20px; /* パディングを調整 */
}

.footer-content {
    max-width: 1200px; /* 最大幅を設定 */
    margin: 0 auto;
    width: 100%;
}

.custom-footer-section {
    display: flex;
    justify-content: center; /* 中央寄せ */
    flex-wrap: wrap; /* 折り返し設定 */
    margin-bottom: 20px; /* 下マージンを追加 */

    align-content: center;
    align-items: center;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0px 0px 96px 0px;
    padding: 0px 48px 0px;
    width: 1280px;
    max-width: 100%;
}

.custom-footer .button {
    align-content: center;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    flex-direction: row;
    flex-wrap: nowrap;
    background: #ffffff;
    color: #333333;
    border-radius: 12px;
    padding: 48px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 48%; /* 2つのボタンを横並びにするため幅を調整 */
    margin: 10px; /* ボタンのマージン */
    margin-bottom: 50px;
    text-align: left; /* テキストを左寄せ */
    position: relative; /* 相対配置を追加 */
    overflow: hidden; /* 要素がはみ出さないように設定 */
}

.custom-footer .button:hover .button-content,
.custom-footer .button:hover .icon.material-icons {
    opacity: 0.5; /* ホバー時に透明度を50%にする */
}

.custom-footer .icon.material-icons {
    transition: all 0.3s ease; /* アニメーションを追加 */
}

.custom-footer .button:hover .icon.material-icons {
    transform: translateX(10px); /* ホバー時に矢印を右に10pxスライド */
}

.custom-footer .button-content {
    text-align: left;
    flex-grow: 1; /* ボタン内のコンテンツを広げる */
}

.careers-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
    display: flex;
    align-items: center;
}

.custom-footer .button-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
    margin: 0px 0px 24px 0px;
    font-size: 36px;
    color: #1e5a9f;
}

.custom-footer .button-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
    font-size: 16px;
    color: #333333;
}

.custom-footer .badge {
    background: #0056b3;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 13px;
    margin: 0px 200px 24px 12px;
}

.custom-footer .sns-links {
    margin-top: 20px;
    text-align: right; /* SNSリンクを右寄せ */
    width: 100%; /* 幅を100%に設定 */
}

.custom-footer .sns-icon {
    width: 30px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.custom-footer .sns-icon:hover {
    transform: scale(1.2);
}

.custom-footer div {
    justify-content: space-between;
 　 font-family: 'Blinker', sans-serif;
 　 font-weight:300;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    color: #ffffff;
}

.custom-footer a {
    justify-content: space-between;
 　 font-family: 'Blinker', sans-serif;
 　 font-weight:300;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    color: #ffffff;
}

.custom-footer p{
    font-family: "Montserrat", sans-serif;
 　 font-weight:700;
    font-size: 20px;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    color: #ffffff;
}

.custom-footer p2{
    padding-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: "Montserrat", sans-serif;
 　 font-weight:700;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    color: #ffffff;
}

.custom-footer p3{
    font-family: "Montserrat", sans-serif;
 　 font-weight:700;
    font-size: 10px;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    color: #ffffff;
}

/* フッターナビゲーション */
.custom-footer-nav {
    padding-right: 48px;
    margin-top: 48px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center; /* 中央寄せ */
    flex-wrap: wrap; /* 折り返し設定 */
}

.custom-footer-nav a {
    padding-right: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 16px;
}

.custom-footer-nav a:hover {
    opacity: 0.5; /* ホバー時に透明度を70%にする */
}

/* コピーライト */
.custom-footer-text {
    font-size: 14px;
    margin: 5px 0;
}





/* ---------------------------------------------------------------------------------------------------------------------------------------------- */




/* ===== タブレット対応（768px以下） ===== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .article-wrapper {
    padding: 40px 20px;
  }
  .promo-section {
    flex-direction: column;
    padding: 40px;
  }
  .promo-content {
    max-width: 100%;
    text-align: center;
  }
  .promo-button-container {
    justify-content: center;
    margin-top: 20px;
  }
  .custom-footer-section {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== スマホ対応（480px以下） ===== */
@media (max-width: 480px) {
  .article-title {
    font-size: 22px;
  }
  .promo-button {
    padding: 10px 30px;
    font-size: 14px;
  }
  .custom-footer .button {
    width: 90%;
    margin: 10px 0;
  }
  .breadcrumb-nav {
    font-size: 11px;
    padding: 15px;
  }
}

/* ===== ハンバーガーメニュー表示（901px以下） ===== */
@media (max-width: 901px) {
  .fixed.sd nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  .fixed.sd nav.active {
    display: flex;
  }
  .fixed.sd .menu-toggle {
    display: block;
  }
}