@charset "utf-8";
/* CSS Document */
* {
	box-sizing: border-box;
}
html {
	font-size: 62.5%;
}
body {
	line-height: 1.6;
	color: #333333;
	font-size: 1.6rem;
	font-family: "Noto Sans JP";
}

main {
	margin: 0 auto;
}
.pc_only {
	display: block;

}
.sp_only{
	display: none;
}
a {
	text-decoration: underline;
	color: #E5016E;
}
a:hover{
	text-decoration: none;
}
.content{
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 200px;
}
section{
	position: relative;
	overflow: hidden;
}
section .curve-divider-top {
  background-color: #ffffff; 
  padding-top: 100px; /* 曲線の深さ */
  margin-left: -50px;
  margin-right: -50px;
  /* 上側の角丸（楕円）を設定 */
  border-top-left-radius: 1000px 100px;
  border-top-right-radius: 1000px 100px;
}
.section01 .curve-divider-top{
	background-color: #f4f4f4;
}
.section02 .curve-divider-top{
	background-color: #fff;
}
.section03 .curve-divider-top{
	background-color: #f4f4f4;
}
.section04 .curve-divider-top{
	background-color: #FCE8E9;
}
.section05 .curve-divider-top{
	background-color: #FFFFFF;
}
.section06 .curve-divider-top{
	background-color: #f4f4f4;
}
.section07 .curve-divider-top{
	background-color: #E5E5E5;
}
/*----------見出し----------*/
h2{
	position: relative;
	color: #333;
	text-align: center;
	font-family: "M PLUS 1";
	font-size: 2.8rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	padding-bottom: 10px;
	margin-bottom: 30px;
}

h2::after{
	content: "";
	position: absolute;
	 width:50px;
	 height:5px;
	 margin:0 2%;
 	display:inline-block;
 	 background-image: linear-gradient(270deg, #F5BDC8 0%, #ED85A7 100%);
 	transform:skewX(-30deg);
	top: 50px;
	right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

h3{
	color: #333;
	text-align: center;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	position: relative;
  padding-bottom: 10px; /* 線とテキストの間隔を調整 */
  margin-bottom: 30px;
}
h3::after{
  /* 線の作成 */
  content: "";
  display: block;
  /* 線の幅と高さ */
  width: 70px; 
  height: 3px;
  
  /* 線の色とグラデーションの定義 */
  background: linear-gradient(to right, #ED85A7 50%, #333 50%); 
  
  /* 中央配置 */
  margin: 0 auto;
  
  /* 相対位置を調整してテキストの下に配置 */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0; /* h3のpadding-bottomに合わせて調整 */
}

h4{
	color: #333;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	position: relative;
 	border-bottom: 2px solid #ED85A7;;/*右：薄ピンク*/
	margin-bottom: 20px;
}
h4::before{
  content: '';
  position: absolute;
  bottom: -2px;
  width: 17%;
  height: 2px;
  background: #333;/*左：ピンク*/
}

/*----------ボタン----------*/
.btn{
	width: 500px;
	margin: 0 auto;
}
.btn a{
	display: block;
	width: 500px;
	height: 60px;
	flex-shrink: 0;
	text-decoration: none;
	border-radius: 150px;
	background: #E5016E;
	padding: 15px 18px;
	text-align: center;
	color: #FFF;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	position: relative;
}

.btn a::after{
	content: "";
	display: block;
	position: absolute;
	background: url(/campaign/kaoninsho_service/_assets/img/arrow_back_ios_new.png)left top no-repeat;
	width: 24px;
	height: 24px;
	background-size: 100%;
	top: 50%;
  	transform: translateY(-50%);
	right: 30px;
}

.btn a:hover{
	background-color: #fff;
	color: #E5016E;
	border: 1px solid #E5016E;
}
.btn a:hover::after{
	content: "";
	display: block;
	position: absolute;
	background: url(/campaign/kaoninsho_service/_assets/img/arrow_back_ios_new_hover.png)left top no-repeat;
	width: 24px;
	height: 24px;
	background-size: 100%;
	top: 50%;
  	transform: translateY(-50%);
	right: 30px;
}
/*----------汎用----------*/
.column_2,.column_3{
	display: flex;
	justify-content: center;
}
.column_2 li{
	width: 50%;
}
.column_3 li{
	width: 33%;
}
/*----------MV----------*/

.main_img{
	position: relative;
}
.main_img img{
	width: 100%;
}
/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  right: 50%;
  bottom: 10%;
  writing-mode: vertical-rl;
}
/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #000;
  bottom: -60px;
  content: "";
  height: 40px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/*----------News----------*/
.news{
	margin-bottom: 60px;
}
.news .content{
	padding-bottom: 20px;
}
.newsarea{
	border-radius: 20px;
	background: #FFF;
	box-shadow: 0 0 8px 0 rgba(51, 51, 51, 0.25);
	padding: 30px 40px;
	max-width: 1000px;
	margin: 0 auto;
}
.newsarea dl{
	display: flex;
	padding-bottom: 20px;
	border-bottom: 1px #D9D9D9 solid;
}
.newsarea dl dt{
	margin-right: 27px;
}
.newsarea dl dt.date{
	font-weight: bold;
}
.newsarea dl:last-child{
	border: none;
	padding-top: 20px;
	padding-bottom: 0;
}

/*----------Navi----------*/
.navi{
	margin-bottom: 60px;
}
.navi .content{
	padding-bottom: 100px;
}
.navi_area{
	display: flex;
}
.navi_btn {
	width: 20%;
	display: flex;
	align-items: stretch;
}
.navi_btn a{
	border-radius: 10px;
	background: #ED85A7;
	padding: 20px 30px;
	position: relative;
	width: 100%;
	margin-right: 20px;
	text-align: center;
	color: #333;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}
.navi_btn a::before{
	content: "";
	display: block;
	position: absolute;
	background-image: url(/campaign/kaoninsho_service/_assets/img/nav_icon.png) ;
	width: 28px;
	height: 28px;
	background-size: 100%;
	background-repeat: no-repeat;
	top: 35%;
	left: 10%;
}
.navi_btn a:hover{
	opacity: 0.8;
}
.navi_btn.navi02 a{
	background-color: #EF96B1;
}
.navi_btn.navi03 a{
	background-color: #F2A3B9;
}
.navi_btn.navi04 a{
	background-color: #F4B4C2;
	padding-top: 33px;
}
.navi_btn.navi05 a{
	background-color: #F5BDC8;
	margin-right: 0;
	padding-top: 33px;
}

/*----------section01----------*/
.section01{
	margin-top: -100px;
	text-align: center;
}

.section01 .textarea{
	margin-bottom: 80px;
}

.section01 .textarea p{
	line-height: 2;
	text-align: center;
	margin-bottom: 30px;
}
.section01 .textarea .startDate{
	font-size: 2.8rem;
    color: #fff;
    background-color: #FF8880;
    text-align: center;
    border-radius: 2px;
    width: 50%;
	margin: 0 auto 30px;
}
.section01 .textarea .startDate .pc_only{
	display: inline-block;
}
.section01 .column_2{
	margin-bottom: 80px;
}
.section01 .column_2 li{
	width: 25%;
	margin-right: 10px;
}
.section01 .column_2 li:last-child{
	margin-right: 0;
}
.section01 .column_2 li img{
	width: 100%;
}

.section01 .station dl{
	display: flex;
}
.section01 dl dt{
	width: 35%;
	background: #F58220;
	padding: 10px;
	color: #FFF;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	display: flex;
    align-items: center;
}
.section01 dl dd{
	padding: 10px 20px;
	background: #fff;
    width: 100%;
	text-align: left;
}
.section01 dl.nikko{
	margin-bottom: 20px;
}
.section01 .rosenzu{
	margin-top: 20px;
	margin-bottom: 30px;
}
.section01 dl.nikko dt{
	background: #F58220;
}

.section01 dl.nikko dt{
	background: #CFA348;
}


/*----------section02----------*/
.section02{
	margin-top: -100px;
}
.section02 .guide{
	margin-bottom: 40px;
}
.section02 .guide ul{
	margin-left: 20px;
}
.section02 .guide ul li{
	line-height: 2;
	margin-left: 20px;
    list-style: disc;
}
.section02 .guide ul li.caution{
	color: #F10000;
}

.section02 .guide ul li img{
	width: auto;
}
.section02 .guide .guide_img{
	text-align: center;
	margin: 20px auto;
	list-style: none;
}

/*----------section03----------*/
.section03{
	margin-top: -100px;
}
.section03 p{
	text-align: center;
	margin-bottom: 20px;
}

.section03 .caution{
	color: #F10000;
	margin-bottom: 40px;
}

.section03 .column_2 li{
	width: auto;
	margin-right: 20px;
}
.section03 picture{
	margin-left: 20px;
}
.section03 .column_2 li:last-child{
	margin-right: 0;
}
/*----------section04----------*/
.section04{
	margin-top: -100px;
}
.section04 p{
	text-align: center;
	margin-bottom: 20px;
}

.section04 .column_3{
	display: flex; /* 子要素を横並びにする */
    justify-content: space-between; /* 均等に配置 */
    width: 100%;
    max-width: 1200px; /* 最大幅を設定 */
    margin: 0 auto 55px; /* 中央揃え */
    padding: 20px 0;
}
.section04 .column_3 li{
	width: calc(33.33% - 15px); /* 3分割し、間隔を空ける */
    background-color: #fff;
    border-radius: 10px;
    padding: 70px 15px 20px;
    box-sizing: border-box; /* paddingを含めて幅を計算 */
    position: relative;
    text-align: center;
}

.section04 .column_3 .point{
	position: absolute;
    top: -20px; /* 上部に飛び出させるための調整 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.section04 .column_3 .point-circle{
	width: 80px;
    height: 80px;
    line-height: 80px; /* テキストを垂直方向中央に */
    background-color: #f4007b; /* 濃いピンク */
    border-radius: 50%; /* 正円にする */
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    /* 影と二重丸のような表現のためのafter擬似要素 */
    position: relative;
}
.section04 .column_3 .point-circle span.text{
	position: absolute;
    top: -20px;
    left: 20px;
}


.section04 .column_3 .point-circle .xl_text{
	font-size: 4.0rem;
	font-weight: 700;
	position: absolute;
	left: 17px;
    top: 5px;
}
.section04 .title_text{
	color: #333;
	text-align: center;
	font-size: 24px;
	margin-bottom: 22px;
	font-weight: 700;
    line-height: 1.2;
}
.section04 .content_text{
	text-align: left;
	margin-top: 20px;
}
/*----------section05----------*/
.section05{
	margin-top: -100px;
}

/*----------section06----------*/
.section06{
	margin-top: -100px;
}
.section06 ul{
	margin-bottom: 20px;
}
.section06 ul li{
	list-style: disc;
	text-indent: -1em;
	padding-left: 1em;
	line-height: 2;
}
.section06 .list_img{
	text-align: center;
}
.section06 img{
	width: auto;
}
/*----------section07----------*/
.section07{
	margin-top: -100px;
}
.section07 .content{
	padding-bottom: 80px;
}
/* 全体のコンテナ */
.faq-container {
    max-width: 800px;
    margin: 20px auto;
	padding: 1px 15px; /* 左右に少しパディングを追加し、画面端にくっつくのを防ぐ */
}

/* details要素（アコーディオン全体）のベーススタイル */
details {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #fff;
    font-family: sans-serif;
    transition: border-color 0.3s;
    overflow: hidden; /* アニメーションのために必須 */
}


/* 質問（summary）のスタイル */
summary {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* デフォルトのマーカーを非表示 */
    color: #333;
    /* transition: background-color 0.3s; */
}

/* 開いたときのsummaryと回答エリアの境界線 */
details[open] summary {
    border-radius: 4px 4px 0 0;
}

/* Q.のデコレーション */
summary .FAQ_deco {
    color: #f4007b;
    font-size: 2.4rem;
    font-weight: 900;
    margin-right: 10px;
}

/* 開閉アイコン（+ / -）のスタイル */
.icon {
    margin-left: auto;
    font-size: 20px;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

/* 閉じている状態（デフォルト）のアイコン：＋ */
.icon::before {
    content: '+';
}

/* 開いている状態のアイコン：− */
details[open] .icon::before {
    content: '-';
}

/* ========== 回答エリアのスタイルとアニメーション ========== */

/* 回答ラッパー（アニメーションの核） */
.answer-wrapper {
    /* A.と回答テキストを横並びにするFlexコンテナ */
    display: flex; 
    padding: 0 20px; /* 横のパディングはここで調整 */
    overflow: hidden; /* アニメーションのために必須 */
    
    /* 初期値：閉じた状態（高さ0） */
    max-height: 0; 
    
    /* トランジション設定（アニメーションの速さ） */
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

/* 開いた状態 */
details[open] .answer-wrapper {
    /* 非常に大きな値に設定し、コンテンツの高さまで展開させる */
    max-height: 500px; /* コンテンツの最大高さに合わせて適切な値を設定 */
    padding: 15px 20px; /* 開いたときに上下のパディングを適用 */
}

/* A.のデコレーション */
.answer-wrapper .FAQ_deco {
	 font-size: 2.4rem;
    color: #f4007b;
    font-weight: 900;
    margin-right: 10px;
	margin-top: -8px;
    /* A.が回答テキストの先頭に揃うように */
    align-self: flex-start; 
    flex-shrink: 0; /* A.の幅を固定 */
}

/* 回答コンテンツのスタイル（薄いピンクの背景） */
.answer-content {
    background-color: #FCE8E9; /* 薄いピンクの背景 */
    padding: 0px 20px 0px 0px; /* A.が薄いピンクの背景に入らないように調整 */
    line-height: 1.6;
    flex-grow: 1; /* 残りのスペースを埋める */
}

/* 開いたときに背景が全体を覆うように、wrapperに背景を適用 */
details[open] .answer-wrapper {
    background-color: #FCE8E9;
}

/* 開いたときの回答テキストのスタイルを調整（A.と薄いピンクの背景の整合性のため） */
details[open] .answer-wrapper {
    /* パディングをwrapperに移動し、回答テキスト全体がピンクの背景になるように調整 */
    padding: 30px 20px;
	border-radius: 10px;
    background-color: #FCE8E9;
	margin: 20px 60px;
}

details[open] .answer-wrapper .answer-content {
    background-color: transparent; /* 背景色を透明に戻す */
    padding: 0; /* paddingも不要 */
}
/*----------footer----------*/
footer{
	background: #fff;
	padding-top: 60px;
	padding-bottom: 20px;
	text-align: center;
}
footer .logo{
	margin: 0 auto;
	text-align: center
}
footer img{
	width: auto;
}

.footer_note{
	font-size: 1.4rem;
    width: 600px;
    text-align: left;
    margin: 0 auto 10px;
}
.copyright{
	font-size: 1.4rem;
}
@media (max-width: 767px) {
.pc_only {
	display: none;
}
.sp_only{
	display: block;
}

.content{
	max-width: 1200px;
	margin: 0 10px;
	padding-bottom: 30px;
}
section{
	position: relative;
	overflow: hidden;
}
section .curve-divider-top {
  padding-top: 50px; /* 曲線の深さ */
  margin-left: 0;
  margin-right: 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/*----------見出し----------*/
h2{
	font-size: 2.2rem;
}

h2::after{
	 width:20px;
}

h3{
	font-size: 2.0rem;
}
h3::after{
 width: 50px; 
  height: 3px
}

h4{
	font-size: 1.8rem;
}

/*----------ボタン----------*/
.btn{
	width: 100%;
}
.btn a{
	width: 100%;
	font-size: 1.6rem;
}


/*----------汎用----------*/
.column_2,.column_3{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.column_2 li{
	width: 100%;
}
.column_3 li{
	width: 100%;
}
/*----------MV----------*/

.main_img{
	margin-bottom: 30px;
}


/*----------News----------*/
.news{
	margin-bottom: 30px;
}

.newsarea{
	padding: 20px;
	max-width: inherit;
	margin: 0 12px;
}

.newsarea dl{
	flex-wrap: wrap;
}

/*----------Navi----------*/
.navi{
	margin-bottom: 30px;
}
.navi .content{
	padding-bottom: 0;
	margin:0;
}
.navi_area{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.navi_btn {
	width: calc(33.33% - 5px); 
}
.navi_btn a{
	border-radius: 10px;
	background: #ED85A7;
	padding: 10px 10px 30px;
	position: relative;
	width: 100%;
	margin-right: 5px;
	text-align: center;
	color: #333;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}
.navi_btn.navi03:nth-child(3) a{
	margin-right: 0;
}
li.navi_btn:nth-child(-n+3) {
    margin-bottom: 10px;
}
.navi_btn a::before{
	content: "";
	display: block;
	position: absolute;
	background-image: url(/campaign/kaoninsho_service/_assets/img/nav_icon.png) ;
	width: 20px;
	height: 20px;
	font-size: 1.4rem;
	background-size: 100%;
	background-repeat: no-repeat;
	top: 68%;
 	left: 41%;
}
.navi_btn a:hover{
	opacity: 0.8;
}
.navi_btn.navi02 a{
	background-color: #EF96B1;
}
.navi_btn.navi03 a{
	background-color: #F2A3B9;
}
.navi_btn.navi04 a{
	background-color: #F4B4C2;
	padding-top: 33px;
}
.navi_btn.navi05 a{
	background-color: #F5BDC8;
	margin-right: 0;
	padding-top: 27px;
}

/*----------section01----------*/
.section01{
	margin-top: 0px;
}
.section01 .textarea{
	margin-bottom: 20px;
}

.section01 .textarea .startDate{
	line-height: 1.5;
	width: 100%;
    margin-top: 20px;
	line-height: 1.5;
	padding: 10px;
}
.section01 .textarea .startDate .pc_only{
	display: none;
}
.section01 .column_2{
	margin-bottom: 60px;
}
.section01 .column_2 li{
	margin-bottom: 20px;
	margin-right: 0;
}

.section01 .station dl{
	display: flex;
	flex-wrap: wrap;
}
.section01 dl dt{
	width: 100%;
	display:block
}

.section01 dl.nikko{
	margin-bottom: 40px;
}
.section01 .rosenzu{
	margin-top: 20px;
	margin-bottom: 25px;
}
.section01 .rosenzu img{
	width: 100%;
}


/*----------section02----------*/
.section02{
	margin-top: 0px;
}
.section02 .guide{
	margin-bottom: 30px;
}
.section02 .guide ul{
	margin-left: 0px;
}
.section02 .guide ul li{
	margin-left: 20px;
}

.section02 .guide ul li img{
	width: 100%;
}


/*----------section03----------*/
.section03{
	margin-top: 0px;
}
.section03 p{
	text-align: center;
	margin-bottom: 20px;
}

.section03 .caution{
	color: #F10000;
	margin-bottom: 40px;
}

.section03 .column_2 li{
	width: auto;
	margin-right: 0px;
}
.section03 .column_2 li:last-child{
	margin-right: 0;
}
.section03 picture{
	margin-left: 0px;
	margin-bottom: 20px;
}
/*----------section04----------*/
.section04{
	margin-top: 0px;
}

.section04 .column_3{
    max-width: inherit; /* 最大幅を設定 */
	margin: 0 auto 20px;

}
.section04 .column_3 li{
	width:100%;
	margin: 20px auto;
}
.section04 .column_3 li img{
	width: 100%;
}

.section04 .column_3 .point{
	position: absolute;
    top: -20px; /* 上部に飛び出させるための調整 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.section04 .column_3 .point-circle{
	width: 80px;
    height: 80px;
    line-height: 80px; /* テキストを垂直方向中央に */
    background-color: #f4007b; /* 濃いピンク */
    border-radius: 50%; /* 正円にする */
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    /* 影と二重丸のような表現のためのafter擬似要素 */
    position: relative;
}
.section04 .column_3 .point-circle span.text{
	position: absolute;
    top: -20px;
    left: 20px;
}


.section04 .column_3 .point-circle .xl_text{
	font-size: 4.0rem;
	font-weight: 700;
	position: absolute;
	left: 17px;
    top: 5px;
}
.section04 .title_text{
	color: #333;
	text-align: center;
	font-size: 24px;
	margin-bottom: 22px;
	font-weight: 700;
    line-height: 1.2;
}
.section04 .content_text{
	text-align: left;
	margin-top: 20px;
}
/*----------section05----------*/
.section05{
	margin-top: 0px;
}

/*----------section06----------*/
.section06{
	margin-top: 0px;
}
.section06 h2::after{
	top: 80px;
}
.section06 ul{
	margin-left: 20px;
}
.section06 ul li{
    text-indent: 0;
    padding-left: 0px;
    line-height: 1.5;
}
.section06 .list_img img{
	width: 100%;
}
/*----------section07----------*/
.section07{
	margin-top: 0px;
}
.section07 .content{
	padding-bottom: 20px;
}
/* 全体のコンテナ */
.faq-container {
    max-width: 800px;
    margin: 20px auto;
	padding: 1px 15px; /* 左右に少しパディングを追加し、画面端にくっつくのを防ぐ */
}

/* details要素（アコーディオン全体）のベーススタイル */
details {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #fff;
    font-family: sans-serif;
    transition: border-color 0.3s;
    overflow: hidden; /* アニメーションのために必須 */
}


/* 質問（summary）のスタイル */
summary {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* デフォルトのマーカーを非表示 */
    color: #333;
    /* transition: background-color 0.3s; */
}

/* 開いたときのsummaryと回答エリアの境界線 */
details[open] summary {
    border-radius: 4px 4px 0 0;
}

/* Q.のデコレーション */
summary .FAQ_deco {
    color: #f4007b;
    font-size: 2.4rem;
    font-weight: 900;
    margin-right: 10px;
}

/* 開閉アイコン（+ / -）のスタイル */
.icon {
    margin-left: auto;
    font-size: 20px;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

/* 閉じている状態（デフォルト）のアイコン：＋ */
.icon::before {
    content: '+';
}

/* 開いている状態のアイコン：− */
details[open] .icon::before {
    content: '-';
}

/* ========== 回答エリアのスタイルとアニメーション ========== */

/* 回答ラッパー（アニメーションの核） */
.answer-wrapper {
    /* A.と回答テキストを横並びにするFlexコンテナ */
    display: flex; 
    padding: 0 20px; /* 横のパディングはここで調整 */
    overflow: hidden; /* アニメーションのために必須 */
    
    /* 初期値：閉じた状態（高さ0） */
    max-height: 0; 
    
    /* トランジション設定（アニメーションの速さ） */
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

/* 開いた状態 */
details[open] .answer-wrapper {
    /* 非常に大きな値に設定し、コンテンツの高さまで展開させる */
    max-height: 500px; /* コンテンツの最大高さに合わせて適切な値を設定 */
    padding: 15px 20px; /* 開いたときに上下のパディングを適用 */
	margin: 10px;
}

/* A.のデコレーション */
.answer-wrapper .FAQ_deco {
	 font-size: 1.6rem;
    color: #f4007b;
    font-weight: 900;
    margin-right: 10px;
	margin-top: 0px;
    /* A.が回答テキストの先頭に揃うように */
    align-self: flex-start; 
    flex-shrink: 0; /* A.の幅を固定 */
}

/* 回答コンテンツのスタイル（薄いピンクの背景） */
.answer-content {
    background-color: #FCE8E9; /* 薄いピンクの背景 */
    padding: 0px 20px 0px 0px; /* A.が薄いピンクの背景に入らないように調整 */
    line-height: 1.6;
    flex-grow: 1; /* 残りのスペースを埋める */
}

/* 開いたときに背景が全体を覆うように、wrapperに背景を適用 */
details[open] .answer-wrapper {
    background-color: #FCE8E9;
}

/* 開いたときの回答テキストのスタイルを調整（A.と薄いピンクの背景の整合性のため） */
details[open] .answer-wrapper {
    /* パディングをwrapperに移動し、回答テキスト全体がピンクの背景になるように調整 */
    padding: 30px 20px;
	border-radius: 10px;
    background-color: #FCE8E9;
	margin: 20px 60px;
}

details[open] .answer-wrapper .answer-content {
    background-color: transparent; /* 背景色を透明に戻す */
    padding: 0; /* paddingも不要 */
}

    /* 767px以下の画面幅での調整 */
    
    .faq-container {
        padding: 1px 10px; /* パディングをさらに狭く */
    }

    /* summary (質問) のパディングを調整し、要素を詰めすぎないようにする */
    summary {
        padding: 12px 15px;
        font-size: 15px;
    }

    /* Q.のデコレーションのサイズも少し調整 */
    summary .FAQ_deco {
        font-size: 1.1em;
        margin-right: 8px;
    }

    /* アイコンのサイズ調整 */
    .icon {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

    /* 回答ラッパー（開いた状態）のパディングを調整 */
    details[open] .answer-wrapper {
        padding: 12px 15px;
		margin: 15px 20px;
    }
    
    /* 回答テキストのフォントサイズ調整 */
    .answer-content {
        font-size: 14px;
    }
	/*----------footer----------*/
footer{
	background: #fff;
	padding-top: 60px;
	padding-bottom: 20px;
	text-align: center;
}
footer .logo{
	margin: 0 auto 20px;
	text-align: center
}
footer img{
	width: auto;
}
.copyright{
	font-size: 1.3rem;
}
.footer_note{
width: 100%;
}
}
