@charset "UTF-8";

:root {
	--primary-color: #6eba3c;
	--primary-white: #ffffff;
	--text--darkgray: #505050;
	--text--black: #000;
	--title--color: #0b8315;
	--bg--color: #fffdf8;
	--btn--color: #663399;
	--color--pink: #ea5098;
	--colorbluegreen: #006d8b;
	--s--color: #0074be;
	--wrap--margin: 24px 8px;
	--wrap--padding: 16px 8px;
	--description--text: clamp(8px, 0.875rem, 15px);
	--lineheight--text: 1.2;
}

/***********************************************************
 CDN
 ************************************************************/

.shippori-mincho-b1-regular {
	font-family: "Shippori Mincho B1", serif;
	font-weight: 400;
	font-style: normal;
}

.sawarabi-mincho-regular {
	font-family: "Sawarabi Mincho", serif;
	font-weight: 400;
	font-style: normal;
}
.montserrat-jp {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.noto-sans-jp-lp {
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.body {
	max-width: 2560px;
	margin: 0 auto;
	color: var(--text--darkgray);
}

.splideone {
	display: none;
}
.pillow_gr {
	display: inline-block;
	background-color: var(--primary-white);
	color: var(--text--darkgray);
	padding: 3px;
	width: fit-content;
	font-size: 15px;
	margin-left: 5px;
	margin-right: 5px;
	vertical-align: bottom;
	text-align: center;
}
.pillow_w {
	display: inline-block;
	background-color: var(--primary-white);
	color: var(--title--color);
	padding: 3px 8px;
	width: fit-content;
	font-size: 15px;
	font-weight: 500;
	margin-right: 5px;
	vertical-align: bottom;
	text-align: center;
}
/***********************************************************
 ALL 
 ************************************************************/

/* * {
	border: red 1px solid;
} */
html {
	scroll-behavior: smooth;
	position: relative;
}
img {
	width: 100%;
}
.note {
	font-size: 11px;
	margin: 16px 0px 0;
}

/***********************************************************
 header 
 ************************************************************/
header {
	width: 100vw;
	position: fixed;
	background: var(--bg--color);
	z-index: 1000;
	margin-top: -70px;
}
.header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--bg--color);
	margin: auto 40px;
	height: 70px;
}

.header__icon {
	display: block;
	width: 160px;
	margin: 10px;
}
/***********************************************************
 hamburger
 ************************************************************/
.hamburger {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 100;
	width: 48px;
	height: 48px;
	border: none;
	background: transparent;
	cursor: pointer;
}

.nav__list {
	display: flex;
	justify-content: center;
	align-items: center;
}
.nav__list li {
	width: 150px;
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
.nav__list li:last-child {
	background-color: var(--btn--color);
}
.nav__list li a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: var(--s--color);
	font-weight: 500;
	justify-content: center;
	height: 100%;
	width: 100%;
	transition: 0.5s;
}
.nav__list li:last-child a {
	color: var(--primary-white);
}
.nav__list li a span {
	color: var(--text--darkgray);
	font-size: 0.8rem;
	transition: 0.5s;
}
.nav__list li:last-child a span {
	color: var(--primary-white);
}

@media (max-width: 1200px) and (min-width: 960px) {
	.hamburger {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 100;
		width: 48px;
		height: 48px;
		border: none;
		background: transparent;
		cursor: pointer;
	}

	.hamburger__line {
		position: absolute;
		left: auto;
		width: 26px;
		height: 2px;
		background-color: #333;
		transition: all 0.4s;
	}

	.hamburger__line:nth-of-type(1) {
		top: 14px;
	}
	.hamburger__line:nth-of-type(2) {
		top: 23px;
	}
	.hamburger__line:nth-of-type(3) {
		top: 32px;
	}

	/* メニューオープン時 */
	.hamburger.active .hamburger__line:nth-of-type(1) {
		transform: translateY(9px) rotate(-45deg);
	}
	.hamburger.active .hamburger__line:nth-of-type(2) {
		opacity: 0;
	}
	.hamburger.active .hamburger__line:nth-of-type(3) {
		transform: translateY(-9px) rotate(45deg);
	}

	.nav {
		position: fixed;
		top: 0;
		left: 0;
		width: auto;
		height: 100vh;
		background-color: rgba(255, 255, 255, 0.95);
		box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
		transform: translateX(-100%);
		transition: transform 0.4s;
		z-index: 90;
	}

	.nav.active {
		transform: translateX(0);
	}

	.nav__list {
		display: block;
		margin: 0;
		padding: 100px 0 0;
		list-style: none;
	}
	.nav__list li {
		width: auto;
	}

	.nav__item {
		padding: 0 20px;
	}

	.nav__link {
		display: block;
		padding: 15px 0;
		color: #333;
		text-decoration: none;
		border-bottom: 1px solid #eee;
	}
}
.topicpath {
	font-size: var(--description--text);
	position: absolute;
	right: 0;
	bottom: 0;
}
.topicpath__list {
	display: flex;
	margin: 8px 0;
}
.topicpath__list li {
	margin: 0 8px;
	font-size: 10px;

	color: var(--text--black);
}
.nav__list li:hover {
	background: var(--s--color);
	transition: 0.5s;
}
.nav__list li:hover a {
	color: var(--primary-white);
}
.nav__list li:hover a span {
	color: var(--bg--color);
}

.wave {
	position: absolute;
	top: 70px;
	z-index: -1;
}
.wave2 {
	position: absolute;
	top: 150px;
	z-index: -2;
}
/***********************************************************
 cvbutton
 ************************************************************/
.cv__wrap {
	text-align: center;
	padding: var(--wrap--padding);
}
.cv__img {
	max-width: 500px;
	text-align: center;
	margin: 0 auto;
}
.btn__wrap {
	display: block;
	padding: 20px 10px;
	background-color: var(--btn--color);
	cursor: pointer;
	color: var(--primary-white);
	font-weight: 500;
	width: 500px;
	margin: 0 auto;
	text-align: center;
	max-width: 550px;
	transition: 1s;
}
.btn__wrap:hover {
	opacity: 0.7;
}
.btn__text {
	color: var(--primary-white);
}
/***********************************************************
 article 
 ************************************************************/

article {
}
.snap__container {
	scroll-snap-type: y mandatory;
	overflow: scroll;
	height: 100vh;
}
.snap__section {
	scroll-snap-align: start;
	height: 100vh;
}

/***********************************************************
 firstView 
 ************************************************************/
.firstView__wrap {
	display: flex;
	position: relative;
	margin: 70px auto 0;
	overflow: hidden;
	height: 790px;
}
.fvwrap1 {
	width: 60vw;
	position: relative;
}

.firstView__content {
	display: flex;
	flex-direction: column;
	background: white;
	align-items: center;
	justify-content: center;
	width: 460px;
	height: 700px;
	padding: 20px;
	border-radius: 3px;
	box-shadow: 5px 8px 10px 1px rgba(191, 185, 178, 0.29);
	border-top: 5px solid #6eba3c;
	border-right: 30px solid #6eba3c;
	border-bottom: 5px solid #6eba3c;
	border-left: 30px solid #6eba3c;
	position: relative;
	margin-left: max(10px, calc(60vw / 2 - 895px / 2));
	margin-top: 60px;
	z-index: 1;
}
.firstView__title {
	text-align: center;
}

.fv_r8 {
	display: block;
	margin: 0 auto;
	margin-bottom: 17px;
	color: var(--title--color);
	width: 220px;
	height: 40px;
	font-size: 33px;
	letter-spacing: 0px;

	line-height: 1;
}
.eight {
	font-size: 40px;
	font-weight: 600;
}
.fv_kenchikukankei {
	display: block;
	font-size: 85px;

	line-height: 1;
	letter-spacing: -2px;
	color: var(--text--black);
}
.fv_horeisyu {
	display: block;
	font-size: 112px;
	line-height: 1;

	color: var(--text--black);
}
.fv_price {
	display: block;
	font-size: 35px;
	margin-top: 30px;
	letter-spacing: 2px;

	line-height: 1;
	color: var(--text--black);
}
.fv_number {
	font-size: 50px;
	letter-spacing: 2px;
}
.fv_ka {
	display: block;
	margin: 20px auto 0;
	background-color: var(--primary-color);
	color: var(--primary-white);
	border-radius: 100vh;
	height: 38px;
	line-height: 34px;
	width: 335px;
	font-size: 23px;
	text-align: center;
	letter-spacing: 2px;
}
.fv_zei {
	font-size: 20px;
}
.firstView__text {
	font-size: var(--description--text);
	line-height: 1.8;
	width: 335px;
	margin: 0 auto;
}
.fv__text {
	display: block;
	margin: 20px auto 0;
	width: auto;
	letter-spacing: 0.5px;

	color: var(--text--black);
}
.splide {
	width: 900px;
	height: 900px;
	position: absolute;
	bottom: -150px;
	right: -100px;
}
.splide__slide img {
	transition: transform 5s linear;
	transform: scale(0.9);

	border-radius: 50%;
}

.splide__slide.is-active img {
	transform: scale(1);
}
.splide__pagination li {
	display: none;
}
.splide__arrow {
	display: none;
}
.fv_img01 {
	width: 120px;
	left: 5px;
	bottom: -100px;
	flex-shrink: 1;
}

.fv_btn {
	max-width: 500px;
	margin: 0 auto;
	transition: 0.5s;
}
.fv_btn:hover {
	opacity: 0.5;
	scale: 1.1;
}
.fv__subtextwrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 430px;
	margin: 20px auto 0;
	gap: 0px;
}

/***********************************************************
 mainSection 
 ************************************************************/
.main {
	background: var(--primary-white);
}

.mainsub__wrap {
	display: flex;
	height: auto;
	width: 400px;
	flex-direction: column;
	gap: 30px;
	background: white;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border-radius: 3px;
	box-shadow: none;
	border: none;
	position: absolute;
	bottom: -5px;
	left: 429px;
	border: 5px solid #6eba3c;
	box-shadow: 5px 8px 10px 1px rgba(191, 185, 178, 0.29);
}

.mainsub__content {
	max-width: 500px;
	margin: 0 auto;
}
.main__subtitle {
	display: block;
	width: fit-content;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0 auto 16px;
	color: var(--title--color);
}
.mainsub__text {
	font-size: var(--description--text);
	line-height: 1.5;
	max-width: 400px;
}

.coution__wrap {
	padding: 30px 10px;
	background-color: var(--title--color);
	margin: 0 auto 16px;
}

.coution__title {
	display: block;
	margin: 0px auto 25px;
	font-size: 1.1rem;
	font-weight: 500;
	text-align: center;
	color: var(--primary-white);
}
.coution__text {
	font-size: var(--description--text);
	line-height: var(--lineheight--text);
	color: var(--bg--color);
	width: 300px;
	margin: 0 auto;
}

.main__indexmark {
	height: 55px;
	width: 30px;
	background: var(--primary-white);
	border: #ea5098 solid 2px;
	border-right: #ea5098 solid 10px;
	border-left: #ea5098 solid 2px;
	border-radius: 0 10px 10px 0;
	color: var(--primary-white);
	position: absolute;
	left: calc(100% + 30px);
	top: -2px;
	cursor: pointer;
	z-index: 1;
	transition: 0.5s;
}
/***********************************************************
POINT
 ************************************************************/
.point__area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
}
.point__titlewrap {
	margin: 30px 0 70px;
	text-align: center;
}
.point__title {
	display: block;
	font-family: "Sawarabi Mincho", serif;
	font-size: 30px;
	font-weight: 800;
	text-align: center;
	color: var(--title--color);
}

.point__card--title {
	margin: 16px 0;
	font-size: clamp(14px, 8vw, 20px);
	font-weight: 500;
	text-align: center;
	color: var(--title--color);
}
.cardwrap {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 30px;
	margin: 0 10px;
}
.point__card--direction {
	display: flex;
	gap: 20px;
	flex-direction: column;
	align-items: center;
	max-width: 1080px;
	margin: 0 auto;
	background-color: var(--primary-white);
	margin-bottom: 20px;
}
.point__cardWrap {
	margin: 40px auto;
}
.point__card--title {
	color: var(--title--color);
}
.point__card--content {
	display: block;
	max-width: 400px;
}
.point__card--content figure {
	flex-basis: 1;
}
.point__card--text {
	font-size: var(--description--text);
	line-height: 1.5;

	padding: 8px;
}
.point_img2 {
	max-width: 400px;
}
.ashirai {
	display: block;
	position: relative;
	font-size: 20px;
	font-weight: 400;
	color: var(--text--darkgray);
	width: fit-content;
	margin: 0 auto;

	margin-bottom: 16px;
}
.ashirai::before,
.ashirai::after {
	content: "";
	background-color: var(--text--darkgray);
	height: 30px;
	width: 1px;
	position: absolute;
}
.ashirai::before {
	left: -20px;

	transform: rotate(-45deg);
}
.ashirai::after {
	right: -20px;
	transform: rotate(45deg);
}

/***********************************************************
INDEX
 ************************************************************/

.index__derection {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px;
	height: 100vh;
}
.index__wrap {
	display: flex;
	max-width: 1000px;
	justify-content: center;
	margin: 0 auto;
}
.index__img {
	width: 200px;
	flex-shrink: 0;
}
.index__cardWrap {
	max-width: 1000px;
	padding-left: 40px;
}
.index__title {
	display: block;
	color: var(--text--black);
	font-weight: 500;
	width: fit-content;
	margin: 0 auto;
	font-size: 24px;
}
.index__h3 {
	display: block;
	width: fit-content;
	font-size: 20px;
	margin: 32px auto 8px;
	color: var(--title--color);

	font-weight: 700;
}
.index__text {
	line-height: 1.5;
	font-size: var(--description--text);
	padding: 8px;
}
.index__text img {
	width: 700px;
	margin-bottom: 60px;
}
/***********************************************************
 subSection 
 ************************************************************/
.sub {
	padding: 0 8px;
}

/***********************************************************
 cvbutton 法令集ガイダンス
 ************************************************************/

.guidance__bg {
	background-image: url(https://www.shikaku.co.jp/topics/horeishu/assets/images/r7_hourei_guidance.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	height: 100vh;
	background-position: right;
	position: relative;
	z-index: 0;
}
.guidance__wrap {
	margin: auto auto auto 0;
	padding: 80px 5%;
	width: 50%;
	background-color: rgba(255, 255, 255, 1);
	z-index: 10;
	position: relative;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 24px;
}
.guidance__title {
	background-color: #ccc;
	font-weight: bold;
	font-size: 24px;
	padding: 10px 40px;
	width: 500px;
}
.guidance__subtitle {
	text-align: center;
}
.guidance__list {
	display: flex;
	justify-content: center;
	gap: 40px;
}
.guidance__list li {
	height: 150px;
	width: 150px;
	border: #333 1px solid;
	border-radius: 100%;
	display: flex; /* ← 追加 */
	align-items: center; /* ← 縦方向中央揃え */
	justify-content: center; /* ← 横方向中央揃え */
	text-align: center; /* ← 複数行でも中央寄せに */
}
.guidance__text {
	display: block;
	font-size: var(--description--text);
	line-height: var(--lineheight--text);
	width: 500px;
	margin: 0 auto;
}
/***********************************************************
COURSE
 ************************************************************/
.course__bg {
	background-image: url(https://www.shikaku.co.jp/topics/horeishu/assets/images/277A0498.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	height: 100vh;
	background-position: right;
	position: relative;
	z-index: 0;
}

.course__bg::before {
	background-color: rgba(0, 0, 0, 0.55);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: "";
	z-index: 1;
}

.course__wrap {
	margin: auto 0 auto auto;
	padding: 80px 5%;
	width: 60%;
	height: 100vh;
	background-color: rgba(255, 255, 255, 0.2);
	z-index: 10;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 40px;
}
.course__description {
	display: block;
}
.course__title {
	background-color: #ccc;
	font-weight: bold;
	font-size: 24px;
	padding: 10px 40px;
}
.course__cardWrap {
	padding: var(--wrap--padding);
}

/***********************************************************
ACCORDION
 ************************************************************/
.course__title--courseName {
	display: flex;
	color: white;
	background-color: var(--title--color);
	cursor: pointer;
	pointer-events: none;
	align-items: center;
	padding: 5px;
}
.accordion--icon {
	width: 20px;
	height: 25px;
	position: relative;
	margin-right: 0;
}

.course__text {
	font-size: var(--description--text);
	line-height: var(--lineheight--text);
	background-color: white;
	padding: 26px 20px 10px;
}
.course__text p {
	margin-bottom: 40px;
}
/***********************************************************
 BOOK
 ************************************************************/
.book__bg {
}
.book__contentWrap {
	display: flex;
	justify-content: center;
	max-width: 1000px;
	margin: 0 auto;
}

.book__textwrap {
	margin: 80px 0 90px auto;
	background: var(--primary-white);
	border-radius: 3px;
	box-shadow: 5px 8px 10px 1px rgba(191, 185, 178, 0.29);
	padding: 30px;
	width: 450px;
}
.book__title01 {
	font-size: 1.3rem;
}
.book__title02 {
	display: block;
	margin: 20px auto 0px;
	color: var(--text--black);
	border-bottom: 2px solid var(--primary-color);
	height: 38px;
	line-height: 34px;
	width: 335px;
	font-size: 20px;
	text-align: center;
	letter-spacing: 2px;
}
.book__title03 {
	display: block;
	width: 320px;
	margin: 20px auto;
	padding: 10px 0;
	font-size: 40px;
	color: #000;

	background-color: #abdcef;
}

.BOOK__wrap {
	width: auto;
}
.BOOK__title {
	font-size: 30px;
	background-color: #eee;
	padding: 20px;
	color: var(--text--black);
}

.BOOK__list {
	margin: 24px auto auto;
}
.BOOK__list li {
	font-size: var(--description--text);

	line-height: 1.6;
}

.book__titlewrap {
	display: flex;
	justify-content: center;
	text-align: center;
	gap: 0px;
	align-items: center;
	max-width: 1440px;
	margin: 0 auto;
}
.book__img {
	height: 200px;
	width: auto;
	flex-shrink: 1;
	margin: auto;
}
.book__btnwrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80%;
	height: 60px;
	margin: 40px auto 0;
	transition: 1s;
}
.book__btnwrap:hover {
	scale: 1.1;
	opacity: 0.8;
}
/***********************************************************
 footer
 ************************************************************/
.footer {
	height: 100px;
	background-color: var(--primary-color);
	color: var(--primary-white);
	position: relative;
	z-index: 10000;
}

.copy {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 10px;
}

.page_up {
	content: "";
	height: 20px;
	width: 20px;
	border-left: solid 5px var(--text--black);
	border-top: solid 5px var(--text--black);
	transform: rotate(45deg);
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 100000;
}
