@charset "UTF-8";
/* 基本色 */
:root{
/* 色 */
  --primary: #ed1e79;
  --secondary: #00afa3;
  --darkgray: #222222;
  --midgray: #414141;
  --gray: #888888;
  --white: #ffffff;
  --icon-color: #ffffff;
  --icon-back-color: #dddddd;
/* 左右の余白 */
  --side: 6vw;
  font-size: 62.5%; /* 1rem = 10px */
}
/* 横スクロール防止 */
html, body{
  overflow-x: hidden;
  height: 100%;       /* これが大事 */
  margin: 0;
}
/* テキストの基本設定 */
body {
  font-size: 1.6rem;
  font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
  line-height: 1.8;
  display: flex; /* body = flex ヘッダー・フッターを縦に整列 */
  flex-direction: column;
  min-height: 100vh;
  color: var( --white );
	text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}
/* mainの設定が縦横伸縮可能 */
main {
  flex: 1;
  margin: 0;
}
@media (min-width:768px){
  main{
    margin: 2rem;
  }
}
/* テキストのレスポンシブ = clamp(最小値, 推奨値, 最大値) */
.bold{
  font-weight: bold;
}
.container h2, .card h2 {
  font-size: clamp(2.2rem, 2.5vw, 2.6rem);
  line-height: 1.2;
  margin: 3rem 0 2rem;
  font-weight: bold;
  letter-spacing: 0.05em; /* 少し字間を広げると見栄えアップ */
  text-align: center;
  color: var( --secondary );
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}
.card h3{
  text-align: center;
  color: var( --primary );
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}
.container h3, .card h3 {
  font-size: clamp(1.8rem, 2.2vw, 2rem);
  line-height: 1.4;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}
.container p, .card p, nav ,p {
  font-size: clamp(1.4rem, 1.8vw, 1.4rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}
.parallax-content-1 {
  font-size: clamp(1.3rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}
.container ul, .footer,.footB ul {
  font-size: clamp(1.2rem, 1.5vw, 1rem);
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}
/* リセット / ノーマライズ / サニタイズ */
html, body, h1, h2, h3, h4, h5, h6, p,
ul, ol, li, figure, figcaption, blockquote,
dl, dd, section, article, aside, nav, header, footer {
  margin: 0;
  padding: 0;
}
ul{
  list-style-type: none; 
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  display: inline-block;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
}
/* box-sizingの初期化 */
*, *::before, *::after {
	box-sizing: border-box;
}
/* container設定 */
.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 1rem; /* ← これを入れるとモバイルでも余白できて見やすい */
}
.container ul{
  margin: 2rem 0;
}
@media (min-width: 768px){
	.container{
		max-width: 1200px;
	}
}
/* ヘッダー設定 */
.header {
  position: static; /* absolute,fixed,relativeのdefault値で他の指定で上手くいかない時に上書きのために指定する */
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background-color: transparent;
  color: var( --white );
}
header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding:1.5rem 1rem;
}
@media (max-width:767px){
  header .container{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* headA */
.headA{
  display:block;
  max-width: 8vw;
  min-width: 140px;
  min-height: 64px;
  height: auto;
  margin:5rem 0 0 1rem;
}
.headA img{
  width: 100%;
  height: auto;
  max-width: 8vw;
  min-width: 140px;
}
@media (min-width:768px){
  .headA{
    margin:0 0 0 1rem;
  }
}
/* headB */
.headB{
 width: 100%; 
}
.headB ul {
  display: flex;
  width: 100%; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin:5rem auto;
}
.headB a{
  display: block;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  width: 100%;
}
.headB a:hover{
  color: var(--gray);
}
@media ( min-width: 768px){
  header .container{
  display: flex;
  align-items : center ;
  }
 .headB ul{
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
  padding:0 1rem 0 0;
  }
  .headB a{
  display: inline-block;
  width: auto;
  margin: 0 1rem;
  background: none;
  }
  .headB a:hover{
  color: var(--gray);
  background: none;
}
  .headB a:active{
  background: none;
  }
}
/* headC */
@media (max-width:768px){
  header .container-small{
  display: flex;
  align-items: center;
  justify-content:space-between;
  width: 100%;
}
  .headC{
  margin:5rem 20px 0 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 28px;
  opacity: 0.5;
  cursor: pointer;
  }
  .headC{
  opacity: 0.3;
}
  .headB{
  display: none;
  }
}
@media (min-width:768px){
  .headC{
  display: none;
  }
  .headB{
  display: block; !important;
  }
}
/* カード設定 */
/* 3カラム用カードグリッド */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
}
/* 1カラム用カードグリッド */
.card-grid-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  width: 100%;
}
/* カード共通 */
.card { 
  background-color: rgba(13,24,45,0.75);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.9);
  transition: transform 0.3s;
  max-width: 350px;      /* ここでカード幅を固定 */
  width: 100%;           /* グリッド幅に合わせる */
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  margin: 0 auto;        /* 横並び中央揃え */
}
/* galaxy用 */
@media (max-width:360px){
  .card{
     min-width: 160px;
     padding: 0.5rem;
     hyphens: auto;
     overflow-wrap: break-word;
  }
  .parallax-content-1,.parallax-content-1 h2 {
  font-size: clamp(1.2rem, 1.5vw, 1rem);
  line-height: 1.7;
  }
  .parallax-content-1 {
    width: 70%;
  }
}

.card:hover { 
  transform: translateY(-5px);
}

/* 1カラムでも3カラム時のカード幅に合わせる */
.card-grid-single .card {
  padding: 2rem;       /* 内側パディング */
  max-width: 1200px;   /* 3カラム時のカード幅 */
  width: 100%;         /* グリッド幅に合わせる */
  margin: 0 auto;      /* 中央寄せ */
}

/* 画像をカード内で横幅いっぱいにする */
.card img,
.card-grid-single img {
  width: 100%;
  height: auto;
  display: block;
}
/* wrappter */
.wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
/* ボタン */
.btn-wrap{
  display: flex;
  justify-content: center;
  margin-top:auto;
}
.btn-wrap a{
  text-decoration: none;
  border:solid 2px currentColor;
  border-radius:24px;
  color: var( --primary );
  margin:1rem 0;
}
.btn-wrap a:hover{
  background: var( --primary );
  color: var( --white );
}
/* グレーアウトボタン */
.btn-wrap_gray{
  display: flex;
  justify-content: center;
  margin-top:auto;
}
.btn-wrap_gray a{
  text-decoration: none;
  border:solid 2px currentColor;
  border-radius:24px;
  color: inherit;
  margin:1rem 0;
  cursor: default;
}
.btn-wrap_gray a:hover{
  background: transparet;
  color: inherit;
}
.btn-wrap_gray .btn, .btn {
  display:flex;
  justify-content: center;
  width:16rem;
  font-weight:bold;
  padding: 1rem;
  flex: 1 0 auto;
}
/* footer */
.footer {
  padding: 1rem 1rem 0;
  background-color: rgba(1,10,25,1);
  color: var( --white );
  font-size: 1.4rem;
  width: 100%;
  margin-top: auto; /* 下に押し出す */
  flex-shrink: 0;
}
.footer .container{
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;  /* ←これ追加 */
}
/* footB */
 .footB{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width:  100%;
  }
.footB div{
  display: flex;
  flex-direction: column;
  margin:0 0 20px;
  align-items:center;
}

.footB div ul{
  display: flex;
  width:350px;
  flex-direction: row;
  justify-content: center;
  flex: 1;
  list-style-type: none;
}
.footB div ul li:not(:first-child){
  margin-left: 20px;
}

.footB a{
  display: inline-block;
  text-decoration: none;
}
.footB a:hover{
  color: var( --gray );
}
.footB img{
  max-width: 8vw;
  min-width: 140px;
  margin:0 auto;
}
.footB div:nth-child(1){
  order: 0;
}
.footB div:nth-child(2){
  order: 2;  
}
.footB div:nth-child(3){
  order: 1;
}
@media(min-width:768px){
  .footer{
    text-align: left;
  }
  .footer .container{
    flex-direction: row;
  }
  .footB{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width:  100%;
  }
  .footB div{
    display: flex;
    flex-direction: column;
  }
  .footB div:nth-child(1){
    width: 180px;
    order: 0;
  }
  .footB div:nth-child(2){
    width: 120px;
    order: 0;
  }
  .footB div:nth-child(3){
    width: 200px;
    order: 0;
  }
    .footB  div img{
    margin: 0 auto;
  }
}
/* youtube */
.video-container {
  /*  position: relative; */
    padding-bottom: 56.25%; /* 16:9比率 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 1em;
  }
  
  .video-container iframe {
/*    position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
/* ページトップ */
.pagetop {
  cursor: pointer;
  position: fixed;
  right: 15px;
  bottom: 30%;
  width: 10rem;
  height: 15rem;
  background-image: url(img/pagetop.gif);
  background-size: cover;
  z-index: 9999;
}
.pagetop:hover{
  transform: translateY(-5px);
}
@media (min-width:768px){
 .pagetop{
  right: 30px;
  width: 15rem;
  height: 18rem;
  bottom: 10%;
 } 
}
  /* パララックス */
  /* ここからパララックス */
.parallax-container {
  display: flex;
  }
.parallax-content {
	clip-path: inset(0);
	width:100%;
	height: 512px;/* 親要素に高さを数字指定するとY軸のスクロールバーが出る */
  overflow: hidden;
  max-width: 1200px;
  min-width: 280px;
  }
.parallax-content-1 {
  width: 100%;
  text-align: center;
  /* 子要素に高さ100%を指定するとY軸のスクロールバーが出ない */
  overflow-y: scroll;
}
.parallax-content-1 div,.parallax-content-1 ul, .parallax-content-1 ul li{
  margin: 2rem 0;
}
  .card-grid-single::after {
	content:'';
	position:fixed;
  top: 0;
  left: 0;
  width:100%;
  height:100vh;
	background: url(img/bg.gif);
  background-size: cover;  /* 親要素に合わせて背景画像をカバー */
  background-position: center;
  z-index:-10;
  }
  .parallax-content-2::after{
	content:'';
	position:fixed;
	top:0;
	left:0;
	z-index:-10;
	width:100%;
	height:100vh;
	background: url(img/hero_2.png);
	background-size:cover;
	background-position: center;
	color:#000;
  }
  @media (min-width:768px){
	.parallax-content-2::after {
		background-position:top;
	}
  }
  .parallax-content-3::after{
	content:'';
	position:fixed;
	top:10%;
	left:0;
	z-index:-10;
	width:100%;
	height:100vh;
	background: url(img/hero_3.png);
	background-size:cover;
	background-position:top;
	color:#000;
  }
  .parallax-content-4::after{
	content:'';
	position:fixed;
	top:0;
	left:0;
	z-index:-10;
	width:100%;
	height:100vh;
	background-image: url(img/bg_01.png);
	background-size:cover;
	background-position: center;
  }
  .parallax-content-5::after{
	content:'';
	position:fixed;
	top:0;
	left:0;
	z-index:-10;
	width:100%;
	height:100vh;
	background: url(img/hero_4.png);
	background-size:cover;
	background-position: center;
	color:#000;
  }
  @media (min-width:768px){
	.parallax-content-5::after {
	background-position:top;
	}
  }
/* voice */
figure{
	display: block;
	width: 70%;
	margin: 0 auto 2rem;
}
figcaption{
	color: var(--secondary);
  font-weight: bold;
  text-align: center;
}
audio{
	display: block;
	width: 100%;
}
/* 画像のホバー */
.zoom-box {
    display: flex;
    justify-self: center;
    overflow: hidden;
  }
  .c-bnr.zoom {
    display: block;
    transition-duration: .5s;
  }
  .c-bnr.zoom:hover {
    transform: scale(1.2);
  }
/* カルーセル */
.iodaio-carousel-container {
  perspective: 1000px;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.iodaio-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.iodaio-carousel-slide {
  flex: 0 0 60%;
  margin:10px;
  background-color: rgba(13,24,45,0.75);
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.9);
  text-align: center;
  transform-origin: center center;
  position: relative;
  overflow: hidden;
}

.iodaio-carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 15px 15px 0 0;
}

.iodaio-caption {
  padding: 1rem;
  font-size: 1rem;
}

.iodaio-cta-btn {
  display: inline-block;
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  background: var( --primary );
  color: var( --white );
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* 既存に追加 */

.iodaio-prev,
.iodaio-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.3em 0.6em;
  cursor: pointer;
  border-radius: 50%;
  z-index: 200;
}

.iodaio-prev {
  left: 10px;
}
.iodaio-next {
  right: 10px;
}

.iodaio-prev:hover,
.iodaio-next:hover {
  background: rgba(0,0,0,0.8);
}
/*カルーセルここまで */
/* 多言語ボタン */
.lang-switch {
  position: fixed;
  top: 10px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10000;
}

.lang-switch button {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: var( --secondary );
  opacity: 0.75;
  cursor: pointer;
  font-size: 14px;
}

.lang-switch button:hover {
  background: var( --secondary );
  opacity: 0.5;
}
/* 多言語記事設定 */
.lang-article {
  width: 100%;
}
.lang-article .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}