@charset "utf-8";
    /* ==========================================
           Variables & Base Styles
        ========================================== */
        :root {
            --bg-dark: #00101D;       /* ダークブルー */
			--bg-light: #002730;      /* グレーブルー */
            --accent-gold: #ECC749;   /* ゴールド */
			--bg-gold: #E4DDC3;
            --text-light: rgba(255,255,255,0.68);    /* ライトカラー */
            --white: #ffffff;
            --black: #1a1a1a;
        }

        body {
            font-family: 'Noto Serif JP', serif;
            background-color: var(--bg-dark);
            color: var(--white);
            margin: 0;
            padding: 0;
            line-height: 1.8;
            overflow-x: hidden;
        }
.nowrap {white-space: nowrap;}
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; height: auto; }
        small {font-size:70%;}
		.thin {font-weight: normal;}
        /* 共通ユーティリティ */
        .container { width: 90%; max-width: 1000px; margin: 0 auto; }
        .section-padding { padding: 80px 0; }
        .section-title, #mfp_overlay h4 {
            text-align: center;
            font-size: 2rem;
            color: var(--accent-gold);
            margin-bottom: 40px;
            position: relative;
        }
        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 2px;
            background-color: var(--accent-gold);
            margin: 15px auto 0;
        }

        /* ==========================================
           Header & Navigation
        ========================================== */
        header {
            position: fixed;
            top: 0; left: 0; width: 100%;
            background-color: rgba(0,14,38,0.95);
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.5);
            border-bottom: 1px solid var(--accent-gold);
        }
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 5%;
        }
		.logo a {display: flex;
    align-items: center;
    height: 100%;}
        .logo img { width:100%;height: auto; }
        .header-right { display: flex; align-items: center; gap: 20px; }
        .btn-request {
            background: linear-gradient(135deg, #ba9800 0%, #dfc34a 50%, #ba9800 100%);
            color: var(--bg-dark);
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: bold;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
			text-align: center;
			line-height: 1.2;
			white-space: nowrap;
			font-size: clamp(12px, 4vw, 16px);
			padding: clamp(10px, 2vw, 15px) clamp(15px, 3vw, 30px);
        }
        .btn-request:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.4); }

        /* ハンバーガーメニュー */
        .menu-btn { display: none; cursor: pointer; color: var(--accent-gold); font-size: 1.5rem; }
        .nav-menu { display: flex; gap: 10px; }
        .nav-menu a {
            color: var(--text-light);
            font-size: 0.9rem;
            border: 1px solid var(--text-light);
            padding: 5px 15px;
            border-radius: 20px;
        }
        .nav-menu a:hover { background-color: var(--bg-gold); color: var(--black); }
p a { color: var(--accent-gold); text-decoration: underline; }

        /* ==========================================
           1. Hero Section
        ========================================== */
        .hero {
            position: relative;
            height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            /*margin-top: 70px;*/
        }
        .hero-swiper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
        .hero-swiper .swiper-slide { background-size: cover; background-position: center; filter: brightness(1.0); }
        .hero-content {
            z-index: 1;
            background: rgba(0,26,38,0.70);
            padding: 40px;
            border: 1px solid var(--accent-gold);
            border-radius: 10px;
        }
        .hero-content h1 { font-size: 3rem; margin: 0 0 10px; color: var(--white); text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
        .hero-content p { font-size: 1.5rem; color: var(--accent-gold); margin: 0; font-weight: bold; }
		.hero-content p .sub-text {font-size: 1.2rem; color: var(--white); }

        /* ==========================================
           2. Introduction
        ========================================== */
        .intro-sec { text-align: center; background-color: var(--bg-light); }
        .intro-sec h2 { font-size: 1.8rem; color: var(--accent-gold); line-height: 1.5; }
        .intro-sec p { font-size: 1.1rem; max-width: 800px; margin: 20px auto 0; }

        /* ==========================================
           3. 墓石見本と費用例
        ========================================== */
        .price-sec { background-color: var(--bg-dark); }
        .price-container {
		margin-top: 2em;
            display: flex;
            gap: 40px;
            align-items: center;
            background: var(--bg-light);
            padding: 30px;
            border-radius: 10px;
            border: 1px solid #004F61;
        }
.price-slider-block { width: 50%;flex-shrink: 0;border-radius: 5px; }
.vertical-swiper { width: 100%;height: 400px;position: relative;overflow: hidden;}
.vertical-swiper .swiper-wrapper {display: flex !important;flex-direction: row !important; /* ★横スライドを強制 */height: 100% !important;}
.vertical-swiper .swiper-slide {width: 100% !important;height: 100% !important;flex-shrink: 0 !important;/*background-size: cover;*/background-position: center;border-radius: 5px;}
/* 固定キャプションの見た目調整 */
.slider-caption {margin: 8px auto 0;font-size: 12px;color: var(--text-light);text-align: center;line-height: 1.4;}
        .price-info { width: 50%;text-align: center;}
        .price-info h3 { font-size: 1.5rem; border-bottom: 2px solid var(--accent-gold); padding-bottom: 10px; }
        .price-amount { font-size: 2rem; color: var(--accent-gold); font-weight: bold; margin: 0;line-height: 1.1; }
		.cemeName {font-size:1.0rem;line-height: 1.8em;font-weight: normal;}
        .price-note { font-size: 0.8rem; color: var(--text-light); margin-bottom: 20px;font-weight: normal;}
        .banners { display: flex; flex-direction: row; gap: 20px; margin-top: 40px; align-items: center;justify-content: center;}
        .banners img { max-width: 100%; border-radius: 5px; transition: 0.3s; border: 1px solid #333; }
        .banners img:hover { filter: brightness(1.2); }
		.price-info p {margin-bottom:0;}
		.price-info ul {display: inline-block; margin: 1em 0 0;}
		.price-info li {margin:0 10px;text-align: left; line-height: 1; margin: 0.8em 0 0;}
		.price-info li:first-child {margin-top:0;}
@media screen and (max-width: 960px) {
.price-container { flex-direction: column;gap: 15px; }
.price-slider-block, .price-info { width: 100%; }
.vertical-swiper {height: 400px;}
}
@media screen and (min-width: 601px) {
    .row-reverse {
        flex-direction: row-reverse;
    }
}
@media screen and (max-width: 600px) {
.vertical-swiper {height:300px;}
.vertical-swiper .swiper-slide {background-size: cover;}
}

        /* ==========================================
           4 & 5. 石種・特別加工 (Details Accordion)
        ========================================== */
        .details-sec { background-color: var(--bg-light); }
        .accordion-wrap details {
            background: var(--bg-light);
            margin-bottom: 15px;
            border: 1px solid var(--accent-gold);
            border-radius: 5px;
        }
        .accordion-wrap summary {
            padding: 15px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            color: var(--accent-gold);
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .accordion-wrap summary::-webkit-details-marker { display: none; }
        .accordion-wrap summary::after { content: '\f078'; font-family: 'FontAwesome'; transition: 0.3s; }
        .accordion-wrap details[open] summary::after { transform: rotate(180deg); }
        .accordion-content { padding: 20px; background: rgba(0,0,0,0.2); border-top: 1px solid #333; }
        
        /* ダミーグリッド画像用 */
        .sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
        .sample-item { text-align: center; }
        .sample-item img { border-radius: 5px; border: 1px solid var(--text-light); }

        /* ==========================================
           6. 会社概要
        ========================================== */
        .company-sec { background-color: var(--bg-light);}
        .company-intro { text-align: center; margin-bottom: 40px; }
        .company-columns {
            display: flex;
            gap: 20px;
            position: relative;
            padding: 20px;
            border: 2px solid var(--accent-gold);
            border-radius: 10px;
            overflow: hidden;
            background-color: var(--bg-dark);
        }
		.company-columns p {margin-bottom:0;}
        /* 花柄装飾（SVGグラデーション代替） */
        .company-columns::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background-image: radial-gradient(circle at center, rgba(0,90,186,0.10) 0%, transparent 70%);
            background-size: 100px 100px;
            pointer-events: none;
        }
        .col-box { flex: 1; z-index: 1; background: rgba(0,0,0,0.4); padding: 20px; border-radius: 5px; }
        .col-box h3 { color: var(--accent-gold); margin-top: 0; }
       

        /* ==========================================
           7. FAQ
        ========================================== */
        .faq-sec { background-color: #0d3000; }
		.faq-sec p a { text-decoration: underline; }
        
        /* ==========================================
           8. 問合せフォーム
        ========================================== */
		form#mailformpro {padding: 0px!important;}
		#mfp_overlay {color:#000;}
		#mfp_overlay h4 {font-size: 1.2rem;}
		#mfp_overlay i {margin-right: 5px;}
		div#mfp_hidden {
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: 0px;
}
input#formtitle {border:none!important;text-align: center;margin: 0 auto 1em;padding: 0!important;font-size: 130%; font-weight: bold;}
        .contact-sec { background-color: var(--bg-light); }
        .eyecatch-banner { text-align: center; margin-bottom: 20px; }
        .contact-note { text-align: center;  margin-bottom: 30px; }
        .form-wrap {
            background: #ffffff;
            color: var(--black);
            padding: 40px;
            border-radius: 10px;
            max-width: 800px;
            margin: 0 auto;
        }
input.my-size, select.my-size {max-width: 15em!important;}
input.my-size2{max-width: 8em!important;}

@media screen and (max-width: 300px) {
input#formtitle {font-size: 100%;}
}
        .form-group { margin-bottom: 25px; }
        .form-group label {font-weight: bold; margin-bottom: 8px;}
		.form-group > label {display: block!important; background: var(--bg-gold)!important;}
		label, .checkbox-group label {display: inline-flex!important;align-items: center;gap: 0.3em;}
		label .req-label,label .rec-label,label .any-label {display: inline-block;vertical-align: middle;}
        .req-label { background: #b30000; color: #fff; font-size: 0.7rem; padding: 2px 5px; border-radius: 3px; margin-left: 10px; vertical-align: middle;}
        .any-label { background: #888; color: #fff; font-size: 0.7rem; padding: 2px 5px; border-radius: 3px; margin-left: 10px; vertical-align: middle;}
		.rec-label { background: #FFC600; color: #fff; font-size: 0.7rem; padding: 2px 5px; border-radius: 3px; margin-left: 10px; vertical-align: middle;}
        
        input[type="text"], input[type="email"], input[type="tel"], textarea.mfp_element_textarea, select {
            width: 100%!important; padding: 10px!important; border: 1px solid #ccc!important; border-radius: 5px!important;
            font-family: inherit; font-size: 1rem; box-sizing: border-box;
        }
        textarea { resize: vertical; height: 100px!important; }
		select {background-color: #F9F9F9;color: var(--black)!important;}
        .checkbox-group label { display: inline-block; margin-right: 5px; font-weight: normal; cursor: pointer; }
        
        .submit-btn-wrap { text-align: center; margin-top: 40px; }
        .btn-submit, #mfp_overlay .mfp_element_button {
            background: linear-gradient(135deg, #ba9800 0%, #dfc34a 50%, #ba9800 100%);
            color: var(--bg-dark);
            border: none; padding: 15px 40px; font-size: 1.2rem; font-weight: bold;
            border-radius: 30px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            transition: 0.3s; font-family: 'Noto Serif JP', serif;
        }
        .btn-submit:hover { transform: scale(1.05); }
		
        /* ==========================================
           9. Footer
        ========================================== */
        footer {
            background-color: #051400;
            padding: 40px 0;
            text-align: center;
            border-top: 1px solid var(--accent-gold);
        }
        footer h3 { font-size: 1.5rem; color: var(--accent-gold); margin: 0 0 10px; }
        footer p { margin: 5px 0; color: var(--text-light); }
        
        /* ==========================================
           Responsive Styles
        ========================================== */
		@media screen and (max-width: 980px) {
            .nav-menu {
                display: none; flex-direction: column; width: 100%;
                position: absolute; top: 70px; left: 0; background: rgba(0,27,38,0.95);
                padding: 20px 0; text-align: center; border-bottom: 1px solid var(--accent-gold);
            }
            .nav-menu.active { display: flex;}
			.nav-menu.active a { margin:0 auto;min-width: 200px;}
            .menu-btn { display: block; }
			
			.price-container { flex-direction: column; }
            .price-slider-block, .price-info { width: 100%; }
			}
        @media screen and (max-width: 768px) {
		.hero-content {
        /* 左右の外側に20pxずつの余白を設ける */
        margin-left: 20px;
        margin-right: 20px;
    }
            .hero-content h1 { font-size: 2rem;}
            .hero-content p { font-size: 1rem; }

            .company-columns { flex-direction: column; }
            .form-wrap { padding: 20px; }
        }
		 @media screen and (max-width: 600px) {
			 .vertical-slider-wrap {height:340px;}
			 .vertical-swiper .swiper-slide {
				 background-size: cover;}
		 .banners {flex-direction:column;}
		 	.logo {
        width: 40%;         /* エリア幅を50%確保する */
        flex-shrink: 0;     /* 他のメニュー等に押されても絶対に潰れないようにする */
    }
	 #mfp_overlay .mfp_element_button {margin:10px;}
		 }
		 
/* ==========================================
ライトボックスの背景（黒の半透明）
========================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* モーダル内の画像エリア */
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

/* 閉じるボタン */
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
}

.yellow, .yellow i {
    color: rgba(255, 174, 0, 1.00) !important;
}
.blinking {animation: blink 0.5s linear infinite alternate;}
@keyframes blink {0% {opacity: 0;} 100% {opacity: 1;}}