/*
Theme Name: Lightning Child
Description: Lightning theme child theme for construction site
Template: lightning
Version: 1.0.0
*/


/* テーマカラー等 */
@import url("assets/css/variables.css");
/* 子テーマ独自スタイル */
@import url("assets/css/estimate-form.css");


/* ====== 基本デザイン ====== */

body {
    font-family:"Noto Sans JP",-apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    line-height: 1.7;
    letter-spacing: .05em;
}

p{
    letter-spacing: .02em;
    line-height: 2;
}

/* ========================================
   既存非表示
======================================== */
.site-body-bottom,.sub-section.sub-section--col--two{
	display:none;
}

.site-body-container.container {
    margin-bottom: 5rem;
}

.page-header{
	margin-top:70px !important;
}
/* ========================================
   固定ページセクション共通
======================================== */

.single-container{
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

span.title-sub{
	padding-bottom: 5px !important;
}
h1.page-header-title {
    font-size: 1.1rem;
}

div#site-header-container {
    display: none;
}
div#vk-mobile-nav-menu-btn {
    display: none;
}

.page-header {
    color: #000000;
    background-color: #F2F2F2;
    margin-top: 20px;
}

.page-wrapper {
    margin-top: 70px; /* 固定ヘッダー分のオフセット */
     margin-bottom: 80px;
}

.page-sectiontitle{
    font-size: 1.5rem;
    margin: 0 0 15px;
    text-align: center;
    letter-spacing: 0.2rem;
}

.page-section-subtitle{
 font-family: 'Courgette', cursive;
 font-size: 1.5rem;
 text-align: center;
 margin-top: 100px;
 margin-bottom: 20px;
 color: #ff8738;
}

.page-section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.2rem;
}

.problem p {
    margin: 0;
}

.urgency-check h2:after,section.page-case-studies h2:after,.repair-methods h2:after,section.why-choose-us.container h2:after{
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b6b;
    margin: 1rem auto -20px;
}



.problem {
    padding: 15px 15px;
    border: 1px solid #007cba;
    border-radius: 20px;
    color:#007cba;
    font-size: 0.8rem;
    margin:10px 0 20px;
}

.problem p {
    margin: 0;
}

.top_back{
    color: #a0a5aa;
    margin-top: 40px;
}

.page-time {
    font-size: 0.7rem;
}

.page-tel-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
 
}

.page-buttons-tel {
    width: 100%;
    color: rgb(255, 255, 255);
    background: linear-gradient(135deg, rgb(248, 66, 66), rgb(255, 165, 0));
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px;
}

.page-buttons-mail {
    width: 100%;
    color: rgb(255, 255, 255);
    margin: 0px auto 10px;
    background: linear-gradient(135deg, rgb(56, 157, 79), rgb(114, 223, 105));
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px;
}

.page-tel-number {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    font-weight: bold;
}

.page-mail-text {
    letter-spacing: 0.07rem;
    font-size: 1.2rem;
    font-weight: bold;
}
.wp-block-table, blockquote, dl, iframe, ol, p, ul {
    margin-bottom:0;
}

/* 境界線あしらい */
.bg-arrow {
    position: relative;
    margin: 0 0 50px;
    padding: 40px 20px 15px;
    background: #fff7e9;
    z-index: 999;
}
.bg-arrow > div {
   position: relative;
   z-index: 2;
   min-height: 500px;
}
.bg-arrow:after {
   content: "";
   position: absolute;
   display: block;
   left: 0;
   border-style: solid;
   bottom: 0;
   margin-bottom: -4.9vw;
   border-color: #fff7e9 transparent transparent;
   border-width: 5vw 50vw 0;
}


/* ========================================
   全ページ共通スタイル
======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #123a66;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.2rem;
    margin: 5px -10px 10px 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f84242, #ffa500);
    margin: 1rem auto 0;
}

.section-title-text {
    font-family: 'Courgette', cursive;
    font-size: 1.2rem;
    color: #ff8738;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    z-index: 1000;
}



.section-description {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #123a66;
}

h2.section-title.white {
    color: #FFF;
    margin: -10px -10px 10px 0;
}

.text-center {
    text-align: center;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f84242, #ffa500);
    color: white;
    border: 2px solid #fff;
    width: 90%;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    border: 0px;
}

.btn-tel {
    background: #ffffff;
    color: #123a66;
    letter-spacing: 0.2rem;
    display: flex;
    gap:10px;
    align-items: center;
    justify-content: center;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

i.fa-solid.fa-phone {
    color: #123a66;
}


.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #333;
    color: white;
}

.btn-large {
    padding:1rem 0;
    font-size: 1.3rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

a.btn.btn-outline.btn-large.btn-cection {
    width: 80%;
    background: transparent;
    color: #123a66;
    border: 2px solid rgb(226 232 240 / var(--tw-border-opacity, 1));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    max-width: 350px;
}

a.btn.btn-outline.btn-large.btn-cection{
    width: 80%;
    background: transparent;
    color: #123a66;
    border: 2px solid rgb(226 232 240 / var(--tw-border-opacity, 1));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 0 auto;
}

a.btn.btn-outline.btn-large.btn-cection:hover {
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
}


.cases-section .btn-outline span {
    margin-left: 0.5rem;
transition: transform 0.3s ease;
}
.cases-section .btn-outline:hover span {
    transform: translateX(5px);
}

.viewmore{
    margin-top: 30px;
}

/* ぱんくずリスト */

.breadcrumb-list{
    padding:10px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-list li {
    margin: 0;
    list-style: none;
    display: inline !important;
    font-size: 0.8rem;
}
.breadcrumb-list__item a {
    color: #8f8f8f;
}

/* fontawasome icon */

i.fa-solid.fa-map-pin,
i.fa-solid.fa-calendar-days,
i.fa-solid.fa-sack-dollar {
    color: rgb(148 163 184 / var(--tw-text-opacity, 1));
    padding-right: 8px;
}


i.fa-solid.fa-house-circle-check,i.fa-solid.fa-car{
font-size: 25px;
}

i.fa-solid.fa-phone-volume {
    font-size: 20px;
}

i.fa-solid.fa-square-check {
    font-size: 1.3rem;
    color: #77b255;
}

i.fa-solid.fa-phone,i.fa-regular.fa-envelope,i.fa-brands.fa-line{
    color: #3c88be;
}
.entry-title--post-type--page, h2:where(:not(.wp-block-post-title)) {
    border-bottom:none !important;
    border-top:none !important;
}

i.fas.fa-check-square {
    color: #fff;
    background: linear-gradient(183deg, #1a1919 0%, #8d8d8d 40%, #b0afaf 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ページトップボタンデザイン調整 */
.pagetop {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 0;
}
.pagetop a {
    display: block;
    background-color: #ccc;
    text-align: center;
    color: #222;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.pagetop a:hover {
    display: block;
    background-color: #b2d1fb;
    text-align: center;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding:5px 10px;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

.page_top_btn{
    background-position: 9px 4px;
    padding-top: 5px;
}
a#page_top {
    right: 0;
    bottom: 13%;
    width: 35px;
    height: 90px;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
}

a#page_top::before {
    content: "PAGE TOP";
    font-size: 10px;
    color: #FFF;
    display: flex;
    writing-mode: vertical-lr;
    display: flex;
    padding: 10px 9px;
}

/* ========================================
   トップページ ヘッダー
======================================== */

.site-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9997;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    padding: 0.7rem 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6px;
    gap:5px;
}

.globalNav {
    width: 100%;
    padding: 0 10px;
    background: #fff;
    position: relative;
    z-index: 4;
}
.globalNav > ul {
    max-width: 1200px;
    margin: 0 auto;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

nav li::before{
    content: "";
    width: 2px;
    height: 20px;
    background: #f0f0f0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.nav-menu > li:last-of-type::before {
    content: none !important;
}

span.js-navBtn::before{
    content: "";
    width: 2px;
    height: 20px;
    background: #f0f0f0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.globalNav{
    display: none;
}

.globalNav > ul > li > a, .globalNav > ul > li > span {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 70px;
    font-size: var(--fsize16);
    line-height: 1.4;
    color: #000;
    cursor: pointer;
}

.util strong, .util em, .util span, .util b, .util sup {
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.globalNav > ul > li > a .ico:before, .globalNav > ul > li > span .ico:before {
    content: "";
    width: 1px;
    height: 9px;
    position: absolute;
    left: 4px;
    top: 0;
    background: #000;
    transition: transform var(--easeOutCirc) 0.2s;
}

.globalNav > ul > li > a .ico:after, .globalNav > ul > li > span .ico:after {
    content: "";
    width: 9px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 4px;
    background: #000;
}

.header_scrolled.admin-bar .site-header {
    top: 0;
}

/* ブランディング*/
.site-branding {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    transition: font-size 0.3s ease;
}

.site-header.scrolled .site-title {
    font-size: 1.5rem;
}
/* やねサポのロゴ画像を表示 - カスタムロゴ優先対応 */
.site-branding .custom-logo {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
    transition: height 0.3s ease !important;
}

.site-header.scrolled .site-branding .custom-logo {
    height: 48px !important;
}

/* カスタムロゴが設定されていない場合のフォールバック */
.site-title a {
    display: inline-block;
    width: 160px;
    height: 60px;
    background: url('./img/yansapo_logo.png') no-repeat left center / contain !important;background-size: 100% !important;
    text-indent: -9999px;
    overflow: hidden;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* スクロール時はロゴサイズを小さく */
.site-header.scrolled .site-title a {
    width: 150px;
    height: 48px;
}
.site-header.scrolled .site-description {
margin: 0 0 0 20px;
}

.site-description {
    font-style: italic;
    font-weight: bold;
    color: #113967;
    font-size: 0.9rem;
    margin: 0 0 0 10px;
}

/* ヘッダー 電話マーク */
.header-contact{
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    border-radius: 10px;
    width: 50%;
    max-width: 200px;
    height: 50px;
    padding:5px;
    display: flex;
    align-content: center !important;
    justify-content: center;
    flex:2;
}
i.fa-solid.fa-phone-volume.white.size{
    font-size: 15px;
    margin: 0 5px 0 0;
}

span.phone-number {
    color: #fff;
    letter-spacing: 0.1rem;
    font-size: 15px;
    font-weight: bold;
    margin-top: -5px;
}

a.phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tel-number-text {
    display: flex;
    flex-direction: column;
    font-size: 9px;
    color: #fff;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-weight: bold;
    margin-top: 2px;
}

/* スクロール時は電話サイズを小さく */
.site-header.scrolled i.fa-solid.fa-phone-volume.white.size{
    font-size: 15px;
    margin: 0 5px 0 0;

}

/* ====== ナビゲーション基本 ====== */
.main-navigation {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 10px 0;
}

/* ========================================
   トップページ - ヒーローセクション
======================================== */
.strongimg {
    width: 250px;
}

h1.hero-title-test {
    text-align: left;
    font-size: 3.8rem;
    margin-top: -5px;
    position: relative;
    z-index: 9999;
    line-height: 5rem;
}


.hero-title {
    font-size: 4rem;
    position: relative;
    z-index: 1;
}

.lh2rem{
line-height: 3rem;
}
.hero-content{
    height: 370px;
    max-width: 800px;
    margin: 20px auto 0;
    position: relative;
    z-index: 2;
    text-align: left;
}

.area-pop {
    position: absolute;
    top: 80px;
    right: -20px;
    width: 220px;
    z-index: 0;
}

.batchimg {
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 250px;
    z-index: 0;
}


.txt03 {
  color: #fff;
  text-shadow: 2px 2px 2px #0c4ca2, -2px -2px 2px #0c4ca2,
  -2px 2px 2px #0c4ca2,  2px -2px 2px #0c4ca2,
  2px 0 2px #0c4ca2, -2px  0 2px #0c4ca2,
  0 2px 2px #0c4ca2,  0 -2px 2px #0c4ca2;
  font-style: italic;
}


.hero-section {
    background-size: cover;
    color: white;
    padding: 60px 0 0;
    text-align: center;
    position: relative;
    height: 850px;
    overflow: hidden;
}

.hero-text {
    font-size: 1.5rem;
    margin-top: -10px;
}


.btn-wrap {
    display: flex;
    gap: 10px;
    flex-direction: row;
}


.hero-background {
    position: absolute;
    top: -10px; /* 上下の余白を確保 */
    left: -10px; /* 左右の余白を確保 */
    right: -10px;
    bottom: -10px;
    width: calc(100% + 20px); /* 幅を広げる */
    height: calc(100% + 20px); /* 高さを広げる */
    animation: float 20s ease-in-out infinite;
    background-image: url(img/top_firstimage2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center; /* センター配置に変更 */
    
}

.herohero_section {
    width: 300px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto;
}

.herohero_section >:first-child {
width:260px;
}

.hero-child {
    width: 130px;
    color: #004AAD;
    font-size: 1.1rem;
    font-weight: bold; 
    background: 1px #fff;
    margin: 5px;
    padding: 8px 10px;
    border-radius: 50px;

}

.hero-child:nth-of-type(n+4) {
  margin-top:20px;
}

.max800{
    max-width: 800px;
    margin: 0 auto;
}

.bg-arrow h2,.bg-arrow p {
    max-width: 800px;
    margin: 15px auto;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1.05); 
    }
    25% { 
        transform: translateY(-10px) translateX(5px) scale(1.05); 
    }
    50% { 
        transform: translateY(-5px) translateX(-5px) scale(1.05); 
    }
    75% { 
        transform: translateY(-15px) translateX(3px) scale(1.05); 
    }
}

span.curved-text.hero-text {
    color: #004AAD;
    font-size: 2rem;
    font-weight: bold;
}

.p-text {
     color: #004AAD;
    position: absolute;
    z-index: -1;
    inset: -6px;
    -webkit-text-stroke: 7px #004AAD;
}

.p-text2 {
    color: #004AAD;
    position: absolute;
    z-index: -1;
    inset: 82px;
    -webkit-text-stroke: 7px #004AAD;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    color: #113967;
}

.hero-buttons {
    position: relative;
    height: 50px;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto 1rem;
    z-index: 0 !important;
    flex:1;
}

a.btn.btn-large.btn-tel {
    flex: 1;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.emergency-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   トップページ - CTA
======================================== */

.emergency-info {
    margin: 25px 0;
}

 .promise-container{
    padding:20px;
    gap:40px;
    align-items: center;
 }
.contact-promise-content {
    font-size: 1.2rem;
    text-align: center;
    padding-top: 10px;
    position: relative;
    height: 191px;
}

.contact-promise-text {
    color: #123a66;
    font-weight: bold;
    font-size: 1.3rem;
}

.contact-promise-content p {
    font-size: 0.9rem;
    line-height: 1.4em;
    padding: 30px 20px;
    position: absolute;
    right: 30px;
    z-index: 999;
}

.promis-top{
 position: relative;
    margin-top: 40px;
    padding: 2rem 0;
     z-index: 999;
}

section.promise {
    position: relative;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}


h4.promise-text {
    font-size: 0.9rem;
    display: flex;
    letter-spacing: 0.05rem;
}

.promise-icon {
    padding-right:5px;
}

p.promise-comment {
    font-weight: 600;
    line-height: 2rem;
    text-align: left;
}

.hukidashi-img {
    width: 250px;
    margin: -22px auto 40px;
}

/* 文字一部装飾 */

span.mark_yellow{
    background: linear-gradient(transparent 70%, #fffa7ddb 70%);
    font-size:1rem;
}

span.mark_red{
    color: #E25667;
}

.title-text {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    margin-bottom: 20px;
}

.white {
   color: #fff;
}

/* ========================================
   トップページ - 代表挨拶セクション
 ========================================*/

.greeting-container{
    padding: 0 1rem;
}
.greeting-section {
    padding: 7rem 0;
    background: #ff87381a;
    position: relative;
    margin-top: -20px;
}

.greeting-content {
    position: relative;
    display: flex;
    gap: 4rem;
    align-items: left;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    flex-direction: column;
    padding: 4rem 2rem;
    background-color: #FFF;
    border-radius: 30px;
}

.greeting-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: rgb(18 58 101 / var(--tw-text-opacity, 1));
    font-weight: bold;
    text-align: center;
}

.greeting-subtitle {
    font-size: 1.2rem;
    margin: -10px 0 2rem;
    color: #ff9854;
    font-weight: 600;
    line-height: 2rem;
    letter-spacing: 0.1rem;
    border: none;
}
.greeting-subtitle:after {
    border-bottom: none;
}

.greeting-message p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgb(18 58 101 / var(--tw-text-opacity, 1));
}

.greeting-profile {
    text-align: center;
    
}

.greeting-hed {
    width: 70%;
    margin: 0 auto;
    text-align: center;
}
p.emphasis{
    font-size: 1.5rem;
    line-height: 2rem;
    color: rgb(18 58 101 / var(--tw-text-opacity, 1));
    font-weight: 700;
    padding:0.25rem 0.25rem 0.25rem 1.5rem;
    border-left: 4px solid rgb(255 135 56 / var(--tw-border-opacity, 1));
    margin-bottom: 2rem;
    max-width: 500px;
}

.b-orange{
background-color: rgb(255 135 56 / 0.2);
padding: 0 0.5rem;
    border-radius: 0.25rem;
    margin: 0 0.25rem;
}

.conma{
    position: absolute;
    top: 2rem;
    left: 5rem;
    color: rgb(255 135 56 / 0.2);
    font-weight: 900;
    font-size: 6rem;
    line-height: 1;
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.profile-post{
        color: rgb(148 163 184 / var(--tw-text-opacity, 1));
        font-size: 0.8rem;
        margin-bottom: 5px;
}



.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 30px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    color: #999;
    font-size: 1rem;
}

.profile-name {
    display: flex;
    gap: 1rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: rgb(18 58 101 / var(--tw-text-opacity, 1));
    line-height: 1.4;
    justify-content: center;
}
.profile-info {
    padding-top: 20px;
}
.profile-title {
    font-size: 0.95rem;
    color: #666;
}

/* ========================================
   トップページ - 問いかけセクション
======================================== */
.checklist{
    margin: 50px 0;
        padding: 0 2rem;
     max-width: 1200px;
}

.img-cover{
    width:  170px;
    height: 165px;
    object-fit: cover;
    border-radius: 50%;
}

.text-white {
    color: #c65151 !important;
}

h2.section-title.red {
    color: #c65151 !important;
}

.checlist-content {
    width: 95%;
}


.checklist-text{
    text-align: center;
    margin-top: 5px;
    font-size: 1.3rem;
    
}

.bold{
    font-weight: 600;
}

.p-textarea{
    text-align: center;
    margin: 50px 0 20px;
    font-size: 1rem;
    color: #123a66;
    
}


/* ========================================
   トップページ - 主な屋根工事セクション
======================================== */

.services-section {
    padding: 4rem 0;
    background: rgb(18 58 101 / 0.05);
    background-repeat: repeat;
    background-size: contain;
    color: #123a66;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #2882C7;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.emergency-service::before {
    background: linear-gradient(135deg, #ff4757, #ff3742);
}

.popular-service::before {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
}

.service-icon {
    font-size: 3rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #123a66;
}
.service-icon img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 20px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: left;
}

.service-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #123a66;
    text-align: center;
}

.service-price span {
    color: #ff6b6b;
    font-size: 1.5em;
    font-style: italic;
    font-weight: bold;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 1.5rem 0 0 0;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    width: 60px;
    height: 60px;
}

.service-badge {
    background: #ff4757;
}

.service-badge.popular {
    background: #ffa500;
}

/* 1. メインのサービス詳細ボタン */
.service-detail-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #2882c7;
    text-decoration: none;
    border: 2px solid #2882c7;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.service-detail-link:hover {
    background: #193e66;
    color: white;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 122, 217, 0.2);
}

.service-detail-link:after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-detail-link:hover:after {
    transform: translateX(4px);
}

/* ========================================
   トップページ - 施工事例セクション
======================================== */

.cases-section-image{
    background-image: url(img/ashirai_ie.png);
    background-size: 300px;
    background-repeat: repeat-x;
    width: 100%;
    height: 65px;
}

.cases-section-ttlarea {
    margin-top: 40px;
}

.cases-section {
    overflow: hidden;
    margin: 3rem 0 0 0;
    position: relative;
}

.cases-section .container {
    overflow: visible;
    margin-top: -7px;
    padding-bottom: 3rem;
}

.case-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 300px; /* 最小幅を設定 */
    margin-top: 20px;
    padding: 2rem;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.case-images {
    position: relative;
    height: 350px;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
}

.before-image,
.after-image {
    position: relative;
    overflow: hidden;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .before-image img,
.case-item:hover .after-image img {
    transform: scale(1.1);
}

.label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.1rem 1rem;
    border-bottom-right-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.before-image .label {
    background: #FFF;
    color: #2882c7;
}

.after-image .label {
    background: #2882c7;
}

.case-category {
    position: absolute;
    top: none;
    bottom: 0px;
    right: 0;
    background: #e1e8f0;
    color: #123a66;
    padding: 0.4rem 1rem;
    border-top-left-radius: 10px;
    font-size:1rem;
    font-weight: bold;
}

.case-info {
    padding: 1.2rem 0;
}

.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.case-info h3 a {
    font-size: 1.1rem;
    color: #123a66;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-info h3 a:hover {
    color: #2882C7;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

.case-link {
    color: #2882C7;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    display: flex;
    gap: 30px;
    justify-content: right;
}

.case-link:hover {
    color: #5a67d8;
}

/* ========================================
   トップページ - お役立ちコラムセクション
======================================== */

.top-column-section {
    padding: 5rem 0;
    background: #fff;
    position: relative;
}

.top-column-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, #f8f9fa 0%, transparent 100%);
    z-index: 0;
}

.top-column-section .container {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.top-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.top-column-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.top-column-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* サムネイル */
.top-column-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.top-column-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.top-column-card:hover .top-column-thumbnail img {
    transform: scale(1.1);
}

.top-column-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

/* コンテンツ */
.top-column-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-column-category {
    display: inline-block;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.top-column-title {
    margin-bottom: 1rem;
    flex: 1;
}

.top-column-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-column-title a:hover {
    color: #2882C7;
}

.top-column-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #999;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.top-column-meta i {
    margin-right: 0.3rem;
    color: #2882C7;
}

.top-column-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* メッセージ */
.no-columns-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 20px;
}

.no-columns-message p {
    font-size: 1.1rem;
    color: #666;
}

/* すべて見るボタン */
.top-column-section .btn-outline {
    background: transparent;
    color: #2882C7;
    border: 2px solid #2882C7;
    padding: 1rem 3rem;
    margin-top: 2rem;
}

.top-column-section .btn-outline:hover {
    background: #2882C7;
    color: white;
    transform: translateY(-3px);
}

.top-column-section .btn-outline span {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.top-column-section .btn-outline:hover span {
    transform: translateX(5px);
}

/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-column-card {
    animation: fadeInUp 0.6s ease;
}

.top-column-card:nth-child(1) { animation-delay: 0.1s; }
.top-column-card:nth-child(2) { animation-delay: 0.2s; }
.top-column-card:nth-child(3) { animation-delay: 0.3s; }
.top-column-card:nth-child(4) { animation-delay: 0.4s; }
.top-column-card:nth-child(5) { animation-delay: 0.5s; }
.top-column-card:nth-child(6) { animation-delay: 0.6s; }


/* ========================================
   トップページ - お客様の声セクション
======================================== */

.testimonials-section {
    padding: 3rem 0;
    background: white;
    background-image: url(img/beige_bg.png);
    background-repeat: repeat;
    background-position: right;
    overflow: hidden;
}

.testimonials-section .container {
    overflow: visible; /* コンテナからはみ出しを許可 */
}


.testimonials-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto; /* 横スクロール有効化 */
    scroll-snap-type: x mandatory; /* スナップスクロール */
    -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
    padding-bottom: 1rem; /* スクロールバーの余白 */
    scrollbar-width: thin; /* Firefoxでのスクロールバー幅 */
    scrollbar-color: #2882C7 #f0f0f0; /* Firefoxでのスクロールバー色 */
    margin-left: -1rem; /* 左側の余白調整 */
    padding-left: 1rem; /* パディングで補正 */
    margin-right: -1rem; /* 右側の余白調整 */
    padding-right: 1rem; /* パディングで補正 */
}

.testimonial-item {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    min-width: calc(50% - 100px); /* 次のカードが見えるように幅を調整 */
    flex-shrink: 0; /* 縮小を防ぐ */
    scroll-snap-align: start; /* スナップ位置 */
    max-width: 200px;
}

.testimonial-image{
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    width: 100px;
    height: 100px;
}
.testimonial-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f0caca;
    color: #999;
    font-size: 1rem;
}
.testimonial-placeholder strong{
    color: #FFF;
}
.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #555;
    font-size: 1.05rem;
}

.testimonial-author strong {
    color: #333;
    font-size: 1.1rem;
}

.testimonial-author span {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* スクロールバーのカスタマイズ（Webkit系ブラウザ） */
.testimonials-grid::-webkit-scrollbar {
    height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: #2882C7;
    border-radius: 10px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
    background: #1a5f8f;
}

/* スクロールのヒント表示 */
.testimonials-section::after {
    content: '← スクロールできます →';
    display: block;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ========================================
   トップページ - 工事の流れセクション
======================================== */

.process-section {
    padding: 3rem 0;
    background: #ffa50014;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}


.step-item {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    background: white;
    border-radius: 20px 20px 0 0 ;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 1rem 1.5rem 0 !important;
}

.step-item:nth-child(even) {
  flex-direction: row-reverse;
  flex-direction: row-reverse;
    padding: 1.5rem 0 1rem 1.5rem !important;
}

.step-item:nth-child(even) .step-content {
  text-align: left;
}

.step-item:hover {
    transform: translateY(-10px);
}


.step-content{
 flex:2;
}
.step-content1 h3:before {
    content: "1";
}

.step-content2 h3:before {
    content: "2";
}
.step-content3 h3:before {
    content: "3";
}
.step-content4 h3:before {
    content: "4";
}

.step-title1:before,.step-title2:before,.step-title3:before,.step-title4:before{
    line-height: 0;
    display: block;
    width: 35px;
    height: 33px;
    background: linear-gradient(135deg, #2882C7, #ffc55b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 10px;
}

.step-title1:before {
    content: "1";
}
.step-title2:before {
    content: "2";
}
.step-title3:before {
    content: "3";
}
.step-title4:before {
    content: "4";
}


.step-content h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.step-content p {
    color: #000000;
}

.step-image1,.step-image2,.step-image3,.step-image4 {
    flex: 1;
    width: 100%;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
    margin: 0 20px 10px -50px;
}

.step-image1 {
    background-image: url(img/info1.png);
}

.step-image2 {
    background-image: url(img/info2.jpg);
        margin: 0 -50px 10px 20px;
}

.step-image3 {
    background-image: url(img/info3.png);
}

.step-image4 {
    background-image: url(img/info4.jpg);
        margin: 0 -50px 10px 20px;
}


.step-promise {
    color: #fff;
    font-weight: bold;
    background: #e58836;
    position: absolute;
    width: 100%;
    bottom: -30px;
    left: 0;
    padding: 5px 20px;
    border-radius: 0 0 10px 10px;
}
/* ========================================
   トップページ - 主な施工エリアセクション 
 ========================================*/

.area-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #f7eee8 100%);
    color: #123a66;
    margin-top: -50px;
}
.area-section .container {
 margin-top: 100px;
}

.area-section-bg {
    position: absolute;
    top: 0;
    width: 100%;
    background-image: url(img/section-area-bg.png);
    background-position: right 60% bottom 70%;
    background-size: 500px;
    height: 450px;
    background-repeat: no-repeat;
}

.area-content-grid {
    display: flex;
    align-content: center;
    justify-content: center;
    column-gap: 20px;
    margin-top: 20px;
}

.area-content-item {
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    z-index: 100;
    background-color: #2a4d75;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    gap: 10px;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 0 auto;
}

.area-item {
    padding: 0 !important;
    border-radius: 20px;
    text-align: center;
}

.area-section p {
    text-align: center;
}

.area-item h3 {
    color: #2c5aa0;
    margin: 25px 0 15px;
    font-size: 1.2rem;
}

.area-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap:5px;
}

.area-list li {
width: 32%;
font-weight: bold;
font-size: 1rem;
text-align: left;
background: #fff;
padding: 0.5rem 1rem;
color: #2c5aa0;
border-bottom: 1px solid #e0e0e0;
border-radius: 10px;
margin-top: 0;
margin-bottom: 0;
   
}


.area-list li:last-child {
    border-bottom: none;
}

.area-note {
    font-size: 0.9rem;
    color: #ffffff;
}

.area-notice {
    text-align: center;
    font-size: 1.1rem;
}

section#area::after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    border-style: solid;
    bottom: 1px;
    margin-bottom: -5vw;
    border-color: #f5efeb transparent transparent;
    border-width: 5vw 50vw 0;
}

/* ========================================
   トップページ - 屋根サポのこだわりセクション
 ========================================*/
.commitment-section {
    padding: 5rem 0;
    background: #123A65;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.commitment-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.commitment-icon img {
    width: 100%;
    height: 200PX;
    object-fit: cover;
}

.commitment-item:hover {
    transform: translateY(-10px);
}

.commitment-icon {
    font-size: 3rem;
}

.commitment-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.8em;
    text-align: center;
    
}

.commitment-item p {
    color: #103963;
    line-height: 1.6;
    line-height: 2rem;
}

/* よくある質問セクション */
.faq-section {
    padding: 5rem 0 2rem;
    background: #f8f9fa;
}
.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2882C7;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   トップページ - お問い合わせボタンセクション
 ========================================*/

section#promise::after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    border-style: solid;
    bottom: 1px;
    margin-bottom: -5vw;
    border-color: #ffffff transparent transparent;
    border-width: 5vw 50vw 0;
}

.buttons-tel{
    width: 100%;
    margin: 0 auto;
    color: #fff;
    background: linear-gradient(135deg, #389D4F, #72DF69);
    border-radius: 20px;
}

a.btn.btn-large.white span {
    font-size: 12px;
    display: block;
}

.tel-number {
    font-size: 25px;
}

.buttons-mail{
    width: 100%;
    margin: 0 auto;
    color: #fff;
    background: linear-gradient(135deg, #f84242, #ffa500);
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
    z-index: 999;
}

.mail-text {
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 2em;
}

i.fa-solid.fa-envelope {
    font-size: 20px;
}

a.btn.btn-large.btn-primary {
    font-size: 1.2rem;
    flex: 1;
    max-width: 500px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}


/* お問い合わせセクション */
.contact-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f7eee8);
    color: #123a66;
    padding: 5rem 0;
	height:1150px;
}

.white-title {
    color: white;
}

.tel-content {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    gap: 10px;
}

.title-text {
    margin-top: 10px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 20px;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 1.2rem;
    border-radius: 15px;
    justify-content: space-between;
    border: 3px solid;
}

.method-icon {
    font-size: 2rem;
    flex: 1;
    text-align: center;
}

.method-info{
    font-size:20px;
    letter-spacing: 0.1rem;
    flex: 3;
}
.method-info a{
    color: #FFF;
}

.method-info strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.method-info a {
    padding: 0 !important;
}

a.btn.btn-large.navy{
color: #123a66;
}
.phone-number,
.email {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.method-info span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 0 0 10px 10px;
    backdrop-filter: blur(10px);
    border: solid 3px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h4.form-comment {
    background-color: #123a66;
    border-radius: 20px 20px 0 0;
    color: #FFF;
    font-size: 2rem;
    text-align: center;
    margin-bottom: -47px;
    max-width: 800px;
	height:115%;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: #ff4757;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(119, 117, 117, 0.3);
    border-radius: 10px;
    background: rgba(242, 242, 242, 0.9);
    color: #333;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffa500;
    background: white;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin: 0;
    width: auto;
}

/* ========================================
   トップページ - フッター
 ========================================*/
.footer {
    background-color: #123A65;
    color: white;
    padding: 40px 0 20px;
    font-size: 14px;
    position: relative;
}

/* 会社情報セクション */
.footer-company-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
   padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.company-details h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.company-name {
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.company-address {
    color: #e8f0ff;
    margin-bottom: 15px;
    line-height: 1.6;
}

.company-contact .phone {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.company-contact .phone a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
}

.company-contact .phone a:hover {
    color: #eec29e;
}

.company-contact .hours {
    color: #b8d4f0;
    font-size: 14px;
    padding-top: 5px;
}

span.emergency {
    background: linear-gradient(135deg, #f84242, #ffa500);
    padding: 6px 12px;
    border-radius: 50px;
    color: #FFF;
    font-size: 11px;
    font-weight: bold;
}

/* クイック問い合わせ */
.quick-contact h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-btn {
    padding: 14px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.footer-btn.primary {
    background: linear-gradient(135deg, #FF5019, #FFAC24);
    color: white;
}

.footer-btn.secondary {
    background: linear-gradient(135deg, #389D4F, #72DF69);;
    color: white;
    border: 2px solid #3B87BC;
}

.footer-btn:hover {
    transform: translateY(-2px);
}

.footer-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(227, 123, 30, 0.4);
    background: linear-gradient(135deg, #ff9642, #E37B1E);
}

.footer-btn.secondary:hover {
    background: linear-gradient(135deg, #3B87BC, #5ba3d4);
    box-shadow: 0 6px 20px rgba(59, 135, 188, 0.4);
}

/* メインフッターコンテンツ */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 30px;
}

.footer-section {
    padding: 25px 20px;
    border-radius: 12px;
    transition: all 0.3s;
}

.footer-section:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-3px);
}

.footer-section h3 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #3B87BC;
    padding-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
}

.footer-section ul li::before {
    content: '▶';
    color: #3B87BC;
    font-size: 10px;
    margin-right: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.footer-section ul li:hover::before {
    color: #E37B1E;
    transform: translateX(3px);
}

.footer-section ul li a {
    color: #e8f0ff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 13px;
    line-height: 1.6;
    padding: 3px 0;
    flex: 1;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 8px;
}

.fotter-logo {
    background-color: #fff;
    width: 40%;
    margin-bottom: 20px;
}

.fotter-logo img {
    width: 100%;
}

/* エリアグループ */
.area-group h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin: 18px 0 10px 0;
    border-left: 4px solid #ffffff;
    padding: 5px 0 5px 12px;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(90deg, rgba(255, 227, 203, 0.1), transparent);
}

.area-group:first-child h4 {
    margin-top: 0;
}

.area-note {
    color: #477aac;
    font-size: 12px;
    margin-top: 15px;
    text-align: center;
    padding: 5px;
}

/* フッターボトム */
.footer-bottom {
    border-top: 2px solid rgba(59, 135, 188, 0.3);
    padding: 25px 20px 20px;
    text-align: center;
    color: #b8d4f0;
    font-size: 13px;
    background: linear-gradient(135deg, rgba(59, 135, 188, 0.05), rgba(227, 123, 30, 0.05));
    margin: 0 -20px -20px -20px;
}

/* 固定CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #E37B1E, #ff9642);
    color: white;
    padding: 16px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 6px 25px rgba(227, 123, 30, 0.4);
    transition: all 0.3s;
    font-size: 14px;
    display: none;
    border: 2px solid rgba(255,255,255,0.1);
}

.floating-cta:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 30px rgba(227, 123, 30, 0.6);
}


/* モバイル固定お問い合わせボタン */
.mobile-contact-fixed {
    display: none !important;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999999;
    display: none;

}

.mobile-contact-btn {
    background: linear-gradient(#fd737f 50%, #ff4757 0);
    color: white;
    padding: 0 0 10px 0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
    animation: bounce 2s infinite;
    font-size: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.mobile-contact-btn:nth-child(2) {
  background: linear-gradient(#559af3 50%, #2a77f3 0);
}

.mobile-contact-rigft {
    display: flex;
    flex-direction: column;
}

.mobile-contact-rigft span {
    font-size: 0.9rem;
    text-align: center;
}

i.fa-solid.fa-envelope {
    margin: 0;
}

span.number-strong {
    font-size: 1.6rem;
}

i.fa-solid.fa-calculator {
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}


/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* フォーカス時のアクセシビリティ対応 */
.btn:focus,
.faq-question:focus,
.case-link:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}


/* ========================================
   施工事例投稿ページ用共通
======================================== */

.content-text img {
    padding-top: 20px;
}

.construction-case-detail {
    padding: 2rem 0;
}

.case-header {
    text-align: center;
    margin: 6rem 0 3rem 0;
    padding-bottom: 3rem;
    border-bottom: 2px solid #f0f0f0;
    padding-top: 40px;
	display: flex;
    gap: 20px;
    flex-direction: column;
}

.case-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: bold;
}

.case-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tag {
    background: #2882C7;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
}

.page-section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 1rem;
}

.page-section-title-text {
    font-family: Courgette, cursive;
    font-size: 1.2rem;
    color: rgb(255, 135, 56);
    text-align: center;
    margin-top: 20px;
    z-index: 1000;
}

.page-section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.page-section-description {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    padding-top: 10px;
}

h2.page-section-title {
    font-size: 1.6rem;
    margin-top: 10px;
}

/* ビフォー・アフター画像 */
.before-after-section {
    margin-bottom: 4rem;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 30px auto 0;
}

.before-image h3,
.after-image h3 {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    color: white;
    font-weight: bold;
}

.before-image h3 {
        background: #ffffff;
    border: 3px solid #3c88bd;
    color: #3c88bd;
}

.after-image h3 {
    background: #3b87bc;
}
h3:where(:not(.wp-block-post-title)):after {
    border-bottom: none;
}

}
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.image-wrapper:hover {
    transform: translateY(-5px);
}

.image-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-wrapper img:hover {
    transform: scale(1.05);
}

/* 工事詳細情報 */
.construction-details {
    margin-bottom: 4rem;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.detail-item {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
}

.detail-label {
    font-weight: bold;
    color: #2882C7;
    font-size: 1rem;
}

.detail-value {
    font-size: 1rem;
    color: #333;
}

/* 工事内容 */
.construction-content {
    margin-bottom: 4rem;
	display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-text {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: none;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* 関連施工事例 */
.related-cases {
    margin-bottom: 4rem;
}

.related-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-case-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-case-item:hover {
    transform: translateY(-10px);
}

.related-case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.mini-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.mini-before-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mini-before-after:hover img {
    transform: scale(1.1);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f0f0f0;
    color: #999;
    font-size: 1.1rem;
}

.related-case-info {
    padding: 1.5rem;
}

.related-case-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-case-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-case-info h3 a:hover {
    color: #2882C7;
}

.related-case-info p {
    color: #666;
    line-height: 1.6;
}

/* 投稿ページお問い合わせCTA */
.case-cta {
    background: #2882C7;
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
}

.case-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.case-cta p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    width: 90%;
}

.btn-secondary:hover {
    background: white;
    color: #2882C7;
    transform: translateY(-2px);
}

/* 画像モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.close-button {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.aaa {
    width: 100%;
    margin: 20px auto;
}

/* ========================================
   施工事例一覧ページ用CSS
======================================== */

.construction-cases-archive {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: 100vh;
}

/* アーカイブヘッダー */
.archive-header {
    text-align: center;
    margin: 4rem 0 1rem;
    padding: 3rem 10px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.archive-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: bold;
    background: rgb(18 58 101 / var(--tw-text-opacity, 1));;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* カテゴリーフィルター */
.cases-filter {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.filter-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f0f0f0;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: #2882C7;
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #2882C7;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 施工事例グリッド */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    margin-bottom: 4rem;
    gap:20px;
}

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.case-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-10px);
}

/* カード画像部分 */
.case-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.before-after-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.before-preview,
.after-preview {
    position: relative;
    overflow: hidden;
}

.before-preview img,
.after-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .before-preview img,
.case-card:hover .after-preview img {
    transform: scale(1.1);
}

.image-label {
    position: absolute;
    top: 220px;
    left: 10px;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    z-index: 2;
}

.before-label {
    background: #ffffff;
    color:#2882c7;
}

.after-label {
    background: #2882c7;
}

.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    color: #999;
}

.no-image span {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-image p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* カテゴリーバッジ */
.category-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.category-badge {
    background: rgb(21 56 100);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

/* カードコンテンツ */
.case-content {
    padding: 2rem;
	
}

.case-title {
    margin-bottom: 1.5rem;
    line-height: 1;
	line-height: 1rem;
	padding:0 0.5rem;
}

.case-title a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.case-title a:hover {
    color: #2882C7;
}

.case-details {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    color: #666;
    gap:15px;
    margin-bottom: 5px;
}

.detail-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.detail-text {
    font-size: 0.9rem;
}

.case-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.case-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
    text-align: right;
}

.case-link {
    display: inline-flex;
    align-items: center;
    color: #2882C7;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(102, 126, 234, 0.1);
}

.case-link:hover {
    background: #2882C7;
    color: white;
    transform: translateX(5px);
}

.case-link .arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.case-link:hover .arrow {
    transform: translateX(5px);
}

/* 投稿がない場合 */
.no-cases {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.no-cases-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-cases-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
}

.no-cases h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.no-cases p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* アーカイブCTA */
.archive-cta {
    background: linear-gradient(135deg, #2882C7 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.archive-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.archive-cta h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.archive-cta p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-large {
    padding: 1rem 0;
    font-size: 1rem;
    border-radius: 50px;
}

.testimonial-stars {
    color: #fdd663;
}

/* ページネーション */
.pagination-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers .page-numbers {
    padding: 0.8rem 1.2rem;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-numbers .page-numbers:hover,
.page-numbers .current {
    background: #2882C7;
    color: white;
    border-color: #2882C7;
    transform: translateY(-2px);
}

/* ===========================================
   お問い合わせページ
   =========================================== */

/* ヘッダーオフセット（TOPページと同じヘッダーを使用するため） */
.contact-page-wrapper {
    margin-top: 33px; /* 固定ヘッダー分のオフセット */
    background-color: #f5f5f5;
    min-height: calc(100vh - 76.44px);
    padding-bottom: 20px;
}

/* ページヘッダー（TOPページヘッダーの下に配置） */
.contact-main .page-header {
    background: linear-gradient(135deg, #007cba, #005a8b);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.contact-main .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(./img/info1.png);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.contact-main .page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.contact-main .page-subtitle {
    font-family: 'Courgette', cursive;
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}


/* コンテナ調整 */
.contact-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* イントロダクション */
.contact-intro {
    text-align: center;
    margin-bottom: 50px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.tel-number.ao {
    color: #3b87bc;
    font-weight: bold;
}

/* 連絡方法 */
.contact-page-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    align-items: stretch;
}

.contact-page-method {
    background-color: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.contact-page-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,124,186,0.1), transparent);
    transition: left 0.6s ease;
}

.contact-page-method:hover::before {
    left: 100%;
}

.contact-page-method:hover {
    border-color: #007cba;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,124,186,0.25);
}

.contact-page-method-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    animation: bounce 2s infinite;
    animation-play-state: paused;
    color: #3b87bc;
}

.contact-page-method:hover .contact-page-method-icon {
    animation-play-state: running;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.contact-page-method h3 {
    color: #007cba;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.contact-page-method p {
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.contact-page-method a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-page-method a:hover {
    color: #007cba;
}

.contact-page-method small {
    color: #888;
    font-size: 0.9rem;
}

/* フォームエリア */
.contact-page-form-wrapper-wrapper {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.contact-page-form-wrapper-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007cba, #005a8b, #007cba);
}

.contact-page-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* フォームセクション */

.container-center{
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    width: 90%;
}
.contact-form-section {
    margin-bottom: 40px;
}

textarea#message {
    line-height: 1.5em;
}

/* フォーム要素 */
.contact-page-form-group {
    margin-bottom: 25px;
}

.contact-page-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.contact-page-required {
    color: #e74c3c;
    font-size: 0.9rem;
}

.contact-page-form-group input,
.contact-page-form-group select,
.contact-page-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.contact-page-form-group input:focus,
.contact-page-form-group select:focus,
.contact-page-form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 10px rgba(0,124,186,0.3);
    background-color: #fff;
}

.contact-page-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* フォーム行 */
.contact-page-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* チェックボックス */
.contact-page-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.contact-page-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-page-checkbox-item:hover {
    background-color: #e3f2fd;
    border-color: #007cba;
}

.contact-page-checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.contact-page-checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

/* 送信セクション */
.contact-submit-section {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #eee;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.privacy-notice p {
    font-size: 13px;
    text-align: left;
}

.contact-page-privacy-notice {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #666;
    border-left: 5px solid #007cba;
    text-align: left;
}

.contact-page-privacy-notice a {
    color: #007cba;
    text-decoration: none;
}

.contact-page-privacy-notice a:hover {
    text-decoration: underline;
}

div#contact-inquiry-form {
    height: 120px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Form 7 専用スタイル*/
.contact-page-wrapper .wpcf7 {
    max-width: none;
}

.contact-page-wrapper .wpcf7 form {
    margin: 0;
}

.contact-page-wrapper .wpcf7-form p {
    margin: 0;
}

.contact-page-wrapper .wpcf7-form input[type="text"],
.contact-page-wrapper .wpcf7-form input[type="email"],
.contact-page-wrapper .wpcf7-form input[type="tel"],
.contact-page-wrapper .wpcf7-form select,
.contact-page-wrapper .wpcf7-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
    margin-top: 5px;
}

.contact-page-wrapper .wpcf7-form input[type="text"]:focus,
.contact-page-wrapper .wpcf7-form input[type="email"]:focus,
.contact-page-wrapper .wpcf7-form input[type="tel"]:focus,
.contact-page-wrapper .wpcf7-form select:focus,
.contact-page-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 10px rgba(0,124,186,0.3);
    background-color: #fff;
}

.contact-page-wrapper .wpcf7-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-page-wrapper .wpcf7-form .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.contact-page-wrapper .wpcf7-checkbox .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0;
    border: 1px solid transparent;
}

.contact-page-wrapper .wpcf7-checkbox .wpcf7-list-item:hover {
    background-color: #e3f2fd;
    border-color: #007cba;
}

.contact-page-wrapper .wpcf7-checkbox input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
    padding: 0;
}

.contact-page-wrapper .wpcf7-checkbox .wpcf7-list-item-label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.contact-page-wrapper .wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #3b87bc, #67b1d9);
    color: #fff;
    padding: 18px 50px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,124,186,0.4);
    width: auto;
}

.contact-page-wrapper .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,124,186,0.5);
    background: linear-gradient(135deg, #005a8b, #007cba);
}

.contact-page-wrapper .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.contact-page-wrapper .wpcf7-validation-errors,
.contact-page-wrapper .wpcf7-acceptance-missing {
    background-color: #fee;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-page-wrapper .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-page-wrapper .wpcf7-mail-sent-ng {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-page-wrapper .wpcf7-spinner {
    margin-left: 10px;
}

/* 改行制御 */
.contact-page-wrapper br,
.contact-page-wrapper .wpcf7-form br {
    display: none;
}

/* 投稿ページデザイン調整 */
li.sb_bluesky.sb_icon,
li.sb_hatena.sb_icon {
    display: none;
}

/* ========================================
   お役立ちコラム アーカイブページ
======================================== */

.column-archive-wrapper {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: 100vh;
    margin-top: 70px;
}

/* アーカイブヘッダー */
.column-archive-header {
    text-align: center;
    margin: 4rem 0 3rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.column-archive-header .archive-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #123a66;
    font-weight: bold;
}

.column-archive-header .archive-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* カテゴリーフィルター */
.column-filter {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f0f0f0;
    color: #666;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: #2882C7;
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #2882C7;
    color: white;
    box-shadow: 0 5px 15px rgba(40, 130, 199, 0.3);
}

/* コラムグリッド */
.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.column-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.column-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* サムネイル */
.column-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.column-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.column-card:hover .column-thumbnail img {
    transform: scale(1.1);
}

.popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* カードコンテンツ */
.column-content {
    padding: 1.5rem;
}

.column-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.column-category {
    background: #e3f2fd;
    color: #2882C7;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.column-category:hover {
    background: #2882C7;
    color: white;
}

.column-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.column-title a:hover {
    color: #2882C7;
}

.column-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #999;
}

.column-meta i {
    margin-right: 0.3rem;
}

.column-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.column-read-more {
    display: inline-flex;
    align-items: center;
    color: #2882C7;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.column-read-more span {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.column-read-more:hover span {
    transform: translateX(5px);
}

/* 投稿なし */
.no-columns {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
}

/* ========================================
   お役立ちコラム 詳細ページ
======================================== */

.column-single-wrapper {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 70px;
}

/* ヘッダー */
.column-header {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.column-header .column-title {
    font-size: 2.2rem;
    color: #123a66;
    margin: 1rem 0;
    line-height: 1.4;
}

.column-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

.meta-left,
.meta-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.meta-left i,
.meta-right i {
    margin-right: 0.3rem;
    color: #2882C7;
}

.reading-time {
    display: flex;
    align-items: center;
}

.difficulty {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
}

.difficulty-初級 {
    background: #d4edda;
    color: #155724;
}

.difficulty-中級 {
    background: #fff3cd;
    color: #856404;
}

.difficulty-上級 {
    background: #f8d7da;
    color: #721c24;
}

/* アイキャッチ画像 */
.column-featured-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 2rem auto;
}

.column-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 本文 */
.column-content-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.column-main-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.column-main-content h2 {
    font-size: 1.4rem;
    color: #123a66;
    margin: 0 0 1rem !important;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #2882C7;
}

.column-main-content h3 {
    font-size: 1.2rem;
    color: #123a66;
    margin: 1.5rem 0 1rem;
}


.column-main-content ul,
.column-main-content ol {
    margin: 0.2rem 0;
    padding-left: 2rem;
}

.column-main-content li {
    margin: 0;
    padding: 0 !important;
    font-size: 1rem !important;
}


.column-main-content img {
    border-radius: 10px;
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
}

.column-main-content blockquote {
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    border: none;
}


.work-content-wrap {
    background: white; 
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.work-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 10px;
}

.work-content-text span {
    padding-right: 20px;
    font-weight: 600;
    display: inline-block;
    width: 30%;
}
.column-main-content ul, .column-main-content ol {
    margin: 0.2rem 0;
    padding-left: 1.2rem;
}

.column-flex {
    display: flex;
    gap: 5px;
}

/* タグ */
.column-tags {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.column-tags h3 {
    font-size: 1.3rem;
    color: #123a66;
    margin-bottom: 1rem;
}

.tag-list {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag-item {
    background: #f0f0f0;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #2882C7;
    color: white;
    transform: translateY(-2px);
}

/* 関連サービス */
.related-services-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 50px auto;
}

.related-services-section h3 {
    font-size: 1.3rem;
    color: #123a66;
    margin-bottom: 1.5rem;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-service-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.related-service-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.related-service-item i {
    color: #2882C7;
    font-size: 1.2rem;
}

/* CTA */
.column-cta {
    background: linear-gradient(135deg, #2882C7 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
}

.column-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.column-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.column-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.column-cta .btn {
    padding: 1rem 2rem;
    min-width: 200px;
}

/* 関連記事 */
.related-columns {
    background: white;
    padding: 4rem 0;
    margin-top: 3rem;
}

.related-columns .section-title {
    text-align: center;
    font-size: 2rem;
    color: #123a66;
    margin-bottom: 3rem;
}

.related-columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-column-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-column-thumbnail {
    height: 180px;
    overflow: hidden;
}

.related-column-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-column-card:hover .related-column-thumbnail img {
    transform: scale(1.1);
}

.related-column-content {
    padding: 1.5rem;
}

.related-column-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.related-column-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-column-content h3 a:hover {
    color: #2882C7;
}

.related-column-date {
    font-size: 0.85rem;
    color: #999;
}

.padding1rem{
    padding: 0 1rem;;
}

.promise-wrap{
    width: 100%;
    max-width: 800px;
    background-color: rgb(255 255 255 / 0.9);
    border-radius: 20px;
    padding: 1rem;
    margin: 0 auto 30px;
}
.grid{
 width: 100%;
 display: grid;
 align-items: center;
 row-gap: 1rem;
 grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
text-align: center;
align-items: start;
gap:5px;
}


.promise-p{
    display: flex;
    background:none !important; 
    gap: 0.75rem;
    align-items: center;
    margin: 0;
    justify-content: center;
}

.p-icon{
    font-size: 1.2rem;
    background-color: rgb(255 255 255 / 0.9);
        --tw-border-opacity: 1;
    border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fa-file-lines,.fa-circle-check,.fa-helmet-safety,fa-shield-halved {
    margin: 0 !important;
}

.fa-solid {
    margin: 0;
}

span.ppp {
    display: flex;
    flex-direction: column;
    color: #123a66;
    font-size: 1.1rem;
    line-height: 1.7rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.strg{
color: #123a66;
}
.small{
        font-size: 0.875rem;
}
.blue{
color: rgb(40 130 200 / var(--tw-text-opacity, 1));
}

.org{
    color: rgb(255 135 56 / var(--tw-text-opacity, 1));
}
.b-org{
    background-color: rgb(255 135 56 / 0.1);
}
.b-blue{
    background-color: rgb(40 130 200 / 0.1);
}
.b-gry{
    background-color:rgb(18 58 101 / 0.1);
}
.fa-circle-check{
    color: rgb(40 130 200 / var(--tw-text-opacity, 1)) !important;
}

i.fa-regular.fa-file-lines{
    color: rgb(255 135 56 / var(--tw-text-opacity, 1));
}

.fa-helmet-safety,.fa-shield-halved{
    color: #123a66;
}

.promise-comit{
    width: 90%;
    margin: 10px auto 0;
    padding: 1rem 0;
    --tw-text-opacity: 1;
    color: rgb(100 116 139 / var(--tw-text-opacity, 1));
    line-height: 1.7;
    font-size:  0.9rem;
    border-top: solid 1px rgb(226 232 240 / var(--tw-border-opacity, 1));
    text-align: left;
    font-weight: 700;

}

/* ===========================================
   レスポンシブ対応：Min-width (モバイルファースト/大画面向け追加定義)
   =========================================== */


/* 768px以上 (タブレット・PC) */
@media (min-width: 768px) {
    /* ヘッダー・ロゴ */
    .site-title a {
        width: 250px;
        height: 80px;
    }
    .site-header.scrolled .site-title a {
        width: 200px !important;
        height: 58px;
    }

    /* レイアウト・装飾 */
    .batchimg {
        bottom: -10px;
        width: 300px;
    }
    .flexbox {
        display: flex;
        gap: 20px;
    }
    .strongimg {
        width: 300px
    }
    .area-pop {
        top: 10px;
        right: -80px;
        width: 400px;
    }
    .checklist {
        margin: 100px auto;
    }

    /* セクション余白 */
    .services-section,
    .testimonials-section,
    .commitment-section,
    .process-section,
    .faq-section {
        padding: 7rem 0 !important;
    }
	
	.fotter-logo {
		width: 20%;
}
}

/* 800px以上 */
@media (min-width: 800px) {
	
		.hero-title {
		font-size: 5rem;
}
	.hero-text {
    font-size: 2.5rem;
    margin-top: -30px;
}
    /* プロセス */
    .process-steps {
        gap: 5rem 0;
        max-width: 800px;
        margin: 0 auto;
    }
    .process-section {
        padding: 5rem 0 8rem;
    }

    /* 挨拶・コンテンツ */
    .greeting-content {
        gap: 1rem;
        display: flex;
        flex-direction: row;
        padding: 4rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* エリア・FAQ・約束セクション */
    .area-grid,
    .faq-list {
        max-width: 800px;
        margin: 0 auto 50px;
        gap: 20px;
    }
    .promise-container {
        max-width: 800px;
        display: flex;
        padding: 100px 10px 10px;
        margin: 0 auto 50px;
    }
    .area-section-bg {
        top: 40px;
        width: 115%;
    }
    .promise-content {
        flex: 4;
        padding-top: 0;
    }
    .promise-wrap {
        width: 100% !important;
        margin: 0 0 20px;
    }
    .promise-right {
        width: 800px;
        flex: 4;
    }

    /* グリッド */
    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    div#contact-inquiry-form {
        height: 140px;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }
	
	.construction-case-detail {
    padding:5rem 0;
}
}


/* 1200px以上 (大型ディスプレイ) */
@media (min-width: 1200px) {
    /* ナビゲーション */
    .nav-menu,
    #primary-menu {
        margin-top: 0;
    }

    /* ヒーローエリア */
    h1.hero-title-test {
        font-size: 5rem;
    }
    .hero-texto {
        font-size: 2rem;
        margin-top: 0;
    }
    .batchimg {
        bottom: -50px;
        width: 350px;
    }
    .area-pop {
        right: 0;
    }

    /* お問い合わせページ */
    .contact-page-methods {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .contact-page-method {
        padding: 40px 30px;
    }
    .contact-page-form-wrapper-wrapper {
        padding: 60px 50px;
    }
	
	.h1.case-title{
		font-size: 2rem;
		
	}
	
	.construction-case-detail {
    padding:10rem 0;
}
}


/* ===========================================
   レスポンシブ対応：Max-width (デスクトップファースト/小画面向け調整)
   =========================================== */

/* 1024px以下 */
@media (max-width: 1024px) {
    .testimonial-item {
        min-width: calc(50% - 80px); /* タブレットでの表示調整 */
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* 768px以下 (タブレット・スマホ共通) */
@media (max-width: 768px) {

    .btn-wrap {
        flex-direction: column;
    }

    /* 施工事例詳細 */
    .case-title {
        font-size: 1.5rem;
    }
    .before-after-container {
        grid-template-columns: 1fr;
    }
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    .related-cases-grid {
        grid-template-columns: 1fr;
    }
    .construction-details,
    .case-cta {
        padding: 2rem 1rem;
        margin-bottom: 50px;
    }
    .content-text {
        padding: 1.5rem 0;
    }

	.construction-content {
    margin-bottom: 3rem;
    background: #FFF;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: none;
}
	
    /* アーカイブページ */
    .archive-title {
        font-size: 1.6rem;
    }
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .filter-buttons {
        justify-content: center;
        gap: 0.3rem;
    }
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    .case-content {
        padding: 1.5rem;
    }
    .archive-cta {
        padding: 3rem 1rem;
    }
    .btn-large {
        width: 100%;
        max-width: 400px;
    }

    /* 共通CTAボタン */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* ヒーロー背景アニメーション */
    .hero-background {
        background-position: 0 -200px;
    }
    @keyframes float {
        0%, 100% {
            transform: translateY(0px) translateX(0px) scale(1.08);
        }
        50% {
            transform: translateY(-8px) translateX(0px) scale(1.08);
        }
    }
    .img-cover {
        width: 170px;
        height: 150px;
    }

    /* トップページカラム・約束セクション */
    section.promise {
        padding: 3rem 0;
    }
    .top-column-section {
        padding: 3rem 0;
    }
    .top-column-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .top-column-thumbnail {
        height: 180px;
    }
    .top-column-content {
        padding: 1.2rem;
    }
    .top-column-title a {
        font-size: 1rem;
    }
    .top-column-section .btn-outline {
        width: 100%;
        max-width: 400px;
    }

    /* お客様の声 */
    .testimonial-item {
        min-width: calc(100% - 60px);
        padding: 2rem;
        width: 280px;
    }
    .testimonials-section::after {
        font-size: 0.8rem;
    }

    /* 挨拶・プロフィール */
    .greeting-profile {
        display: flex;
        align-items: center;
    }
    .area-section .container {
        margin-top: 20px;
    }
    .greeting-hed {
        width: 95%;
        margin: 0 auto;
    }
    .greeting-section {
        margin-top: -120px;
    }
    p.emphasis {
        font-size: 1.2rem !important;
    }
    .conma {
        top: 2.3rem;
        left: 3rem;
    }
    .greeting-content {
        gap: 20px;
    }
    .profile-info {
        text-align: left;
        flex: 2;
    }
    .profile-image {
        flex: 1.5;
        width: 130px;
        height: 110px;
    }
    .greeting-title {
        font-size: 1.6rem;
    }
    .greeting-subtitle {
        font-size: 1.1rem;
    }

    /* フッター */
    .footer {
        padding: 40px 0 15px;
    }
    .footer-company-info {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    .company-name {
        font-size: 20px;
    }
    .company-contact .phone {
        font-size: 17px;
    }
    .contact-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    .footer-btn {
        flex: 1;
        max-width: 160px;
        padding: 12px 18px;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: -60px;
    }
    .footer-section {
        padding: 20px 15px;
    }
    .floating-cta {
        bottom: 15px;
        right: 15px;
        padding: 14px 22px;
        font-size: 13px;
    }

    /* 全体コンテナ・見出し */
    .container {
        padding: 0 1.5rem;
    }
    .section-title {
        font-size: 2rem; /* 下部で1.7remの上書きあり注意 */
    }

    /* ヒーロー要素 */
    .hero-title {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .btn-wrap {
        gap: 0;
    }
    .hero-emergency {
        flex-direction: column;
        text-align: center;
    }
    .emergency-content {
        justify-content: center;
        text-align: center;
    }
    .emergency-info h3 {
        font-size: 1.1rem;
    }

    /* 各種グリッドのリセット */
    .services-grid,
    .cases-grid,
    .pricing-table,
    .testimonials-grid,
    .process-steps,
    .area-grid,
    .commitment-grid {
        grid-template-columns: 1fr;
    }
    .service-item,
    .case-item,
    .plan-item,
    .testimonial-item,
    .step-item,
    .area-item,
    .commitment-item {
        margin-bottom: 1rem;
    }
    .plan-item.featured {
        transform: none;
    }
    .contact-row {
        grid-template-columns: 1fr;
    }

    /* コンタクトフォーム系 */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    .mobile-contact-fixed {
        display: flex !important; /* 表示制御の競合あり注意 */
        left: 20px;
        right: 20px;
        bottom: 0px;
        transform: none;
        width: calc(100% - 40px);
        gap: 3px;
    }
    .mobile-contact-btn {
        width: 50%;
        justify-content: center;
    }
    /* ヒーローセクションが見えなくなったらモバイルボタン表示 (初期はnone) */
    .mobile-contact-fixed {
        display: none;
    }

    /* お問い合わせメインページ */
    .contact-main .page-header {
        padding: 40px 0;
    }
    .contact-main .page-title {
        font-size: 2rem;
    }
    .contact-main .page-subtitle {
        font-size: 1rem;
    }
    .contact-main .container {
        padding: 0 15px;
    }
    .contact-intro {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    .intro-text {
        font-size: 1rem;
    }
    .contact-page-methods {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    .contact-page-method {
        padding: 25px 20px;
        min-height: 160px;
    }
    .contact-page-method-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    .contact-page-method h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .contact-page-method a {
        font-size: 1.1rem;
    }
    .contact-page-form-wrapper-wrapper {
        padding: 30px 20px;
        border-radius: 10px;
    }
    .contact-page-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-page-checkbox-group {
        grid-template-columns: 1fr;
    }
    .contact-page-wrapper .wpcf7-checkbox {
        grid-template-columns: 1fr !important;
    }
    .contact-page-wrapper .wpcf7-form input[type="submit"] {
        padding: 15px 30px;
        font-size: 1.1rem;
        width: 100%;
    }
    .section-title {
        font-size: 1.7rem;
    }

    /* コラムアーカイブ系 */
    .column-archive-header .archive-title {
        font-size: 1.8rem;
    }
    .column-grid {
        grid-template-columns: 1fr;
    }
    .column-header .column-title {
        font-size: 1.2rem;
        text-align: left;
    }
    .column-meta-info {
        flex-direction: column;
        gap: 0.1rem;
        align-items: flex-start;
    }
    .difficulty {
        display: none;
    }
    .meta-left,
    .meta-right {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .column-content-wrapper {
        padding: 1rem;
    }
    .column-main-content {
        font-size: 1rem;
    }
    .related-services-grid {
        grid-template-columns: 1fr;
    }
    .related-columns-grid {
        grid-template-columns: 1fr;
    }
    .column-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .column-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    .column-flex {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
	
	.contact-section {
	height:1050px;
}
}

/* 600px以下 */
@media (max-width: 600px) {
    .hero-section {
        height: 1060px;
    }
}

/* 480px以下 (スマホ) */
@media (max-width: 480px) {
    /* フッター */
    .footer-company-info {
        height: 600px;
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    .btn-wrap {
        flex-direction: column;
    }
    .contact-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .footer-btn {
        max-width: none;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-section {
        padding: 18px 15px;
    }
    .area-group h4 {
        font-size: 13px;
    }
    .floating-cta {
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: calc(100% - 30px);
        max-width: 300px;
        text-align: center;
    }
    .floating-cta:hover {
        transform: translateX(-50%) translateY(-2px) scale(1.02);
    }

    /* ヒーローセクション */
    .hero-section {
        height: 1060px;
    }
    .hero-background {
        top: 0px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        width: calc(100% + 30px);
        height: calc(100% + 30px);
        margin: 100px auto;
        border-radius: 10px;
        background-position: -200px -200px;
    }

    /* コラム・トップメタ */
    .top-column-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* お客様の声 */
    .testimonial-item {
        min-width: calc(100vw - 80px);
        padding: 1.5rem;
        width: 280px;
    }
    .testimonials-grid {
        gap: 1.5rem;
    }

    /* アイテムパディング統一 */
    .service-item,
    .case-item,
    .plan-item,
    .testimonial-item,
    .step-item,
    .area-item,
    .commitment-item {
        padding: 1.5rem;
    }

    /* テキストサイズ調整 */
    .greeting-message p {
        font-size: 1rem;
    }
    .phone-number,
    .email {
        font-size: 1.2rem;
    }
    .emergency-btn {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
    }

    /* お問い合わせページ微調整 */
    .contact-main .page-header {
        padding: 30px 0;
    }
    .contact-main .page-title {
        font-size: 1.8rem;
    }
    .contact-intro {
        padding: 20px 15px;
    }
    .contact-page-method {
        padding: 20px 15px;
        min-height: 140px;
    }
    .contact-page-method-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .contact-page-method h3 {
        font-size: 1rem;
    }
    .contact-page-method a {
        font-size: 1rem;
    }
    .contact-page-form-wrapper-wrapper {
        padding: 25px 15px;
    }
    .contact-page-form-group input,
    .contact-page-form-group select,
    .contact-page-form-group textarea,
    .contact-page-wrapper .wpcf7-form input[type="text"],
    .contact-page-wrapper .wpcf7-form input[type="email"],
    .contact-page-wrapper .wpcf7-form input[type="tel"],
    .contact-page-wrapper .wpcf7-form select,
    .contact-page-wrapper .wpcf7-form textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    .contact-page-checkbox-item,
    .contact-page-wrapper .wpcf7-checkbox .wpcf7-list-item {
        padding: 10px;
    }
    .contact-page-privacy-notice {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
}

/* ===========================================
   その他
   =========================================== */

/* 印刷時の対応 */
@media print {
    .mobile-contact-fixed,
    .hero-buttons,
    .emergency-contact {
        display: none !important;
    }
}

/* ダークモード対応（将来的に） */
@media (prefers-color-scheme: dark) {
    /* 必要に応じてダークモード対応を追加 */
}

@import url("assets/css/404.css");

p input.wpcf7-form-control.wpcf7-submit.has-spinner {
    margin: 0 auto;
    width: 100%;
	background-color: #3a88be;
	font-size: 1.2rem;
    font-weight: bold;
}