/* common.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background: #f7f5f2;
    color: #222;
    line-height: 1.6;
}

h1,
h2,
h3 {
    margin: 0 0 16px;
}

section {
    padding: 40px 0;
}

.hero-outer {
    padding: 20px;
}

.hero {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero2 {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    justify-content: center;
    align-content: start;
}

.hero3 {
    max-width: 1100px;
    margin: auto;
    display: block;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.3;
}

.highlight {
    color: #f05a28;
}

.btn {
    display: inline-block;
    margin: 20px 0;
    padding: 16px 28px;
    background: #f05a28;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

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

.trust {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

.hero img {
    width: 100%;
    border-radius: 16px;
}

.badge {
    display: inline-block;
    background: #4caf50;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 10px;
}

/*問題定義ブロック*/
.problem {
    background: #fff;
    padding: 40px;
    border-radius: 0 200px 0 200px;
}

.problem-title {
    font-size: 40px;
    font-weight: 800;
}

.problem ul {
    padding-left: 20px;
    list-style: none;
}

.problem ul li {
    position: relative;
    margin: 20px 0;
    padding: 20px 40px;
    background-color: #f7f5f2;
    font-size: 30px;
    font-weight: 600;
}
.problem ul li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    background-color: #f05a28;
}

/* 手順 */
.procedure {
    margin: 80px 0;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
}

.before-after {
    position: relative;
    max-width: 500px;
    margin: auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.before-after img {
    width: 100%;
    display: block;
}

.after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    clip-path: inset(0 50% 0 0);
}

.line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #f05a28;
}

.cta {
    background: #f05a28;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

/* 問い合わせアイテム */
.contact-item {
    margin: 40px auto;
    padding: 0;
    display: block;
    max-width: 400px;
    width: 100%;
    min-height: 200px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-title {
    margin: 0;
    padding: 20px 10px;
    display: block;
    width: 100%;
    background-color: #4caf50;
    border-radius: 16px 16px 0 0;
}

.contact-title p {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.contact-inner {
    width: 100%;
    padding: 20px;
    background-color: white;
    border-radius: 16px;
}

@media(max-width:768px) {
    .hero,
    .hero2 {
        grid-template-columns: 1fr;
    }
}