/* --- Reset & Base --- */
@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
	scroll-padding-top:150px;
}
body {
	font-family: 'Noto Sans JP', sans-serif;
	line-height: 1.6;
	color: #403c3a;
	background-image: url(image/kage.jpg);
}

img {
    max-width: 80px;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
	color: #403c3a;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title.white {
    color: #fff;
}

/* --- Buttons --- */
.btn-main {
    background-color: #6d90a6;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
}

.btn-line {
    background-color: #00b900;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
}

.naminami{
	text-align: center;
	margin: 0 auto;
}
.naminami img{
	max-width: 340px;
}
 h2.first-section.section-title{
	margin-bottom: 0;
	padding-bottom: 0;
}
/* --- Header --- */
.header {
    background: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #333;
    font-size: 0.9rem;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
	margin-left: 10px
	
}

.header_wrapper{
	display: flex;
	align-items: center
	
}

.tel-link {
    color: #6d90a6;
    background-color: #6d90a6;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
}

/* --- About Page Specific Styles --- */

/* --- Lower Hero Section 修正版 --- */

.lower-hero {
	width: 100%;
}

.lower-hero-visual {
    position: relative; /* 子要素の基準点 */
    width: 90%;
    height: auto;     /* PC時の高さ（適宜調整） */
}

/* 背景画像の設定 */
.lower-hero-img {
	max-width: 100%;
	object-fit: cover;
	display: block;
	min-height: 100%;
	width: 100%;
}
.lower-hero-title-img{
	max-width: 100%;
	position: absolute;
    right: 0;
	bottom: 0;
	translate:95px -35%;
	
	
}
.lower-hero-content {
    position: absolute;
    right: 5%;         /* 右から5%の位置 */
    bottom: 15%;       /* 下から15%の位置 */
    text-align: right;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* 視認性を高める影 */
    z-index: 10;
}

.lower-hero-sub {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1.2;
}

.lower-hero-title {
    font-size: 5rem;    /* カンプに合わせた大きめのサイズ */
    font-weight: bold;
    line-height: 1;
    margin: 0;
    letter-spacing: 0.05em;
    /* カンプに近い「くすんだ青」を文字色にする場合は下記（白で抜く場合は不要） */
    /* color: rgba(109, 144, 166, 0.9); */
}

/* --- レスポンシブ対応 (スマホ) --- */
@media (max-width: 768px) {
	 .lower-hero {
        height: 200px;
        justify-content: center;
        padding: 0;
    }
    .lower-hero-visual {
	text-align: center;
	}/* スマホでは高さを抑える */
    
    .lower-hero-content {
        right: 20px;
        bottom: 20px;
    }
    
    .lower-hero-title {
        font-size: 2.5rem; /* スマホ用にサイズダウン */
    }
    
    .lower-hero-sub {
        font-size: 1rem;
    }
	.lower-hero-title-img{
	max-width: 50%;
	translate: 40px -25%;
}
}
.section-title.decoration-wave{
	margin-top: 100px;
		color:#6d90a6;
	
}
.decoration-wave::before {
	content: "";
    display: block;
    font-size: 0;
	background-image: url("image/syuutyuu.png");
	background-size: 150px auto;
	width: 150px;
	margin: 0 auto;
	aspect-ratio:174/80
    
}
.decoration-wave::after {
    content: url("image/namisenn_.png");
    display: block;
    font-size: 0;
}

/* こだわりリスト (Z型レイアウト) */
.step-list-section {
    padding: 80px 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.step-item:last-child {
    margin-bottom: 0;
}

/* 偶数番目のアイテムを反転（Z型） */
.step-item:nth-child(even) {
    flex-direction: row-reverse;
}

.step-img {
    flex: 1;
}

.step-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 10px 10px 0 #f0ede9; /* 背景に薄いベージュのズレた影 */
}

.step-text {
    flex: 1;
}

.step-num {
    font-size: 3rem;
    font-weight: bold;
    color: #bf9e80;
    font-family: 'Arial', sans-serif;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.step-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

/* アフターサポートセクション */
.after-support-section {
    padding: 60px 0;
}

/* 1枚目の共通クラスをオーバーライドしてここだけ背景を変える */
.after-support-section .section-title {
    color: #6d90a6;
}
.section-intro{
	text-align: center
}
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.support-card {
    background-color: #6d90a6; /* メインブルー */
    color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-10px);
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 15px;
}

.support-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}
/* --- About Page Unique Styles --- */

/* Lower Hero */
.lower-hero {
/*
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('image/about-hero.jpg') no-repeat center center/cover;
*/
    display: flex;
    align-items: center;
    color: #fff;
    text-align: right;
}
.lower-hero-content { width: 100%; }
.lower-hero-sub { font-size: 1.2rem; font-weight: bold; margin-bottom: 5px; }
.lower-hero-title { font-size: 4rem; letter-spacing: 0.1em; opacity: 0.8; }

/* Mission Decoration (波線) */
.mission { padding: 80px 0 40px; text-align: center; }
.deco-title {
    position: relative;
    display: inline-block;
    padding: 20px 0;
    font-size: 1.8rem;
    color: #6d90a6;
}
/* 波線のCSS表現 */
.deco-title::before {
    content: "";
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 20px;
    background-image: radial-gradient(circle at 10px -7px, transparent 8px, #6d90a6 8px, #6d90a6 10px, transparent 10px);
    background-size: 20px 20px;
}
.deco-title::after {
    content: "";
    position: absolute;
    bottom: -10px; left: 0; width: 100%; height: 8px;
    background-image: radial-gradient(circle at 10px 15px, transparent 8px, #6d90a6 8px, #6d90a6 10px, transparent 10px);
    background-size: 20px 20px;
}

/* Values Step (交互配置) */
.values-step { padding: 60px 0; }
.step-item {
    display: flex;
    align-items: center;
    gap: 5%;
    margin-bottom: 100px;
}
.step-item:nth-child(even) { flex-direction: row-reverse; }

.step-img { flex: 0 0 50%; }
.step-img img { width: 100%; max-width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.step-text { flex: 1; }
.step-num {
    font-size: 3rem;
    color: #bf9e80; /* アクセントカラー */
    font-weight: bold;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}
.step-text h3 { font-size: 1.5rem; color: #6d90a6; margin-bottom: 10px; }
.step-lead { font-weight: bold; margin-bottom: 15px; color: #333; }

/* After Support Section */
.after-support { background-color: #f9f9f9; padding: 100px 0; text-align: center; }
.after-support-head { margin-bottom: 50px; }
.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.support-card {
    background-color: #6d90a6;
    color: #fff;
    padding: 50px 30px;
    border-radius: 15px;
    transition: transform 0.3s;
}
.support-card:hover { transform: translateY(-10px); }
.support-card h3 { font-size: 1.4rem; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 10px; }
.support-card p { font-size: 0.95rem; line-height: 1.8; text-align: left; }


.footer {
    background: #f4f4f4;
    padding: 60px 0 120px; /* 余白は固定バー分確保 */
    position: relative;
}

.footer-content {
    justify-content: space-between;
}
.footer-info{
	text-align: center;
	margin-bottom: 20px
}
.footer-info img{
	max-width: 200px
}
.footer-nav ul {
    display: flex;
    gap: 10px;
	justify-content: center
}
.footer-nav ul ul{
	display: block;
	border-left: 1px solid #000;
	padding-left: 5px;
	margin-left: 5px;
	white-space: nowrap;
}

.footer-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
}

.fixed-tel, .fixed-line {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: #fff;
    font-weight: bold;
}

.fixed-tel { background-color: #6d90a6; }
.fixed-line { background-color: #00b900; }

.gotop {
    position: fixed;
    right: 20px;
    bottom: 65px;
    background: #6d90a6;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .lower-hero-title { font-size: 2.5rem; }

    .step-item, .step-item:nth-child(even) {
        flex-direction: column;
        margin-bottom: 60px;
        text-align: left;
    }
    .step-img { flex: 0 0 100%; margin-bottom: 20px; }
    
    .support-cards {
        grid-template-columns: 1fr;
    }
    .support-card { padding: 40px 20px; }

    .lower-hero {
        justify-content:flex-start;
        padding: 0;
		align-items: flex-start;
		height: auto;
    }

    .lower-hero-title {
        text-align: center;
        font-size: 1.8rem;
    }

    .step-item, 
    .step-item:nth-child(even) {
        flex-direction: column; /* スマホでは全て画像が上の1カラム */
        gap: 30px;
        margin-bottom: 60px;
    }

    .step-img img {
        max-width: 100%;
    }

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

    .support-grid {
        grid-template-columns: 1fr; /* スマホでは縦並び */
        gap: 20px;
    }
	
    nav {
  position: fixed;
  top: 0;
  left: 100%  /* 0から変更  */;
  transition: 0.5s;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  padding-top: 100px;
  height: 100%;
  padding-bottom: 50px;
  overflow: auto;
}
	.menu-open nav {
	left: 0;
}
	.nav-button {
  width: 70px;
  height: 50px;
  position: relative;
  z-index: 1;
}
	.nav-button span {
  width: 30px;
  height: 2px;
  background-color: #000000;
  position: absolute;
  left: 20px;
}
	.nav-button span:nth-child(1) {
	top: 12px;
}

.nav-button span:nth-child(2) {
	top: 24px;
}

.nav-button span:nth-child(3) {
	top: 36px;
}
.menu-open .nav-button span:nth-child(1) {
  top: 24px;
  transform: rotate(315deg);
}

.menu-open .nav-button span:nth-child(2) {
  width: 0;
  left: 50%;
}

.menu-open .nav-button span:nth-child(3) {
  top: 24px;
  transform: rotate(-315deg);
}
	.nav-button span {
	transition: 0.3s;
}
	.nav ul{
		flex-direction: column;
		align-items: center;
		gap:40px;
	}
	.nav a{
		font-size: 24px;
	}
	.header-inner {
/*        flex-direction: column;*/
        gap: 10px;
    }
	header .tel-link, header .btn-line{
		display: none;
	}
/*    .nav { display: none; } */

    .hero {
        height: auto;
        padding: 20px;
		flex-direction: column;
    }
	.hero-badge{
		position: relative;
		bottom: 0;
		right: 0;
		margin-left: auto;
	}
    .hero-title { 
		font-size: 2rem;
		white-space: normal;
	}
    .hero-btns { flex-direction: column; }
	
	.btn-main,.btn-line{
		max-width: fit-content;
	}
    .strength-item, .strength-item.reverse {
        flex-direction: column;
        gap: 20px;
    }
	.check{
		margin:0 auto;
		text-align: center;
	}
    .check-grid, .risk-grid {
        grid-template-columns: 1fr;
    }

    .case-item {
        flex-direction: column;
    }

    .case-arrow {
        transform: rotate(90deg);
    }

   .footer {
	background-color: #f4f4f4;
	padding-top: 15px;
	padding-bottom: 120px; /* 余白は固定バー分確保 */
	position: relative;
}

.footer-content {
    justify-content: space-between;
}
.footer-info{
	text-align: center;
	margin-bottom: 20px
}
.footer-info img{
	max-width: 200px
}
    .footer-nav{
		display: flex;
		position: static;
		background-color: transparent;
		padding-top: 0;
	}
.footer-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}
.footer-nav ul ul{
	display: block;
	border-left: 1px solid #000;
	padding-left: 5px;
	margin-left: 5px;
	white-space: nowrap;
	}
                                                           

.footer-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
}

.fixed-tel, .fixed-line {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: #fff;
    font-weight: bold;
}

.fixed-tel { background-color: #6d90a6; }
.fixed-line { background-color: #00b900; }

.gotop {
    position: fixed;
    right: 20px;
    bottom: 65px;
    background: #6d90a6;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

}
