@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_

パソコン向けスタイルおよび共通スタイルの指定

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

/*==========================================
 body
===========================================*/
body {
    min-width: 100%;
    text-align: center;
    background-color: #FFFFFF;
    width: 100%;
    font-family: "Zen Maru Gothic", sans-serif;
}

.spImg {
    display: none;
}

.Toggle{display:none;}

.spbr {
	display: none;
}

img {
	width: 100%;
	max-width: 100%;
	height: auto;
	width /***/: auto;
　/*IE8のみ適用*/
; 	text-align: center;
	}
	
/*==========================================
 ヘッダーのスタイル
===========================================*/
header {
	background-color: #D7F1FB;
	padding-top: 4%;
	padding-bottom: 4%;
	height: 100vh;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
    	
#mainImg {
	max-width: 100%;
	width: calc(100% - 8%);
	margin-left: auto;
	margin-right: auto;
	background-image: url(../images/main_img.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	border-radius: 35px;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
}

#border {
	position: absolute;
	top: 0px;
	left: 50px;
}

#topMessage {
	position: absolute;
	right: -3%;
	bottom: 4%;
	border: 5px solid #e63c5a;
	background-color: #FFFFFF;
	border-radius: 16px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-left: 50px;
	padding-right: 50px;
	padding-top: 30px;
	padding-bottom: 30px;
}

p.top_comment {
	display: none;
}

.mBox {
	position: relative;
}

.mBox figure {
	position: absolute;
	top: -10px;
	left: -50px;
}

.mBox p {
	font-size: 2.063em;
	font-family: "vdl-penletter", sans-serif;
	line-height: 1.3;
}

#mainImg section {
	margin-left: 5%;
}

#mainImg section p {
	font-family: "vdl-penletter", sans-serif;
	font-size: 3em;
	color: #FFFFFF;
	line-height: 1.3;
	padding-bottom: 45px;
}

#mainImg section p span {
	color: #EFEF0A;
}

#mainImg section h1 {
	font-family: "vdl-penletter", sans-serif;
	font-size: 1.625em;
	color: #FFFFFF;
	line-height: 1.3;
}

/*==========================================
 フッターのスタイル
===========================================*/
footer {
	background-color: #D7F1FB;
	padding-top: 50px;
	padding-bottom: 50px;
	}
	
#copy {
font-size: 0.875em;
	max-width: 100%;
width: calc(100% - 2em);
margin-left: auto;
margin-right: auto;
}

#page-top {
    position: fixed;
    right: 16px;
    bottom:65px;
}

#f_Menu {
	display: none;
}

/*==========================================
Menu
===========================================*/    
nav.NavMenu {
position: fixed;	/*表示位置を固定*/
z-index: 5;		/*重ね順を変更*/
top: 0;		/*表示位置を指定*/
right: 0;	/*表示位置を指定*/
background: #0C97CB;
color: #000;	/*文字色を黒にする*/
text-align: center;		/*テキストを中央揃え*/
width: 35%;	/*全幅表示*/
transform: translateX(100%);	/*ナビを上に隠す*/
height: 100vh;
display: inherit;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active{
transform: translateX(0%);
transition: all 0.6s;	/*アニメーションの時間を指定*/
}
/*トグルを閉じる操作をしたら付与するクラス*/
nav.NavMenu.off{
transition: all 0.6s;	/*アニメーションの時間を指定*/
}

/*トグルボタンのスタイルを指定*/
.Toggle {
	display: block;
	position: fixed;
	right: 0px;
	top: 0px;
	width: 100px;
	height: 100px;
	cursor: pointer;
	z-index: 6;
	background-color: #0C97CB;
	border-bottom-left-radius: 15px;
	display: flex;
	flex-direction:column;
	justify-content: center;
	align-items: center;
}
 
.Toggle span {
	display: block;
	width: 30px;
	border-bottom: solid 2px #FFF;
	-webkit-transition: .35s ease-in-out;	/*変化の速度を指定*/
	-moz-transition: .35s ease-in-out;		/*変化の速度を指定*/
	transition: .35s ease-in-out;
	margin-bottom: 13px;
}

.Toggle p {
	font-size: 0.875em;
	color: #FFF;
	letter-spacing: 0.01em;
	margin-top: 10px;
}
 
.Toggle span:last-child {
	margin-bottom: 0;
}

/* クリック時（.active）に×に変形 */
.Toggle.active span:nth-child(1) {
	transform: translateY(15px) rotate(45deg);
}

.Toggle.active span:nth-child(2) {
	opacity: 0;
}

.Toggle.active span:nth-child(3) {
	transform: translateY(-15px) rotate(-45deg);
}

/*==========================================
Other
===========================================*/
#globalMenu {
	margin-top: 55px;
	max-width: 100%;
width: calc(100% - 2em);
margin-left: auto;
margin-right: auto;
}

#globalMenu li {
	border-bottom: 1px dotted #FFFFFF;
}

#globalMenu li a {
	padding-bottom: 18px;
	padding-top: 22px;
	padding-left: 15px;
	padding-right: 15px;
	color: #FFFFFF;
	display: block;
	text-align: left;
}

#globalMenu li a:hover {
	color: #F9F000;
}

#subMenu {
	max-width: 100%;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
	margin-top: 28px;
	display: flex;
	justify-content: space-between;
}

#subMenu li {
	width: 48%;
	font-size: 0.750em;
}

#subMenu li a {
	background-color: #FFFFFF;
	border-radius: 10px;
	display: block;
	height: 57px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: left;
}

#subMenu li a:hover {
	background-color: #BCDF7F;
	color: #000000;
}

#subMenu li a span {
	position: relative;
}

#subMenu li a span img {
	position: absolute;
	right: 5px;
	top: -7px;
}

.icon {
	margin-right: 5px;
}

#what-is-girl-scouts {
	background-color: #D7F1FB;
	padding-bottom: 80px;
	padding-top: 50px;
}

#what-is-girl-scouts .inner {
	max-width: 1100px;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
}

#what-is-girl-scouts_block {
	display: flex;
	justify-content: space-between;
	margin-top: 60px;
}

#what-is-girl-scouts_block figure {
	max-width: 479px;
	width: 100%;
	margin-left: 20px;
}

#what-is-girl-scouts_block section {
	text-align: left;
}

#what-is-girl-scouts_block section h3 {
	font-size: 1.500em;
	font-family: "vdl-penletter", sans-serif;
	margin-bottom: 50px;
	line-height: 1.5;
}

#what-is-girl-scouts_block section h3 span {
  position: relative;
  background: linear-gradient(transparent 40%, #FFF 40%);
}

#what-is-girl-scouts_block section p {
	padding-bottom: 35px;
	line-height: 1.7;
}

#about-us-Block {
	background-color: #77CBEE;
}

#about-us {
	background-image: url(../images/26342815.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
	padding-top: 60px;
	background-color: #FFFFFF;
	padding-bottom: 60px;
}

#about-us .inner {
	max-width: 1100px;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#about-us .t_deco {
	font-family: "Caveat", cursive;
	font-size: 6.438em;
	color: hsla(0,0%,100%,0.40);
	display: inline-block;         /* 必須：inline要素を回転可能にする */
	transform: rotate(-10deg);     /* −10度回転 */
	transform-origin: center;      /* 回転の基準点（必要に応じて調整） */
	/* 見た目を滑らかにする（オプション） */
	transition: transform 0.25s ease;
	-webkit-transform: rotate(-10deg); /* 古いブラウザ用のプレフィックス（任意） */
	position: absolute;
	top: -95px;
	left: 0px;
	line-height: 1.2;
}

#about-us ul {
	margin-top: 80px;
	display: flex;
	justify-content: space-between;
}

#about-us ul li {
	width: 31%;
		margin-bottom: 15px;
}

.check {
	margin-top: 15px;
	margin-bottom: 18px;
}

#c_box {
	border: 8px solid #3CB8E6;
	border-radius: 20px;
	background-color: #D7F1FB;
	padding-top: 40px;
	padding-right: 40px;
	padding-bottom: 40px;
	padding-left: 40px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#c_box h2 {
	font-size: 2em;
	font-family: "vdl-penletter", sans-serif;
	margin-bottom: 40px;
	margin-top: 20px;
}

#c_box h2 span {
	background-image: url(../images/dot.png);
	background-repeat: repeat-x;
	background-position: 0% bottom;
	padding-bottom: 15px;
}

#c_box .inner {
display: flex;
justify-content: space-between;
max-width: 643px;
width: calc(100% - 2em);
margin-left: auto;
margin-right: auto;
flex-wrap:wrap;
}

#c_box .inner .member {
max-width: 274px;
width: 100%;
margin-left: auto;
margin-right: auto;
}

.f01 {
	margin-top: 75px;
}

#c_box .inner .member dl dt {
	font-size: 1.250em;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 24px;
	margin-bottom: 18px;
}

#c_box .inner .member dl dt span {
	margin-left: 5px;
	background-color: #FFFFFF;
	border-radius: 10px;
	padding-left: 13px;
	padding-right: 13px;
	padding-top: 5px;
	padding-bottom: 5px;
}

#c_box .inner .member dl dd {
	text-align: left;
}

#fontStyle {
	font-size: 1.750em;
	text-align: center;
	margin-top: 48px;
	font-family: "vdl-penletter", sans-serif;
	color: #3CB8E6;
	line-height: 1.5;
}

.f02 {
	display: none;
}

#our-members {
	background-color: #FFECF1;
	background-image: url(../images/bg.png);
	background-repeat: no-repeat;
	background-position: center top -50px;
	background-size: 100% auto;
}

#our-members .inner {
	max-width: 1100px;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
	position: relative;
	padding-top: 100px;
	padding-bottom: 50px;
}

#our-members .inner .t_deco {
	font-family: "Caveat", cursive;
	font-size: 6.438em;
	color: hsla(318,91%,73%,0.23);
	display: inline-block;         /* 必須：inline要素を回転可能にする */
	transform: rotate(-10deg);     /* −10度回転 */
	transform-origin: center;      /* 回転の基準点（必要に応じて調整） */
	/* 見た目を滑らかにする（オプション） */
	transition: transform 0.25s ease;
	-webkit-transform: rotate(-10deg); /* 古いブラウザ用のプレフィックス（任意） */
	position: absolute;
	top: 60px;
	left: 0px;
	line-height: 1.2;
	z-index: 0;
}

#our-members .inner .titleStyle {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	margin-bottom: 60px;
	z-index: 2;
	position: relative;
}

#our-members section {
	padding-bottom: 80px;
	display: flex;
	justify-content: space-between;
}

#our-members section figure {
	max-width: 444px;
	min-width: 444px;
	width: 100%;
	margin-right: 45px;
}

#our-members section.reverse {
flex-direction: row-reverse;
}

#our-members section.reverse figure {
	margin-right: 0px;
	margin-left: 45px;
}

#our-members section figure img {
	border-radius: 15px;
}

#our-members .m_comm {
	text-align: left;
}

#our-members .m_comm h3 {
	color: #A90E7B;
	font-size: 1.500em;
	font-family: "vdl-penletter", sans-serif;
	line-height: 1.5;
	margin-bottom: 30px;
}

#our-members .m_comm h3 span {
  position: relative;
  background: linear-gradient(transparent 40%, #FFF 40%);
}

#qa {
	background-image: url(../images/bg.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
	margin-top: -50px;
	padding-bottom: 80px;
}

#qa .inner {
	max-width: 1100px;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
	position: relative;
	padding-top: 100px;
}

#qa .t_deco {
	font-family: "Caveat", cursive;
	font-size: 6.438em;
	color: hsla(0,0%,79%,0.40);
	display: inline-block;         /* 必須：inline要素を回転可能にする */
	transform: rotate(-10deg);     /* −10度回転 */
	transform-origin: center;      /* 回転の基準点（必要に応じて調整） */
	/* 見た目を滑らかにする（オプション） */
	transition: transform 0.25s ease;
	-webkit-transform: rotate(-10deg); /* 古いブラウザ用のプレフィックス（任意） */
	position: absolute;
	top: 90px;
	left: 0px;
	line-height: 1.2;
}

#qaImg {
	position: absolute;
	right: 60px;
	top: 70px;
}

#qaTit {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	margin-bottom: 50px;
}

#qaImg2 {
    position: absolute;
    right: -104px;
    top: 21px;
}

#qa section h3 {
	background-color: #D9EDB7;
	border-radius: 15px;
	padding-top: 15px;
	padding-right: 60px;
	padding-bottom: 15px;
	padding-left: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 1.125em;
	font-weight: 600;
	position: relative;
	margin-bottom: 20px;
	text-align: left;
}

#qa section h3 img {
    position: absolute;
    right: 10px;
    top: 13px;
	cursor:pointer
}

#qa section h3 strong {
	font-size: 1.389em;
	margin-right: 15px;
}

#qa section h3 span {
	display: flex;
	align-items: center;
}

#qa section p {
	display: flex;
	display: none;
	padding-left: 20px;
	padding-right: 20px;
	text-align: left;
}

#qa section p:last-child {
	padding-bottom: 55px;
}

#qa section p strong {
	font-size: 1.563em;
	margin-right: 15px;
	color: #F97AD3;
}

#contact {
	background-color: #FFFDE9;
	padding-top: 100px;
	padding-bottom: 100px;
}

#contact .inner {
	max-width: 1100px;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#contact .t_deco {
	font-family: "Caveat", cursive;
	font-size: 6.438em;
	color: hsla(0,0%,79%,0.40);
	display: inline-block;         /* 必須：inline要素を回転可能にする */
	transform: rotate(-10deg);     /* −10度回転 */
	transform-origin: center;      /* 回転の基準点（必要に応じて調整） */
	/* 見た目を滑らかにする（オプション） */
	transition: transform 0.25s ease;
	-webkit-transform: rotate(-10deg); /* 古いブラウザ用のプレフィックス（任意） */
	position: absolute;
	top: -95px;
	left: 0px;
	line-height: 1.2;
}

#contactImg {
	position: absolute;
	right: 50px;
	top: -130px;
}

#contactTop {
	position: relative;
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

#contactTop h2 {
	font-family: "wanpaku-ruika", sans-serif;
	color: #8D5327;
	font-size: 2.188em;
	font-weight: bold;
	margin-top: 15px;
	background-image: url(../images/yajirushi.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom: 50px;
	margin-bottom: 35px;
}

#contactTop h3 {
	font-size: 1.563em;
	font-family: "vdl-penletter", sans-serif;
	line-height: 1.5;
	padding-bottom: 22px;
}

#contactTop p {
	line-height: 2;
}

#gs03 {
	position: absolute;
	right: -150px;
	bottom: 0px;
}

#contactForm {
	border: 5px solid #FFB404;
	background-color: #FFFFFF;
	border-radius: 20px;
	padding-top: 70px;
	padding-right: 110px;
	padding-bottom: 70px;
	padding-left: 110px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#ct_tit {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}

#ct_tit h2 {
	color: #E62FB0;
	font-size: 1.500em;
	font-family: "vdl-penletter", sans-serif;
	margin-right: 20px;
}

#contactForm h3 {
	margin-top: 15px;
	font-size: 1.500em;
	font-weight: bold;
	background-color: #FFB404;
	border-radius: 50px;
	padding-bottom: 3px;
	padding-top: 3px;
	margin-bottom: 35px;
}

#contactForm dl {
	display: flex;
	flex-wrap: wrap;
	text-align: left;
	margin-top: 45px;
}

#contactForm dl dt {
	width: 200px;
	margin-bottom: 28px;
		line-height: 2;
}

#contactForm dl dt span {
	color: #FC0303;
	padding-top: 10px;
	padding-bottom: 10px;
}

#contactForm dl dd {
	width: calc(100% - 200px);
	margin-bottom: 28px;
	line-height: 2;
}

#contactForm dl dd input {
	border: 1px solid #868A8B;
	border-radius: 5px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	width: 70%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#contactForm dl dd label {
	margin-right: 20px;
}

#contactForm dl dd textarea {
	border: 1px solid #868A8B;
	border-radius: 5px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#contactForm dl dd label input {
	width: auto;
}

#f_btn {
font-size: 1.438em;
    font-weight: bold;
    background-color: #F97AD3;
    border-radius: 12px;
    padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 20px;
    padding-left: 30px;
    margin-top: 15px;
    display: block;
    margin: 15px auto;
}

#f_btn:hover {
	background-color: #FFB404;
		-webkit-transition: 0.3s ease-in-out;
	   -moz-transition: 0.3s ease-in-out;
		 -o-transition: 0.3s ease-in-out;
		 	transition: 0.3s ease-in-out;
}

.tbbr {
	display: none;
}

#contactInfo {
	margin-top: 130px;
	border: 5px solid #00B900;
	border-radius: 24px;
	background-color: #FFFFFF;
	padding-top: 50px;
	padding-right: 50px;
	padding-bottom: 50px;
	padding-left: 50px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}

#ctInfo_img {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
	}
	
#contactInfo h2 {
	font-size: 2.188em;
	color: #00B900;
	font-family: "wanpaku-ruika", sans-serif;
	font-weight: 900;
	display: flex;
	justify-content: center;
	align-items: center;
		margin-top: 10px;
}

#contactInfo h2 img {
	margin-right: 25px;
}

#ctinfo_block {
	background-image: url(../images/ber.png);
	background-repeat: repeat-x;
	background-position: 0% top;
	padding-top: 40px;
	margin-top: 40px;
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
}

#ctinfo_block section {
	text-align: left;
}

#ctinfo_block figure {
	margin-right: 45px;
	margin-left: 45px;
	max-width: 199px;
	min-width: 199px;
width: 100%;
}

#ctinfo_block section h3 {
	color: #0C97CB;
	font-size: 1.563em;
	font-family: "vdl-penletter", sans-serif;
	line-height: 1.5;
	margin-bottom: 10px;
}

#ctinfo_block section p {
	padding-bottom: 40px;
}

#ctinfo_block section p:last-child {
	padding-bottom: 0px;
}

#contactInfo aside {
	margin-top: 23px;
	background-color: #D7ECB3;
	border-radius: 5px;
	padding-top: 12px;
	padding-right: 12px;
	padding-bottom: 12px;
	padding-left: 12px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#information {
	max-width: 1100px;
	width: calc(100% - 2em);
	margin-left: auto;
	margin-right: auto;
	position: relative;
	padding-bottom: 180px;
}

#information .t_deco {
	font-family: "Caveat", cursive;
	font-size: 6.438em;
	color: hsla(0,0%,79%,0.40);
	display: inline-block;         /* 必須：inline要素を回転可能にする */
	transform: rotate(-10deg);     /* −10度回転 */
	transform-origin: center;      /* 回転の基準点（必要に応じて調整） */
	/* 見た目を滑らかにする（オプション） */
	transition: transform 0.25s ease;
	-webkit-transform: rotate(-10deg); /* 古いブラウザ用のプレフィックス（任意） */
	position: absolute;
	top: 20px;
	left: 0px;
	line-height: 1.2;
}

#info_tit {
	display: inline-block;
	padding-left: auto;
	padding-right: auto;
	position: relative;
	padding-top: 100px;
}

#info_tit figure {
    position: absolute;
    right: 67px;
    top: 9px;
}

#info_block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row-reverse;
	margin-top: 30px;
}

#info_block figure {
max-width: 414px;
min-width: 414px;
width: 100%;
margin-left: 45px;
margin-right: 45px;
}

#info_block dl {
	flex: 1;
	text-align: left;
	display: flex;
	flex-wrap:wrap;
}

#info_block dl dt {
	width: 140px;
	border-bottom: 1px dotted #000000;
	margin-bottom: 38px;
	padding-bottom: 18px;
	font-size: 1.125em;
	color: #0C97CB;
	font-family: "vdl-penletter", sans-serif;
	line-height: 1.5;
}

#info_block dl dd {
width: calc(100% - 141px);
border-bottom: 1px dotted #000000;
	margin-bottom: 38px;
	padding-bottom: 18px;
}

#information ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 50px;
}

#information ul li {
	width: 23%;
	margin-bottom: 15px;
}

/* ゆらゆらアニメーション */
@keyframes sway {
  0% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
  100% { transform: rotate(-2deg); }
}

img.sway {
  animation: sway 1s infinite ease-in-out;
}

.grecaptcha-badge { visibility: hidden; }

p.reCAPTCHA {
	width: 100%;
    max-width: 400px;
    margin: 1em auto 1em;
	text-align: left;
    line-height: 1.6;
    font-size: 15px;
}

html {
  scroll-behavior: smooth;
}

/* ========== 基本（オーバーレイ＋開閉） ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;                 /* 初期は非表示 */
  align-items: center;           /* 中央寄せ */
  justify-content: center;       /* 中央寄せ */
  background: rgba(0,0,0,.5);    /* 半透明の背景 */
  padding: 16px;                 /* 端末が小さい時の余白 */
}

.modal.is-open { display: flex; } /* JSで .is-open を付与 */

/* ========== モーダル本体 ========== */
/* ダークモードでもモーダルは白に固定 */
.modal .modal-content{
  background:#fff !important;
  color:#222 !important;
}

/* もし前に @media (prefers-color-scheme: dark) を書いていれば無効化 */
@media (prefers-color-scheme: dark){
  .modal .modal-content{
    background:#fff !important;
    color:#222 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.08) !important;
  }
}

/* ブラウザの自動ダーク化（フォームUIなど）も抑制したい場合 */
.modal, .modal *{
  color-scheme: light;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 真ん中へ移動 */
  width: 80%;
  max-width: 720px;
  max-height: 85vh;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  text-align: left;
}
/* 文章エリアだけスクロール */
.modal-body {
  max-height: calc(85vh - 120px); /* タイトルや×ボタンの分を差し引く */
  overflow: auto;
  padding-right: 6px;             /* 余白（スクロールバー対策） */
}

/* ========== タイポグラフィ ========== */
.modal-content h2 {
  margin: 0 32px 6px 0;  /* 右に×ボタンの分の余白 */
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.4;
  letter-spacing: .02em;
  font-weight: 600;
}

.modal-content h3 {
  margin: 22px 0 8px;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.5;
  border-left: 4px solid #2e7d32;   /* 見出しのガイド */
  padding-left: 10px;
  font-weight: 600;
}

.modal-content h3:first-child {
  margin: 12px 0 8px;
}

.modal-content p {
  margin: 0 0 14px;
  text-align: justify;              /* 読みやすく整形（お好みで） */
  hyphens: auto;
}

/* ========== 閉じるボタン（×） ========== */
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: #222 !important;       /* 常に濃い文字色 */
  font-weight: 600;
  background: rgba(255,255,255,.8); /* 薄い白背景で視認性UP */
  transition: transform .12s ease, background-color .12s ease;
  user-select: none;
  text-shadow: 0 0 1px #fff;    /* 輪郭をつけて背景色に負けない */
  color-scheme: light;
}
.modal-close:hover,
.modal-close:focus {
  background: rgba(0,0,0,.06);
  transform: scale(1.05);
  outline: none;
}
.modal-close:active { transform: scale(.98); }

span#openPrivacy {
    text-decoration: underline;
}

span#openPrivacy:hover {
    text-decoration: none;
	color: #bbbbbb;
}
