@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/


/*======= 共通 ======*/

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}


/*タイトル(共通)*/
.spot-heading01{
	font-size: clamp(40px,6vw,70px);
	/* font-style: italic; */
	text-align: center;
	/* font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif; */
	font-family: "Dancing Script", cursive;
  	font-weight: 400;
	color:#2d2d2d;
}
.spot-heading01::first-letter {
	color: var(--main-color)
  }

  .spot-heading02-img {
	width: 50%;
    margin: 5px auto 0 auto;
  }

.spot-heading02{
	font-size: clamp(24px, 2.7vw, 28px);
    line-height: 1.5em;
    font-weight: 700;
    text-align: center;
    min-height: 0vw;
    color: #444;
	padding-bottom: 0.5em;
	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 500;
	font-style: normal;
}
.spot-heading02+p{
    margin-top: 0.5em;
    margin-bottom: 1.5em;
    font-size: 15px;
    inline-size: fit-content;
    margin-inline: auto;
}
.line{
	width: 1px;
	height: auto;
	padding-top: clamp(20px,6vw,30px);
	background-color: #2d2d2d;
	margin: 0% auto;
	margin-bottom: 2%;
}
.line2{
	width: 1px;
	height: auto;
	padding-top: 5.8%;
	background-color: #FFF;
	margin: 1.9607% auto;
}
  
/*======= FONT ======*/
/*英字*/
.heading06::before 
 {
    font-family: "Comic Neue", cursive;
    font-weight: 700;
	font-style: normal;
	z-index: -1;
}

.heading,
.heading14::before,
.heading-decoration_c + p,
.heading-decoration + p,
.heading-decoration_nl + p,
.heading-decoration_lg + p
 {
    font-family: "Comic Neue", cursive;
    font-weight: 700;
	font-style: normal;
}

/*日本語*/
@media (min-width: 569px) {
    .nav ul {
        font-family: "Zen Kaku Gothic New", serif;
        font-weight: 500 !important;
        font-style: normal;
    }
}

@media (max-width: 568px) {
    .nav ul {
        font-family: "Zen Kaku Gothic New", serif;
        font-weight: 500 !important;
        font-style: normal;
    }
}

.heading06,
.heading span,
.spot-heading02,
.heading-decoration,
.flow01 > li dl dt,
.greeting-card__item H4,
.sec1-card__item H4,
.heading-decoration2,
.sec2__title ,
.sec2__catch01,
.sec2__subtitle,
.heading-decoration_nl,
.heading-decoration_c,
.heading-decoration_lg,
.card__item H4
 {
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 500;
    font-style: normal;
}



/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	/* padding: clamp(40px, 6vw, 90px) 0 var(--v-space) ; 初期値 BNRsectionがないときはこちら*/
	padding: clamp(40px, 6vw, 90px) 0 0 ;
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}

p.grp{
	font-size: clamp(13px, 1.3vw, 14px);
	line-height: 1.3;
	margin: 0 auto;
	width: fit-content;
	color: #666;
}

/*カード*/
.greeting-card__item{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 30px 5px 50px 5px;
    align-items: stretch;
}
@media only screen and (max-width: 968px) {
	.greeting-card__item{
		display: grid;
		gap:20px;
		grid-template-columns: repeat(3, 1fr);
		margin: 30px 30px 50px 30px;
		align-items: stretch; /* 追加 */
	}
}
@media only screen and (max-width: 568px) {
	.greeting-card__item{
		display: grid;
		gap:20px;
		grid-template-columns: repeat(2, 1fr);
		margin: 30px 0 50px 0;
		align-items: stretch; /* 追加 */
	}
}

.greeting-card__item div{
	display: flex;
	flex-direction: column; /* 追加 */
}

.greeting-card__item H4{
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
    text-align: center;
    min-height: 30px;
    color: var(--accent-color2);
}

.greeting-card__item p {
	font-size: 15px;
	line-height: 1.5;
	text-align: justify;
	padding: 20px 20px 15px 20px;
	min-height: 60px; /* 目安の高さを指定 */
}


/*======= BNR section ======*/

.bnr_sec1 {
	padding: var(--v-space) 0 var(--v-space);
	position: relative;
	z-index: 1;
    background-color: var(--accent-color1);
}
.bnr_sec1::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 100%;
	height: 60px;
	background-color: var(--base-color);
	clip-path: polygon(0 0, 50% 100%, 100% 0); /* ▼ 谷型 */
	z-index: 2; /* 上にかぶせる */
}

/*TELバナー*/
.tel_bnr{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	padding: 30px 0 20px 0;
}
@media (max-width: 568px) {
	.tel_bnr{
		grid-template-columns: repeat(1, 1fr);
	}
}

/*======= コンテンツ ======*/


/*======= FEATURE ======*/
/*section1*/
.sec1 {
    padding: var(--v-space) 0;
    background-position: bottom;
    background-color: #f7f7f7;
    background-image: repeating-linear-gradient(0deg, #e6e6e6 0, #e6e6e6 1px, transparent 1px, transparent 10px), repeating-linear-gradient(90deg, #e6e6e6 0, #e6e6e6 1px, transparent 1px, transparent 10px);
    background-size: 10px 10px;
}



/*カード*/
.card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:20px;
}
@media only screen and (max-width: 968px) {
	.card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.card__item div.kakomi{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

    background-color: #fff;
	border-radius: 10px;
	box-sizing: border-box;
	z-index: 1;

    /*border: solid 1.5px var(--main-color);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15); 濃い目の影*/
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1); /*薄めの影*/
}
.card__item div.cardtext {
    padding: 0 20px;
}
.card__item H4{
    padding: 5px 0 20px 0;
    font-size: clamp(18px, 1.8vw, 19px);
    line-height: 1.5;
    text-align: center;
    border-bottom: 2px dotted var(--main-color);
    letter-spacing: 0.05em;
}
.card__item p{
	display: inline-block;
    font-size: 15px;
    line-height: 1.5;
    text-align: justify;
    padding: 20px 0 5px 0;
}
.card__item img {
	border-radius: 10px 10px 0 0;
	z-index: 0;  /* 画像は背面に */
}


/*======= TRANS ======*/
/*section2*/
.sec2 {
	padding: var(--v-space) 0;
    background-color: var(--accent-color1);
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

/* テーブル全体 */
.table-pickup table {
	border-collapse: separate;
	border-spacing: 0 10px;
	width: 100%;
	box-sizing: border-box;
}

.table-pickup tr {
	display: flex;
	flex-wrap: wrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
	overflow: hidden;
	background-color: #fff;
	margin: 8px 0; /* 上下余白 */
    border: 1.5px solid var(--main-color);
}

/* 最後の行は下余白なし */
.table-pickup tr:last-child {
	margin-bottom: 0;
}

.table-pickup th {
	display: flex;
	align-items: center;
	gap: 8px;
    background-color: var(--accent-color1);
	color: #444;
    text-align: center;
	padding: 12px 20px;
	width: 125px; /* PC時のみ幅固定 */
	font-weight: bold;
	line-height: 1.6;
	box-sizing: border-box;
}

.th-icon {
	flex-shrink: 0;
	font-size: 1.2em;
}
.th-text {
	flex: 1;
	min-width: 0;
	overflow-wrap: break-word;
	line-height: 1.4;
}

.table-pickup td {
	flex: 1;
	padding: 12px 20px;
	color: #333;
	line-height: 1.6;
	box-sizing: border-box;
}

.table-pickup-note {
	font-size: 0.9em;
	color: #666;
	margin: 0.3em 0 0;
}
table td[colspan="2"] {
	padding: 0.5em;
}
.lesson-note {
	padding: 0;
	margin: 0;
	line-height: 1.2;
}

/*
@media (min-width: 768px) and (max-width: 958px) {
	.table-pickup tr {
		flex-direction: column;
	}
	.table-pickup th {
		width: 100%;
		border-radius: 8px 8px 0 0;
	}
	.table-pickup td {
		width: 100%;
		border-radius: 0 0 8px 8px;
	}
}*/

@media screen and (min-width: 569px) and (max-width: 868px) {
	.table-pickup td {
		width: 65%;
	}
}

/*全幅の時のサイズ*/
	.table-wide {
		width: 80%;
		margin-right: auto;
		margin-left: auto;
	}
	.table-pickup th.wide {
		width: 200px;
	}
@media (max-width: 1168px) {
	.table-wide {
		width: 85%;
	}
}
@media (max-width: 968px) {
	.table-wide {
		width: 90%;
	}
	.table-wide-tab {
		width: 80%;
	}
	.table-pickup th.wide {
		width: 200px;
	}
}
@media (max-width: 768px) {
	.table-wide {
		width: 100%;
	}
	.table-pickup th.wide {
        width: 120px;
	}
	.table-pickup table {
		font-size: 0.9em;
	}
}

/*狭いの時のサイズ*/
	.table-short {
		width: 50%;
		margin-right: auto;
		margin-left: auto;
	}
@media (max-width: 1168px) {
	.table-short {
		width: 65%;
	}
}
@media (max-width: 968px) {
	.table-short {
		width: 70%;
	}
}
@media (max-width: 768px) {
	.table-short {
		width: 100%;
	}
}

/*======= SITTING ======*/

/*section3*/
.sec3 {
	padding: var(--v-space) 0;
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
    background-color: #f7f7f7;
    background-image: repeating-linear-gradient(0deg, #e6e6e6 0, #e6e6e6 1px, transparent 1px, transparent 10px), repeating-linear-gradient(90deg, #e6e6e6 0, #e6e6e6 1px, transparent 1px, transparent 10px);
    background-size: 10px 10px;
}

/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;
	position: relative;
	z-index: 1;
}

.faq2 {
	/*display: flex;*/
	flex-direction: column;
	gap: 10px;
}

.faqItem {
	display: grid;
	grid-template-columns: 2em 1fr;
	align-items: flex-start;
    column-gap: 0;
}

.faqItem .label {
	font-weight: bold;
	color: var(--main-color);
	font-size: 130%;
	line-height: 1.4;
}

.faqItem .labelA {
	font-weight: bold;
	color: var(--accent-color3);
	font-size: 130%;
	line-height: 1.4;
}

.faq2 p {
	margin-top: 5px;
	line-height: 1.5;
    letter-spacing: 0.06em;
	text-align: left;
	display: block;
}

.faq2 p.b {
	font-weight: bold;
	color: #444;
}

hr.faqHr {
	height: 0px;
	border: 1px dashed var(--accent-color3);
	margin: 20px auto;
}


/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_01.png);
	background-size:cover;
	background-position: bottom;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}


/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
    border-bottom: 1px dashed var(--accent-color3);
	padding: 5px;
	width: 5.25em;
	line-height: 1.5;
    letter-spacing: 0.06em;
}
.info2 {
    border-bottom: 1px dashed var(--accent-color3);
	padding: 5px;
	width: 400px;
    line-height: 1.5;
    letter-spacing: 0.06em;
}
@media screen and (max-width: 568px) {
	.info1 {
		display: block;
		padding: 8px 2px 2px 2px;
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0);
	}
	.info2 {
		display: block;
		padding: 2px;
		width: 99%;
	}
}

.info-sec1-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px 5px;
}

@media (min-width: 568px) {
	.info-sec1-container {
		grid-template-columns: repeat(6, 1fr);
	}
}

/*会社概要*/
.bg_b{
	background: rgba(255, 255, 255, 0.9);
	padding:40px;
	border-radius: 20px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}


/*info 写真*/
.info__item {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media only screen and (max-width: 768px) {
	.info__item {
		grid-template-columns: 1fr;
	}
}

.info-img {
	text-align: center;
	margin: 0;
}

.info-img img {
	width: 100%;
	height: auto;
	display: block;
}

.info-img figcaption {
	font-size: 0.85rem;
	color: #555;
	margin-top: 8px;
}



/*写真入りレイアウト*/
	.company-info-wrapper {
		display: grid;
		grid-template-columns: 3fr 2fr;	/* PC幅：表3・写真2の割合で横並び */
		gap: 20px;
		align-items: start;
	}

	.company-info-table {
		width: 100%;
		border-collapse: collapse;
	}

	.company-photo {
		width: 100%;
		max-width: 400px;
		height: auto;
	}

	@media screen and (max-width: 868px) {
		.company-info-wrapper {
			grid-template-columns: 1fr;	/* スマホ・タブレットでは縦並び */
		}
		.company-photo {
			margin-top: 20px;	/* 表と画像の間に余白を追加 */
		}
	}


/*======= ACCESS アクセス ======*/

.access_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}



/*======= リスト ======*/
@media (max-width: 1024px) {
	ul.sidelist2 li {
		font-size: 13px;
		padding: 5px 4px;
	}
}

ul.sidelist2 li {
    box-sizing: border-box;
    list-style-type: none;
    float: left;
    --widthA: calc(100% - 10px);
    --widthB: calc(var(--widthA) / 2);
    width: var(--widthB);
    margin: 2.5px 5px 2.5px 0;
    text-align: left;
    text-decoration: none;
    font-size: 15px;
    padding: 5px;
	color: --txt-color;
    border: dashed 1px var(--main-color);
    background: #fff;
}

 .mb-20 {
	margin-bottom: 20px !important;
 }

 .cleafix {
	content: '';
    display: block;
    clear: both;
    padding-top: 20px;
 }


/*======= 電話 ======*/
 .sec3-heading {
    display: flex
;
    justify-content: center;
    align-items: center;
    font-size: clamp(14px, 1vw, 18px);
    text-align: center;
    border: 0;
    color: var(--txt-color);
    margin: 10px;
}

.sec3-heading::before {
    margin-right: 30px;
    transform: rotate(-35deg);
    content: '';
    width: 1px;
    height: 40px;
    background-color: var(--main-color);
}

.sec3-heading::after {
    margin-left: 30px;
    transform: rotate(35deg);
    content: '';
    width: 1px;
    height: 40px;
    background-color: var(--main-color);
}

a.btn_01 {
    display: block;
    text-align: center;
    text-decoration: none;
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 1rem 1rem;
    font-size: small;
    color: var(--base-color);
    background: var(--accent-color1);
    transition: 0.3s ease-in-out;
}

a.btn_01::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 1px solid var(--accent-color2);
    transition: 0.2s;
}
@media (max-width: 865px) {
	a.btn_01 {
		width: 70%;
	}
}
@media (max-width: 568px) {
	a.btn_01 {
		width: 90%;
	}
}

/*======= 調整 ======*/
.l-c {
    margin-right: auto;
    margin-left: auto;
}

.img-waku {
	border: 1px solid var(--main-color);
}

.img-shadow {
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

.img-round {
	border-radius: 25px;
}

.bg_w {
	background: rgba(255, 255, 255, 0.9);
}