@charset "utf-8";
html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}
body{
  background-color: #000;
  font-family: 'Noto Sans JP', sans-serif!important;
}
html, body {
  height: 100%;
  margin: 0;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 画面の高さいっぱい */
}
main {
  flex: 1; /* 空きスペースをここに押し込む */
}
body p{
  color:#000!important;
  line-height: 2rem;
}
a{
	color: #197ED4 !important;
	transition : all 0.5s ease 0s;
	text-decoration: none!important;
}
a:hover{
	transition : all 0.5s ease 0s;
	text-decoration: none !important;
}

.material-icons{
display: inline-flex;
vertical-align: middle;
}
/*PCでは無効（改行しない）*/
  .sp{display: none;}
/*スマートフォンでは有効（改行する）*/
@media screen and (max-width:768px) {
  .sp{display: block;}
	.pc{display: none;}
}

.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}

/**********/

.y-tri {
  background-color:#F8F814;
  clip-path: polygon(0 0, 100% 0, 100% 20%, 0% 100%);
  width: 100%;
  height: 80px;
}
.y-tri-2 {
  background-color:#F8F814;
  clip-path: polygon(0 80%, 100% 0, 100% 100%, 0% 100%);
  width: 100%;
  height: 80px;
}

/***背景*****/
.blue{
  background-color: #197ED4;
}

/**追従ヘッダーメニュー*****/
header{
position: fixed;
  top: 0;
	z-index: 999;
  height: 90px;
  background-color: #F8F814;
}
header nav a{
  font-weight: bold;
  color:#000!important;
}
header nav a:hover{
  border-bottom: 1px solid #000;
  padding-bottom: 0.5rem;
}


.slide-btn {
  position: relative;
  display: inline-block;
  font-weight: bold;
  background-color: #fff;
  color: #197ED4;
  border: 2px solid #197ED4;
  padding: 1rem 0;
  width: 20%;
  min-width: 300px;
  letter-spacing: 1rem;
  text-align: center;
  cursor: pointer;
  background-image: linear-gradient(to right, #F8F814 0%, #F8F814 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.4s ease, color 0.3s ease;
  appearance: none;
}

.slide-btn:hover {
  background-size: 100% 100%;
  color: #197ED4 !important;
}


/**********/
/* 初期非表示 */
.nav-toggle {
  display: none;
}
/* ハンバーガーアイコン */
.hamburger {
  display: block;
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: fixed;
  top: 30px;
  right: 20px;
  z-index: 3;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* メニュー本体（右から出現・80%幅） */
.nav-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 70%;
  height: 100%;
  background: #197ED4;
  transition: right 0.3s ease;
  z-index: 2;
  padding: 3rem 1.5rem;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);

}
.nav-menu ul {
  list-style: none;
  padding: 0;
}
.nav-menu ul li {
  margin-bottom: 1.5rem;
}
.nav-menu ul li a {
  text-decoration: none;
  color: #fff!important;
  font-size: 1.2rem;
}
.nav-menu ul li a:hover{
  border-color: #fff;
}

/* チェック時にメニューを右からスライドイン */
.nav-toggle:checked ~ .nav-menu {
  right: 0;
}

/* ハンバーガーの変形アニメーション（任意） */
.nav-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
background: #fff;
}
.nav-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
  background: #fff;
}

/****MV******************************/
.mv{
  height: 80vh; /* 画面全体の高さにする */
  background-image: url(img/mv.webp);
  background-size:cover;
  background-position: center;
}
.mv .inner{
display: flex;
  /*align-items: center;   /*垂直中央揃え */
  justify-content: center; /*水平方向中央揃え */
  flex-direction: column;
}
.mv p{
  line-height: 2rem;
  margin:2rem 0;
}
.mv .inner .yellow p{
  color:#F8F814!important;
  font-size:5rem!important;
  line-height: 6rem;
  letter-spacing:0.5rem;
  font-weight: 900;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.6);
}

.mv .inner p span{
  background-color: #fff;
  color:#666!important;
  padding:0 0.5rem;
}
@media screen and (max-width:768px) {
.mv .inner .yellow p{
  font-size:3rem!important;
  font-weight: bold;
  line-height: 4.5rem;
  letter-spacing:0rem;
}
}
@media screen and (max-width:400px) {
.mv .inner .yellow p{
  font-size:2.5rem!important;
  font-weight: bold;
  line-height: 3rem;
  letter-spacing:0rem;
}
.mv p{
  font-size:0.8rem
}
}
/****caption*******/
.caption {
  position: relative;
  overflow: hidden; /* 子要素がはみ出ないように */
}
.caption .inner{
  padding-bottom: 50px;
}
.caption::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15%;
  background-color: #197ED4;
  z-index: -999;
  pointer-events: none;
}
.caption h2{
  color: #197ED4;
  font-weight: bold;
}
.image-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  /*min-height: 160px;*/
}
.image-stack .img-item {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
  max-width: 100px;
  height: auto;
  position: relative;
}
.image-stack .img-item.delay-1 { transition-delay: 0.1s; top: -10px; }
.image-stack .img-item.delay-2 { transition-delay: 0.2s; top: -20px; }
.image-stack .img-item.delay-3 { transition-delay: 0.3s; top: -30px; }
.image-stack .img-item.delay-4 { transition-delay: 0.4s; top: -40px; }

/* スクロール時に表示される状態 */
.image-stack.show .img-item {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .image-stack {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .image-stack .img-item {
    max-width: 16vw; /* 画面幅の約20%弱ずつ */
  }
  .caption .inner{
  padding-bottom: 20px;
}
}

/*****interview****************/
.interview h2{
  color:#fff!important;
}
.interview h2 span{
  font-size:1rem;
  font-weight: bold;
  line-height: 1rem!important;
  color:#F8F814;
}
.youtube {
/*  width: 60%;*/
width:100%;
  aspect-ratio: 16 / 9;
    margin:0 auto;
}
.youtube iframe {
  width: 100%;
  height: 100%;
  margin:50px auto;
}


.video-wrapper {
  position: relative;
  width: 60%;
  margin: 3rem auto; /* 中央寄せ */
  padding-bottom: 33.75%; /* アスペクト比維持：60% × 56.25% */
  height: 0;
  overflow: hidden;
  background-color: #000;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (max-width:768px) {
.youtube{
  width: 100%;
}
.video-wrapper {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9の標準比率をそのまま使用 */
  }
}

/*****mag****************/
.mag h2{
  color:#197ED4!important;
  font-weight: bold;
  font-size:1.5rem;
}
.mag span{
background:linear-gradient(transparent 60%, #F8F814 60%);
}
.mag p{
  font-size:0.9rem
}
.mag a{
  text-decoration: underline!important;
}

/****history************/
.history{
  background-image: url(img/bk.webp);
  background-size:cover;
  background-position: center;
}
.history h2{
  color: #197ed4 !important;
  margin-bottom: 2rem;
  font-weight: bold;
}
.history .row {
  position: relative;
  z-index: 1;
}
.history .inner {
  padding:3rem;
}
.history .row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 67%;
  height: 100%;
  background-color:rgba(255, 255, 255, 0.7);
  z-index: 0;
}
.history .col-12,.history img{
  position: relative;
  z-index: 999;
}

@media screen and (max-width:768px) {
.history .row::before {
  width: 100%;
}
.history .inner {
  padding:3rem 3rem 0 3rem;
}
.history img {
  padding-bottom:3rem;
}
}


/***about******/
.about h2{
  font-size:1.5rem;
}
.about h2 span{
  font-size:0.8rem;
  font-weight: bold;
  line-height: 1rem!important;
  color:#197ed4 !important;
}
.about a {
  display: block;
  overflow: hidden; /* ← これが重要！ */
}

.about img {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.about a:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}





/***FOTTER*****************/
footer{
	background-color:#197ED4;
	color:#fff;
	padding:2rem 0;
}
footer .material-icons{
  color:#fff;
}
footer h1{
	font-size:0.5rem!important;
}
footer p{
  line-height: 2.5rem;
  text-align: right;
}
footer .sitemap a{
  color:#fff!important;
  font-size:0.9rem;
}
footer .sitemap a:hover{
  border-bottom: 1px solid #fff;
  font-size:0.9rem;
  padding-bottom: 0.3rem;
}
@media screen and (max-width:768px) {
footer{
  text-align: center;
}
footer p{
  text-align: center;
  margin-top: 2rem;
}
}

/***page*******/
.space{
  height: 5rem;
}
.page{
  margin-top:90px;
}
.section-header {
  width: 100%;
  background-size: cover;          /* 全体を覆う */
  background-position: center center; /* 背景の中央を表示 */
  background-repeat: no-repeat;
  padding: 4rem 0;
  position: relative;
}

/* h2のテキストに白背景＆パディング */
.page-title {
  display: inline-block;      /* 背景サイズに合わせて */
  background-color: rgba(250,250,250,0.8);
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  letter-spacing: 1rem;
}

.page .inner{
  padding:5rem 1rem;
}
@media screen and (max-width:768px) {
.page .inner{
  padding:3rem 1rem;
}
}
.page h3{
  position: relative;
	font-size: 1.5rem;
	text-align: center;
	border-bottom: 5px solid #dddddd;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  letter-spacing: 1rem;
}
.page h3::after{
  content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 70px;
	height: 5px;
	background-color: #197ED4;
}
.page h4{
  font-size:1.3rem;
}
.page table{
  width:100%;
  max-width:800px;
  margin:3rem auto;
}
.page table th, .page table td {
  border-bottom: 1px solid #c1c7c6;
  padding: 1em;
}
.page table th {
  border-bottom: 1px solid #197ED4;
  font-weight: bold;
  text-align: center;
  width: 30%;
  min-width: 8rem;
  
}



/**メールフォーム*****************/
.cform {
	padding-bottom:100px;
}
.cform-inner {
  width: 70%;
  margin: 0 auto;
}
.cform dt {
  display: flex;
  align-items: center;
}
.cform dt span {
  padding-left: 0.5em;
  font-size: 0.8rem;
  color: #f00;
}
.cform dd {
  margin-bottom: 15px;

}
.cform .text {
	margin-bottom: 2em;
}
.cform .name,.cform .mail,.cform .tel
{	
    height: 2.4em;
    width: 100%;
    padding: 5px 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.cform .message
{	
    height: 7em;
    width: 100%;
    padding: 5px 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.cform .name:focus,.cform .mail:focus,.cform .tel:focus,.cform .message:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}
.cform .btn {
  width: 200px;
  padding: 10px 20px;
  border-radius: 15px;
  font-size: 1rem;
  color: #fff;
}
.cform .btn:hover {
  color: #fff;
}
.cform .btn-back {
  background: #ccc;
  margin-right: 15px;
}
.cform .btn-submit {
  background: #6FAFE0;
}
.cform .btn-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.mw_wp_form_preview {
  margin-left: 0.5em;
}

@media screen and (max-width: 560px) { 
.cform-inner {
  width: 100%;}
}






/***よくある質問*******/
.qa {
    width: 100%;
    max-width:800px;
    margin:0 auto 5px auto;
    border-bottom: 2px solid #d6dde3;
}

.qa summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa summary::before,
.qa p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa summary::before {
    color: #75bbff;
    content: "Q";
}

.qa summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa[open] summary::after {
    transform: rotate(225deg);
}

.qa p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa[open] p {
    transform: none;
    opacity: 1;
}

.qa p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}















