/* --- Base Settings --- */
:root {
    /* カラーパレット：温かみのある配色 */
    --warm-yellow: #fff9c4;      /* 背景用パステルイエロー */
    --accent-yellow: #fdd835;    /* 強調・ボタン用黄色 */
    --text-black: #444444;       /* 柔らかい黒 */
    --primary-green: #66bb6a;    /* 親しみやすい緑 */
    --footer-green: #8bc34a;     /* フッター用明るい緑 */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif; /* 丸ゴシック指定 */
    color: var(--text-black);
    line-height: 1.8;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
a { text-decoration: none; transition: 0.3s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; }
strong { color: #d84315; background: linear-gradient(transparent 70%, #ffcc80 70%); } /* 重要箇所の強調 */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Common Components --- */
.section { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.eng-title {
    font-family: 'Mrs Saint Delafield', cursive; 
    font-family: serif; 
    font-style: italic;
    color: var(--primary-green);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-black);
    font-weight: 800;
    line-height: 1.4;
}
.section-sub {
    font-size: 1.1rem;
    color: #666;
    margin-top: 15px;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1); 
    transform: translateY(0);
    font-size: 1.1rem;
}
.btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}

.btn-yellow {
    background-color: var(--accent-yellow);
    color: #333;
}
.btn-white {
    background-color: #fff;
    color: var(--primary-green);
    font-weight: bold;
}

/* --- Hero Section --- */
header {
    padding: 80px 0 100px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.tag-yellow {
    background: var(--warm-yellow);
    color: #f57f17;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: 800;
}

.marker-yellow {
    background: linear-gradient(transparent 60%, var(--accent-yellow) 60%);
    display: inline;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

.hero-circle-bg {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 20px 20px 0 var(--warm-yellow);
    /* 念のためFlexboxで中央寄せを指定 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* アスペクト比を維持したまま枠いっぱいに表示 */
    object-position: center; /* 画像の中心をコンテナの中心に合わせる */
}
/* --- Problem Section --- */
.problem-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 30px;
}
.problem-item.reverse {
    flex-direction: row-reverse;
}

.problem-img .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bubble {
    background: #fff;
    border: 3px solid #eee;
    padding: 35px;
    border-radius: 25px;
    position: relative;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    margin-top: -12px;
    border-width: 12px 15px 12px 0;
    border-style: solid;
    border-color: transparent #eee transparent transparent;
}
.reverse .bubble::after {
    left: auto;
    right: -15px;
    border-width: 12px 0 12px 15px;
    border-color: transparent transparent transparent #eee;
}

.bubble-title {
    color: #d84315;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.crisis-card {
    margin-top: 80px;
    background: #fff3e0;
    border: 3px dashed #ffb74d;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.crisis-card h3 {
    color: #e65100;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* --- Features Section (Yellow) --- */
.section-yellow {
    background-color: var(--warm-yellow);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}

.f-img-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.circle-mask {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.circle-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f-text-col {
    flex: 1;
}

.f-tag {
    background: #fff;
    color: var(--primary-green);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.f-text-col h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-green);
    font-weight: 800;
}

.feature-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
}

.cost-appeal {
    margin-top: 80px;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.cost-appeal h3 {
    font-size: 1.6rem;
    color: #fbc02d;
    margin-bottom: 20px;
}

/* --- Story Section --- */
.story-box {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    border: 2px solid #eee;
    padding: 50px;
    border-radius: 20px;
    background: #fff;
}

.story-img img {
    width: 200px;        /* 幅を200pxに固定 */
    height: 200px;       /* 高さを200pxに固定 */
    object-fit: cover;   /* 画像を変形させずにトリミング */
    border-radius: 50%;
    border: 5px solid var(--warm-yellow);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.story-lead {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 20px;
}
.story-sign {
    margin-top: 30px;
    text-align: right;
    font-size: 1rem;
}

/* --- How to Start --- */
.step-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.step-item {
    text-align: center;
    width: 220px;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
}
.step-item img {
    margin-bottom: 20px;
    border-radius: 10px;
}
.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.step-arrow {
    font-size: 1.5rem;
    color: #ccc;
    margin-top: 90px;
}

/* --- Contact Bar (Green) --- */
.contact-bar {
    background-color: var(--footer-green);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 15px;
}
.contact-sub {
    margin-bottom: 40px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.contact-tel {
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
}
.contact-tel .small {
    font-size: 1.2rem;
    margin-right: 5px;
}

/* --- Footer --- */
footer {
    background: #fff;
    color: #888;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}
.footer-info { margin-bottom: 15px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-container, 
    .problem-item, .problem-item.reverse,
    .feature-row, .feature-row.reverse,
    .story-box,
    .contact-actions, .step-list {
        flex-direction: column;
    }
    
    .hero-text { padding-right: 0; text-align: center; }
    .hero-img { margin-top: 40px; }
    .hero-circle-bg { width: 300px; height: 300px; }
    
    .feature-row, .feature-row.reverse { gap: 30px; text-align: center; }
    
    .story-img { margin: 0 auto 20px; }
    .story-box { text-align: center; }
    .story-sign { text-align: center; }

    .step-arrow { display: none; }
    .step-list { gap: 50px; }
    
    .btn { width: 80%; padding: 15px 0; }
}