@charset "UTF-8";



/* 変数 */
:root {
	/* 色 */
	--primary: #2e5180;
	--black: #333333;
	--darkgray: #707f89;
	--gray: #cdd6dd;
	--lightgray: #eef4f8;
	--white: #ffffff;

	--secondary:#efb509;

	/* 左右の余白 */
	--side: 3vw;
}

/* サイズの基準 1rem = 100px とする */
:root {
	font-size: 100px;
}

/* テキストのBase Setting */


body {
	background-color: var(--gray);
	color: var(--black);
	font-size: 0.16rem;
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 1.8;
}

@media (min-width: 620px) and (max-width: 1240px) {
	.wrapper {
		max-width: 1240px;
	}

	:root {
		font-size: 8.1vw; /* 画面幅1240pxでの100Px*/
	}

}

@media (min-width: 1241px){
	:root{
		font-size: 100px
	}
}

/* Reset / Normalizatin　*/

body, h1, h2, h3, h4, h5, h6, figure, ul, p {
	padding: 0;
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

a:hover {
	opacity: 0.8;
}

.sr_only {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

header, main, section, aside, footer {
	background-color: var(--white);
}

/* サイトコンテンツの 最大幅 */

.wrapper {
	max-width: 1240px;
	margin: 0 auto;
}
/* コンテンツ間のマージン（スマホ用）*/

.contents_margin {
	margin-top: 0.16rem;
}

.contents_right_left_margin {
	margin-left: var(--side);
	margin-right: var(--side);
}




/*　HEADER
--------------------------------------------------------------　*/

.header {
	margin-top: 0;
}
.site_top {
	width: 100%;
	box-sizing: border-box;
	height: 0.7rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	
}

.site_logo {
	display: flex;
	align-items: center;
	padding-left: var(--side);
}

.logo_kaisho {
	max-width: 0.4rem;
	margin-right: 0.01rem;
}

.association {
	display: block;
	width: 2.4rem;
}

.asa_name {
	width: 100%;
	height: 0.48rem;
	margin-left: 0;
}

.asa_description {
	display: none;
}
/*
.asa_description {
	color: var(--primary);
	font-size: 0.12rem;
	line-height: 1;
	margin-left: 0.06rem;
}
*/



/* header right_side */

.top_right {
	display: flex;
	align-items: center;
	padding: 0;
	height: 100%;
	background-color: var(--primary);
}

.nav_box {
	width: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}


@media (min-width: 620px) {
	.contents_margin{
		margin-top: 0;
	}

	.site_top {
		height: 0.7rem;
	}

	.site_logo {
		width: 3.56rem;
		margin-left: 0;
	}

	.logo_kaisho {
		max-width: 0.6rem;

	}

	.top_right {
		display: none;
		/* height: 60%; */
	}


	.nav_box {
		display: none;
	}

	.association {
		width: 6rem;
	}

	.asa_description {
		font-size: 0.12rem;
		line-height: 1.4;
		margin-left: 0;
	}

	/*.top_campaign {
		
	} 

	.campaign_title {
		margin-top: 0.16rem;
		font-size: 0.16rem;
		text-align: center;
	}

	.campaign_title::before {
		content: '★';
		color: var(--white);
		display: inline-block;
		margin-right: 0.16rem;
	} */

}



@media (max-width: 619px)
{
	body {
		position: relative;
	}

	.header {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	
    }


    /* ナビゲーションボタン（ハンバーガーメニュー）*/
    .nav_button {
        box-sizing: content-box;
        padding: 0;
        outline: none;
        border: none;
        background: none;

        width: 20px;
        height: 14px;
        cursor: pointer;
        color: var(--white);
    }

    .nav_button::before, 
    .nav_button::after {
        content: '';
        display: block;
        height: 2px;
        background-color: var(--white);
        transform: translateY(5px);
        transition: 0.3s ease-in-out;
    }

    .nav_button::before {
        transform: translateY(-5px);
        box-shadow: 0 6px var(--white);
    }



	/* ナビゲーションボタン　：　閉じるボタン*/
	.open .nav_button {
		z-index: 1000;
	}

	.open .nav_button::before {
		transform: translateY(1px) rotate(45deg);
		box-shadow: none;
	}

	.open .nav_button::after {
		transform: translateY(-1px) rotate(-45deg);
	}

	/* ナビゲーションメニュー　：　開いた状態 */

	html.open , 
	.open body {
		height: 100%;
		overflow: hidden;
	}

	.open .header {
		position: relative;
		margin-bottom: -100px;
	}

	.open nav {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(0, 0, 0, 0.8);
		color: var(--white);
		z-index: 100;

		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.open nav ul {
		margin-bottom: 10vh;
	}

	.open nav li:not(:last-child) {
		margin-bottom: 0.2rem;
	}
}


/* ナビゲーションメニュー　：　閉じた状態 */

nav {
	width: 0;
	height: 0;
	position: absolute;
	left: 100%;
	overflow: hidden;
	color: transparent;
	transition: 0.5s ease-in-out;
}


/* グローバルナビゲーション / PC用*/
@media( min-width: 620px){

	.nav_button {
		display: none;
	}

	.global_nav {
		width: 100%;
		font-size: 0.14rem;

		position: relative;
		left: auto;
		width: auto;
		height: auto;

		border-top: var(--lightgray) 1px solid ;
	}
	.nav_list {
		display: grid;
		/*width: 100%;*/
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
		grid-template-rows: 0.6rem;
		gap: 0;
	}

	

	.nav_list a {
		display: flex;
		flex-direction: row;
	}

	


	.nav_inner {
		display: flex;
		list-style-type: none;
		border: 1px var(--lightgray) solid;
		text-align: center;
		align-items: center;
		justify-content: center;
		

		color: var(--black);
		font-size: 0.16rem;
	}
	.nav_inner a::before {
		margin-right: 0.06rem;
	}

	.list_concept a::before {
		width: 0.16rem;
		content: url(../pictures/pict_concept.svg);
		
	}

	.list_activity a::before {
		width: 0.16rem;
		content: url(../pictures/pict_activity.svg);
		
	}

	.list_therapy a::before {
		width: 0.16rem;
		content: url(../pictures/pict_insurance.svg);
		
	}

	.list_kyujitu a::before {
		width: 0.16rem;
		content: url(../pictures/pict_kyujitu.svg);
		
	}

	.list_event a::before {
		width: 0.16rem;
		content: url(../pictures/pict_event.svg);
	}

	.list_entrance a::before {
		width: 0.16rem;
		content: url(../pictures/pict_entrance.svg);
	}

}






/* MAIN コンテンツ
--------------------------------------------------------------　*/

/* ヒーロー */
.hero {
	height: 400px;
	background-image: url(img/activity_top.jpg);
	background-position: center;
	background-size: cover;
	display: flex;
}

.hero .catch {
	flex: auto;
	align-self: flex-end;
	padding: 33px 0;
	background-color: rgba(255,255,255,0.76);
}

.hero .container {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	line-height: 1.3;
}

.hero img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

.hero h1 {
	color: var(--primary);
}

.hero p {
	font-size: 14px;
	color: var(--primary);
	margin-bottom: 15px;
}

@media (min-width: 900px) {
	.hero {
		height: 700px;
	}

	.hero .catch {
		padding: 47px 0 44px;
	}

	.hero p {
		font-size: 16px;
		margin-bottom: 22px;
	}
}





/* メッセージ */
.message {
	padding: 67px var(--side);
	background-color: var(--primary);
	color: var(--white);
}

.message h2 {
	margin-bottom: 38px;
	font-size: 24px;
	line-height: 1.67;
	text-align: center;
}

.message p {
	max-width: 640px;
	margin: auto;
	font-size: 14px;
	line-height: 1.86;
}

@media (min-width: 900px) {
	.message {
		padding: 81px 0;
	}

	.message h2 {
		font-size: 36px;
		line-height: 1.33;
	}
}

@media (max-width: 374px) {
	.message h2 {
		font-size: 20px;
	}
}


/* 主な活動内容 */
.service {
	padding: 67px 0;
	text-align: center;
}

.service h2 {
	display: inline-block;
	margin-bottom: 16px;
	padding-bottom: 9px;
	border-bottom: dotted 2px currentColor;
	font-size: 24px;
	color: var(--primary);
}

.service h2 + p {
	color: var(--primary);
	font-size: 16px;
}

@media (min-width: 900px) {
	.service {
		padding: 95px 0 87px;
	}

	.service h2 {
		font-size: 36px;
	}
}


/* サービス： サービスの詳細 */
.details {
	margin-top: 53px;
	color: var(--black);
}

.detail:not(:last-child) {
	margin-bottom: 67px;
}

.detail h3 {
	margin-bottom: 17px;
	font-size: 20px;
	line-height: 1.75;
}

.detail p {
	max-width: 264px;
	margin: 0 auto 25px;
	font-size: 12px;
	line-height: 2;
}

.detail figure {
	height: 246px;
	margin-bottom: 22px;
	background-position: center;
	background-size: cover;
}
.detail.rescue figure {
	background-image: url(img/kyugo.jpg);
}
.detail.judo figure {
	background-image: url(img/judo.jpg);
}
.detail.taisou figure {
	background-image: url(img/taisou.jpg);
}

@media (min-width: 900px) {
	.details {
		display: flex;
		margin-top: 75px;
	}

	.detail {
		flex: 1;
		margin-right: 3.22%;
	}

	.detail:first-child {
		margin-left: 3.22%;
	}

	.detail:not(:last-child) {
		margin-bottom: 0;
	}

	.detail h3 {
		margin-bottom: 26px;
		font-size: 30px;
		line-height: 1.4;
	}

	.detail p {
		width: 78%;
		max-width: none;
	}

	.detail figure {
		height: 360px;
		margin-bottom: 33px;
	}

	/* ボタンの位置を揃える */
	.detail {
		display: flex;
		flex-direction: column;
	}

	.detail .btn {
		margin-top: auto;
	}
}

/* ボタン */
.btn {
	display: block;
	width: 208px;
	margin: 0 auto;
	padding: 11px 11px 13px;
	box-sizing: border-box;
	border: solid 2px currentColor;
	border-radius: 24px;
	color: var(--primary);
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

/* お問い合わせ */
.contact {
	padding: 62px var(--side);
	background-color: #EEF4F8;
	color: var(--black);
}

.contact h2 {
	margin-bottom: 42px;
	font-size: 24px;
}

.contact h2 + p {
	font-size: 12px;
	line-height: 2.17;
}

@media (min-width: 900px) {
	.contact {
		padding: 0;
		background: none;
	}

	.contact .container {
		display: flex;
		justify-content: space-between;
		margin-top: 0.36rem;
		padding: 96px 9% 62px;
		box-sizing: border-box;
		background-color: var(--lightgray);
	}

	.contact .text {
		flex: 0 0 auto;
	}

	.contact .form {
		flex: 1 1 auto;
		max-width: 457px;
		margin-left: 1em;
		margin-top: 0;
	}

	.question_title {
		font-size: 36px;
	}

	.contact h2 + p {
		font-size: 14px;
		line-height: 1.86;
	}
}

/* お問い合わせ：フォーム */





/* FOOTER 
------------------------------------------*/

.footer {
	display: flex;
	flex-direction: column;
	justify-content: space-between;

	margin-top: var(--side);
	height:3.4rem;

	background-color: var(--black);
	color: var(--white);
	font-size: 0.10rem;
}

.ft_association_name {
	padding: 0.16rem var(--side);
	background-color: var(--darkgray);
	display: flex;
	flex-direction: column;
	
	align-items: center;
	justify-items: center;
	text-align: center;
}


.ft_association_text {
	font-size: 0.12rem;
}

.ft_association_name p {
	font-size: 0.08rem;
}

.footer_logo {
	justify-items: center;
	align-items: center;
}

.footer_logo img {
	margin: auto 0;
	width: 0.4rem;
}


.footer_logo{
	display: none;
}

.footer_contents {
	display: grid;
	grid-template-columns:1fr 1fr 1fr 1fr;
	column-gap: 0.1rem;
	justify-items: center;
}

.footer_contents li::before {
	content: '◆';
	margin-right: 0.01rem;
}

.ft_contents_title {
	color: var(--gray);
	font-size: 0.11rem;
	letter-spacing: 0.03rem;
}

.ft_contents_title::after {
	content: '';
	display: block;
	width: 0.96rem; /* */
	height: 1px;
	margin-top: 0.02rem;
	margin-bottom: 0.04rem;
	background-color: var(--darkgray);
}

.copyright {
	text-align: right;

	padding-top: 0.06rem;
	padding-bottom: 0.06rem;
	border-top: var(--darkgray) 1px solid;
}

/*　iphone8,se,小型スマホ用　*/
@media (max-width: 499px){

	footer {
		display:block;
	}

	.ft_association_name {
		height: 0.8rem;
	}

	.footer_contents {
		display: grid;
		grid-template-rows: 1fr 1fr;
		grid-template-columns: 1fr 1fr;
		gap: 0.16rem;
		margin-top: 0.16rem;
	}

	.copyright {
		text-align: center;
	}

}

/*　PC,tablet　*/
@media (min-width: 620px) {
	.footer {
		font-size: 0.11rem;
	}

	.ft_association_name {
		padding: 0.16rem var(--side);
		background-color: var(--darkgray);
	}
	.ft_association_name {
		text-align: left;
	}
	
	.ft_association_name p {
		display: none;
	}

	.footer_logo {
		display: block;
		font-size: 0.08rem;
	}

	

	.footer_contents {
		grid-template-columns: 1.8rem 1fr 1fr 1fr 1fr;
		justify-content: flex-start;
	}

	.footer_logo img {
		width: 0.4rem;
	}

	.ft_contents_title {
		font-size: 0.12rem;
		letter-spacing: 0.03rem;
	}

	.footer_contents li::before {
		margin-right: 0.03rem;
	}
}


/* フェードイン */
body {
	animation: fade 5s;
}
 
@keyframes fade {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}





