
@charset "utf-8";


/* コロナウイルス対策
------------------------------------------------------------*/
.txt-big {
	font-family: "ＭＳ ゴシック", "MS Gothic", "Osaka－等幅", Osaka-mono, monospace;
	font-size: 1.1em;
	line-height: 1.2em;
	color: #06F;
}


h3.corona {
  position: relative;
  padding: .75em 1em .75em 1.5em;
  border: 1px solid #ccc;
}

h3.corona:after {
position: absolute;
  top: .5em;
  left: .5em;
  content: '';
  width: 6px;
  height: -webkit-calc(100% - 1em);
  height: calc(100% - 1em);
  background-color: #3498db;
  border-radius: 4px;
}


#midashi {
	font-family: "ＭＳ ゴシック", "MS Gothic", "Osaka－等幅", Osaka-mono, monospace;
	font-size: 1.2em;
	line-height: normal;
	font-weight: bold;
	color: #000;
	background-color: #FFFFE3;
	width: 100%;
	float: left;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #999;
	border-left-color: #000;
	position: relative;
	vertical-align: middle;
	padding-top: 5px;
	padding-right: 3px;
	padding-bottom: 5px;
	padding-left: 3px;
	margin-top: 15px;
	margin-right: 1px;
	margin-bottom: 10px;
	margin-left: 1px;
	clear: both;
}


p.pic {
	line-height: 1.6em;
}



.p-large {
	font-size: large;
	color: #06F;
}
.waku-corona {
	height: auto;
	width: 100%;
	background: red;
}


/* TOPページ さくら塾NEWS
------------------------------------------------------------*/
.sakura-news {
  font-size: 2.5rem;
  font-weight: bold;
  color: hotpink; 
  text-align: center;
  padding: 3px;
  margin: 20px auto;
background-image: url('https://www.sakura-juku.jp/images/header-haikei.jpg'); /* 背景画像を指定 */
  max-width: 100%;
}



hr.style1{
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #000000;
	margin: 4;
}


.newsbox {
    padding: 0.5em 1em;
    margin: 2em 0;
    background: #FFF;
    border: double 5px #00bfff;
    border-radius: 10px;
}

.goukaku-waku {
  padding: 20px;
  margin: 20px auto;
  border: 2px solid #d9a066; /* 木のフレームのような色合い */
  border-radius: 12px;
  background-color: #fffaf5; /* クリーム色で柔らかく */
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* ほんのり影を入れて浮かせる */
  max-width: 900px;
}

.goukaku-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #6b4c3b; /* コーヒーブラウン */
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 12px;
  font-family: 'Georgia', serif;
  letter-spacing: 0.05em;
}

.goukaku-highlight {
  font-size: 1.8rem;
  font-weight: 600;
  color: #8a5c3c; /* やや赤みのあるコーヒー色 */
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-style: italic;
}

.goukaku-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #4b3f36;
  background-color: #ffffff;
  padding: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
  white-space: pre-wrap;
  font-family: 'Yu Mincho', serif;
}


/* FAQページ
------------------------------------------------------------*/
.faq p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.faq[open] p {
    transform: none;
    opacity: 1;
}

.faq p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}



/* 見出しの指定はここから */
.midashi {
    position: relative;
    padding-left: 25px;
    border-bottom: 0px dotted #392ed6;
    color: #392ed6;
    font-size: 1.5em;
    margin-bottom: 15px;
    margin-top: 30px;
}

.midashi::before {
    content: "✔";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: pink; /* ピンク色を直接指定 */
}


/* 見出しの指定はここまで */



.container98 {
    padding: 5px;
}


.faq-explanation {
    font-size: 1.5em;
    line-height: 1.5;
    color: #000000;
    text-align: center;
    margin: 15px 0 10px 0; /* マージンの値に単位を追加 */
}

/* 画面幅が 768px 以下の場合にテキストサイズを調整 */
@media (max-width: 768px) {
    .faq-explanation {
        font-size: 1.1em; /* テキストサイズを調整 */
    }
}


/* FAQタイトル部分
------------------------------------------------------------*/


.faq-container {
    position: relative;
    display: inline-block;
    text-align: center;
}

.faq-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    margin: 0;
    font-size: 3.5em;
    color: #000000;
    background-color: transparent;
    text-align: center;
    line-height: 1.2;
	max-width: 90%; /* テキストの折り返し幅を指定 */
}

/* 画面幅が 768px 以下の場合にテキストサイズを調整 */
@media (max-width: 768px) {
    .faq-title {
        font-size: 1.8em; /* 例えば、小さなサイズに調整 */
    }
}







/* FAQ
------------------------------------------------------------*/
.qa-list dl {
    position: relative;
    margin: 0;
    padding: 28px 80px 28px 30px;
    cursor: pointer;
    border-bottom: 1px solid #000;
}
.qa-list dl:first-child {
    border-top: 1px solid #000;
}
.qa-list dl::before {
    position: absolute;
    top: 35px;
    right: 35px;
    display: block;
    width: 7px;
    height: 7px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    border-top: 2px solid #000;
    border-right: 2px solid #000;
}
.qa-list .open::before {
    transform: rotate(-45deg);
}
.qa-list dl dt {
    position: relative;
    margin: 0;
    padding: 0 0 0 50px;
    font-weight: bold;
    font-size: 20px;
}
.qa-list dl dt::before {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    content: 'Q.';
    color: #3285bf;
}
.qa-list dl dd::before {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 2px;
    display: block;
    content: 'A.';
    font-weight: bold;
    color: #ffb6c1;
}
.qa-list dl dd {
    position: relative;
    display: none;
    height: auto;
    margin: 20px 0 0;
    padding: 0 0 0 50px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}

@media screen and (max-width: 767px) {
.qa-list dl {
    position: relative;
    padding: 15px 40px 15px 10px;
}
.qa-list dl::before {
    top: 20px;
    right: 20px;
    width: 7px;
    height: 7px;
}
.qa-list dl dt {
    padding: 0 0 0 30px;
    font-size: 14px;
}
.qa-list dl dt::before {
    font-size: 14px;
    top: 3px;
    left: 5px;
    content: 'Q.';
}
.qa-list dl dd::before {
    font-size: 14px;
    top: 5px;
    left: 5px;
    content: 'A.';
}
.qa-list dl dd {
    margin: 10px 0 0;
    padding: 0 0 0 30px;
    font-size: 14px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}


	
	
	.sen {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sen::before,.title::after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #000066;
}
.sen::before {
    margin-right: 15px;
}
.sen::after {
    margin-left: 15px;
}

	

/* さくら塾の方程式のページ
------------------------------------------------------------*/
p.houteisiki {
  display: flex !important;
  align-items: center !important;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  font-size: 1.5em !important;
  font-weight: bold !important;
}

p.houteisiki::before,
p.houteisiki::after {
  content: "" !important;
  display: block !important;
  height: 1px !important;
  flex-grow: 1 !important;
  background-color: #666 !important;
}

p.houteisiki::before {
  margin-right: 1rem !important;
}

p.houteisiki::after {
  margin-left: 1rem !important;
}
	
	

	
/* 各季節講習共通設定
------------------------------------------------------------*/	
p.koushu {
  line-height: 1.5;
  padding-left: 5px;
  padding-right: 5px;
}
	
	
	
	
/* 夏期講習
------------------------------------------------------------*/
.head-border-kaki {
display: flex;
align-items: center;
margin-top: 20px;
margin-bottom: 10px;
font-size: 1.5em;
}
.head-border-kaki:before,
.head-border-kaki:after {
content: "";
height: 1px;
flex-grow: 1;
background-color: #666;
}
.head-border-kaki:before {
margin-right: 1rem;
}
.head-border-kaki:after {
margin-left: 1rem;
}

.f-kaki {
	font-size: 1.4em;
	color: #3366FF;
}
	

.kaki-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #3366FF;
  margin: 20px 0;
  border-bottom: 2px solid #3366FF; 
  display: inline-block;
  padding-bottom: 1px;
  transform: skewX(-10deg);
}

.kaki-text {
	color: #3366FF;
	font-size: 1.1em;
}

.kaki-font-kome {
	color: hotpink;
}

.red3-font {
	font-size: 1.4em;
	text-align:center;
	color: #FF3333;
}

