/* --------------------------------
	共通スタイル
-------------------------------- */
@font-face {
  font-family: 'ヒラギノ角ゴ Std W6';
  src: local('HiraKakuStd-W6'), local('ヒラギノ角ゴ Std W6');
  font-weight: 600;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Oswald', sans-serif;
}

body {
  font-family: 'ヒラギノ角ゴ Std W6', 'Hiragino Kaku Gothic Std W6', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* --------------------------------
	背景
-------------------------------- */

/* 背景画像グリッド */
.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.background-grid .grid-item {
  width: 25%; /* SPでは4列 */
  padding-bottom: 25%; /* アスペクト比を1:1に保つ */
  position: relative;
}

.background-grid img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 背景オーバーレイ */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0.1;
  opacity: 0.8;
  transition: background-color 0.1s ease;
  max-width: 1400px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.what-kind-theme {
  background-color: #fedb36;
}

/* --------------------------------
	WHAT KIND ヘッダーエリア
-------------------------------- */

.what-kind-header {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.what-kind-header-text {
  padding: 40px 16px 0;
  color: #ffffff;
}

.contents-title {
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 80px;
  letter-spacing: -1.2px;
  color: #000;
  line-height: 1;
}

.contents-sub-title {
  font-size: 20px;
  letter-spacing: 0.48px;
  color: #000;
  padding: 5px 0;
}

.description-area {
  margin: 40px auto;
  padding: 20px;
  line-height: 1.8;
  color: #fedb36;
  background-color: rgba(40, 40, 40, 0.9);
  border-radius: 10px;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: relative;
}

.description-area p {
  margin-bottom: 10px;
  font-size: 16px;
}

.description-area::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid rgba(40, 40, 40, 0.9);
}

/* --------------------------------
	特徴カード
-------------------------------- */

.feature-cards-container {
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 20px 16px;
  position: relative;
  z-index: 2;
}

.card-span-2 > .feature-card:first-child {
  margin-bottom: 20px;
}

.feature-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: auto;
  z-index: 1;
  width: 100%;
}

.card-title {
  position: relative;
  z-index: 3;
  color: #ff8a02;
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* スマホでは全ての背景文字サイズを統一 */
.feature-card .card-title[data-bg-text]::before{
  font-size: 70px;
  top: -30px;
  content: attr(data-bg-text);
  position: absolute;
  font-weight: bold;
  color: #f2f2f2;
  z-index: -1;
  font-family: 'Oswald', sans-serif;
  letter-spacing: -2px;
}

.balance-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.balance-title-wrapper .card-title {
  margin-bottom: 0;
}

.balance-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
}

.card-list {
  padding-left: 14px;
}

.card-list li {
  position: relative;
  list-style: disc;
  padding: 20px 0;
  font-size:14px;
  font-weight: bold;
}

.card-list li p{
  font-size: 13px;
  font-weight: normal;
}
.feature-group{
  padding:20px 0;
}
.feature-group h3, .unique-benefits h3{
  display: inline-block;
  color:white;
  background-color:#24cf6b;
  padding:4px 10px;
  border-radius: 6px;
  font-size:16px;
  margin-bottom: 10px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.unique-benefits{
  padding-top: 40px;
}

.accent{
  font-size:1.2em;
  font-weight: bold;
  color:#00cb55;
}

.br-pc , .pc-only{
  display: none;
}

/* フェードインアニメーション */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SNS・情報発信エリア */

.sns-contents{
  padding:20px 0;
  margin: 0 auto;
  text-align: center;
}

.sns-account{
  width: 80%;
  margin:0 auto;
}

.sns-account h3{
  font-size: 10px;
}

.sns-account p{
  font-size: 8px;
}

.sns-contents a {
  display: flex;
  margin-bottom:20px;
  padding: 10px 20px;
  background-color: white;
  border-radius: 8px;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  align-items: center;
  height: 130px;
}

.sns-contents a:nth-of-type(3) {
  margin-bottom: 0;
}

.sns-contents a:hover {
  transform: translateY(-4px); 
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background-color: #e67e22; /* オレンジ系や黄色系 */
  color: #fff;
}

.sns-icon{
  width: 90px;
  padding-left: 5px;
  padding-right: 10px;
}

.tiktok .sns-icon{
  width: 95px;
  padding-left: 0;
  padding-right: 8px;
}

.account-icon{
  width: 70px;
}

/* --------------------------------
	マンガエリア
-------------------------------- */

.comics{
  width: 80%;
  margin: 30px auto;
  text-align: center;
}

.comics a {
  text-align: center;
  display: inline-block;
  background-color: #5ad15e;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  padding: 10px 20px;
  margin-top: 15px;
  text-decoration: none;
  box-shadow: 0 4px 0 #388E3C; /* 下に濃い影 */
  transition: all 0.1s ease;
  position: relative;
  top: 0;
}

.comics a:active {
  top: 4px; /* 下に動かす */
  box-shadow: none; /* 影を消して沈んだように見せる */
}

.comics a:hover {
  background-color: #63e268;
}

.comics img {
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* --------------------------------
	装飾アイコンの設定
-------------------------------- */

.feature-card{
  position: relative;
}

.decoration-icon {
  position: absolute;
  height: auto;
  width: 10rem;
}

.icon-1{
  top:0.5rem;
  left:23rem;
}

.icon-2{
  width: 60px;
  top:1rem;
  left: 28rem;
}

.icon-3{
  top:calc(50% + 1vh);
  left: 25.5rem;
  width: 9rem;
}

.icon-4{
  top: calc(69% + 1vh);
  left: 23rem;
}

.icon-5{
  top: 7.5rem;
  left: 27.7rem;
  width: 8rem;
}

.icon-6{
  top: 21rem;
  left: 24.5rem;
  width: 4.5rem;
}

.icon-7{
  top:38rem;
  left: 24rem;
  width: 7.5rem;
}

/* --------------------------------
	interview
-------------------------------- */
.interview-container{
  background-color: rgba(255, 255, 255, 1);
  padding:30px 20px;
  border-radius: 12px;
}

.interview .interview-title {
	color: #008dcc;
	font-weight: normal;
	padding-bottom: 10px;
  padding-left: 10px;
  font-size: 50px;
	font-family: "Oswald", sans-serif;
	line-height: 0.9375;
}

.interview .interview-subtitle {
  padding-left: 10px;
	color: #008dcc;
  font-family: "Oswald", sans-serif;
	font-weight: bold;
	font-size: 14px;
	line-height: 1.2;
}

.interview-top-link{
	display: block;
	width: 90%;
	margin: 50px auto 0;
	text-align: center;
	padding:10px 0;
	border-radius: 30px;
	color: #008dcc;
	border: 3px solid #008dcc;
	font-size:16px;
	background-color: white;
	font-weight: 900;
	box-shadow: 0 4px 4px rgba(0,0,0,0.2);
	position: relative;
	transition: all 0.3s ease;
}

.interview-arrow {
	position: absolute;
	right: 20px;
	font-size: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.interview-top-link:hover{
	transform: translateY(-6px);
  	box-shadow: 0 4px 4px rgba(0,0,0,0.3);
	color: white;
	background-color: #008dcc;
}

.interview-text{
  margin:50px auto;
  text-align: center;
  font-weight: 555;
  font-size: 12px;
}

#interview-section-container {
  position: relative;
  width: 100%;
}

.carousel-wrapper-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%; 
}

::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
}

.carousel-item {
  flex: 0 0 calc(100% - 16px); 
  aspect-ratio: 3 / 1.8; /* 横3:縦2の比率 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding:10px 15px;
  margin: 0 8px;
  scroll-snap-align: center;
}

.carousel-item p{
  font-size: 11px;
  font-weight: 444;
  padding-bottom: 5px;
}

.carousel-item h3{
  font-size: 16px;
}
.carousel-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  font-size: 24px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-indicators {
  position: absolute;
  bottom: -50px; /* 必要に応じて調整 */
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  margin: 20px 5px;
  background: gray;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #2c9acd;
}


/* --------------------------------
	ヘッダー
-------------------------------- */

header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 40px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 204, 0, 0.7);
  z-index: 1;
}


.subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.intro-box {
  background-color: rgba(51, 51, 51, 0.8);
  color: white;
  padding: 20px 40px;
  border-radius: 5px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.intro-box p {
  margin: 10px 0;
  text-align: center;
}

/* コンテンツ */
.content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.feature-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-direction: column;
}

.three-columns .feature-box {
  flex: 1;
}

.two-columns .feature-box {
  flex: 1;
}

.feature-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.feature-wide {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
}

.feature-content {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.feature-column {
  flex: 1;
}

ul {
  list-style-type: none;
  margin-left: 5px;
}
li {
  font-size: 14px;
  letter-spacing: 0.7px;
}


.highlight {
  font-weight: bold;
  font-size: 16px;
}

.section-title {
  text-align: center;
  margin: 50px 0 30px;
}

.section-title h1 {
  font-size: 36px;
  color: #333;
  position: relative;
  display: inline-block;
}

.section-title h1:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ff9900;
}

/* フッター */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

footer p {
  font-size: 14px;
}

/* --------------------------------
	タブレット向けスタイル
-------------------------------- */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .background-grid .grid-item {
    width: 16.666%; /* タブレットでは6列 */
    padding-bottom: 16.666%;
  }

  .what-kind-header-text {
    padding-left: 90px;
  }

  .contents-title {
    font-size: 120px;
    letter-spacing: -2px;
  }

  .contents-sub-title {
    font-size: 24px;
    padding: 20px 0;
  }

  .card-title {
    font-size: 34px;
    margin-bottom:30px;
  }

  /*改行の調整*/
  .br-sp{
    display: none;
  }

  .br-pc{
    display: inline;
  }

  /* タブレット向け背景文字サイズ */
  .feature-card .card-title[data-bg-text]::before {
    font-size: 80px;
    top: -35px;
    left: -15px;
  }

  .feature-card {
    padding: 30px;
  }

  .card-list li {
    padding: 15px 0;
    font-size:16px;
  }
  
  .card-list li p{
    font-size: 14px;
  }

  .feature-group h3, .unique-benefits h3{
    padding:4px 10px;
    border-radius: 8px;
    font-size:18px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .balance-title-wrapper {
    gap: 16px;
    margin-bottom: 30px;
  }

  .balance-img {
    width: 85px;
  }

  /*PC用アイコンの位置*/

  .icon-1{
    top:10px;
    left: 27rem;
  }

  .icon-2{
    top:25px;
    left: 35rem;
  }

  .icon-3{
    top:300px;
    left:50rem;
  }

  .icon-4{
    top:470px;
    left:55rem;
  }

  .icon-5{
    top:180px;
    left:42rem;
    width: 13rem;
  }

  .icon-6{
    left: 38rem;
  }

  .icon-7{
    top:430px;
    left: 45rem;
  }

  /*SNSセクション*/

  .sns-account h3{
    font-size: 14px;
  }
  
  .sns-account p{
    font-size: 12px;
  }

  /*INTERVIEWセクション*/

  .interview .interview-title {
    padding-bottom: 10px;
    font-size: 100px;
  }

  .interview-text{
    font-size: 18px;
  }
  
  .carousel-item {
    flex: 0 0 calc((100% - 32px) / 2);
    scroll-snap-align: start;
  }

  .interview-top-link{
		font-size:18px;
    width: 50%;
    margin-top: 65px;
	}
	
  .carousel-indicators{
    bottom: -60px;
  }

	.interview-arrow {
		font-size:20px;
	}

  .carousel-item p{
    font-size: 12px;
  }
  
  .carousel-item h3{
    font-size: 18px;
  }
}

/* --------------------------------
	PC向けスタイル
-------------------------------- */

@media screen and (min-width: 1024px) {

  .background-grid .grid-item {
    width: 12.5%; /* PCでは8列 */
    padding-bottom: 12.5%;
  }

  .what-kind-header-text {
    padding: 0 0 0 90px;
  }

  .feature-cards-container {
    margin: 80px 60px 40px;
  }

  .contents-title {
    font-size: 160px;
    letter-spacing: -3.2px;
    line-height: 0.8;
    padding-bottom: 50px;
  }

  .contents-sub-title {
    font-size: 24px;
    padding: 20px 0;
  }

  .description-area {
    max-width: 1200px;
    padding: 20px;
    margin: 40px 90px;
  }

  .description-area p {
    font-size: 20px;
    line-height: 2;
  }

  .card-title {
    font-size: 34px;
    margin-bottom:30px;
  }

  /*改行の調整*/
  .br-sp{
    display: none;
  }

  .br-pc , .pc-only{
    display: inline;
  }

  /* PC向け背景文字サイズ */
  .feature-card .card-title[data-bg-text]::before {
    font-size: 80px;
    top: -35px;
    left: -15px;
  }

  .card-title {
    font-size: 34px;
    margin-bottom:30px;
  }

  .card-list li {
    padding: 15px 0;
    font-size:16px;
  }
  
  .card-list li p{
    font-size: 14px;
  }

  .feature-group h3, .unique-benefits h3{
    padding:4px 10px;
    border-radius: 8px;
    font-size:18px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .balance-title-wrapper {
    gap: 20px;
    margin-bottom: 30px;
  }

  .balance-img {
    width: 110px;
  }

  /*PC用に列の修正*/

  .feature-card{
    margin:25px 0;
  }

  .group {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin:0 auto;
  }

  .group > ul, .group > div{
    flex-basis: 50%;
  }

  .unique-benefits{
    padding-top: 0;
  }

  .wrapper-span-2 {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
    gap:10px;
  }
  
  .card-span-2{
    width: 60%;
    display: flex;
    flex-direction: column;
  }
  
  .comics {
    width: 40%;
    align-items: center;
  }
  
  .comics img {
    width: 85%;
  }

  /*PC用アイコンの位置*/
  .icon-1{
    top:5px;
    left:260px;
  }

  .icon-2{
    top:15px;
    left:340px;
  }

  .icon-3{
    top: calc(100% - 130px); 
    bottom:0px;
    left: calc(405px + 5vw);
    width: 11rem;
  }

  .icon-4{
    top:30px;
    left: 95%;
    transform: translateX(-50%);
    width: 12rem;
  }

  .icon-5{
    top:17.5rem;
    left: 39rem;
    width: 12rem;
  }

  .icon-6{
    left: 37rem;
  }

  .icon-7{
    top:90px;
    left: 85%;
    transform: translateX(-50%);
    width: 10rem;
  }

  .icon-8{
    width: 250px;
    top:75px;
    left: 85%;
    transform: translateX(-50%);
  }

  /*SNSセクション*/

  .sns-contents{
    display: flex;
    gap:20px;
  }

  .sns-contents a {
    flex: 1;
    height: 150px;
  }

  .sns-account h3{
    font-size: 14px;
  }
  
  .sns-account p{
    font-size: 12px;
  }

  /*INTERVIEWセクション*/

  .interview-container{
    padding:50px 20px;
  }

  .interview .interview-title {
    font-size: 120px;
  }
  
  .interview .interview-subtitle {
    font-size: 18px;
  }

  .interview-text{
    font-size: 20px;
    margin:60px 0;
  }

  .interview-top-link{
		font-size:20px;
		margin-top: 80px;
		width: 50%;
		padding:15px 0;
	}
	
  .carousel-indicators{
    bottom: -65px;
  }
	
	.interview-arrow {
		font-size:22px;
	}

  .carousel-item {
    flex: 0 0 calc((100% - 48px) / 3);
  }

  .carousel-item p{
    font-size: 14px;
  }
  
  .carousel-item h3{
    font-size: 20px;
  }

}