/* CSS Document */
html, body {
  overflow-x: hidden;

  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

section {
  scroll-margin-top: 120px;
}
body{
	  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
min-height: 100vh;
  font-style: normal;
}
body.loading {
  overflow: hidden;
}
main{
	  overflow-x: hidden;
  overflow-y: visible;
}
/* 初期状態 */
.js-fade {
	opacity: 0;
	transform: translateY(24px) scale(0.98);
	
	transition:
		opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);

	will-change: opacity, transform;
}

/* 表示状態 */
.js-fade.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}
/* 共通flex  */

.flex_nomal{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.pos_rel{
	position: relative;
}
.pos_rel_news{
	position: relative;
	max-width: 960px;
	margin: 0 auto;
}
.shadow{
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* --- ヘッダー基本構造 --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: #fff;
  z-index: 100;
  /* 上端グラデーションライン */
  border-top: 4px solid;
  border-image-source: linear-gradient(to right, #00b8ee, #0063af);
  border-image-slice: 1;

  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid #777;
}

.header-inner {
 max-width: 1440px;
  display: flex;
  justify-content: space-between;

	margin: 0 auto
}
.header-logo{
	width: 30%;
	max-width: 308px;
	padding: 20px 0 0 0;
}
/* --- PC横並びナビ --- */
.pc-nav-inline {
    margin-left: auto;
    margin-right: 80px;
    padding: 75px 0 0 0;
}

.inline-list {
  display: flex;
  gap: 30px;
  list-style: none;
}

.inline-list a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  color: #333;
  transition: color 0.3s;
}

.inline-list a:hover {
  color: #0063af;
}

/* --- アクションエリア（ボタン類） --- */
.header-actions {
	position: absolute;
	right: 0;
	top: 0px;
  display: flex;
  align-items: center;
  gap: 0px;
}

.pc-btn-contact {
  text-decoration: none;
  background: linear-gradient(to right, #00b8ee, #0063af);
  color: #fff;
  padding: 12px 28px;
 height: 48px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: opacity 0.3s;
}

.pc-btn-contact:hover {
  opacity: 0.8;
}

/* --- バーガーボタン --- */
.burger-btn {
  position: relative;
  width: 48px;
  height: 48px;
  background: #000; /* 暫定黒 */
  border: none;
  cursor: pointer;
  z-index: 1000; /* メニュー(999)より高い */
  display: flex;
  justify-content: center;
  align-items: center;

}

.burger-line {
  position: relative;
  width: 24px;
  height: 2px;
  background: #fff; /* 3本線白 */
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.burger-line::before,
.burger-line::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  left: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.burger-line::before { top: -8px; }
.burger-line::after { top: 8px; }

/* 開いた時の×印（PC共存時用、もし必要なら） */
.burger-btn[aria-expanded="true"] .burger-line { background: transparent; }
.burger-btn[aria-expanded="true"] .burger-line::before { transform: rotate(45deg); top: 0; }
.burger-btn[aria-expanded="true"] .burger-line::after { transform: rotate(-45deg); top: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* --- ドロワーメニュー本体 --- */
.sp-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;

  background: #fff;
  z-index: 999;
  padding: 80px 30px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
  overflow-y: auto;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

/* メニュー表示時 */
.sp-nav[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
}

.sp-nav-inner {
  position: relative;
  padding-top: 40px; 
}

/* --- メニュー内の閉じるボタン --- */
.close-btn {
  position: absolute;
  top: -40px; /* innerのpaddingを利用して配置 */
  right: -10px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.close-btn span {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: transparent;
}

.close-btn span::before,
.close-btn span::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: #333;
  left: 0;
  top: 0;
  transition: background 0.3s;
}

.close-btn span::before { transform: rotate(45deg); }
.close-btn span::after { transform: rotate(-45deg); }

.close-btn:hover span::before,
.close-btn:hover span::after {
  background: #0063af;
}

/* --- 【演出】リスト項目のアニメーション --- */
.nav-list {
  list-style: none;
}

.nav-list li {
  border-bottom: 1px solid #eee;
  /* 初期状態：透明で下にずらす */
  opacity: 0;
  transform: translateY(20px);
  /* JSで設定する--delay変数を読み込む */
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--delay);
}

/* メニューが表示された時、liをアニメーションさせる */
.sp-nav[aria-hidden="false"] .nav-list li {
  opacity: 1;
  transform: translateY(0);
}

.nav-list a {
  display: block;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: #0063af;
}
.nav-list a.sp_bt {

  color: #fff;

}
.sp-btn-contact {
  display: block;
  margin-top: 20px;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 4px;
  transition: background 0.3s;
}
.sp-btn-contact:hover { background: #333; }
.sp-btn-contact a { color: #fff; }

/* オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  z-index: 998;
}
.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.target-box {
  /* 1. 上から#00b8ee、200px地点で#fffになるグラデーション */
  background-image: linear-gradient(to bottom, #00b8ee 0px, #fff 200px);
  
  /* 2. グラデーションを繰り返さない（200px以降に影響させない） */
  background-repeat: no-repeat;
  
  /* 3. グラデーションが終わった後や、背後のベース色を白に設定 */
  background-color: #fff;
  
  /* ボックス自体の高さは中身に合わせて伸びるように設定 */
  height: auto;
  min-height: 200px; /* グラデーション */
}

.top_bg_blue{
	background: url("../image_s/2x/bg_blue_b.png") no-repeat center top;
	background-size: 100%;padding: 120px 0 0 0;
}
#bg-contact {
    position: relative;
    background: url(../image_s/2x/cont_top_bg@2x-80.jpg) no-repeat center;
    background-size: 2400px;
    padding: 90px 0;
}
@media (max-width: 1900px) {
.top_bg_blue{
	background: url("../image_s/2x/bg_blue_n.png") no-repeat center top;
	background-size: 1928px 2708px;padding: 120px 0 0 0;
}
	#bg-contact {
    position: relative;
    background: url(../image_s/2x/cont_top_bg@2x-80.jpg) no-repeat center;
    background-size: 2000px;
    padding: 90px 0;
}
}
.cont_nomal_box {
	width: 90%;
	max-width: 1340px;
	margin: 0 auto;
	padding-bottom: 120px;
}
.cont_960_box {
	width: 80%;
	max-width: 960px;
	margin: 0 auto;
	
}
section.news{
	padding: 90px 0;
}

.news_box_l{
	width: 30%;
	
}

.news_box_l h5{
	font-size:3rem;
	font-weight: 600;
	color: #003069;
	line-height: 1;
}
.news_box_l h5.link_font{
	font-size:1.8rem;
	
}
.news_box_r{
	width: 65%;
	
	padding: 0px 0 20px 0;
}
dl.news{
	border-bottom: 1px solid  #666;
}
dl.news dt{
	border-top: 1px solid #666;
	padding: 20px 0 10px 0;color: #003069;
	
}
dl.news dt span{
	padding: 2px 10px ; background-color: #003069;color: #fff;font-size: 0.8rem;
	
}
dl.news dd{
	font-size: 0.9rem;
	padding: 0px 0 20px 0;
}
dl.news dd a:hover{
	text-decoration: underline;
}
#top_main_logo{
	width: 70%;
	max-width: 400px;
	margin: 0 auto;
	padding:150px 0 90px 0;
}
#top_h3_blue{
	max-width: 560px;
	width: 80%;
	margin:150px auto 60px;
	
}
.top_center_txt{
	text-align: center;
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0.08em;
	line-height: 1.8;
	font-weight: 500;
	padding-bottom: 60px;
}

.top_center_bt{
	max-width: 300px;
	width: 80%;
	margin: 0 auto;
	padding-bottom: 60px;
}

.top_s_box{
	width: 600px;
	margin: 0 auto;
	
}
.top_s_box .pos_im_001{
	position: absolute;
	top: -90px;right: -530px;
	width: 500px;
}
.top_s_box .pos_im_002{
	position: absolute;
	top: 250px;left: -430px;
	width: 400px;
}
.top_s_box .pos_im_003{
	position: absolute;
	bottom: -150px;right: -370px;
	width: 300px;
}
.pos_rel_news .pos_im_004{
	position: absolute;
	bottom: -150px;left: 0px;
	width: 200px;z-index: 20;
}
.cation_box{
	border-radius: 5px;
	border-right: 1px solid #fff;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	padding: 20px 20px 20px 10%;
	position: absolute;
	bottom: 40px;
	left: 0;
	width: 480px;
	text-align: right;
}

.bg-grad {
	position: relative;
	background: linear-gradient(135deg, #0063AF, #00B8EE);
		  overflow: hidden;

}

/* うっすら動く光レイヤー */
.bg-grad::after {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at center, rgba(255,255,255,0.12), transparent 60%);
	animation: lightMove 10s linear infinite;
	pointer-events: none;
}

/* ノイズ（任意） */
.bg-grad::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../css/noise.png");
	opacity: 0.04;
	pointer-events: none;
}

@keyframes lightMove {
	0% {
		transform: translate(0, 0);
	}
	50% {
		transform: translate(8%, 8%);
	}
	100% {
		transform: translate(0, 0);
	}
}
.ly_bg{
	background: url("../image_s/2x/logo_bg@2x.png") no-repeat center bottom;
	background-size: cover;padding: 90px 0;
}

.news_box_r img.img_sz {
	width: 70%;
	height: auto
}

.h5_center_wh{
	    font-size: 2.4rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
	text-align: center;padding-bottom: 40px;
}

.wh_center_txt{
		    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
	text-align: center;padding-bottom: 60px;
}

.h6_center_wh{
	    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
	text-align: center;padding-bottom: 40px;
}
.flex_30{
	width: 31.5%;
}

.flex_30 a:hover{
	opacity: 0.6;
	transition: 0.9s;
}

.pb_90{
	padding-bottom: 90px;
}

.news_box_l h5.h5_left_wh2 {
	color: #fff;
	font-size: 1.8rem;
}
.flex_left{
	display: flex;
	flex-wrap: wrap;
}
.flex_50{
	width: 40%;
	margin-right: 2%;
	margin-bottom: 20px;
}

.flex_50r{
	width: 40%;
	margin-bottom: 20px;
}

footer{
	padding: 60px 0;
	background: #DCDCDC;
	
}
#foot_logo{
	max-width: 380px;
	margin: 0 auto 30px;
	width: 80%;
}
#foot_tel{
	max-width: 540px;
	width: 90%;margin: 0 auto 30px;
}

p.ft_c{
	font-size: 0.8rem;
	text-align: center;
}


.sp{
	display: none;
}
/* --- レスポンシブ表示切り替え --- */
@media (max-width: 1024px) {
  .site-header { padding: 0 20px; }
  .pc-nav-inline, .pc-btn-contact {
    display: none; /* スマホでは隠す */
  }
}

@media (min-width: 1025px) {
  .sp-only-item {
    display: none; /* PCではドロワー内のお問い合わせを隠す */
  }
}


@media (max-width: 599px) {
	.pc{
	display: none;
}
.sp{
	display: block;
}
	
	.top_bg_blue {
    background: url(../image_s/2x/sp_bg_1@2x.png) no-repeat center top;
    background-size: 100%;
    padding: 100px 0 0 0;
}
    .site-header {
        padding: 0px;
		height: 60px
    }
	
	.top_s_box {
    width: 100%;
    margin: 0 auto;
}
    .top_s_box .pos_im_001 {
        position: absolute;
        top: -270px;
        right: -50px;
        width: 250px;
    }
	
    #top_main_logo
 {
        width: 50%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0px 0 90px 0;
    }
#top_h3_blue {
    max-width: 560px;
    width: 80%;
    margin: 240px auto 30px;
}
	
.top_s_box .pos_im_002 {
    position: absolute;
    top: -190px;
    left: -30px;
    width: 160px;
}
	.top_s_box .pos_im_004i {
    position: absolute;
    bottom: 0px;
    left: -30px;
    width: 160px;
}
	
.top_center_txt {
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    line-height: 1.8;
    font-weight: 500;
    padding-bottom: 60px;
}
	
    .cation_box {
        border-radius: 5px;
        border-right: 1px solid #fff;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        padding: 20px 20px 20px 10%;
        position: absolute;
        bottom: 210px;
        left: 0px;
        width: 80%;
        text-align: right;
    }
.cont_nomal_box {
    width: 90%;
    max-width: 1340px;
    margin: 0 auto;
    padding-bottom: 350px;
}
	
.top_s_box .pos_im_003 {
    position: absolute;
    bottom: -320px;
    right: -10px;
    width: 150px;
}
	
    .top_s_box .pos_im_004i {
        position: absolute;
        bottom: -380px;
        left: -30px;
        width: 200px;
    }
	
	.news_box_l {
    width: 100%;
    margin-bottom: 30px;
}
.news_box_l h5 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #003069;
    line-height: 1;
    text-align: center;
}
.news_box_r {
    width: 100%;
    padding: 0px 0 20px 0;
}
.header-logo {
    width: 40%;
    max-width: 308px;
    padding: 8px 0 0 10px;
}
	
.h5_center_wh {
    font-size: 1.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    text-align: center;
    padding-bottom: 40px;
}
	.h6_center_wh {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    text-align: center;
    padding-bottom: 40px;
}
.wh_center_txt {
    font-size: 0.8rem;
    color: #fff;
    line-height: 1.8;
    text-align: center;
    padding-bottom: 60px;
}
.top_center_bt {
    max-width: 250px;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 0px;
}
.news_box_r img.img_sz {
    width: 100%;
    height: auto;
}
	
.flex_50 {
    width: 48%;
    margin-right: 2%;
    margin-bottom: 20px;
}
.flex_50r {
    width: 48%;
    margin-bottom: 20px;
}
p.ft_c {
    font-size: 0.6rem;
    text-align: center;
}
	
	
	
	
	
	}










/* --- Loading Screen (完全滑らか＆埋没防止版) --- */
/* --- 2. ローディング演出（最新：溶け込む青） --- */
.loading-screen {
  position: fixed; inset: 0; background: #fff; z-index: 9999;
  display: flex; justify-content: center; align-items: center; overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.is-loaded { opacity: 0; visibility: hidden; }

.loading-bg {
  position: absolute; top: 0; left: -350%; width: 550%; height: 100%;
  /* 左端を透明にして残像感を消す */
  background: linear-gradient(to right, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,0) 25%, 
    #00b8ee 55%, 
    #0063af 100%
  );
  transform: skewX(-20deg);
  animation: sweepPerfect 1.8s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}
@keyframes sweepPerfect {
  0% { left: -350%; }
  100% { left: 250%; }
}

.loading-logo {
  position: relative; z-index: 10; opacity: 0; transform: scale(0.95);
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.9)) drop-shadow(0 0 30px rgba(255,255,255,0.4));
  animation: logoFadeIn 1s ease forwards 0.7s;
}
@keyframes logoFadeIn { 100% { opacity: 1; transform: scale(1); } }
#js-loading-logo-svg { animation: logoPulse 2s infinite ease-in-out; }
@keyframes logoPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }


