@charset "utf-8";
/* ========== 全般設定 ========== */
 /*{
  outline: 1px solid red; 
}*/
html{
	scroll-behavior: smooth;
}

body{
	background: #FBFBF8;
	color: #3E5040;
	font-family: "Zen Kaku Gothic New", sans-serif;
 	font-weight: 400;
 	font-style: normal;
	font-size: 13px;
	width: 100%;
}

#main{
	margin-top: 10vh;
}

#main section,#main aside{
	margin: 75px auto;
}

#contents{
	margin: 0 4%;
}

.flex{
	display: flex;
	justify-content: center;
}

a{
	display: block;
}

a:hover{
	opacity: .75;
}

@media screen and (min-width: 768px){/* 全般設定 ===== */
	#main{
		width: 70%;
		margin: 10vh auto 0;
		font-size: 20px;
	}
	#main section,#main aside{
		margin: 100px auto;
	}
	#contents{
		margin: 0;
	}
}

/* ========== ヘッダー設定 ========== */
#header{
	height: 10vh;
	width: 100%;
	background: #fff;
	position: fixed;
	top: 0;
	z-index: 100;
	margin: 0;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}

.headerLogo{
	width: 175px;
	height: 46.25px;
	z-index: 110;
	margin-left: 4vw;
}

h1{
	margin: 0;
}

@media screen and (min-width: 768px){/* ヘッダー設定 ===== */
	#header{
		flex-direction: row;
	}
	
	#header a{
		width: 100%;
	}
	
	.headerLogo{
		margin-left: 15vw;
		width: 10vw;
		height: auto;
	}
}

/* ========== ナビゲーション設定 ========== */
#headerMenuMain,#headerMenuSub{
	padding: 0;
	margin: 0;
}

#headerMenu{
	/*display: none;*/
	background-color: rgba(255,255,255,.98);
	width: 80vw;
	height: 100vh;
	position: absolute;
	top: 10vh;
	right: 0;
	padding: 0;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

#headerMenu li{
	font-size: 20px;
	font-weight: 500;
	border-bottom: 1px solid #D0D0CC;
	align-items: center;
}

#headerMenu li a{
	width: 100%;
	height: 100%;
	color: #3E5040;
	justify-content: flex-start;
	align-items: center;
	padding: .8em 1em;
}

#headerMenuMain li:nth-child(1){
	border-top: 1px solid #D0D0CC;
}

#headerMenuMain li .menuIcon{
	display: block;
	width: 50px;
	height: 50px;
	margin-right: .8em;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#headerMenuMain li:nth-child(1) .menuIcon{
	background-image: url(../img/icon/iconAbout.svg);
}

#headerMenuMain li:nth-child(2) .menuIcon{
	background-image: url(../img/icon/iconPerson.svg);
	background-size: 75%;
}

#headerMenuMain li:nth-child(3) .menuIcon{
	background-image: url(../img/icon/iconFaq.svg);
	background-size: 80%;
}

#headerMenuMain li:nth-child(4) .menuIcon{
	background-image: url(../img/icon/iconContact.svg);
	background-size: 75%;
}

#headerMenuSub li a{
	padding-left: 2em;
}

#headerMenuSub li:nth-child(1),#headerMenuSub li:nth-child(2){
	font-size: 16px;
}
/*
#headerMenuSub{
	margin-top: 3em;
	border-bottom: none;
}

#headerMenuSub li:nth-child(3){
	margin-top: 2em;
}*/

#headerMenuSub li:nth-child(3),
#headerMenuSub li:nth-child(4),
#headerMenuSub li:nth-child(5),
#headerMenuSub li:nth-child(6){
	font-size: 14px;
	font-weight: 400;
}

#headerMenu.open{
 	transform: translateX(0);
}

/* ========== 展開時背景設定 ========== */
#overlay{
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	visibility: hidden;
	transition: 0.3s;
	z-index: 90;
}

#overlay.open{
	opacity: 1;
	visibility: visible;
}

@media screen and (min-width: 768px){/* ナビゲーション設定 ===== */
	#headerMenu{
		display: flex;
		align-items: center;
		height: 10vh;
		width: 50%;
		top: 0;
		margin-right: 15vw;
		transform: translateX(0);
	}
	
	#headerMenu li{
		display: block;
		padding: 0;
		align-items: center;
		font-size: 1.25vw;
		width: 100%;
		height: 100%;
		border: none;
	}
	
	#headerMenuMain li:nth-child(1){
		border-top: none;
	}
	
	#headerMenu li a{
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		transition: .3s;
	}
	
	#headerMenu li a:hover{
		opacity: 1;
		background-color: #52A886;
		color: #fff;
	}
	
	#headerMenuMain{
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin: 0;
	}
	
	#headerMenu li::before{
		display: none;
	}
	
	#headerMenuSub{
		display: none;
	}
	
	#headerMenu #headerMenuMain .menuIcon{
		display: none;
	}
}

/* ========== ハンバーガーアイコン ========== */
.hamburger{
 	position: relative;
 	width: 50px;
 	height: 50px;
	z-index: 110;
 	cursor: pointer;
	margin-right: 1vh;
}

.hamburger span{
 	position: absolute;
 	width: 30px;
 	height: 2px;
	background-color: #53523D;
	border-radius: 4px;
}

.hamburger, .hamburger span{
 	display: inline-block;
 	transition: all .25s;
}

.hamburger span:nth-of-type(1){
 	top: 15px;
	right: 15px;
}

.hamburger span:nth-of-type(2){
 	top: 25px;
	right: 15px;
}

.hamburger span:nth-of-type(3){
 	top: 35px;
	right: 15px;
}

/* ========== moving ========== */
.hamburger.open span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
  transform: translateY(10px) rotate(-45deg);
}
.hamburger.open span:nth-of-type(2) {
  opacity: 0;
}
.hamburger.open span:nth-of-type(3) {
  -webkit-transform: translateY(-10px) rotate(45deg);
  transform: translateY(-10px) rotate(45deg);
}

@media screen and (min-width: 768px){
	.hamburger{
		display: none;
	}
}

/* ========== キービジュアル設定 ========== */
#keyvsl{
	width: 100%;
	height: 65vh;
	overflow: hidden;
	background-image: url(../img/keyvsl.png);
	background-repeat: no-repeat;
	background-position: top 40% right -5vw;
	background-size: auto 75%;
}

#keyvsl #keyvslCopy{
	width: auto;
	position: relative;
	top: 45vh;
	left: 7vw;
	text-shadow: 0 0 5px #fff;
}

#keyvsl p:first-of-type{
	font-size: 24px;
	font-weight: 500;
	line-height: 130%;
}

#keyvsl p:last-of-type{
	padding-top:  5px;
}

@media screen and (min-width: 768px){/* キービジュアル設定 ===== */
	#keyvsl{
		height: 60vh;
		background-position: bottom 10% right 15%;
		background-size: 32% auto;
	}
	
	#keyvsl #keyvslCopy{
		top: 35vh;
		left: 3vw;
	}
	
	#keyvsl p:first-of-type{
		font-size: 2.08vw;
	}
}

/* ========== h2設定 ========== */
.majorHeading{
	background: #fff;
	font-size: 24px;
	font-weight: 500;
	padding: 15px;
	box-shadow: 2px 2px 0 #D0D0CC;
}

.subHeading{
	font-size: 20px;
	font-weight: 500;
	padding: 10px;
}


@media screen and (min-width: 768px){
	.majorHeading{
		font-size: 40px;
		margin-bottom: 40px;
		padding: 25px;
	}
	.subHeading{
		font-size: 50px;
		font-weight: 500;
		padding: 20px;
	}
}


/* ========== 「もっと見る」ボタン設定 ========== */
.viewmore{
	width: 100%;
	display: flex;
	justify-content: flex-end;
	margin-top: 25px;
	transition: .3s;
}

.viewmore a{
 	display: flex;
 	align-items: center;
 	position: relative;
 	text-decoration: none;
 	color: #3E5040;
	transition: .3s;
	padding: 5px 0 5px 5px;
}

.viewmore .main{
 	font-size: 16px;
 	font-weight: 500;
	border-bottom: 1px dotted #3E5040;
	position: relative;
	top: -1px;
}

.viewmore .sub{
	padding: 0 6px 0 4px;
	font-size: 11px;
}

.viewmore a::after{
	content: "";
	width: 30px;
	height: 30px;
	background-image: url(../img/viewmore.svg);
	background-size: contain;
	background-repeat: no-repeat;
	transition: .3s;
}

.viewmore a:hover{
	transform: scale(1.1);
	opacity: 1;
}

.viewmore a:hover::after{
	background-image: url(../img/viewmore_hover.svg);
	transform: scale(1.1);
}

@media screen and (min-width: 768px){/* 「もっと見る」ボタン設定 ===== */
	.viewmore .main{
 		font-size: 30px;
		position: relative;
		top: -3px;
	}

	.viewmore .sub{
		padding: 0 6px 0 4px;
		font-size: 20px;
	}
	
	.viewmore a::after{
		width: 60px;
		height: 60px;
	}
}

/* ========== 「お知らせ」設定 ========== */
#newslist{
	padding: 0;
	width: 100%;
}

#newslist li{
	width: 100%;
	border-bottom: 1px solid #D0D0CC;
}

#newslist li a{
	width: 100%;
	display: flex;
	align-items: center;
	padding: 15px 10px;
}

#newslist time{
	width: 25%;
	font-size: 12px;
}

#newslist .newsCategory{
	width: 20%;
	text-align: center;
	vertical-align: middle;
	color: #fff;
	font-size: 12px;
	margin: 0 10px;
}

#newslist .newsCategoryImportant{
	background-color: #C94242;
}

#newslist .newsCategoryNotice{
	background-color: #69786F;
}

#newslist .newsTitle{
	padding-left: 7px;
}

@media screen and (min-width: 768px){/* 「お知らせ」設定 ===== */
	#newslist time,#newslist .newsCategory{
		width: 12%;
		font-size: 17px;
	}
	#newslist .newsCategory{
		margin: 0 50px;
	}
}

/* ========== 「当相談室について」設定 ========== */
#about img{
	margin: 25px 0;
	width: 100%;
	height: auto;
	border-radius: 25px;
}

@media screen and (min-width: 768px){
	.aboutText{
		display: flex;
		justify-content: space-between;
		
	}
	
	.aboutText p{
		margin: 0;
		padding: 30px;
	}
	
	#about img{
		width: 48%;
		height: auto;
		aspect-ratio: 1;
		object-fit: cover;
		margin: 0 2% 0 0;
	}
}
/* ========== 「よくある質問」設定 ========== */

.faqAccordion .faqIcon{/* Q/Aアイコン設定 =====*/
	width: 15%;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

.faqAccordion .faqQ .faqQtext,
.faqAccordion .faqA .faqAtext{/* 質問文・回答文共通設定 =====*/
	display: block;
	width: 75%;
}

/* 質問文設定 ====================*/

.faqAccordion .faqQ{/* 質問文ボックス設定 =====*/
    align-items: center;
	justify-content: flex-start;
    /*position: relative;*/
    cursor: pointer;
    border-bottom: 1px solid #D1CECB;
	padding: 1.5em 0;
}

.faqAccordion:first-of-type{/* 最上段質問文位置調整 =====*/
	margin-top: 3px;
}

.faqAccordion .faqQ::-webkit-details-marker {
    display: none;
	transition: .3s;
}

.faqAccordion[open].faqAccordion .faqQ{/* 開けた時点線に =====*/
    border-bottom: 1px dotted #D1CECB;
}

/* +ICON設定 ==================== */
.faqAccordion summary::before,
.faqAccordion summary::after{
    content: '';
    width: 1.5px;
    height: 1em;
    position: absolute;
    background-color: #3e5040;
    right: 2.9em;
}

.faqAccordion summary::before{
    rotate: 90deg;
}

.faqAccordion summary::after{
    transition: rotate .2s;
}

.faqAccordion[open] summary::after{
    rotate: 90deg;
}

/* 回答文設定 ====================*/
.faqAccordion .faqA{
	justify-content: flex-start;
    margin: 0;
    padding: 1.5em 0 2.5em;
 	opacity: 0;
    /*transform: translateY(-10px);
   	transition: transform .5s, opacity .5s;*/
}

.faqAccordion .faqA .faqAtext{
	align-items: center;
}

#faq .faqAccordion a{/* アンカーリンクテキスト設定 =====*/
	display: inline;
	border-bottom: 1px solid #3E5040;
}

@keyframes faqAnime {/* アニメーション調整 =====*/
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.faqAccordion[open]>.faqA {
  	animation: faqAnime .5s ease forwards;
    border-bottom: 1px solid #D1CECB;
}
/*
.faqAccordion[open] .faqA{
	transform: translateY(0);
    opacity: 1;
}*/
@media screen and (min-width: 768px){
	.faqAccordion .faqIcon{/* Q/Aアイコン設定 =====*/
		/*width: 15%;*/
		font-size: 36px;
	}
	
	.faqAccordion summary::before,
	.faqAccordion summary::after{
		content: '';
		width: 2px;
		height: 1em;
		right: 20%;
	}
}


/* ==========「心理コラム」設定 ========== */
#psycolumn{
	width: 100%;
}

#psycolUl{
	display: flex;
	width: 80%;
	justify-content: space-between;
	margin: 20px auto;
	padding: 0;
}

#psycolumn .psycolLi{
	width: 40%;
	padding: 5px;
}


.psycolLiPic{
	width: 100%;
	aspect-ratio: 8 / 5;
	border-radius: 25px 25px 0 0;
	background-size: cover;
}

.psycolLiTexts{
	aspect-ratio: 8 / 5;
	padding: 5px;
	background-color: #fff;
	border-radius: 0 0 25px 25px;
}

.psycolLiTexts h3,.psycolLiMatext{
	display: -webkit-box;
  	-webkit-box-orient: vertical;
 	overflow: hidden;
}

.psycolLiTexts h3{
  	-webkit-line-clamp: 1;
}

.psycolLiMatext{ 
  	-webkit-line-clamp: 3;
}

.psycolLiRm{
	display: inline-block;
	/*width: 100%;
	text-align: end;*/
	border-bottom: 1px solid #3E5040;
}

.psycolLiPic01{
	background-image: url(../img/psycolLiPic01.jpg);
}

.psycolLiPic02{
	background-image: url(../img/psycolLiPic02.jpg);
}

.psycolLiPic03{
	background-image: url(../img/psycolLiPic03.jpg);
}

.psycolLiPic04{
	background-image: url(../img/psycolLiPic04.jpg);
}

@media screen and (min-width: 768px){
	#psycolumn .psycolLi{
		width: 40%;
		padding:  5px 15px;
	}
}

/* ========== フッター全般設定 ========== */
#footer{
	width: 100%;
}

/* ========== #info ========== */
#infoBox{
	align-items: center;
	margin: 0 4%;
	margin-bottom: 30px;
	justify-content: space-around;
}

.footerLogo{
	width: 175px;
	height: 47.21px;
}

.infoAddress{
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.infoAddress p{
	margin: 0;
}

@media screen and (min-width: 768px){
	#infoBox{
		width: 70%;
		height: auto;
		margin: 50px auto;
	}
	
	.footerLogo{
		width: 35%;
		height: auto;
	}
	
	.infoAddress{
		font-size: 20px;
	}
}
/* ========== MAP ========== */
#info iframe{
	width: 100%;
}
@media screen and (min-width: 768px){
	#info iframe{
		height: 500px;
	}
}

/* ========== #footerMenu ========== */
#footerMenu{
	margin: 0 4%;
}

#footerMenu li a{
	padding: 3px 0;
	cursor: pointer;
}

#fmmain,#fmsub{
	padding-left: 4%;
	flex-direction: column;
	align-items: flex-start;
}

#fmmain{
	font-size: 20px;
	font-weight: 500;
}

#fmmain li{
	display: inline-block;
	margin-bottom: 30px;
	border-bottom: 1px dotted #3E5040;
}

#fmsub{
	font-size: 14px;
}

#fmsub li{
	margin-bottom: 20px;
}

@media screen and (min-width: 768px){
	#footerMenu{
		width: 70%;
		margin: 50px auto;
	}
}

/* ========== copy ========== */
#attention{
	text-align: center;
	line-height: 100%;
	margin-top: 100px;
}

/* ============ TOPBTN ============ */
.pagetop img{
	width: 5vw;
	height: 5vw;
}

.pagetop{
	position: fixed;
    right: 5vw;
    bottom: 5vw;
	opacity: 0;
 	visibility: hidden;
	transition: .3s;
	display: none;
	filter: drop-shadow(3px 3px 0px #D1CECB);
}

.active{
 	opacity: 1;
 	visibility: visible;
}

@media screen and (min-width: 768px){/* TOPBTN ====== */
	.pagetop{
		display: block;
	}
	
	.pagetop:hover{
		transform: scale(1.1);
		opacity: 1;
	}

	.pagetop:active{
		transform: scale(1.1) translate(3px,3px);
		filter: drop-shadow(0px 0px 0px #D1CECB);
	}
}

/* ==========
↓↓ 下層ページ ↓↓ 
========== */
/* ========== 見出し設定 ========== */
.subHeading{
	font-size: 20px;
}

/* ========== ページ内リンクメニュー共通設定 ========== */
#anchorMenu ul{
	flex-direction: column;
}

#anchorMenu ul li{
	display: list-item;
	list-style-type: "・";
	margin: 5px 0;
}

#anchorMenu ul li a{
	display: inline-block;
	width: auto;
	border-bottom: 1px dotted #3E5040;
}

/* ========== 「当相談室について」 ========== */
#aboutPage #main,#counselorPage #main,#faqPage #main{
	margin-top: 20vh;
}

#aboutCslPic{
	width: 70%;
	height: auto;
	aspect-ratio: 10 / 7;
	margin: 0 auto;
	background-image: url(../img/aboutCsl.png);
	background-size: contain;
	background-repeat: no-repeat;
}

#flow a{
	display: inline-block;
	text-decoration: underline;
	cursor: pointer;
}

#flow a::after{
	content: '';
	display: inline-block;
	width: 1.2em;
	height: 1em;
	background-image: url(../img/icon/newtab.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

#fee th,#fee td{
	padding: 5px;
}

/* ==========  ========== */



/* ==========  ========== */



/* ==========  ========== */


/* ==========  ========== */



/* ==========  ========== */

