@media screen and (max-width: 750px){

.pc_view{
	display: none !important;
}

#top {
    padding-top: 0;
}

/* SP Header: メイン画像に被るフローティングデザイン */
.l-header {
	padding: 15px 4% 0; 
	box-sizing: border-box;
}

.l-header__inner {
	align-items: center;
	background-color: transparent; 
	padding: 10px 15px;
	z-index: 120;
	position: relative;
	box-sizing: border-box;
}
.l-header__inner::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	z-index: -1; 
}

.l-header__logo {
	margin: 0;
}
.l-header__logo-img {
    height: 32px;
    padding-top: 6px;
}
.l-header__right {
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	gap: 15px;
}
.l-header__contact-btn {
	font-size: 1.1rem;
	padding: 8px 12px;
	border-radius: 4px;
}
.l-header__contact-btn .c-icon-arrow-circle {
	display: none; 
}

/* ハンバーガーアイコン */
.l-header__hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	background-color: #255276;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	position: relative;
}
.l-header__hamburger span {
	display: block;
	width: 20px;
	height: 2px;
	background-color: #fff;
	transition: all 0.3s ease;
	position: absolute;
}
.l-header__hamburger span:nth-child(1) { top: 12px; }
.l-header__hamburger span:nth-child(2) { top: 19px; }
.l-header__hamburger span:nth-child(3) { bottom: 12px; }

.l-header__hamburger.is-active span:nth-child(1) {
	top: 19px;
	transform: rotate(45deg);
}
.l-header__hamburger.is-active span:nth-child(2) {
	opacity: 0;
}
.l-header__hamburger.is-active span:nth-child(3) {
	bottom: 19px;
	transform: rotate(-45deg);
}

.l-header__nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	background: #F1F3F4;
	padding: 120px 6% 0;
	box-sizing: border-box;
	z-index: -2;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-20px);
	transition: all 0.3s ease;
}
.l-header__nav.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.l-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    margin-right: 0;
    gap: 0;
    width: 100%;
}

.l-header__nav-item {
	width: 100%;
	position: static;
}
.l-header__nav-item > a {
	padding: 20px 0; 
	border-bottom: 1px solid #ddd;
	font-size: 1.4rem;
	font-weight: 600;
	justify-content: space-between;
}

.l-header__nav-bottom-marquee {
	margin-top: auto;
	margin-bottom: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	overflow: hidden;
	pointer-events: none;
	flex-shrink: 0;
}
.l-header__nav-bottom-marquee .p-home-marquee__text {
	font-family: 'Oswald', sans-serif;
	font-size: 8rem;
	font-weight: 600;
	color: #255276;
	white-space: nowrap;
	padding-right: 30px;
}

/* SPアコーディオン展開スタイル */
.l-header__mega {
	position: static;
	width: 100%;
	box-shadow: none;
	padding: 0;
	background: transparent;
	transform: none;
	border-bottom: 1px solid #ddd;
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
	opacity: 0; 
	visibility: hidden; 
	pointer-events: none;
	z-index: auto;
}
.l-header__mega-inner {
	min-height: 0;
	overflow: hidden;
}

.l-header__nav-item.is-open .l-header__mega {
	grid-template-rows: 1fr;
	border-radius: 0; 
	opacity: inherit; 
	visibility: inherit; 
	pointer-events: inherit;
}

.l-header__mega-header,
.l-header__mega-card-icon {
	display: none;
}

.l-header__mega-card img {
	display: none;
}

.l-header__mega-cards {
    grid-template-columns: unset;
    gap: 0;
    padding: 0 0 10px 16px;
    display: block;
}

.l-header__mega-card-wrap {
	width: auto;
}

.l-header__mega-card {
	padding: 15px 0;
}
.l-header__mega-card-bottom {
	justify-content: flex-start;
	font-weight: normal;
}

.l-header__translate-pc { display: none; }
.l-header__translate-sp {
display: block;
margin-top: 30px;
margin-bottom: 30px;
width: 100%;
}

.l-header__translate-sp .gt_float_switcher { margin-left: 0 !important; }

/* Hero (SP) */
.p-home-hero__copy-box {
    top: 56%;
}
.p-home-hero__copy {
	font-size: 2rem;
}

.p-home-hero .swiper-pagination {
    text-align: center;
    right: 0;
    width: 100%;
    padding: 0;
    bottom: 24px;
}

/* History + Future (SP) */
.p-home-marquee__text {
	font-size: 14.8vw; /* ★ PCと同じ比率に設定 */
}

/* Company (SP) */
.p-home-company {
    flex-direction: column;
    gap: 30px;
    padding-top: 40px;
}
.p-home-company__content {
	width: 100%;
}
.p-home-company__image {
	display: none; 
}
.p-home-company__catch {
	font-size: 1.8rem;
}

/* Product (SP) */
.p-home-product__cards {
	grid-template-columns: 1fr;
}

/* Case Study (SP) */
.p-home-casestudy {
	position: relative;
}
.p-home-casestudy__header {
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.p-home-casestudy__nav .c-icon-btn {
	display: inline-flex !important; 
	position: absolute;
	top: 55%; 
	transform: translateY(-50%);
	z-index: 20;
	background-color: rgba(255, 255, 255, 0.95);
	border: 1px solid #ddd;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}
.p-home-casestudy__slider-prev {
	left: 2%;
}
.p-home-casestudy__slider-next {
	right: 2%;
}

.p-home-casestudy__nav .p-home-casestudy__btn-viewall {
	display: none;
}
.p-home-casestudy__btn-viewall--sp {
	display: block;
	margin: 30px auto 0;
	width: 200px;
}
.p-home-casestudy__card-link {
	border: none;
	padding: 0;
	background-color: transparent;
	text-decoration: underline;
	text-underline-offset: 4px;
	margin-top: 10px;
}
.p-home-casestudy__card-link:hover {
	background-color: transparent;
	color: #333;
}

/* Contact (SP) */
/* 修正指示反映 */
.p-home-contact {
	width: 92%;
	padding: 60px 6%;
	margin-bottom: -200px;
}

.p-home-contact__inner {
	flex-direction: column;
	text-align: center;
	gap: 30px;
}
.p-home-contact__title {
	text-align: center;
}
.p-home-contact__content {
	text-align: left;
}
.p-home-contact__text {
	text-align: left;
}
.p-home-contact__title span {
	display: block;
	margin-left: 0;
	margin-top: 5px;
}
.p-home-contact__btn {
	padding: 15px 30px;
	font-size: 1.4rem;
}

/* Footer (SP) */
.l-footer {
	display: flex;
	flex-direction: column;
	padding-top: 280px;
}

.l-footer__inner {
	order: 1;
	flex-direction: column;
	gap: 40px;
	width: 92%;
}
.l-footer__info {
	width: 100%;
}
.l-footer__logo {
	width: 100%;
	height: auto;
}
.l-footer__address {
	text-align: left;
}
.l-footer__nav {
	display: none;
}
.l-footer__pagetop {
	order: 2;
	position: static;
	display: flex;
	justify-content: center;
	margin: 40px auto 30px;
	width: 100%;
}
.l-footer__bottom {
	order: 3;
	width: 92%;
	text-align: center;
}




.p-page-header__title {
    flex-direction: column;
}

.l-page-wrapper {
    padding-bottom: 0;
    padding-top: 120px;
    width: 92%;
}

.p-page-header {
	margin-bottom: 40px;
}
.p-page-header__inner {
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
}
.p-page-header__title .en {
	font-size: 4.8rem;
}
.p-page-header__img img {
	height: 240px;
}

.p-page-header__breadcrumb {
    margin-top: 80px;
}



.p-about-intro {
	flex-direction: column;
	gap: 20px;
	margin-bottom: 50px;
}
.p-about-intro__catch,
.p-about-intro__text {
	width: 100%;
}
.p-about-intro__catch {
	font-size: 2rem;
}

.l-page-sidebar {
	display: none;
}

.l-page-layout {
	display: block; 
}

.p-about-card {
    padding: 40px 20px;
    overflow: hidden;
}
.p-about-card__title {
	font-size: 1.8rem;
}

.p-about-table th, 
.p-about-table td {
	display: block;
	width: 100%;
}
.p-about-table th {
	padding-bottom: 5px;
	border-bottom: none;
	color: #255276;
}
.p-about-table td {
	padding-top: 0;
	padding-bottom: 20px;
}

.p-about-values__catch {
	font-size: 1.8rem;
	margin-bottom: 30px;
}
.p-about-values__grid {
	grid-template-columns: 1fr;
	gap: 30px;
}

.p-history-year-wrap {
	width: 70px;
}
.p-history-dot-wrap {
	width: 30px;
}

.p-about-cert {
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.p-about-cert__title-wrap {
	flex-direction: column;
	gap: 5px;
}

.p-about-bottom-links {
	grid-template-columns: 1fr;
	margin-top: 40px;
}




.p-bases-intro {
	margin-bottom: 50px;
}
.p-bases-intro__text {
	font-size: 1.4rem;
}

.p-bases-list {
	margin-bottom: 60px;
}
.p-base-item {
	padding: 25px 20px;
	margin-bottom: 30px;
}
.p-base-item__name {
	font-size: 1.8rem;
}
.p-base-item__name small {
	display: block;
	margin-left: 0;
	margin-top: 4px;
	font-size: 1.2rem;
}
.p-base-item__body {
	flex-direction: column;
	gap: 15px;
}
.p-base-item__col {
	width: 100%;
}

.p-base-item_wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.p-base-item_wrapper .p-base-item {
    margin-bottom: 0px !important;
}




.p-equip-intro {
	margin-bottom: 50px;
}
.p-equip-intro__text {
	font-size: 1.4rem;
}

.p-equip-list {
	grid-template-columns: 1fr;
	gap: 30px;
	margin-bottom: 60px;
}

.p-equip-card__header {
	padding: 20px 20px 15px;
}
.p-equip-card__title {
	font-size: 1.6rem;
}
.p-equip-card__body {
	padding: 20px;
}



/* =========================================================
   Contractor Page Specific Styles (施工業者様向け専用スタイル)
========================================================= */
.p-contractor-intro {
	margin-bottom: 40px;
	font-size: 1.4rem;
}

.p-contractor-card {
	padding: 40px 20px;
	margin-bottom: 30px;
	scroll-margin-top: 100px;
}
.p-contractor-card__title {
	font-size: 1.8rem;
}

.p-contractor-feature__item {
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 40px;
}
.p-contractor-feature__img {
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

.p-contractor-faq__q {
    font-size: 1.4rem;
    padding: 15px;
    padding-right: 36px;
}

.p-contractor-faq__a {
	padding: 0 15px 15px 15px;
}
.p-contractor-faq__a-inner {
	flex-direction: column;
	gap: 5px;
	padding: 15px;
}

.p-contractor-gallery {
	margin-top: 40px;
}
.p-contractor-gallery__grid {
	grid-template-columns: repeat(2, 1fr);
}

.p-contractor-bottom-links {
	grid-template-columns: 1fr;
	gap: 30px;
	margin-top: 40px;
}



/* =========================================================
   Manufacturer Page Specific Styles (製造業者様向け専用スタイル)
========================================================= */
.p-manufacturer-intro {
	margin-bottom: 40px;
	font-size: 1.4rem;
}

.p-manufacturer-card {
	padding: 40px 20px;
	margin-bottom: 30px;
	scroll-margin-top: 100px;
}
.p-manufacturer-card__title {
	font-size: 1.8rem;
}

.p-manufacturer-feature__item {
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 40px;
}
.p-manufacturer-feature__img {
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

.p-manufacturer-faq__q {
	font-size: 1.4rem;
	padding: 15px;
}
.p-manufacturer-faq__a {
	padding: 0 15px 15px 15px;
}
.p-manufacturer-faq__a-inner {
	flex-direction: column;
	gap: 5px;
	padding: 15px;
}

.p-manufacturer-gallery {
	margin-top: 40px;
}
.p-manufacturer-gallery__grid {
	grid-template-columns: repeat(2, 1fr);
}

.p-manufacturer-bottom-links {
	grid-template-columns: 1fr;
	gap: 30px;
	margin-top: 40px;
}



/* =========================================================
   Single Product Specific Styles (商品詳細専用スタイル)
========================================================= */
.p-product-header {
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 40px;
}
.p-product-header__title {
	font-size: 2.4rem;
}

.p-product-body {
	flex-direction: column;
	gap: 40px;
}
.p-product-gallery-wrap {
	width: 100%; /* スマホ時は100%に */
	order: -1;
}
.p-product-content {
	order: 1;
}

.p-product-text {
	font-size: 1.4rem;
	margin-bottom: 40px;
}
.p-product-capabilities {
	padding: 30px 20px;
}
.p-product-cap-item {
	flex-direction: column;
	gap: 15px;
}

.p-product-other {
	padding: 40px 20px;
}
.p-product-other__grid {
	grid-template-columns: repeat(2, 1fr);
}

.p-product-header__breadcrumb.sp_view {
	margin-top: 60px;
	padding-bottom: 20px;
	border-top: 1px solid #ddd;
	padding-top: 20px;
}



/* =========================================================
   Single Case Study Specific Styles (活用事例詳細専用スタイル)
========================================================= */
.p-casestudy-header {
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 40px;
}
.p-casestudy-header__title {
	font-size: 2.4rem;
}

.p-casestudy-body {
	flex-direction: column;
	gap: 40px;
}
.p-casestudy-gallery-wrap {
	width: 100%;
	order: -1;
}
.p-casestudy-content {
	order: 1;
}

.p-casestudy-text {
	font-size: 1.4rem;
	margin-bottom: 40px;
}
.p-casestudy-used-products {
	padding: 30px 20px;
}
.p-casestudy-used-products__grid {
	grid-template-columns: 1fr;
}

.p-casestudy-other {
	padding: 40px 20px;
}
.p-casestudy-other__grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.p-casestudy-header__breadcrumb.sp_view {
	margin-top: 60px;
	padding-bottom: 20px;
	border-top: 1px solid #ddd;
	padding-top: 20px;
}



/* =========================================================
   Archive Case Study Specific Styles (活用事例一覧専用スタイル)
========================================================= */
.p-casestudy-list {
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}
.p-casestudy-card {
	padding: 20px 15px;
}
.p-casestudy-card__img {
	height: 140px;
}
.p-casestudy-card__title {
	font-size: 1.4rem;
	margin-bottom: 20px;
}
.p-casestudy-card__btn {
	padding: 6px 20px;
}



/* =========================================================
   Privacy Policy Specific Styles (個人情報保護方針専用スタイル)
========================================================= */
.p-privacy-container {
	padding: 40px 20px;
}
.p-privacy-intro {
	font-size: 1.4rem;
	margin-bottom: 40px;
}
.p-privacy-section {
	margin-bottom: 40px;
}
.p-privacy-section__title {
	font-size: 1.6rem;
}
.p-privacy-info {
	padding: 20px;
}



/* =========================================================
   Contact Page Specific Styles (お問い合わせ専用スタイル)
========================================================= */
.p-contact-container {
	padding: 40px 20px;
}
.p-contact-intro__text {
	font-size: 1.4rem;
}

.p-contact-form dl {
	grid-template-columns: 1fr;
}
.p-contact-form dt {
	border-bottom: none;
	padding: 20px 15px 5px;
}
.p-contact-form dd {
	padding: 0 15px 25px;
}
.p-contact-submit input[type="submit"] {
	width: 100%;
	padding: 15px 0;
}

.p-contact-recaptcha {
    margin-top: 48px;
    text-align: left;
}



/* =========================================================
   Technology Archive Specific Styles (加工技術一覧専用スタイル)
========================================================= */
.p-tech-intro {
	padding: 30px 20px;
}
.p-tech-intro p {
	font-size: 1.4rem;
}

.p-manufacturer-gallery__grid {
	grid-template-columns: repeat(2, 1fr); 
	gap: 15px; /* 少し余白をタイトに */
	margin-bottom: 50px;
}
.p-manufacturer-gallery__item {
	padding: 15px 12px 12px;
	aspect-ratio: 4 / 3; /* スマホでも横長比率を維持 */
}
.p-manufacturer-gallery__title {
	font-size: 1.4rem; /* 文字サイズをスマホ向けに最適化 */
	margin-bottom: 8px;
}
.p-manufacturer-gallery__img-wrap {
	margin-bottom: 10px;
}
.p-manufacturer-gallery__icon {
	width: 24px;
	height: 24px;
	right: 10px;
	bottom: 10px;
}

.p-tech-modal__content {
	flex-direction: column;
	gap: 20px;
	padding: 40px 20px 30px;
}
.p-tech-modal__left {
	width: 100%;
}
.p-tech-modal__title {
	font-size: 2rem;
}



/* =========================================================
   Strength Page Specific Styles (垣本ハウスの強み専用スタイル)
========================================================= */
.p-strength-container {
	padding: 40px 20px;
	margin-bottom: 60px;
}
.p-strength-section-title {
	margin-bottom: 50px;
}
.p-strength-section-title__badge {
	font-size: 1.8rem;
	padding: 10px 30px;
}

.p-strength-item {
	flex-direction: column;
	gap: 15px;
	padding-bottom: 40px;
	margin-bottom: 10px;
}
.p-strength-item__number {
	font-size: 5.2rem;
	width: auto;
}
.p-strength-item__title {
	font-size: 1.8rem;
	margin-bottom: 12px;
}
.p-strength-item__text {
	font-size: 1.4rem;
}











}







































