@charset "UTF-8";
/* CSS Document */
*,*::before,*::after{
/*リセット*/
margin: 0;
padding: 0;
box-sizing: border-box;
}
a{
color: #333;
text-decoration: none;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
body{
font-family: "Jost", sans-serif;
font-optical-sizing: auto;
  font-weight: thin;
  font-style: normal;
    line-height: 1.75rem;
    letter-spacing: 1px;
    min-width: 1300px;
    color: #333;
}
.container{
 max-width: 1160px;
 padding: 0 40px;
 margin: 0 auto;
}
h2{
font-size: 40px;
padding: 150px 0 80px 0;
text-align: center;
position: relative;
width: 10rem;
margin: 0 auto;
}
/*h2:after{
content: "";
display: block;
width: 100%;
height: 5px;
background-color: #4a74a5;
position: absolute;
left: 0;
bottom: 65px;
}*/
p{font-size: 18px;}
.more-button {
    display: inline-block;
    padding: 8px 50px;
    background-color: #4a74a5;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}
.more-button:hover {
    transform: translateY(2px);
    background-color: #3e638c; 
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
/*ホームボタン*/
.home-btn{
  display: inline-block;
  text-decoration: none;
  background: rgba(62,99,140,0.8);
  color: #FFF;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 50%;
  text-align: center;
  overflow: hidden;
  transition: .4s;
  position: fixed;
  bottom: 10px;
  right: 10px;
}
.home-btn:hover {
  background: rgba(62,99,140,1);
}
/*＝＝＝＝＝ヘッダー＝＝＝＝＝*/
ul{
list-style-type: none;
display: flex;
}
.global-nav{
background-color: rgba(255,255,255,0.4);
backdrop-filter: blur(30px);
box-shadow: 0 0 30px rgba(230,230,230,0.4);
border: 2px solid rgba(255,255,255,0.2);
display: flex;
justify-content: space-between;
border-radius: 50px;
margin: 1rem auto;
align-items: center;
height: 4rem;
position: fixed;
width: 100%;
    right: 0;
    left: 0;
z-index: 5;
}
.global-nav img{height: 40px;width: auto;}
.global-nav ul li a{
    display: block;
    margin: 0;
    padding: 1rem;
    width: 100%;
}
.global-nav ul li a::after{
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  background: #4a74a5;
  position: relative;
  bottom: 0;
  left: 0;
  transform: scale(0, 1);
  transition: .3s;
 }
.global-nav ul li a:hover{color: #4a74a5;}
.global-nav ul li a:hover::after{transform: scale(1, 1);}

header{
width: 100%;
height: 100px;
}
/*フッター*/
footer{
background-color: #4a74a5;
color: #fff;
padding: 20px 0;
margin-top: 80px;
}
footer table{
width: 100%;
border: none;
border-collapse: collapse;
border-spacing: 0;
font-size: 14px;
margin: 10px;
}
footer th,footer td{
  vertical-align:top;
  border:none;  text-align:left;
}
footer th{
 text-align: left;
    width: 70px; /* 見出しの幅を固定 */
    font-weight: normal;
    font-size: 0.85rem;
    vertical-align: top;
}
footer td{
 font-size: 0.85rem;
    color: #f0f0f0;
    vertical-align: top;
}
footer a{color: #fff;}
.footer-inner{
display: flex;
justify-content: space-between;
align-items: center;
margin: 80px auto;
}
.footer-left{
 width: 30%;
 display: flex;
 flex-direction: column;
 align-items: center;
 }
.footer-left img{
    margin-bottom: 10px;
    border-bottom: 1px solid #fff;
    padding: 20px;
}

.footer-left th{
width: 5rem;
text-align: center;
padding-right: 10px;
}
.footer-left td{
}

.footer-nav{
display: flex;
}
.nav-list{
display: flex;
flex-direction: column;
margin-right: 50px;
row-gap: 10px;
}

.nested-list {
    font-weight: normal; 
    margin-top: -10px; 
}
.nested-list ul{
 display: flex;
 flex-direction: column;
    margin-top: 5px;
}
.nested-list li {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #c0c0c0;
}
.footer-nav a {
    position: relative; 
    overflow: hidden; 
    display: inline-block;
    padding-bottom: 2px; 
}
.nested-list {
    font-weight: normal; 
    margin-top: -10px; 
}
.nested-list ul{
 display: flex;
 flex-direction: column;
    margin-top: 5px;
}
.nested-list li {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #c0c0c0;
}
.footer-nav a::after {
    content: '';
    display: block;
    height: 1px; 
    width: 100%;
    background: #fff; 
    position: absolute;
    bottom: 0; 
    left: 0;
    transform: scale(0, 1); 
    transform-origin: center left; 
    transition: transform .3s ease;
}
.footer-nav a:hover {
    color: #fff; 
}
.footer-nav a:hover::after {
    transform: scale(1, 1); 
}
.nested-list li a {
    color: #c0c0c0; 
}
.nested-list li a:hover {
    color: #fff; 
}
.footer-contct-btn{
 text-align: center;
 border: 1px solid #fff;
 margin-top: 60px;
 display: block;
 width: 330px;
 height: auto;
 padding: 10px 0;
}
.box-button-blue{
    transition: 0.3s ease-in-out;
    position: relative;
    background-color: #4a74a5;
    color: #fff;
}
.footer-contct-btn{
 text-align: center;
 border: 1px solid #fff;
 margin-top: 60px;
 display: block;
 width: 300px;
 height: auto;
 padding: 10px 0;
}
.box-button-blue:hover {
  background: #fff;
  color: #4a74a5;
}
.copy{
 text-align: center;
 font-size: 12px;
 padding: 10px;
}
/**/
.body-wrapper{
background-image: url("../images/service/service-top.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
}
.body-wrapper h2{
color: #fff;
}
/*パン*/
.bread-list ul{
margin: 20px 0;
}
.bread-list li {
    display: inline-block; 
    margin-right: 10px; 
    padding: 10px 0;
}
.bread-list li a {
    text-decoration: none; 
    color: #337ab7; 
    white-space: nowrap; 
}
.bread-list li a:hover {
    text-decoration: underline;
    color: #4a74a5;
}
.bread-list li:not(:last-child)::after {
    content: " > "; /* 区切り文字 */
    margin-left: 10px; 
    color: #ccc; 
}.bread-list li:last-child {
    color: #555; 
    font-weight: bold; 
}

/*サービスカード*/
.service-card{
display: flex;
justify-content: space-between;
gap: 40px;
margin-bottom: 50px;
height: 280px;
}
.service-card__txt{min-width: 50%;}
.service-card__txt h3{
font-size: 30px;
margin: 10px 0 20px;
}
.service-card__txt p{font-size: 15px;}
.service-card__img{
height: 100%;
width: auto;
overflow: hidden;
}

/*レスポンシブ*/
/* ============================
   レスポンシブ対応追加コード
   ============================ */

/* タブレット対応（〜1024px） */
@media screen and (max-width: 1024px) {
  body {
    min-width: auto;
  }

  .container {
    max-width: 90%;
    padding: 0 20px;
  }

  .global-nav {
    flex-direction: column;
    height: auto;
    border-radius: 0;
  }

  .global-nav h1 {
    margin-bottom: 10px;
  }

  .global-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .global-nav ul li a {
    padding: 0.8rem;
  }

  .service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
  }

  .service-card__img {
    width: 100%;
    margin-bottom: 20px;
  }

  .service-card__txt {
    width: 100%;
  }

  .service-card__txt h3 {
    font-size: 26px;
  }

  footer .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-contct-btn {
    width: 80%;
    margin: 40px auto 0;
  }
}

/* スマホ対応（〜767px） */
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
    line-height: 1.6;
  }

  h2 {
    font-size: 28px;
    padding: 100px 0 50px 0;
  }

  .global-nav {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }

  .global-nav ul {
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
  }

  .global-nav ul li a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }

  .service-card {
    display: block;
    margin-bottom: 50px;
  }

  .service-card__img {
    width: 100%;
    margin-bottom: 15px;
  }

  .service-card__txt h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .service-card__txt p {
    font-size: 14px;
  }

  .bread-list ul {
    flex-wrap: wrap;
  }

  .footer-inner {
    margin: 40px auto;
  }

  .footer-left img {
    padding: 10px;
  }

  .footer-left table {
    font-size: 12px;
  }

  .footer-contct-btn {
    width: 100%;
    font-size: 14px;
  }

  .home-btn {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 12px;
    bottom: 15px;
    right: 15px;
  }
}
/* ============================
   ハンバーガーメニュー対応
============================ */
/* ============================
   ハンバーガーメニュー（完全動作版）
============================ */

/* ボタン見た目 */
.hamburger {
  display: none;
  position: absolute;
  top: 20px;
  right: 25px;
  width: 32px;
  height: 22px;
  cursor: pointer;
  z-index: 100;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  margin-bottom: 6px;
  transition: all 0.4s;
}
.hamburger span:last-child {
  margin-bottom: 0;
}

/* 開閉アニメーション */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* メニュー本体（スマホ〜タブレット共通） */
@media screen and (max-width: 767px) {
  .hamburger {
    display: block;
  }

  .global-nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px;
    gap: 0;
    transition: 0.4s;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    z-index: 90;
  }

  .global-nav ul li a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
  }

  .global-nav ul.open {
    left: 0;
  }

  body.nav-open {
    overflow: hidden;
  }
}
