body, h1, h2, h3, h4, h5, h6, p, address,
ul, ol, li, dl, dt, dd,
table, caption, th, td, img, form {
	margin: 0;
	padding: 0;
	border: none;
	font-style: normal;
	font-weight: 400;
	font-size: 1.4rem;
	list-style-type: none;
	font-family: "Hiragino Mincho ProN", YuMincho, serif;
	letter-spacing: 0.1em;
	line-height: 1;
	font-variant-ligatures:none;
}

.grecaptcha-badge {
    visibility: hidden;
}

figure{
    margin: 0;
    padding: 0;
}

textarea {
	font-size: 100%;
}

*:focus {
outline: none;
}

img {
	max-width: 100%;
	height: auto;
}

hr{
}

html{
	min-height: 620px;
	height: 100%;
	overflow-y: scroll;
	font-size: 62.5%;

	font-feature-settings: "palt" 1;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	text-align: justify;
	text-justify: inter-ideograph;
}

iframe[name="google_conversion_frame"]{
	position: absolute;
	top: 0;
}

input, button, textarea, select {
	-webkit-appearance: none;
	appearance: none;
}

body{
	height: 100%;
	background: #fff;
	color: #000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a{
	text-decoration: none;
	color: #000;
}

a:hover{
	text-decoration: none;
	color: #444;
}

a:hover img{
opacity: .5;
-webkit-opacity: .5;
-moz-opacity: .5;
filter: alpha(opacity=50);
-ms-filter: "alpha(opacity=50)";
}
 
a img {
}

input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.youtube iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

.link_button a{
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 1; 
    padding: 4px 16px;
    border:solid 1px #000;
    border-radius: 12px;
    transition: all ease .5s;
    font-weight: 600;
}

.link_button a:hover{
    background-color: #fff;
    color: #000;
}

/* =========================================
   Loading Animation (Top Page)
========================================= */
.p-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999; /* 最前面に配置 */
    pointer-events: auto;
}

/* 白背景 */
.p-loading__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.8s ease; /* すっと消えるスピード */
}

/* ロゴの枠（画面中央） */
.p-loading__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64vw;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}

/* 中に入る画像（imgタグでもsvgタグでも対応）を枠幅に合わせる設定 */
.p-loading__logo svg,
.p-loading__logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* JSで付与されるクラス（消える動き） */
.p-loading.is-bg-hidden .p-loading__bg {
    opacity: 0;
}

.p-loading.is-logo-hidden .p-loading__logo {
    opacity: 0;
}

.p-loading.is-complete {
    display: none;
}


/* =========================================
   Layout: Header
========================================= */
.l-header {
    overflow: hidden;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.l-header__logo {
    line-height: 1;
    width: 160px;
    order: 2;
    padding: 19px 8px 20px;
}

.l-header__logo a {
    text-decoration: none;
    color: #000;
    display: block;
}

/* =========================================
   (1) ヘッダーロゴスライダー
========================================= */
.p-logo-sliders {
    width: 170px;
    height: 335px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 12px;
}

.swiper-logo-top, 
.swiper-logo-bottom {
    width: 100%;
    height: 50%; /* 追加：高さを綺麗に半分ずつ割り当てる */
}

/* ロゴの画像をコンテナ幅に合わせる */
.p-logo-sliders img {
    width: 86%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding-right: 14%;
}

/* =========================================
   Component: Header Navigation (g-nav)
   ========================================= */
.p-header-nav {
    order: 1;
    padding: 34px;
}

.p-header-nav__list {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-header-nav__item a {
    display: block;
    padding: 8px 24px;
    border: 1.5px solid #000;
    border-radius: 48px;
    text-decoration: none;
    color: #000;
    font-size: 4.1rem;
    background: #fff;
}

.p-header-nav__item a:hover {
    background: #000;
    color: #fff;
}


/* =========================================
   Component: Process & Artisan List (Grid共通)
========================================= */
.p-process-list__grid, .p-artisan-list__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr; /* ★追加：すべての行（空の行も含む）を一番背の高いアイテムに合わせる */
    border-top: 1.5px solid #000;
    margin: 0 auto;
}

.p-process-list__item,
.p-artisan-list__item {
    display: flex; 
    flex-direction: column;
    box-sizing: border-box;
    border-bottom: 1.5px solid #000;
    border-right: 1.5px solid #000;
    height: 100%; 
}

.p-artisan-list__item {
    padding: 51px 41px;
}

.p-process-list__item:nth-child(2n),
.p-artisan-list__item:nth-child(2n) {
    border-right: none;
}

/* 正方形にするダミー要素を無効化 */
.p-process-list__item::before,
.p-artisan-list__item::before {
    display: none;
}

.p-process-list__item--empty, 
.p-artisan-list__item--empty {
    flex-grow: 1; 
    min-height: 400px; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' preserveAspectRatio='none'%3E%3Cline x1='100%25' y1='0' x2='0' y2='100%25' stroke='%23000' stroke-width='1.5' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: #fff;
}

/* =========================================
   Component: Card (Filled Content)
========================================= */
.p-card__link,
.p-artisan-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%; 
    flex-grow: 1;
    text-decoration: none;
    color: #000;
    position: relative;
}

.p-card__link::after,
.p-artisan-card__inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--grad-top, rgba(255,255,255,0.85)), var(--grad-bottom, rgba(255,255,255,0.85)));
    opacity: 0;
    z-index: 2;
    pointer-events: none; 
}

.p-card__link:hover::after{
    opacity: 1;
}

.p-card__figure{
    margin: 0;
    position: relative;
    background: #f4f4f4;
    flex-shrink: 0;
    aspect-ratio: 4 / 2.8;
    overflow: hidden;
    z-index: 1;
}

.p-artisan-card__figure {
    margin: 0;
    position: relative;
    background: #f4f4f4;
    flex-shrink: 0;
    aspect-ratio: 4 / 2.4;
    overflow: hidden;
    z-index: 1;
}

.p-card__img,
.p-artisan-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.p-card__meta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s;
    color: #000; 
    pointer-events: none;
}

.p-card__link:hover .p-card__meta {
    opacity: 1;
}

.p-card__body {
    padding: 25px 20px;
    background: #fff;
    flex-grow: 1; /* ★ここがポイント：文字数が違っても、ボックスの高さが揃うように余白部分が自動で伸びる */
    position: relative;
    z-index: 3;
}

.p-artisan-card__body {
    background: #fff;
    flex-grow: 1; /* ★同じく余白を伸ばす */
    position: relative;
    z-index: 3;
    margin-top: 28px;
}

.p-card__link:hover .p-card__body,
.p-artisan-card__inner:hover .p-artisan-card__body {
    background-color: transparent; 
}

.p-card__title {
    font-size: 3.1rem;
    margin: 0;
    z-index: 100;
    position: relative;
    color: #000;
}

.p-card__spec {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.p-card__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.p-card__row dt {
    width: 116px;
    flex-shrink: 0;
    line-height: 1.6;
    font-size: 2.1rem;
    letter-spacing: 0.1em;
}

.p-card__row dd {
    flex-grow: 1;
    margin: 0;
    white-space: break-spaces; 
    line-height: 1.6;
    font-size: 2.1rem;
    letter-spacing: 0.1em;
}

/* =========================================
　フッター上セクション (Instagram & Gallery)
========================================= */
.p-pre-footer {
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.p-pre-footer__inner {
    display: flex;
    align-items: stretch;
}

.p-pre-footer__left {
    width: 422px;
    height: 422px;
    flex-shrink: 0;
    border-right: 1.5px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    text-decoration: none;
    color: #000;
}

/* ホバー時の処理 */
.p-pre-footer__left:hover {
    background-color: #000;
    color: #fff; /* 文字を白に */
}

.p-pre-footer__left:hover .p-pre-footer__insta {
    background-color: #000;
    color: #fff;
    border-color: #fff; /* 枠線を白に */
    animation-play-state: running; /* ★ホバーされたら回転アニメーションを再生（再開）する */
}

/* 中の円 */
.p-pre-footer__insta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 338px;
    height: 338px;
    border: 1px solid #000;
    border-radius: 50%;
    background-color: transparent;
    
    /* ★レコード回転のアニメーションを常時セットしておく（15sは1周にかかる秒数です。お好みで調整してください） */
    animation: rotateRecord 5s linear infinite;
    animation-play-state: paused; /* ★通常時は一時停止（pause）にしておくことで、離した位置で止まります */
}

.p-pre-footer__insta-text {
    font-size: 3rem;
}

.p-pre-footer__right {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-width: 0;
}

.p-marquee {
    display: flex;
    width: fit-content;
    animation: marquee 50s linear infinite; 
}

.p-marquee__img {
    height: 369px; 
    width: auto;
    max-width: none !important; 
    flex-shrink: 0;
    display: block;
}

/* ★追加：レコード回転のキーフレーム */
@keyframes rotateRecord {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* アニメーションの動き（左から右へ流す設定） */
@keyframes marquee {
    0% {
        /* 最初は左に1枚分ズレた位置からスタート */
        transform: translateX(-50%);
    }
    100% {
        /* 右へ移動して定位置に戻る */
        transform: translateX(0);
    }
}

/* =========================================
   Layout: Footer
========================================= */
.l-footer {
    border-top: 1.5px solid #000;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    padding: 32px 34px;
    margin-top: -1px;
    position: relative;
    z-index: 10;
}

.l-footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
    align-items: flex-end;
}

.l-footer__brand {
    display: flex;
    flex-direction: column;
}

.l-footer__logo-jp {
    font-size: 5rem;
    margin-bottom: 14px;
    line-height: 1;
}

.l-footer__logo-en {
    font-size: 3.9rem;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.p-footer-nav {
    display: flex;
    gap: 97px;
    margin-right: auto;
    margin-left: 140px;
}

.p-footer-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-footer-nav__item {
    margin-bottom: 4px;
    line-height: 1.6;
    font-size: 2.1rem;
}

.p-footer-nav__item:last-child {
    margin-bottom: 0;
}

.p-footer-nav__item a {
    text-decoration: none;
    color: #000;
    letter-spacing: 0.05em;
}

.p-footer-nav__item a:hover {
    opacity: 0.6;
}

.u-text-disabled {
    display: block;
    color: #000;
}

.l-footer__copyright {
    align-self: flex-end;
    margin-top: auto;
    padding-bottom: 5px;
    margin-top: 64px;
}

.l-footer__copyright small {
    font-size: 2.1rem;
    color: #000;
    letter-spacing: 0.05em;
}

.p-process-detail {
    width: 100%;
    padding: 0;
    color: #000;
    box-sizing: border-box;
}

.p-process-detail__inner {
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.p-process-detail__header {
    margin-bottom: 80px;
}

.p-process-detail__top-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 125px;
    position: fixed;
    width: 100%;
    left: 0;
    top: 44px;
    z-index: 500;
    color: #fff;
    mix-blend-mode: difference;
}

.p-process-detail__section {
    margin-top: 80px;
}

.p-process-detail__title {
    font-size: 4rem;
    font-weight: normal;
    margin: 0;
    letter-spacing: 0.2em;
    line-height: 1.4;
    position: absolute;
    left: 58px;
}

.p-process-detail__back-arrow {
    font-size: 4rem;
    text-decoration: none;
    color: #fff;
    font-family: sans-serif;
    position: absolute;
    right: 59px;
}

.p-process-detail__back-arrow:hover {
    opacity: 0.6;
}

.p-process-detail__lead {
    max-width: 1040px;
    text-align: justify;
    margin: 0 auto 140px;
    width: 80%;
    padding-top: 228px;
}

.p-process-detail__lead p {
    line-height: 2.2;
    font-size: 2.3rem;
    font-family: "Hiragino Mincho ProN", YuMincho, serif;
}

.p-process-detail__video {
    width: 100%;
    margin-bottom: 170px;
}

.p-embed-responsive {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: transparent;
}

.p-embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.p-spec-list {
    border-top: 1px solid #000;
}

.p-spec-list__row {
    display: flex;
    border-bottom: 1px solid #000;
    padding: 20px 0;
}

.p-spec-list__row dt {
    width: 120px;
    flex-shrink: 0;
}

.p-spec-list__row dd {
    flex-grow: 1;
    margin: 0;
    line-height: 1.8;
}

/* 4. Process Steps (Day 1 - 3) */
.p-step-day {
    margin-bottom: 60px;
}

.p-step-day__title {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    display: inline-block;
}

.p-step-list__row {
    display: flex;
    margin-bottom: 25px; /* 各工程の間の余白 */
    align-items: baseline;
}

.p-step-list__head {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    font-weight: bold;
}

.p-step-list__num {
    color: #666;
}

.p-step-list__body {
    flex-grow: 1;
    margin: 0;
    line-height: 1.8;
    font-size: 1.5rem;
}

.p-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 66px;
    border-top: solid 1px;
    padding: 66px 63px 0;
}

.p-detail-gallery__item {
    margin: 0;
    width: 100%;
}

.p-detail-gallery__item img {
    width: 100%;
    height: auto;
    display: block;
}

.p-post-nav {
    display: none;
}

.p-post-nav a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    transition: opacity 0.3s;
}

.p-post-nav a:hover {
    opacity: 0.6;
}

.p-process-detail__footer {
    text-align: center;
    margin-top: 66px;
    padding-bottom: 60px;
    border-top: solid 1px;
    padding-top: 60px;
    position: relative;
    font-size: 3.2rem;
    letter-spacing: 0.1em;
}

.p-process-detail__footer:hover{
    background-color: #111;
    color: #fff;
}

.p-btn-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left:0;
}

.p-process-detail__footer:hover .p-btn-back{
    color: #fff;
}

.p-process-detail__spec-area {
    display: flex;
    align-items: baseline;
    margin: 0 auto 172px;
    width: 80%;
    max-width: 1040px;
}

.p-spec-title {
    width: 36%;
    font-size: 2.8rem;
    font-weight: normal;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.p-spec-list {
    width: 64%;
    border-top: none;
}

.p-spec-list__row {
    display: flex;
    border-bottom: none;
    padding: 0;
    margin-bottom: 8px;
    align-items: baseline;
}

.p-spec-list__row dt {
    width: auto;
    min-width: 130px;
    padding-right: 10px;
    font-size: 2rem;
}

.p-spec-list__row dd {
    flex-grow: 1;
    margin: 0;
    line-height: 2.2;
    font-size: 2rem;
    font-family: "Hiragino Mincho ProN", YuMincho, serif;
}

.p-embed-responsive {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: transparent;
}

.p-embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.p-process-timeline {
    display: flex;
    align-items: baseline;
    margin: 0 auto 160px;
    width: 80%;
    max-width: 1040px;
}

.p-process-timeline__head {
    width: 36%;
    flex-shrink: 0;
}

.p-process-timeline__title {
    font-size: 2.8rem;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
    position: sticky;
    top: 40px;
}

.p-process-timeline__body {
    width: 64%;
}

.p-timeline-day {
    display: flex;
    align-items: stretch;
    margin-bottom: 0;
}

.p-timeline-day__meta {
    width: 60px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6px;
}

.p-timeline-day__label {
    line-height: 1;
    margin-bottom: 16px;
    white-space: nowrap;
    font-size: 2rem;
}

.p-timeline-day__line {
    width: 1px;
    background-color: #000;
    flex-grow: 1;
    margin-bottom: 43px;
}

.p-timeline-day__content {
    flex-grow: 1;
    padding-left: 79px;
    padding-top: 0;
}

.p-timeline-step {
    margin-bottom: 36px;
}

.p-timeline-step__info {
    width: 100%;
}

.p-timeline-step__title {
    font-size: 2.6rem;
    font-weight: normal;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.p-timeline-step__desc {
    line-height: 1.8;
    font-size: 1.8rem;
    padding-left: 64px;
    font-family: "Hiragino Mincho ProN", YuMincho, serif;
}

/* =========================================
   Page: Artisan List (Archive)
========================================= */
.p-artisan-card__name {
    margin-bottom: 27px;
    line-height: 1.4;
}

.p-artisan-card__name-jp {
    font-size: 2.8rem;
    display: block;
}

.p-artisan-card__name-en {
    font-size: 1.4rem;
    color: #333;
}

.p-artisan-card__desc {
    margin-bottom: 20px;
}

.p-artisan-card__desc p{
    font-size: 1.6rem;
    line-height: 1.6;
}

/* リンクボタン */
.p-artisan-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.p-artisan-link {
    padding: 3px 12px;
    border: 1px solid #000;
    border-radius: 50px;
    font-size: 1.7rem;
    background: #fff;
}

.p-artisan-link:hover {
    background: #000;
    color: #fff;
}


/* =========================================
Production Staff
========================================= */

.p-staff-page {
    padding: 0 40px;
    color: #000;
    border-top: solid 1px;
    padding-top: 179px;
    margin-bottom: 179px;
}

.p-staff-section {
    max-width: 1026px;
    text-align: justify;
    margin: 0 auto 113px;
    width: 80%;
}

.p-staff-heading {
    font-size: 2.9rem;
    margin-bottom: 43px;
    letter-spacing: 0.05em;
}

.p-staff-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-staff-item {
    margin-bottom: 40px; /* 人ごとの余白 */
}

.p-staff-role {
    margin-bottom: 16px;
    line-height: 1;
    font-size: 2.1rem;
}

.p-staff-profile {
    display: flex;
    align-items: center; /* 縦位置中央揃え */
    flex-wrap: wrap; /* スマホで長くなった時用 */
    gap: 15px; /* 名前とボタンの間隔 */
}

.p-staff-name {
    font-size: 2.1rem;
    letter-spacing: 0.05em;
}

/* リンクボタン */
.p-staff-link {
    display: inline-block;
    padding: 3px 12px;
    border: 1px solid #000;
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-size: 1.7rem;
    background: #fff;
}

.p-staff-link:hover {
    background: #000;
    color: #fff;
}

/* =========================================
   Page: Privacy Policy
========================================= */

.p-privacy {
    padding: 0 40px;
    box-sizing: border-box;
    border-top: solid 1px;
    padding-top: 179px;
}

.p-privacy__main-title {
    font-size: 4rem;
    text-align: left;
    letter-spacing: 0.05em;
    max-width: 1026px;
    margin: 0 auto 113px;
    width: 80%;
}

.p-privacy__content {
    line-height: 2.2;
    text-align: justify;
    margin-bottom: 245px;
}

.p-privacy__lead {
    line-height: 1.8;
    max-width: 1026px;
    text-align: justify;
    margin: 0 auto 97px;
    width: 80%;
    font-size: 1.6rem;
}

/* 各セクション */
.p-privacy__section {
    max-width: 1026px;
    text-align: justify;
    margin: 0 auto 97px;
    width: 80%;
}

.p-privacy__section p {
    line-height: 1.8;
    font-size: 1.6rem;
}

.p-privacy__sub-title {
    font-size: 2.4rem;
    margin-bottom: 23px;
}

/* リスト */
.p-privacy__list {
    margin: 20px 0 0 20px;
    padding: 0;
}

.p-privacy__list li {
    list-style-type: disc;
    margin-bottom: 16px;
    font-size: 1.6rem;
}

/* =========================================
   Page: Contact
========================================= */
.p-contact {
    padding: 0 40px;
    box-sizing: border-box;
    border-top: solid 1px #000;
    padding-top: 179px;
    padding-bottom: 234px;
}

.p-contact__inner {
    max-width: 1126px;
    margin: 0 auto;
    width: 80%;
}

.p-contact__title {
    font-size: 4rem;
    text-align: left;
    letter-spacing: 0.1em;
    margin-bottom: 113px;
    font-weight: normal;
}

/* フォームのレイアウト */
.p-form {
    width: 100%;
}

.p-form__item {
    margin-bottom: 51px;
}

.p-form__label {
    display: block;
    font-size: 1.7rem;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.p-form__input {
    width: 100%;
}

/* 入力フィールドの装飾（白背景＋黒1pxボーダー） */
.p-form__input input[type="text"],
.p-form__input input[type="tel"],
.p-form__input input[type="email"],
.p-form__input textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #000;
    box-sizing: border-box;
    font-size: 1.6rem;
    font-family: inherit;
    background: #fff;
    border-radius: 0; /* iOSのデフォルト丸みを消す */
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s;
}

.p-form__input input[type="text"]:focus,
.p-form__input input[type="tel"]:focus,
.p-form__input input[type="email"]:focus,
.p-form__input textarea:focus {
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    outline: none;
}

.p-form__input textarea {
    height: 300px; /* デザインに合わせて高めに設定 */
    resize: vertical;
}

/* 確認画面へのエリア */
.p-form__submit-area {
    margin-top: 60px;
}

.p-form__consent {
    font-size: 1.7rem;
    margin-bottom: 17px;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.p-form__consent a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.p-form__consent a:hover {
    opacity: 0.6;
}

/* 送信ボタン（横幅100%の白ボタン） */
.p-form__submit {
    width: 100%;
}

.p-form__submit input[type="submit"] {
    display: block;
    width: 100%;
    padding: 20px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-size: 2rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    font-family: "Hiragino Mincho ProN", YuMincho, serif;
}

/* ホバー時に黒く反転 */
.p-form__submit input[type="submit"]:hover {
    background: #000;
    color: #fff;
}

/* Contact Form 7 のエラーメッセージ装飾 */
.wpcf7-not-valid-tip {
    font-size: 1.3rem;
    color: #e60000;
    margin-top: 8px;
    display: block;
}

/* =========================================
   Contact Form 7 送信結果メッセージの装飾
========================================= */
/* 基本スタイル */
.wpcf7 form .wpcf7-response-output {
    border-radius: 0;
    padding: 22px !important;
    text-align: center;
    background: #fff;
    font-size: 1.8rem;
    box-sizing: border-box;
    margin: 2em 0 1em !important;
    line-height: 1.6;
}

/* 送信成功時（緑のborderと文字） */
.wpcf7 form .wpcf7-mail-sent-ok {
    border: 1px solid #28a745 !important;
    color: #28a745 !important;
}

/* 入力エラー・その他のエラー時（赤のborderと文字） */
.wpcf7 form .wpcf7-validation-errors,
.wpcf7 form .wpcf7-acceptance-missing,
.wpcf7 form .wpcf7-spam-blocked,
.wpcf7 form .wpcf7-aborted,
.wpcf7 form .wpcf7-mail-sent-ng {
    border: 1px solid #e60000 !important;
    color: #e60000 !important;
}

.wpcf7-spinner{
    display: none !important;
}

/* =========================================
   お問い合わせ 擬似確認画面用CSS
========================================= */
/* 確認用のテキスト受け皿（初期は非表示） */
.p-form__confirm-text {
    display: none;
    font-size: 1.6rem;
    line-height: 1.6;
    padding: 15px 0;
    white-space: pre-wrap; /* 改行を反映させる */
}

/* ▼ JSで「is-confirm」クラスが付与された時の切り替え処理 ▼ */
#js-contact-form.is-confirm .wpcf7-form-control-wrap {
    display: none !important; /* CF7の入力枠を隠す */
}
#js-contact-form.is-confirm .p-form__confirm-text {
    display: block; /* 入力されたテキストを表示する */
}
#js-contact-form.is-confirm .p-form__consent {
    display: none; /* 同意文言を隠す */
}
#js-contact-form.is-confirm .p-form__btn-input {
    display: none; /* 「確認画面へ」ボタンを隠す */
}
#js-contact-form.is-confirm .p-form__btn-confirm {
    display: block !important; /* 「戻る」「送信」ボタンを表示する */
}

/* 送信・確認・戻るボタンの共通スタイル */
.c-btn,
.p-form__submit input[type="submit"] {
    display: block;
    width: 100%;
    padding: 20px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-size: 2rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    font-family: "Hiragino Mincho ProN", YuMincho, serif;
    margin-bottom: 10px;
    text-align: center;
}

.c-btn:hover,
.p-form__submit input[type="submit"]:hover {
    background: #000;
    color: #fff;
}

/* 入力エラーメッセージの独自スタイル */
.p-form__error {
    font-size: 1.3rem;
    color: #e60000;
    margin-top: 8px;
    display: block;
}




/* =========================================
   Page: About
========================================= */
#about {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw;
  height: 100vh;
  overflow: hidden !important; 
  position: fixed !important; 
}

#about .l-header,
#about .l-footer {
  display: none !important;
}

.p-about-fixed-ui {
  position: fixed;
  z-index: 100;
  pointer-events: auto;
}

.p-about-label {
    top: 32px;
    left: 32px;
    border: 1.5px solid #333;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 4rem;
    background-color: #fff;
    letter-spacing: 0.1em;
    cursor: default;
    font-family: "Hiragino Mincho ProN", YuMincho, serif;
}

.p-about-viewport {
  width: 100vw;
  height: 100vh;
  cursor: grab;
  position: relative;
  overflow: hidden;
  touch-action: none; 
}

.p-about-viewport:active {
  cursor: grabbing;
}

.p-about-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 4000px;
  height: 2800px; 
  transform-origin: 0 0;
  will-change: transform;
}

.p-about-bg {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none; 
  user-select: none;
}

.p-about-item {
  position: absolute;
  pointer-events: auto;
}

.p-about-video-container {
  overflow: hidden; 
}

.p-about-video-container video,
.p-about-video-container img {
  width: 100%;
  display: block; 
  transform: scale(1.02);
}

.p-about-video-1 {
  top: 1278px;
  left: 104px;
  width: 490px;
}
.p-about-video-2 {
  top: 1645px;
  left: 104px;
  width: 490px;
}
.p-about-video-3 {
  top: 1043px;
  right: 428px;
  width: 400px;
}

/* =========================================
   Aboutページ：ズームボタン
========================================= */
.p-about-zoom-ctrl {
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border: 1px solid #000;
  border-bottom: none;
  border-left: none;
  border-radius: 0;
}

.p-about-zoom-btn {
  position: relative; /* 線を配置する基準 */
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  border-right: 1px solid #000;
  color: #000; /* この色が線の色になります */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  padding: 0;
}

.p-about-zoom-btn:last-child {
  border-right: none;
}

/* ＋ と － の線を CSS で描画 */
.p-about-zoom-btn::before,
.p-about-zoom-btn::after {
  content: "";
  position: absolute;
  background-color: currentColor; /* .p-about-zoom-btn の color に追従する魔法の設定 */
}

/* マイナス（横線） */
.p-about-zoom-btn--out::before {
  width: 20px;
  height: 1px;
}

/* プラス（横線と縦線） */
.p-about-zoom-btn--in::before {
  width: 20px;
  height: 1px;
}
.p-about-zoom-btn--in::after {
  width: 1px;
  height: 20px;
}

/* =========================================
   Aboutページ：閉じるボタン
========================================= */
.p-about-close {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #000;
    border-bottom: none;
    border-right: none;
    color: #000;
    text-decoration: none;
}

/* ×（クロス）の線を CSS で描画 */
.p-about-close::before,
.p-about-close::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  width: 30px;
  height: 1px;
}
.p-about-close::before {
  transform: rotate(45deg);
}
.p-about-close::after {
  transform: rotate(-45deg);
}

/* =========================================
   Hoverアクション（ズーム・閉じる共通）
========================================= */
.p-about-zoom-btn:hover,
.p-about-close:hover {
  background-color: #000;
  color: #fff; /* 背景が黒になると同時に currentColor によって線が白になります */
}

/* =========================================
   Aboutページ：初期ブラーオーバーレイ
========================================= */
.p-about-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.p-about-overlay.is-hidden {
  opacity: 0;
}

/* ★ 変更：ご指定のサイズを適用 */
.p-about-overlay__img {
  width: 24%;
  height: 24%;
  object-fit: contain;
}












/* 960px 以下 */
@media screen and (max-width:960px) {

.p-header-nav__item a {
    font-size: 3.6rem;
}

.l-footer__copyright {
    margin-top: 64px;
}

.p-footer-nav {
    margin-left: 0;
}

.l-footer__inner {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

.l-footer__brand {
    margin-bottom: 40px;
}



}












/* 800px 以下 */
@media screen and (max-width:800px) {






}






/* 800px 以上 */
@media (min-width: 800px) {

a[href*="tel:"] {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
}

.sp_view{
	display: none !important;
}

.openbtn1 {
    display: none;
}


}













































