/* オープニングアニメーション */

html {
  font-weight: bold;
}
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  animation: opening-fade-out 1.8s ease-in-out forwards;
}

.opening__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.opening__logo {
  max-width: 280px;
  width: 60%;
  height: auto;
  opacity: 0;
  animation: opening-logo 1.8s ease-out forwards;
}

@keyframes opening-logo {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes opening-fade-out {
  0%, 70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.opening--done {
  pointer-events: none;
  visibility: hidden;
}

/* ヘッダーSNSアイコンの表示修正 */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.header-social__link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-social__link img {
  display: block;
  width: 1.5rem;
  height: auto;
}

.header-social__link--sm img {
  width: 1.7rem;
  height: auto;
}

header:where(.astro-C6MND3JQ) {
    position: sticky;
    height: 4rem;
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
  .nav .header-social {
    padding: 1rem;
    margin-left: 0;
    border-top: solid 1px #ddd;
  }

  .header-social__link img {
  display: block;
  width: 3rem;
  height: auto;
}

.header-social__link--sm img {
  width: 2.7rem;
  height: auto;
}

}

.firstview:where(.astro-J7PV25F6) {
  overflow: hidden;
  height: calc(50rem - 7rem);  /* 高さを確保 */
  min-height: 834px;
}

.firstview__heading--main:where(.astro-J7PV25F6) {
	font-size: 7rem;
}

.firstview__heading--sub:where(.astro-J7PV25F6) {
	line-height: 1.4;
}

.firstview-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
}

.firstview__sub--logo{
	position: absolute;
	background-color: rgba(255, 255, 255, 0.8);
	top: 63%;
	left: 50%;
	transform: translateX(-50%);
}

.firstview__sub--logo__img{
	padding: 1rem;
}

/* 3秒ごとに切り替わるファーストビュー画像アニメーション */
.firstview-img__cycle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.firstview-img__cycle--left {
  top: 2%;
  left: 0;
  width: 49%;
  height: 98%;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.firstview-img__cycle--top {
  top: 0;
  left: 0;
  width: 99%;
  height: 49.5%;
  clip-path: polygon(50.5% 100%, 0 0, 100% 0);
}

.firstview-img__cycle--right {
  top: 0;
  right: 0;
  left: auto;
  width: 49%;
  height: 100%;
  clip-path: polygon(0 51%, 100% 0, 100% 100%);
}

.firstview-img__cycle--bottom {
  bottom: 0;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 97%;
  height: 48%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.firstview-img__cycle-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: firstview-cycle 18s ease-in-out infinite;
}

.firstview-img__cycle-item:nth-child(1) {
  animation-delay: 0s;
}

.firstview-img__cycle-item:nth-child(2) {
  animation-delay: 6s;
}

.firstview-img__cycle-item:nth-child(3) {
  animation-delay: 12s;
}

/* 各エリアのアニメーション開始を0.1秒ずつずらす */
.firstview-img__cycle--top .firstview-img__cycle-item:nth-child(1) { animation-delay: 0.1s; }
.firstview-img__cycle--top .firstview-img__cycle-item:nth-child(2) { animation-delay: 6.1s; }
.firstview-img__cycle--top .firstview-img__cycle-item:nth-child(3) { animation-delay: 12.1s; }

.firstview-img__cycle--right .firstview-img__cycle-item:nth-child(1) { animation-delay: 0.2s; }
.firstview-img__cycle--right .firstview-img__cycle-item:nth-child(2) { animation-delay: 6.2s; }
.firstview-img__cycle--right .firstview-img__cycle-item:nth-child(3) { animation-delay: 12.2s; }

.firstview-img__cycle--bottom .firstview-img__cycle-item:nth-child(1) { animation-delay: 0.3s; }
.firstview-img__cycle--bottom .firstview-img__cycle-item:nth-child(2) { animation-delay: 6.3s; }
.firstview-img__cycle--bottom .firstview-img__cycle-item:nth-child(3) { animation-delay: 12.3s; }

/* フェードイン(0.3s) → 表示(4.5s) → フェードアウト(0.3s) */
@keyframes firstview-cycle {
  0%, 1.67% {
    opacity: 0;
  }
  3.33%, 28.33% {
    opacity: 1;
  }
  30%, 100% {
    opacity: 0;
  }
}

.firstview-img__bg02 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.firstview-img__bg01 {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
}


.firstview__heading:where(.astro-J7PV25F6),
.firstview__scroll:where(.astro-J7PV25F6) {
  z-index: 2;
}

.firstview__sub {
	position: relative;
}

firstview__sub--logo {
	background-color: rgba(255, 255, 255, 0.5);
}


.firstview__sub--illust:where(.astro-J7PV25F6) {
	  height: 20rem;
width: auto;
margin: 0 auto;
}

.firstview__sub--text:where(.astro-J7PV25F6) {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  width: fit-content;
  margin: 0 auto;
}
/* 白いオーバーレイ上のテキストはメインカラーで視認性を確保 */
.firstview__heading:where(.astro-J7PV25F6) {
  color: white;
  border: none;

}

.firstview__heading:where(.astro-J7PV25F6) .firstview__heading--main:where(.astro-J7PV25F6),
.firstview__heading:where(.astro-J7PV25F6) .firstview__heading--sub:where(.astro-J7PV25F6) {
  color: inherit;
  text-shadow: none;
}

.firstview__scroll:where(.astro-J7PV25F6) {
  color: var(--main-color);
}

.firstview__scroll:where(.astro-J7PV25F6)::before,
.firstview__scroll:where(.astro-J7PV25F6)::after {
  background-color: var(--main-color);
}

/* sec3（Topics）を sec2（Request）と同じ色合いに調整 */
.sec3 {
  background-color: var(--sub-color);
}

.sec3__heading--background {
  color: var(--sub-color);
}

/* sec5（Links）を sec1（Instagram）と同じ色合いに調整 */
.sec5 {
  background-color: #fff;
}

.sec5__heading--background {
  color: #fff;
}

/* sec1：画像レイアウトに合わせて再現 */
.sec1-inner:where(.astro-J7PV25F6) {
	display: flex;
	flex-direction: column;
	/* align-items: stretch; */
  margin-top: 0;
}

.sec1-left:where(.astro-J7PV25F6) {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: nowrap;
	gap: 0.5rem;
	width: 80%;
	margin-left: 5%;
	margin-bottom: 0;
	margin-top: 3rem;
	font-weight: bold;
}

.sec1-left-item:where(.astro-J7PV25F6):nth-of-type(2) {
  transform: none;
}

.sec1-right:where(.astro-J7PV25F6) {
	display: flex;
	justify-content: right;
  flex-wrap: wrap;
  gap: 0;
  margin-right: 2%;
	margin-bottom: 0;
	margin-top: 0;
  font-weight: bold;

}



.sec1-left-item:where(.astro-J7PV25F6) {
	flex-shrink: 0;
	width: calc(45% - 0.25rem);
	transform: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}


.sec1-right-item:where(.astro-J7PV25F6) {
	width: calc(40% - 0.75rem);
	flex-shrink: 0;
	transform: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;

  @media screen and (max-width: 1024px) {
    width: calc(45% - 0.5rem);
  }
}


.sec1-left__img:where(.astro-J7PV25F6) {
height: 200px;
width: auto;
	margin: 0 auto;
}

.sec1-right__img:where(.astro-J7PV25F6) {
height: 200px;
width: auto;
	margin: 0 auto;
}

.sec1-left__text:where(.astro-J7PV25F6) {
	display: block;
	color: var(--main-color);
	text-align: center;
	margin-top: 0.5rem;
	font-size: 1.3rem;
  white-space: nowrap;

  @media screen and (max-width: 1024px) {
    font-size: 0.65rem;
  }
}

.sec1-right__text:where(.astro-J7PV25F6) {
	display: block;
	color: var(--main-color);
	text-align: center;
	margin-top: 0.5rem;
	font-size: 1.3rem;

  @media screen and (max-width: 1024px) {
    font-size: 0.65rem;
  }
}

.sec1-right:where(.astro-J7PV25F6) {
	width: 100%;
	padding: 0 0 0;
	text-align: center;
}


.sec1-bottom:where(.astro-J7PV25F6) {
	width: 100%;
	padding: 2rem 0 0;
	text-align: center;
}


.sec1-bottom__heading:where(.astro-J7PV25F6) {
	display: block;
	color: #fff;
	font-size: 1.25rem;
	padding: 1rem 2rem;
	background-color: #33343a;
	margin: 0 auto 1.5rem;
	max-width: 100%;
	width: fit-content;
}

.sec1-right__btn:where(.astro-J7PV25F6) {
	width: auto;
	margin: 0;
	display: flex;
	justify-content: flex-end;


}

.sec1-right__btn:where(.astro-J7PV25F6) .a-button:where(.astro-4PF4B6UE){
	padding: 1rem 8rem;
		width: fit-content;
		margin: 2rem 0 0;
}

/* 1024px以下：4項目を2列2行に */
@media screen and (max-width: 1024px) {


.firstview:where(.astro-J7PV25F6) {
	height: calc(40rem - 7rem);
	min-height: 200px;
}
	.sec1-left:where(.astro-J7PV25F6) {
		flex-wrap: wrap;
		justify-content: left;
		margin-bottom: 0;
    margin-left: 0;
		margin-top: 3rem;
    width: 90%;
	}

  	.sec1-left:where(.astro-J7PV25F6) {
      width: 90%;
      margin-right: 0;
    }

	.sec1-left-item:where(.astro-J7PV25F6) {
		width: calc(40% - 0.5rem);
		margin-bottom: 1.5rem;
	}

	.sec1-right__heading:where(.astro-J7PV25F6) {
		display: block;
	}

	.sec1-right__btn:where(.astro-J7PV25F6){
		justify-content: center;
	}

	.sec1-left__img:where(.astro-J7PV25F6) {
		height: 180px;
				width: auto;
	}

	.sec1-right__btn:where(.astro-J7PV25F6) .a-button:where(.astro-4PF4B6UE){
		margin: 0;
	}

	    .a-bottom-nav:where(.astro-DNHBCTJG) {
			height: auto;
		}

		.firstview__sub--text:where(.astro-J7PV25F6) {
			font-size: 1.2rem;
		}

		.firstview__heading--main:where(.astro-J7PV25F6) {
			font-size: 4rem;
		}

		.firstview__sub--logo:where(.astro-J7PV25F6) {
			width: 58%;
		}
.firstview__sub--logo{
	top: 60%;
}
		

		.firstview__sub--logo__img:where(.astro-J7PV25F6) {
			width: 100%;
			height: auto;
		}
 
}

/* 767px以下：2列2行を維持、余白調整 */
@media screen and (max-width: 767px) {
	.sec1-left-item:where(.astro-J7PV25F6) {
		width: calc(50% - 0.5rem);
		margin-bottom: 0;
	}

	.sec1-left__img:where(.astro-J7PV25F6) {
		width: 70%;
	}

	.sec1-right__heading:where(.astro-J7PV25F6) {
		font-size: 1rem;
		padding: 0.875rem 1rem;
	}

	.sec1-right__btn:where(.astro-J7PV25F6) {
		width: 100%;
		justify-content: center;
	}

	.sec1-left__img:where(.astro-J7PV25F6) {
		height: 90px;
		width: auto;
	}

  .sec1-right__img:where(.astro-J7PV25F6) {
    height: 120px;
}

/* _astro の transform を無効化して横並びを維持 */
.sec1-left-item:where(.astro-J7PV25F6):nth-of-type(2),
.sec1-left-item:where(.astro-J7PV25F6):nth-of-type(3),
.sec1-left-item:where(.astro-J7PV25F6):nth-of-type(4) {
    transform: none !important;
}

.firstview__sub--text:where(.astro-J7PV25F6){
	position: absolute;
	top: 50%;
	transform: translateX(-50%);
	left: 50%;
	white-space: nowrap;
}

@media screen and (min-width: 768px) {
  @media screen and (max-width: 1024px) {
    .header:where(.astro-C6MND3JQ) {
        padding: 0.5rem 0rem;
    }

    .header-logo__img:where(.astro-C6MND3JQ) {
    width: 50%;
}
    .header__text:where(.astro-C6MND3JQ){
      font-size: 0.7rem;
    }

    /* ハンバーガーメニュー：768-1024pxのフォントスケールに合わせて調整 */
    .header-hamburger:where(.astro-C6MND3JQ) {
      width: 1.5rem;
      height: 2rem;
    }
    .header-hamburger__line:where(.astro-C6MND3JQ) {
      height: 0.15rem;
    }
        header:where(.astro-C6MND3JQ) {
        height: 2rem;
    }

        .firstview:where(.astro-J7PV25F6) {
        height: calc(33rem - 7rem);
        min-height: 200px;
    }

    .firstview__sub--illust:where(.astro-J7PV25F6) {
    height: 15rem;
    width: auto;
    margin: 0 auto;
}

    .firstview__sub--logo {
        top: 63%;
    }

  .a-bottom-nav:where(.astro-DNHBCTJG) i:where(.astro-DNHBCTJG) {
        color: #fff;
        font-size: 1rem;
    }
.a-bottom-nav__text:where(.astro-DNHBCTJG) {
        font-size: .4rem;
    }
        .firstview__heading--main:where(.astro-J7PV25F6) {
        font-size: 3rem;
    }


  .a-bottom-nav-item:where(.astro-DNHBCTJG) {
        padding: .1rem;
    }
}

}