@charset "UTF-8";
/*
Theme Name: ユニット鉄筋 テツシン｜株式会社山鐵
Theme URI: https://yamatetu-ehime.jp/
Description: ユニット鉄筋「テツシン」ランディングページ用テーマ
Author: fsdvlp
Version: 2026-08-04
Requires at least: 6.3
Requires PHP: 7.4
Tags: landing-page, custom-colors, responsive-layout
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	/* ---- ブランドカラー ---- */
	--c-navy: #08408a;
	--c-navy-deep: #0b3682;
	--c-navy-darker: #072f6e;
	--c-blue: #0073c7;
	--c-cyan: #3dc1d9;
	--c-ink: #37434f;
	--c-ink-soft: #5b6875;
	--c-red: #d81313;
	--c-orange: #fb3601;
	--c-yellow: #ffff00;
	--c-gold: #ffce00;
	--c-bg-tint: #ecf1f4;
	--c-bg-tint2: #eef2f6;
	--c-line: #cbd7e6;
	--c-white: #ffffff;

/* ---- レイアウト ---- */
	--wrap: 1064px;
	--wrap-wide: 1280px;
	--gutter: 20px;
	--radius-s: 6px;
	--radius-m: 12px;
	--radius-l: 20px;

/* ---- 余白（セクション） ---- */
	--section-py: 56px;

/* ---- 追従CTAバーの高さ（SPの本文下部余白に使用） ---- */
	--cta-bar-h: 100px;

/* ---- モーション ---- */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--Thin: 100;
	--Hairline: 100;
	--Extra_Light: 200;
	--Ultra_Light: 200;
	--Light: 300;
	--Normal: 400;
	--Medium: 500;
	--Semi_Bold: 600;
	--Demi_Bold: 600;
	--Bold: 700;
	--Extra_Bold: 800;
	--Ultra_Bold: 800;
	--Black: 900;
	--Heavy: 900;
}

@font-face {
	font-family: "impact";
	src: url("./fonts/impact.woff") format("woff"), url("./fonts/impact.eot") format("eot");
}

.font_impact {
	font-family: "impact" !important;
}

.font_bebas {
	font-family: "Bebas Neue", sans-serif;

	font-display: swap;
}

html , body {
	height: 100%;
}

/* アンカー遷移を滑らかにし、固定ヘッダーの高さ分を退避する
   （JS なしで既存の Inpage_scroll.js 相当の挙動を実現） */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 86px;
}

@media screen and (min-width: 768px) {
	html {
		scroll-padding-top: 126px;
	}
}

body {
	color: #2c3841;
	font-family: "Noto Sans JP", sans-serif;
	font-style: normal;
	font-size: 12pt;

	font-display: swap;
	font-optical-sizing: auto;
	-webkit-text-size-adjust: 100%;
}

.font_mplus {
	font-family: "M PLUS 1p", sans-serif;

	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	background: transparent;
	font-size: 100%;
	vertical-align: baseline;
	text-decoration: none;
	outline: 0;
}

ul , ol {
	list-style: none;
}

img {
	height: auto;
}

.container {
	position: relative;
	overflow: hidden;
}

/*******************************************************************************
	共通ユーティリティ
 *******************************************************************************/

/* スクリーンリーダー専用テキスト */
.screen-reader-text {
	position: absolute !important;
	overflow: hidden;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	white-space: nowrap;

	clip-path: inset(50%);
}

/* キーボード操作時のフォーカスリング */
a:focus-visible , button:focus-visible , summary:focus-visible , input:focus-visible , textarea:focus-visible , select:focus-visible {
	outline: 3px solid var(--c-cyan);
	outline-offset: 2px;
}

img , video {
	display: block;
	max-width: 100%;
}

@media screen and (min-width: 768px) {
	:root {
		--section-py: 96px;
		--gutter: 32px;
		--cta-bar-h: 0px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* , *::before , *::after {
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
	}
}

/*******************************************************************************
	デフォルトセッティング
--------------------------------------------------------------------------------
	適応：ヘッダー
*******************************************************************************/
.header_container {
	display: block;
	position: fixed;
	z-index: 20;
	width: 100%;
}

.header_contents {
	display: flex;
	position: relative;
	z-index: 9999;
	max-width: 1820px;
	margin: 0 auto;
	justify-content: space-between;
	align-items: center;
}

.site_title {
	display: block;
	width: fit-content;
	font-weight: bold;
	font-size: clamp(1.063rem, 0.854rem + 0.43vw, 1.375rem);
	word-break: keep-all;
	text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}


.site_title-text {
	display: inline-flex;
	position: relative;
	justify-content: center;
	align-items: center;
}

.home .site_title-text::before {
	position: absolute;
	z-index: -1;
	z-index: -1;
	color: #ffffff;
	content: attr(data-site);

/*filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));*/

	-webkit-text-stroke: 2px #ffffff;
}

.site_title a {
	display: flex;
	width: fit-content;
	color: #08408a;
	column-gap: clamp(0.625rem, 0.417rem + 0.43vw, 0.938rem);
	align-items: center;
}

.site_title-img {
	display: inline-flex;
	position: relative;
	justify-content: center;
	align-items: center;
}

.site_title-img::before {
	position: absolute;
	top: -2.5px;
	z-index: -1;
	width: calc(100% + 4px);
	border-radius: 100%;
	background-color: #ffffff;
	content: "";

	aspect-ratio: 1/1;
}

.site_title img {
	width: clamp(1.875rem, 1.458rem + 0.87vw, 2.5rem);
}

@media screen and (min-width: 768px) {
	.header_contents {
		width: 95%;
		height: 80px;
	}
}

@media screen and (max-width: 767px) {
	.header_container {
		padding: 0 20px 0 15px;
	}

	.header_contents {
		width: 100%;
		height: 65px;
	}
}

/* ナビはピル型ボタンを等間隔に並べる */
.header_menu-nav {
	display: block;
	width: fit-content;
	margin-left: auto;
}

@media screen and (max-width: 834px) {
	.header_menu-nav {
		display: none;
	}
}

.header_menu-list {
	display: flex;
	font-weight: 900;
	font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
	column-gap: clamp(0.625rem, 0.208rem + 0.87vw, 1.25rem);
	justify-content: flex-end;
	align-items: center;
}

.header_menu-item a {
	display: flex;
	overflow: hidden;
	padding: 3.5px clamp(0.625rem, 0.208rem + 0.87vw, 1.25rem);
	border-width: 2px;
	border-style: solid;
	border-radius: 17.5px;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	color: #ffffff;
	font-weight: bold;
	text-align: center;
	justify-content: center;
	align-items: center;
	transition: all 0.3s;
}

/* ブランドカラーのシアン／オレンジは白文字だとコントラスト比4.5:1未満のため、
   ナビピルはそれぞれ濃色に落として確保する */
.header_menu-item--navy a {
	border-color: #08408a;
	background-color: #08408a;
}

.header_menu-item--cyan a {
	border-color: #3dc1d9;
	background-color: #3dc1d9;
}

.header_menu-item--orange a {
	border-color: #d81313;
	background-color: #d81313;
}

.header_menu-item a:hover {
	background-color: #ffffff !important;
}

.header_menu-item--navy a:hover {
	color: #08408a;
}

.header_menu-item--cyan a:hover {
	color: #3dc1d9;
}

.header_menu-item--orange a:hover {
	color: #d81313;
}



.navToggle {
	display: flex;
	z-index: 9999;
	overflow: hidden;
	width: 50px;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	background-color: #08408a;
	color: #ffffff;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;

	row-gap: 4px;
	aspect-ratio: 1/1;
}

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

@media screen and (min-width: 768px) {
	.navToggle {
		width: 50px;
	}
}

@media screen and (max-width: 767px) {
	.navToggle {
		width: 45px;
	}
}

.navToggle_label {
	font-weight: var(--Bold);
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.06em;
}


/*@media screen and (max-width: 1125px) {
	.nav-wrapper {
		display: none;
	}
}*/

.toggle_line {
	display: flex;
	position: relative;
	width: 22px;
	height: 15px;
}

.toggle_line span {
	position: absolute;
	transform-origin: center;
	width: 100%;
	height: 2px;
	background-color: #ffffff;
}


.toggle_line span:nth-child(1) {
	top: 0;
}

.toggle_line span:nth-child(2) {
	top: 6.5px;
}

.toggle_line span:nth-child(3) {
	bottom: 0;
}

.motion_union .toggle_line span:nth-of-type(1) {
	animation: union-bar01 0.75s forwards;
	-webkit-animation: union-bar01 0.75s forwards;
}

.motion_union .toggle_line span:nth-of-type(2) {
	opacity: 1;
	transition: all 0.25s 0.25s;
}

.motion_union .toggle_line span:nth-of-type(3) {
	animation: union-bar02 0.75s forwards;
	-webkit-animation: union-bar02 0.75s forwards;
}

.motion_union.active .toggle_line span:nth-of-type(1) {
	animation: active-union-bar01 0.75s forwards;
	-webkit-animation: active-union-bar01 0.75s forwards;
}

.motion_union.active .toggle_line span:nth-of-type(2) {
	opacity: 0;
}

.motion_union.active .toggle_line span:nth-of-type(3) {
	animation: active-union-bar03 0.75s forwards;
	-webkit-animation: active-union-bar03 0.75s forwards;
}



@keyframes union-bar01 {
	0% {
		transform: translateY(6.5px) rotate(28deg);
	}

	50% {
		transform: translateY(6.5px) rotate(0);
	}

	100% {
		transform: translateY(0) rotate(0);
	}
}

@keyframes union-bar02 {
	0% {
		transform: translateY(-6.5px) rotate(-28deg);
	}

	50% {
		transform: translateY(-6.5px) rotate(0);
	}

	100% {
		transform: translateY(0) rotate(0);
	}
}

@keyframes active-union-bar01 {
	0% {
		transform: translateY(0) rotate(0);
	}

	50% {
		transform: translateY(6.5px) rotate(0);
	}

	100% {
		transform: translateY(6.5px) rotate(28deg);
	}
}

@keyframes active-union-bar03 {
	0% {
		transform: translateY(0) rotate(0);
	}

	50% {
		transform: translateY(-6.5px) rotate(0);
	}

	100% {
		transform: translateY(-6.5px) rotate(-28deg);
	}
}

.menu_container {
	display: flex;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9000;
	width: 100%;
	height: 100vh;
	padding: 0 20px;
	background-color: #ffffff;
	opacity: 0;
	flex-direction: column;
	align-items: center;
	transition: all 0.6s;
}

.menu_container.active {
	visibility: visible;
	overflow-y: scroll;
	opacity: 1;
}

.menu_inner {
	display: flex;
	position: relative;
	z-index: 9999;
	max-width: 1000px;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	flex-direction: column;
	flex-wrap: wrap;
}

.mobile_menu-list {
	display: flex;
	width: 100%;
	font-size: clamp(0.875rem, 0.749rem + 0.26vw, 1.063rem);
	flex-direction: column;
	flex-wrap: nowrap;

	row-gap: 12px;
}

.mobile_menu-item a {
	display: block;
	padding: 0.9em 1.2em;
	border-bottom: solid 1px #dbe3ec;
	color: #08408a;
	font-weight: var(--Bold);
}

.mobile_menu-item--orange a , .mobile_menu-item--cyan a {
	border-bottom: 0;
	border-radius: 999px;
	color: #ffffff;
	text-align: center;
}

.mobile_menu-item--cyan a {
	background-color: #3dc1d9;
}

.mobile_menu-item--orange a {
	background-color: #d81313;
}

@media screen and (min-width: 768px) {
	.mobile_nav-wrapper {
		display: flex;
		max-width: 800px;
		width: 100%;
	}

	.menu_inner {
		padding-top: 150px;
	}
}

@media screen and (max-width: 767px) {
	.menu_inner {
		padding-top: 200px;
	}
}

/*******************************************************************************
	デフォルトセッティング
--------------------------------------------------------------------------------
	適応：フッター
*******************************************************************************/
.footer_container {
	display: flex;
	width: 100%;
	background-color: #08408a;
	background-image: url(./img/footer_bg.webp);
	background-repeat: repeat;
	background-position: center;
	background-size: 390px 489px;
	flex-direction: column;
}

.footer_contents {
	display: flex;
	flex-direction: column;
}

.footer_contact {
	display: flex;
	margin-bottom: 25px;
	color: #ffffff;
	flex-direction: column;
	align-items: center;
}

.footer_contact-text {
	display: flex;
	margin-bottom: 10px;
	font-weight: 400;
	font-size: 15px;
	line-height: clamp(2.063rem, 1.557rem + 1.05vw, 2.25rem);
	flex-direction: column;
	align-items: center;
}

.footer_contact-text strong {
	font-weight: 900;
	font-size: 32px;
}

.footer_contact a {
	display: flex;
	width: fit-content;
	margin-bottom: 3px;
	color: #ffff00;
	font-weight: normal;
	font-size: clamp(2.625rem, -0.891rem + 15vw, 2.813rem);
	line-height: clamp(3.125rem, 1.778rem + 2.81vw, 3.625rem);
	letter-spacing: 0.03em;
	column-gap: 0.3em;
	align-items: center;
}

.footer_contact a i {
	font-size: clamp(1.75rem, -0.594rem + 10vw, 1.875rem);
}

.footer_menu-nav {
	display: block;
	width: fit-content;
	margin-bottom: 30px !important;
	font-weight: bold;
	font-size: 14px;
}

.footer_menu-list {
	display: flex;
	width: 100%;
	flex-direction: column;

	row-gap: 15px;
}

.footer_menu-item a {
	padding-right: 10px;
	border-bottom: 1px solid #ffffff;
	color: #ffffff;
}

.footer_menu-item a i {
	margin-left: 0.5em;
}


.footer_contact-front {
	display: flex;
	font-weight: bold;
	font-size: 16px;
	justify-content: center;
}


.footer_address-container {
	display: flex;
	max-width: 450px;
	width: 100%;
	margin: 0 auto;
	color: #ffffff;
	font-size: 14px;
	line-height: 25px;
	flex-wrap: wrap;
	justify-content: space-between;

	row-gap: 10px;
}

@media screen and (min-width: 501px) {
	.footer_menu-nav {
		margin: 0 auto;
	}
}

@media screen and (max-width: 500px) {
	.footer_address-container {
		flex-direction: column;
	}
}


.footer_address-container a {
	color: #ffffff;
}

.footer_making {
	display: flex;
	width: 100%;
	background-color: #454545;
	color: #ffffff;
	font-weight: normal;
	font-size: 14px;
	text-align: center;
	column-gap: 10px;
	justify-content: center;
	align-items: center;
}


@media screen and (min-width: 768px) {
	.footer_contents {
		padding: 25px 0 20px;
	}

	.footer_making {
		padding: 5px 0;
	}
}

@media screen and (max-width: 767px) {
	.footer_contents {
		padding: 15px 30px 10px;
	}

	.footer_making {
		padding: 1px 0;
	}
}

/* ==== 追従CTAバー（SPのみ） ======================================= */

.fixed_nav {
	display: block;
	position: fixed;
	bottom: 0;
	z-index: 5;
	transform: translateY(120%);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.22);
	transition: transform 0.35s var(--ease);

	inset-inline: 0;
}

/* PC はデザインに追従バーがないため出さない */
@media screen and (min-width: 768px) {
	.fixed_nav {
		display: none;
	}
}

.fixed_nav.is-visible {
	transform: translateY(0);
}

.fixed_list {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
}

.fixed_list a {
	display: flex;
	width: 100%;
	height: 100%;
	color: #ffffff;
	font-size: clamp(1rem, -2.125rem + 13.33vw, 1.125rem);
	transition: filter 0.2s var(--ease);
}

.fixed_list a:hover , .fixed_list a:focus-visible {
	filter: brightness(1.12);
}

.fixed_item#fixed_item-lecture {
	width: 100%;
}

.fixed_item#fixed_item-lecture a {
	justify-content: center;
	align-items: center;
}

.fixed_item#fixed_item-tel , .fixed_item#fixed_item-contact {
	width: 50%;
}

.fixed_item#fixed_item-lecture a {
	min-height: 40px;
	background-color: #3dc1d9;
	font-weight: bold;
	justify-content: center;
	align-items: center;
}

.fixed_item#fixed_item-tel a {
	min-height: 70px;
	padding-left: 30px;
	background-color: #08408a;
	font-weight: 900;
	flex-direction: column;
	justify-content: center;
}


.fixed_item#fixed_item-contact a {
	min-height: 70px;
	padding-right: 30px;
	padding-left: 20px;
	background-color: #d81313;
	font-weight: 900;
	align-items: center;
}


.fixed_item-content {
	display: flex;
	line-height: clamp(1.25rem, -1.875rem + 13.33vw, 1.375rem);
	column-gap: clamp(0.625rem, -7.188rem + 33.33vw, 0.938rem);
	align-items: center;
}


.fixed_item#fixed_item-lecture i {
	font-size: 25px;
}

.fixed_item#fixed_item-tel i {
	font-size: clamp(1.688rem, -3rem + 20vw, 1.875rem);
}

.fixed_item#fixed_item-contact i {
	font-size: clamp(1.375rem, -3.313rem + 20vw, 1.563rem);
}


.fixed_item-front {
	font-size: 10px;
}



/* ==== スクロール演出 ============================================== */

/*
 * CSS の既定は「表示された状態」。
 * .is-reveal（初期の非表示）は js/home.js が付与するため、
 * JS 無効環境やブロックエディタでは常に内容が見える。
 */
.is-reveal {
	transform: translateY(18px);
	opacity: 0;
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.is-reveal.is-revealed {
	transform: none;
	opacity: 1;
}

/* 連続する要素は少しずらして登場させる */
.p-flow__item:nth-child(2) , .purchase_flow-item:nth-child(2) {
	transition-delay: 0.08s;
}

.p-flow__item:nth-child(3) , .purchase_flow-item:nth-child(3) {
	transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
	.is-reveal {
		transform: none;
		opacity: 1;
	}
}
