
body {
	font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
	height: 200vh; /* スクロールできるように高さを設定 */
}
  .float-button-container {
    position: fixed; /* 画面に固定 */
    bottom: 20px;    /* 下からの距離 */
    right: 20px;     /* 右からの距離 */
    z-index: 1000;   /* 他の要素より手前に表示 */
  }
.float-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    /* 背景色をRGBAで指定し、最後の値で透明度を設定 (0.0:完全透明 〜 1.0:完全不透明) */
    background-color: rgba(0, 123, 255, 0.7); /* 例: 青色を70%の透明度 */
    color: white;              /* テキストの色は不透明のまま */
    border-radius: 50%;        /* 円形にする */
    text-decoration: none;     /* 下線をなくす */
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 影を追加 */
    transition: background-color 0.3s ease; /* ホバー時のアニメーション */
  }

  .float-button:hover {
    /* ホバー時は少し不透明度を上げるか、色を変えるなど */
    background-color: rgba(0, 86, 179, 0.8); /* 例: ホバー時は少し濃い青で80%の透明度 */
  }

  /* テスト用のコンテンツ */
  .content {
    padding: 30px;
  }
.container {
	max-width: 1800px;
	margin: 0 auto;
	padding: 0 20px;
}
header {
	 background-color: #333;
            color: white;
            padding: 1rem 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
}

.hero {
background: -webkit-linear-gradient(rgba(227, 242, 253, 0.8), rgba(227, 242, 253, 0.8)), url('https://storage.googleapis.com/g.co/gemini/static_files/modern_apartment_interior.jpg') no-repeat center center/cover;
background: -o-linear-gradient(rgba(227, 242, 253, 0.8), rgba(227, 242, 253, 0.8)), url('https://storage.googleapis.com/g.co/gemini/static_files/modern_apartment_interior.jpg') no-repeat center center/cover;
background: linear-gradient(rgba(227, 242, 253, 0.8), rgba(227, 242, 253, 0.8)), url('https://storage.googleapis.com/g.co/gemini/static_files/modern_apartment_interior.jpg') no-repeat center center/cover;
	text-align: center;
	padding: 80px 20px;
	position: relative;
	color: #0056b3;
	min-height: 500px; /* ある程度の高さを確保 */
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-content {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	
}
.hero h2 {
	font-size: 3.2em;
	color: #0056b3;
	margin-bottom: 25px;
	line-height: 1.3;
	/*text-shadow: 1px 1px 3px rgba(0,0,0,0.1);*/
	text-shadow:3px 3px 0 #ffffff, -3px -3px 0 #ffffff, /*飾り罫線*/
-1px 1px 0 #ffffff, 3px -3px 0 #ffffff, 
 0px 1px 0 #ffffff,  0-3px 0 #ffffff, 
-1px 0 0 #ffffff, 3px 0 0 #ffffff; 

}
.hero h2 strong {
	color: #d9534f; /* 強調色 */
}
.hero p {
	font-size: 1.6em;
	color: #222222;
	margin-bottom: 50px;
	font-weight: 500;
}


.top-bg{
	background:url("../images/main-img.jpg") ;
	background-size: cover;
}


.btn {
	display: inline-block;
	background-color: #ff8c00; /* オレンジ */
	color: #fff;
	padding: 18px 35px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 1.4em;
	font-weight: bold;
	transition: background-color 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	margin: 1rem;
}
.btn:hover {
	background-color: #e67e00;
	transform: translateY(-3px);
}
.section {
	padding: 80px 0;
	border-bottom: 1px solid #eef7f9;
}
.section:nth-of-type(even) {
	background-color: #fdfdfd;
}
.section h2 {
	text-align: center;
	font-size: 2.8em;
	color: #0056b3;
	margin-bottom: 50px;
	position: relative;
}
.section h2::after {
	content: '';
	display: block;
	width: 100px;
	height: 5px;
	background-color: #ff8c00;
 	margin: 15px auto 0;
	border-radius: 3px;
}


/* Second Opinion Section */
.second-opinion-section {
background: -webkit-linear-gradient(top left, #fff7ec 0%, #ffffff 100%);
background: -o-linear-gradient(top left, #fff7ec 0%, #ffffff 100%);
background: linear-gradient(to bottom right, #fff7ec 0%, #ffffff 100%);
}
.second-opinion-box {
	background-color: #fff;
	border: 3px solid #ff8c00;
	border-radius: 14px;
	padding: 45px;
	box-shadow: 0 8px 28px rgba(0,0,0,0.08);
	max-width: 1000px;
	margin: 0 auto 40px;
}
.second-opinion-lead {
	text-align: center;
	font-size: 1.45em;
	color: #0056b3;
	font-weight: bold;
	margin-bottom: 30px;
}
.second-opinion-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
	margin-top: 30px;
}
.second-opinion-card {
	background-color: #f8fcfd;
	border-left: 5px solid #007bff;
	border-radius: 10px;
	padding: 25px;
}
.second-opinion-card h3 {
	color: #0056b3;
	font-size: 1.45em;
	margin-top: 0;
	margin-bottom: 12px;
}
.second-opinion-card p {
	color: #555;
	margin: 0;
	font-size: 1.05em;
}
.cta-note {
	display: block;
	margin-top: 14px;
	color: #555;
	font-size: 1.05em;
	font-weight: bold;
}
.hero .cta-note {
	color: #0056b3;
}

/* Bad Measures Section */
.bad-measures-section {
background: -webkit-linear-gradient(top left, #fff3f3 0%, #ffffff 100%);
background: -o-linear-gradient(top left, #fff3f3 0%, #ffffff 100%);
background: linear-gradient(to bottom right, #fff3f3 0%, #ffffff 100%);
}
.bad-measures-lead {
	text-align: center;
	font-size: 1.25em;
	color: #555;
	max-width: 980px;
	margin: 0 auto 45px;
	font-weight: 500;
}
.bad-measures-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}
.bad-measure-card {
	background-color: #fff;
	border-radius: 14px;
	padding: 32px;
	box-shadow: 0 8px 26px rgba(0,0,0,0.08);
	border-top: 6px solid #d9534f;
	position: relative;
}
.bad-measure-card h3 {
	color: #d9534f;
	font-size: 1.75em;
	margin-top: 0;
	margin-bottom: 18px;
	line-height: 1.4;
}
/*.bad-measure-card h3::before {
	content: 'NG';
	display: inline-block;
	background-color: #d9534f;
	color: #fff;
	border-radius: 999px;
	padding: 4px 10px;
	margin-right: 10px;
	font-size: 0.65em;
	vertical-align: middle;
}*/
.bad-measure-card p {
	color: #555;
	font-size: 1.08em;
	margin-bottom: 16px;
}
.bad-measure-card .solution {
	background-color: #f8fcfd;
	border-left: 5px solid #007bff;
	border-radius: 8px;
	padding: 16px 18px;
	color: #0056b3;
	font-weight: bold;
	margin-top: 18px;
}
.bad-measures-summary {
	background-color: #0056b3;
	color: #fff;
	border-radius: 14px;
	padding: 28px 34px;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
	box-shadow: 0 8px 26px rgba(0,0,0,0.12);
}
.bad-measures-summary p {
	margin: 0;
	font-size: 1.25em;
	font-weight: bold;
}

/* Problem Section */
.problem-intro {
	text-align: center;
	font-size: 1.3em;
	color: #555;
	margin-bottom: 60px;
	font-weight: 500;
}
.problems-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.problem-item {
	background-color: #fff;
	border-left: 6px solid #d9534f; /* 問題を示す赤 */
	padding: 25px 35px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}
.problem-item:hover {
	transform: translateY(-8px);
}
.problem-item h3 {
	color: #d9534f;
	font-size: 1.8em;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
}
/*.problem-item h3::before {
	content: '!'; /* 絵文字アイコン */
	margin-right: 10px;
	font-size: 1.2em;
}*/
.problem-item p {
	color: #666;
	font-size: 1.1em;
}

/* Strength/Anshin Section */
.strength-intro {
	text-align: center;
	font-size: 1.3em;
	color: #555;
	margin-bottom: 60px;
	font-weight: 500;
}
.strength-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}
.strength-item {
	background-color: #fff;
	border-top: 6px solid #007bff; /* 強みを強調する青 */
	padding: 30px 35px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
	text-align: center;
}
.strength-item:hover {
	transform: translateY(-8px);
}
.strength-item h3 {
	color: #007bff;
	font-size: 2em;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px; /* タイトル高さの均一化 */
}
/*.strength-item h3::before {
	content: '??'; /* アイコン */
	margin-right: 10px;
	font-size: 1.2em;
}*/
.strength-item p {
	color: #666;
	font-size: 1.1em;
	text-align: left; /* テキストは左寄せ */
}
.strength-item ul {
	list-style: none;
	padding: 0;
	margin-top: 15px;
	text-align: left;
}
.strength-item ul li {
	position: relative;
	padding-left: 10px;
	margin-bottom: 8px;
	font-size: 1em;
	color: #555;
}
/**
.strength-item ul li::before {
	content:  '●';
	color: #28a745; 
	position: absolute;
	left: 0;
	top: 0;
}
**/

/* Price Guide Section */
.price-intro {
	text-align: center;
	font-size: 1.3em;
	color: #555;
	margin-bottom: 45px;
	font-weight: 500;
}
.price-guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
	margin-bottom: 35px;
}
.price-guide-card {
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
 	padding: 30px;
	border-top: 6px solid #ff8c00;
	transition: transform 0.3s ease;
}
.price-guide-card:hover {
	transform: translateY(-8px);
}
.price-guide-card h3 {
	color: #0056b3;
	font-size: 1.7em;
	margin-top: 0;
	margin-bottom: 12px;
}
.price-guide-card p {
	color: #666;
	font-size: 1.05em;
	margin-bottom: 20px;
}
.price-guide-meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}
.price-guide-meta span {
	display: block;
	background-color: #f0f8ff;
	border-left: 4px solid #007bff;
	color: #0056b3;
	font-weight: bold;
	padding: 10px 12px;
	border-radius: 6px;
}
.price-guide-note {
	background-color: #fff8e8;
	border: 1px solid #ffd89a;
	border-radius: 10px;
	padding: 22px 26px;
	color: #555;
	font-size: 1.05em;
	max-width: 1000px;
	margin: 0 auto;
}
	.price-guide-note strong {
		color: #d9534f;
	}


/* Service Section */
.service-intro {
	text-align: center;
	font-size: 1.3em;
	color: #555;
	margin-bottom: 60px;
	font-weight: 500;
}
.service-category {
	margin-bottom: 60px;
}
.service-category h3 {
	font-size: 2.2em;
	border-bottom: 3px solid #ff8c00;
	margin-bottom: 30px;
 	text-align: center;
}
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.service-item {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	padding: 30px;
	transition: transform 0.3s ease;
	position: relative;
}
.service-item:hover {
	transform: translateY(-8px);
}
.service-item h4 {
	color: #007bff;
	font-size: 1.8em;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
}
/*.service-item h4::before {
	content: '●'; /* アイコン */
	color: #ff8c00;
	margin-right: 10px;
	font-size: 1.5em;
}*/
.service-item p {
	color: #666;
	font-size: 1.1em;
	margin-bottom: 15px;
}
.service-item ul {
	list-style: none;
	padding: 0;
}
.service-item ul li {
	position: relative;
	padding-left: 25px;
	margin-bottom: 8px;
	font-size: 1em;
	color: #555;
}
/*.service-item ul li::before {
	content: '・';
	color: #007bff;
	position: absolute;
	left: 0;
	top: 0;
	font-weight: bold;
}*/


/* Case Study */
.case-study {
	display: flex;
	flex-direction: column;
	gap: 50px;
}
.case-item {
	display: flex;
	align-items: center;
	gap: 40px;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	padding: 40px;
	transition: transform 0.3s ease;
}
.case-item:hover {
	transform: translateY(-10px);
}
.case-item:nth-child(even) {
	flex-direction: row-reverse;
}
.case-image {
	flex: 1;
	max-width: 50%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.case-content {
	flex: 1;
}
.case-content h3 {
	color: #0056b3;
	font-size: 2.2em;
	margin-bottom: 15px;
	border-bottom: 2px solid #ff8c00;
	padding-bottom: 10px;
}
.case-content h4 {
	color: #ff8c00;
	font-size: 1.4em;
	margin-bottom: 15px;
}
.case-content p {
	color: #555;
	margin-bottom: 15px;
	font-size: 1.1em;
}
.case-content p strong {
	color: #0056b3;
}

/* Customer Voice */
.customer-voice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}
.customer-voice-item {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	padding: 35px;
	position: relative;
	transition: transform 0.3s ease;
}
.customer-voice-item:hover {
	transform: translateY(-8px);
}
/*.customer-voice-item::before {
	content: '!';
	font-size: 5em;
	color: #e0e0e0;
	position: absolute;
	top: 5px;
	left: 20px;
	opacity: 0.7;
	z-index: 0;
	line-height: 1;
}*/
.customer-voice-item p {
	font-style: italic;
	color: #555;
	margin-bottom: 20px;
	padding-top: 25px; /* for quote icon */
	position: relative;
	z-index: 1;
	font-size: 1.1em;
}
 .customer-voice-item span {
	display: block;
	text-align: right;
	font-weight: bold;
	color: #0056b3;
	font-size: 1.05em;
}
.customer-voice-item img{
	width: 90%;
	height: auto;
}

/* Flow Section */
.flow-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }
        .flow-item {
            background-color: #fff;
            border: 1px solid #e0f0f5;
            border-radius: 8px;
            padding: 25px;
            text-align: center;
            flex: 1 1 calc(30% - 20px); /* 3 items per row on wider screens */
            min-width: 280px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            position: relative;
            padding-top: 50px;  /* Step番号分の余白 */
        }
       /* .flow-item::before {
            content: attr(data-step);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100px;
            height: 40px;
            background-color: #007bff;
            color: #fff;
            border-radius: 50%;
            font-weight: bold;
            font-size: 1.2em;
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }*/
        .flow-item h3 {
            color: #0056b3;
            font-size: 1.5em;
            margin-top: 20px;
            margin-bottom: 10px;
        }
        .flow-item p {
            color: #666;
            font-size: 1em;
        }

        /* CTA Section */
        .cta-section {
            background-color: #0056b3; /* ブランドカラーの青 */
            color: #fff;
            text-align: center;
            padding: 80px 20px;
        }
        .cta-section h2 {
            color: #fff;
            font-size: 3em;
            margin-bottom: 25px;
            line-height: 1.3;
        }
        .cta-section p {
            font-size: 1.5em;
            margin-bottom: 40px;
        }
        .cta-section .btn {
            background-color: #d9534f; /* 目を引く赤色 */
        }
        .cta-section .btn:hover {
            background-color: #c9302c;
        }
        .cta-section .contact-info {
            margin-top: 30px;
            font-size: 1.1em;
            line-height: 1.8;
        }
        .cta-section .contact-info strong {
            font-size: 1.2em;
        }
        .cta-section small {
            display: block;
            margin-top: 25px;
            font-size: 0.9em;
            opacity: 0.8;
        }

        footer {
            background-color: #333;
            color: #eee;
            text-align: center;
            padding: 30px 0;
            font-size: 0.9em;
        }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            header .header-content {
                flex-direction: column;
                align-items: flex-start;
            }
            header .contact-info {
                width: 100%;
                justify-content: flex-start;
                margin-top: 10px;
            }
            header h1 {
                font-size: 1.5em;
            }
            .hero h2 {
                font-size: 2.5em;
            }
            .hero p {
                font-size: 1.3em;
            }
            .section h2 {
                font-size: 2.2em;
            }
            .case-item {
                flex-direction: column;
                gap: 25px;
            }
            .case-item:nth-child(even) {
                flex-direction: column;
            }
			.case-item img{
				width: 100%;
				height: auto;
			}
            .case-image {
                max-width: 80%;
            }
            .case-content h3 {
                font-size: 1.8em;
            }
            .flow-item {
                flex: 1 1 calc(48% - 20px); /* 2 items per row */
            }
            .strength-item h3 {
                font-size: 1.8em;
                min-height: auto;
            }
            .service-category h3 {
                font-size: 2em;
            }
            .service-item h4 {
                font-size: 1.6em;
            }
        }

@media (max-width: 768px) {
            header h1 {
                font-size: 1.3em;
            }
            header .logo-area {
				display: flex;
	align-items: center;
	min-width: 250px;
                /*min-width: unset;*/
                width: 100%;*/
                /*justify-content: center;*/
            }
            header .contact-info {
                /*justify-content: center;*/
                margin-top: 15px;
                gap: 10px;
            }
            header .contact-info a {
                font-size: 1em;
                padding: 8px 15px;
            }
            header .contact-info span {
                font-size: 1em;
            }
            nav ul {
                gap: 10px;
                margin-top: 15px;
            }
            nav ul li a {
                font-size: 0.9em;
                padding: 3px 8px;
            }
            .hero {
                padding: 60px 20px;
            }
            .hero h2 {
                font-size: 2em;
            }
            .hero p {
                font-size: 1.1em;
            }
            .btn {
                padding: 15px 25px;
                font-size: 1.2em;
            }
            .section {
                padding: 60px 0;
            }
            .section h2 {
                font-size: 2em;
            }
            .problem-item h3, .strength-item h3 {
                font-size: 1.6em;
            }
            .problem-intro, .strength-intro, .service-intro {
                font-size: 1.1em;
            }
            .strength-item {
                flex: 1 1 100%;
            }
            .case-item {
                padding: 30px;
            }
            .case-image {
                max-width: 100%;
            }
            .case-content h3 {
                font-size: 1.6em;
            }
            .case-content h4 {
                font-size: 1.2em;
            }
            .customer-voice-item p {
                font-size: 1em;
            }
            .flow-item {
                flex: 1 1 100%; /* 1 item per row */
            }
            .cta-section h2 {
                font-size: 2.2em;
            }
            .cta-section p {
                font-size: 1.2em;
            }
            .service-category h3 {
                font-size: 1.8em;
            }
            .service-item h4 {
                font-size: 1.4em;
            }
            .price-guide-card h3 {
                font-size: 1.45em;
            }
            .price-intro {
                font-size: 1.1em;
            }
            .second-opinion-box {
                padding: 30px 22px;
            }
            .second-opinion-lead {
                font-size: 1.2em;
            }
        }

/*******************/
最上部メニューハンバーガーボタン
/*******************/
/* PC用の通常表示 */
.nav-menu ul {
  display: flex;
}
.hamburger-btn {
  display: none; /* PC時はボタンを非表示 */
}

/* スマホ用のハンバーガー表示（画面幅768px以下の場合） */
@media screen and (max-width: 768px) {
  .hamburger-btn {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
  }
  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    position: absolute;
    transition: 0.3s;
  }
  /* 三本線の位置調整 */
  .hamburger-btn span:nth-child(1) { top: 0; }
  .hamburger-btn span:nth-child(2) { top: 10px; }
  .hamburger-btn span:nth-child(3) { top: 20px; }

  .nav-menu {
    display: none; /* 通常時はメニューを隠す */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
  }
  
  /* JavaScriptで付与する開閉用のクラス */
  .nav-menu.is-active {
    display: block;
  }
}

/**下向き▼**/
.owner-a{
	color:orange;
	font-size: 3rem;
	text-align: center;
}
