@charset "UTF-8";

/* ===================================
	File Name   : common.css
	Description : Base Layout CSS
	Editor      : Bface Saeki
	Last Editor : 
	
	Update Description :
	[2025/07/01] 新規作成

====================================== */

/*========== Style Contents ==========

	1. Global Redefinition
	2. Font Redefinition
	3. Box Setting
	4. Common Items Setting
		- Basic Link
	 	- Header Items
	 	- Footer Items
	 	- CTA
		- Global Navigation
		- Breadcrumbs
		- Title Items
		- Anchor

====================================== */


/*===== ■1. Global Redefinition =====*/
:root {
  --mainC: #d61418;
  --mainCl: #f7eeec;
  --mainCd: #900;
  --accentC: #f31679;
  --accentCl: #fddceb;
  --accentCd: #d60060;
  --accentCd-rgba: 166, 15, 83;
  --GC: #999;
  --GCl: #ccc;
  --GCd: #666;
  --BC: #333;
}

body {
	color: var(--BC);
  margin: 0px auto;
}

img { 
  width: 100%;
  max-width: 102.4rem;
  height: auto;
  vertical-align: bottom;
}

sup {
	font-size: 1rem;
	vertical-align: text-top;
}

sub {
	font-size: 1rem;
	vertical-align: text-bottom;
}

th, td {-webkit-text-size-adjust: 100%;}


/*===== ■2. Font Redefinition =====*/
html { font-size: 62.5%;}

body {
	font-weight: 500;
	font-size: 1.6rem;
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Verdana, sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;
	font-feature-settings: "palt";
	line-height: 1.5;
	letter-spacing: 1px;
}

@media (max-width: 768px) {
	html { font-size: calc(100vw / 76.8 * 2.048);}
}
@media (max-width: 750px) { html { font-size: calc(100vw / 75 * 2);}}
@media (max-width: 640px) { html { font-size: calc(100vw / 64 * 1.7067);}}
@media (max-width: 480px) { html { font-size: calc(100vw / 48 * 1.28);}}
@media (max-width: 430px) { html { font-size: calc(100vw / 43 * 1.147);}}
@media (max-width: 390px) { html { font-size: calc(100vw / 39 * 1.04);}}
@media (max-width: 375px) { html { font-size: calc(100vw / 37.5 * 1);}}
@media (max-width: 360px) { html { font-size: calc(100vw / 36);}}

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?b0ooj6');
  src:  url('../fonts/icomoon.eot?b0ooj6#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?b0ooj6') format('truetype'),
    url('../fonts/icomoon.woff?b0ooj6') format('woff'),
    url('../fonts/icomoon.svg?b0ooj6#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="ico_"], [class*=" ico_"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ico_pdf:before {
  content: "\e900";
}
.ico_blank:before {
	margin: 0 .5rem;
	font-size: 1.4rem;
  content: "\e901";
}
.ico_lang:before {
  content: "\e902";
}
.ico_map:before {
  content: "\e903";
}
.ico_time:before {
  content: "\e904";
}



/*===== ■3. Box Setting =====*/
main {
  display: block;
	> section,
	> .section { margin: 6rem 0;}
}


@media (max-width: 768px){
  main {
		> section,
		> .section { margin: 3rem 0;}
  }
}


/*===== ■4. Common Items Setting =====*/
/* Basic Link */
a {
  color: currentColor;
	text-decoration: none;
  transition: all .25s;
  @media (hover: hover){
    &:hover {
			color: currentColor;
			opacity: .65;
      transition: all .25s;
      i {
        transition: all .25s;
      }
    }
  }
  &.soon {
    pointer-events: none;
    opacity: .65;
    color: var(--GCd);
  }
}


/* Header Items */
header {
	padding: 2rem 0;
	border-bottom: 1px solid var(--GCl);
	.box_wrapper {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		> *:first-child {
			width: 36rem;
			margin-right: 3rem;
		}
		#head_info {
			flex: 1;
			align-self: flex-end;
			li {
				position: relative;
				padding-left: 2rem;
				&:not(:last-child) { margin-bottom: 1rem;}
				i:first-child {
					position: absolute;
					top: .5rem;
					left: 0;
				}
				span {
					display: block;
					font-size: 1.4rem;
					line-height: 1.2;
				}
			}
		}
		#head_btn a {
			display: inline-block;
			padding: 1rem;
			color: #fff;
			background: #000;
			letter-spacing: 0;
			i {
				margin-right: .5rem;
				font-size: 1.8rem;
			}
		}
	}
}

@media (max-width: 768px){
	header {
		margin-bottom: 1rem;
		padding: 1.5rem 0;
		.box_wrapper {
			align-items: flex-start;
			> *:first-child {
				width: 75%;
				margin: 0 0 1rem;
			}
			#head_info {
				li {
					font-size: 1.2rem;
					span { font-size: 1.2rem;}
				}
			}
			#head_btn a {
				margin-top: .5rem;
				padding: .5rem;
				font-size: 1.2rem;
				i {
					margin-right: .5rem;
					font-size: 1.4rem;
				}
			}
		}
	}
}


/* Footer Items */
footer {
	#footer_notice {
		padding: 6rem 0;
		background: var(--BC);
		color: #fff;
		h2 {
			margin-bottom: 3rem;
			border-color: var(--GC);
			font-size: 2.6rem;
		}
		.box_limit_min > div {
			display: flex;
			align-items: center;
				column-gap: 6rem;
			dl {
				order: 2;
				flex: 1;
				dt {
					margin-bottom: 1rem;
					font-size: 2.2rem;
					line-height: 1.2;
				}
				dd {
					line-height: 1.75;
					a {
						color: var(--accentC);
						@media (hover: hover){
							&:hover { color: var(--accentCd);}
						}
					}
				}
			}
			figure {
				order: 1;
				flex-basis: 35rem;
				padding: 1.5rem 1rem;
				background: #fff;
			}
		}
	}
	#footer_sitemap {
		padding: 2rem 0;
		font-size: 1.4rem;
		.box_wrapper {
			display: grid;
			grid-template-columns: 1fr 12rem;
			align-items: center;
			gap: 1rem;
			> ul {
				grid-column: 1/2;
				grid-row: 1/2;
				display: flex;
				align-items: center;
				li:not(:last-child) {
					position: relative;
					margin-right: 1rem;
					padding-right: 1rem;
					line-height: 1.2;
					&::after {
						position: absolute;
						top: 0;
						right: 0;
						width: 1px;
						height: 1em;
						background: currentColor;
						content: "";
					}
				}
				i::before {
					margin: 0 .25rem;
					font-size: 1.2rem;
				}
			}
			> div {
				grid-column: 1/2;
				grid-row: 2/3;
				display: flex;
				align-items: center;
				> div:first-child {
					width: 3rem;
					img { vertical-align: inherit;}
				}
				div:not(:last-child) { margin-right: 1rem;}
			}
			> p {
				grid-column: 2/3;
				grid-row: 1/3;
			}
		}
	}
}

@media (max-width: 768px){
	footer {
		overflow: hidden;
		#footer_notice {
			padding: 3rem 0 2rem;
			h2 {
				margin-bottom: 2rem;
				font-size: 1.8rem;
			}
			.box_limit_min > div {
				flex-direction: column;
				align-items: flex-start;
				gap: 1rem;
				dl {
					dt { font-size: 1.4rem;}
					dd { line-height: 1.8;}
				}
				figure {
					flex-basis: auto;
					padding: .5rem 1rem 1rem;
				}
			}
		}
		#footer_sitemap {
			padding: 2rem 0 1rem;
			.box_wrapper {
				grid-template-columns: auto 1fr;
				grid-gap: 2rem;
				align-items: flex-start;
				> ul {
					grid-column: 2/3;
					flex-direction: column;
					align-items: flex-end;
					li:not(:last-child) {
						margin: 0 0 1.5rem;
						padding-right: 0;
						&::after {
							display: none;
						}
					}
					i::before {
						margin: 0 .25rem;
						font-size: 1.2rem;
					}
				}
				> div {
					grid-column: 1/2;
					grid-row: 1/2;
					flex-direction: column;
					align-items: flex-start;
					justify-content: flex-start;
					gap:  1.5rem;
					div:not(:last-child) { margin-right: 0;}
				}
				> p {
					grid-column: 1/3;
					grid-row: 2/3;
					padding-top: 2rem;
					border-top: 1px solid var(--GCl);
					a {
						display: block;
						width: 30%;
						margin: 0 auto;
					}
				}
			}
		}
	}
}


/* CTA */
#cta {
	background: url("../img/common/bg-cta.webp") no-repeat center / cover;
	color: #fff;
	.box_limit_min {
		display: flex;
		column-gap: 8rem;
		position: relative;
		&::before {
			position: absolute;
			top: 0;
			left: 50%; 
			width: 1px;
			height: calc(100% - 10rem);
			margin: 5rem 0;
			background: rgba(255, 255, 255, .3);
			content: "";
		}
		dl {
			flex: 1;
			margin: 5rem auto;
			padding: 1.5rem 0;
			text-align: center;
			dt {
				display: inline-block;
				position: relative;
				margin-bottom: 1.5rem;
				font-weight: 700;
				font-size: 2.4rem;
				&::before,
				&::after {
					position: absolute;
					bottom: 0;
					width: 4.5rem;
					height: .15rem;
					background: #fff;
					content: "";
				}
				&::before { transform: rotate(55deg); right: calc(100% + 1rem); transform-origin: right top;}
				&::after { transform: rotate(-55deg); left: calc(100% + 1rem); transform-origin: left bottom;}
				b {
					color: #ffef96;
					font-size: 3rem;
				}
				span { font-size: 3rem;}
			}
			dd {
				p {
					margin-bottom: 2rem;
					font-size: 2rem;
					a { text-decoration: underline;}
				}
			}
		}
		.boxlink { border-color: #fff;}
	}
}

@media (max-width: 768px){
	#cta {
		.box_limit_min {
			flex-direction: column;
			column-gap: 0;
			&::before {
				top: 50%;
				left: 0; 
				width: 100%;
				height: 1px;
				margin: 0;
			}
			dl {
				margin: 3rem 0;
				padding: 0;
				dt {
					font-size: 2rem;
					&::before,
					&::after { width: 3.5rem;}
					b { font-size: 2.6rem;}
					span { font-size: 2.6rem;}
				}
				dd {
					p {
						margin-bottom: 2rem;
						font-size: 1.8rem;
					}
				}
			}
		}
	}
}


/* Global Navigation */
body > nav {
	> div {
		padding: 0 1.5rem;
		> ul {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			> li {
				position: relative;
				margin: 0 2rem;
				> a {
					display: inline-block;
					padding: 1.5rem 0;
					margin: 0 auto;
					&:has( + ul) {
						position: relative;
						padding-right: 2rem;
						&::after {
							position: absolute;
							top: 0;
							bottom: 0;
							right: 0;
							width: 1.2rem;
							height: .7rem;
							margin: auto 0;
							background: currentColor;
							clip-path: polygon(0 15%, 10% 0, 50% 70%, 90% 0, 100% 15%, 50% 100%);
							content: "";
						}
						@media (hover: hover){
							&:hover {
								opacity: 1;
								+ ul {
									display: flex;
								}
							}
						}
					}
				}
				ul {
					display: none;
					flex-direction: column;
					position: absolute;
					top: calc(100% - 1.5rem);
					left: calc(50% - 1rem);
					z-index: 2;
					margin-top: 1.5rem;
					padding: 1rem 2rem;
					border: 1px solid var(--GC);
					background: #fff;
					white-space: nowrap;
					transform: translateX(-50%);
					&::before {
						position: absolute;
						top: calc(-1rem + 1px);
						left: 50%;
						width: 1.5rem;
						height: 1.5rem;
						background: #fff;
						border-top: 1px solid var(--GC);
						border-right: 1px solid var(--GC);
						transform: translateX(-50%) rotate(-45deg);
						content: "";
					}
					li:not(:last-child) { margin-bottom: 1rem;}
					&:hover { display: flex;}
				}
			}
		}
	}
	+ button { display: none;}
}

@media (max-width: 768px){
	body > nav {
		display: none;
		overflow: hidden;
		position: fixed;
		top: 0;
		left: -100%;
		z-index: 5;
		overflow-y: scroll;
		width: 100%;
		height: 100vh;
		background: #fff;
		opacity: 0;
		> div {
			display: flex;
			flex-direction: column;
			height: 100%;
			> span {
				display: block;
				width: 50%;
				margin: 1.5rem auto;
			}
			> ul {
				flex: 1;
				display: block;
				position: relative;
				> li {
					margin: 0;
					position: static;
					> a {
						display: block;
						position: relative;
						padding: 1rem;
						&:has( + ul) {
							&::after {
								width: 1rem;
								height: 1.6rem;
								clip-path: polygon(0 10%, 15% 0, 100% 50%, 15% 100%, 0 90%, 70% 50%);
							}
						}
					}
					ul {
						display: block;
						position: absolute;
						top: 0;
						left: 100%;
						width: 100%;
						height: 100%;
						margin-top: 0;
						padding: 1rem 2rem;
						border: none;
						white-space: normal;
						transform: none;
						&::before { display: none;}
						li:not(:last-child) { margin-bottom: 0;}
						a {
							display: block;
							padding: 1rem;
							&.prev_drawer {
								position: relative;
								&::after {
									position: absolute;
									top: 0;
									bottom: 0;
									left: -1rem;
									width: 1rem;
									height: 1.6rem;
									margin: auto 0;
									background: currentColor;
									clip-path: polygon(0 10%, 15% 0, 100% 50%, 15% 100%, 0 90%, 70% 50%);
									transform: scale(-1, -1);
									content: "";
								}
							}
						}
					}
				}
			}
		}
		+ button {
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			position: fixed;
			top: 1.5rem;
			left: calc(100vw - 5.5rem);
			z-index: 10;
			width: 4rem;
			height: 4rem;
			background: #fff;
			span,
			&::before,
			&::after {
				position: absolute;
				left: 0;
				z-index: 2;
				width: calc(100% - 1rem);
				height: .2rem;
				margin: .5rem;
				background: #000;
				content: "";
				transition: all .25s;
			}
			&::before { margin-top: -1rem; transform: translateY(-100%);}
			&::after { margin-bottom: -1rem; transform: translateY(100%);}
		}
	}
	
	body.active {
    overflow: hidden; 
    height: 100vh;
		> nav {
			display: block;
			animation: navSP .25s ease-in-out forwards;
			+ button {
				span {
					opacity: 0;
					visibility: hidden;
					transition: all .25s;
				}
				&::before { margin: 0; transform: rotate(45deg); transition: .25s ease-out .25s;}
				&::after { margin: 0; transform: rotate(-45deg); transition: .25s ease-out .25s;}
			}
			li ul {
				animation: navendSP .25s ease-in-out forwards;
			}
			li.drawer ul {
				animation: navSP .25s ease-in-out forwards;
			}
		}
  }
}
@keyframes navSP {
	0% {
		opacity: 0;
    left: 100%;
	}
	100% {
		opacity: 1;
    left: 0;
	}
}
@keyframes navendSP {
	0% {
		opacity: 1;
    left: 0;
	}
	100% {
		opacity: 0;
    left: 100%;
	}
}


/* Breadcrumbs
#breadcrumbs {
  margin-top: 2rem;
	* {
		font-size: 1.6rem;
	}
	ol {
		display: flex;
		align-items: center;
		margin: 0 2rem 2rem;
		font-size: 1.2rem;
		li {
			display: flex;
			align-items: center;
			margin-right: 1rem;
			&::after {
				width: .6rem;
				height: .6rem;
				margin-left: 1rem;
				border-top: 1px solid #8B968D;
				border-right: 1px solid #8B968D;
				transform: rotate(45deg);
				content:'';
			}
			&:last-child:after { display: none;}
			a {
				@media (hover: hover){
					&:hover { color: #333;}
				}
			}
		}
	}
}

@media (max-width: 768px){
  #breadcrumbs {
    margin-top: 0;
    overflow-x: auto;
    white-space: nowrap;
		* { font-size: 1.2rem;}
		li:last-child { padding-right: 1rem;}
  }
}
 */


/* Title Items */
.headline {
}

.subhead_basic {
	margin-bottom: 3rem;
	color: var(--mainC);
	font-weight: 700;
	font-size: 6rem;
	line-height: 1.2;
	text-align: center;
	font-family: "Roboto", sans-serif;
	b {
		display: block;
		margin-top: .5rem;
    font-size: 1.6rem;
	}
}

.subhead_gradient {
	position: relative;
	margin-bottom: 2rem;
	padding: 0 0 2rem;
	font-weight: 700;
	font-size: 4rem;
	line-height: 1.2;
	&::after {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 3px;
		background: linear-gradient(to right, #fff 0%, #ff8f52 30%, #fd4f70 50%, #ff8f52 70%, #fff 100%);
		content: "";
	}
}

@media (max-width: 768px) {
	.subhead_basic {
		margin-bottom: 2rem;
		font-size: 4rem;
		b { font-size: 1.8rem;}
	}
	
	.subhead_gradient { font-size: 2.4rem;}
}


/* Anchor
#anchor {
}

@media (max-width: 768px){
  #anchor {
  }
}
 */