@charset "UTF-8";

:root {
	--font-sans-serif: 'メイリオ',  Meiryo, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	--color-ivory: #FCF5E5;
	--color-brown: #421500;
	--color-grass: #D0DA7A;
}

*, *::before, *::after{
	box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

html {
	font-size: 62.5%;
	overflow: inherit!important;
	background: var(--color-ivory);
}
body {
	font-family: var(--font-sans-serif);
	width: 100%;
	height: auto;
	position: relative;
	left: 0;
	top: 0;
	overflow: auto;
}

p {
	margin: 0;
	font-size: 1.8rem;
	line-height: 2.06;
	font-weight: 700;
}

ul, ol, li {
	list-style: none;
}

a {
	outline: none;
}
button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	-webkit-appearance: none;
		 -moz-appearance: none;
					appearance: none;
}
a,button {
	text-decoration: none;
	-webkit-transition: opacity .4s ease , color .4s ease , background-color .4s ease;
	transition: opacity .4s ease , color .4s ease , background-color .4s ease;
	color: #333;
}
a:hover, button:hover {
	opacity: 0.56;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
	vertical-align: middle;
}

/***************
   common
****************/
.kasteras_contents {
	position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
	text-align: center;
	color: var(--color-brown);
	font-size: 1.8rem;
	font-weight: 700;
}


.contents_wrapper {
	position: relative;
	max-width: 1360px;
	width: 94.44%;
	padding: 0;
    margin-right: auto;
    margin-left: auto;
}

.flex_base {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.flex_base.flex_wrap {
	flex-wrap: wrap;
}

h2.heading {
	line-height: 1.18;
	text-align: center;
	margin: 0 auto 5.6rem;
	color: var(--color-brown);
	font-size: 4rem;
	font-weight: 700;
}

.center {
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

.bold {
	font-weight: 700;
}

.attention_text {
	letter-spacing: -0.02em;
}

.sp_only {
	display: none;
}


@media screen and (min-width:768px) {
	body {
		min-width: 1440px;
	}
	.sp_only {
		display: none!important;
	}
}

@media screen and (max-width:768px) {
	html {
		font-size: 10px;
		font-size: 2.6vw;
	}

	p {
		font-size: 1.6rem;
		line-height: 2.26;
	}

	img {
		width: 100%;
	}


	#body_inner {
		width: 100%;
		min-width: 0px;
	}

    .sp_only {
        display: inline-block;
    }
    
    .pc_only {
        display: none!important;
    }

	.contents_wrapper {
		width: 100%;
		padding: 0 2.8vw;
		margin-right: auto;
		margin-left: auto;
	}

	h2.heading {
		margin: 0 auto 5rem;
		font-size: 3rem;
	}

	h2.heading img {
		height: 2.2rem;
		width: auto;
	}

	.attention_text {
		font-size: 1.2rem;
	}
}

/***************
   animation   
****************/
/***   fade_in   ***/
.js-rotate_fade_anime {
	opacity: 0;
	transform:rotateY(90deg);
}

.js-rotate_fade_anime.fade_in {
	animation-fill-mode: both;
    animation-duration: 1s;
    animation-name: fade_in;
}

@keyframes fade_in {
	0%{opacity:0;transform:rotateY(90deg);}
	100%{opacity:1;transform:rotateY(0deg);}
}



/***   rotate_huki   ***/
@keyframes rotate_huki {
	0% {
		transform: scale(1) rotate(0);
	}

	5% {
		transform: scale(var(--scale)) rotate(18deg);
	}
	10% {
		transform: scale(1) rotate(36deg);
	}
	15% {
		transform: scale(var(--scale)) rotate(54deg);
	}
	20% {
		transform: scale(1) rotate(72deg);
	}
	25% {
		transform: scale(var(--scale)) rotate(90deg);
	}
	30% {
		transform: scale(1) rotate(108deg);
	}
	35% {
		transform: scale(var(--scale)) rotate(126deg);
	}
	40% {
		transform: scale(1) rotate(144deg);
	}
	45% {
		transform: scale(var(--scale)) rotate(162deg);
	}
	50% {
		transform: scale(1) rotate(180deg);
	}
	55% {
		transform: scale(var(--scale)) rotate(198deg);
	}
	60% {
		transform: scale(1) rotate(216deg);
	}
	65% {
		transform: scale(var(--scale)) rotate(234deg);
	}
	70% {
		transform: scale(1) rotate(252deg);
	}
	75% {
		transform: scale(var(--scale)) rotate(270deg);
	}
	80% {
		transform: scale(1) rotate(288deg);
	}
	85% {
		transform: scale(var(--scale)) rotate(306deg);
	}
	90% {
		transform: scale(1) rotate(324deg);
	}
	95% {
		transform: scale(var(--scale)) rotate(342deg);
	}

	100% {
		transform: scale(1) rotate(360deg);
	}
}