:root {
    --primary-color: #0058db; /* コーポレートカラー */
    --primary-hover: #0046b0;
    --bg-color: #f4f7fa;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --accent-red: #e63946;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.header-inner {
    display: flex;
    align-items: center;
}

.head_logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.head_logo span {
    color: var(--text-color);
}

.head_logo img {
    width: 140px;
    margin-right: 20px;
    vertical-align: bottom;
}

/* --- Main Content --- */
.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 80px;
}

@media (max-width: 900px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Left Side: Info --- */
.info-side {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 子要素を左右中央に配置 */
}

/* バッジ・タイトル・テキストは左寄せにする */
.info-side .badge,
.info-side h1,
.info-side .sub-text {
    align-self: flex-start;
    text-align: left;
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.sub-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--light-text);
}

.doc-visual {
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin: auto 10px; /* 左右ボタンとの間隔 */
    background-color: #f6f9fc;
    overflow: hidden;
}

.doc-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-inner {
    display: flex;
    width: 100%;
}

.carousel-item {
    padding: 0 20px; /* 画像同士の間隔 */
    box-sizing: border-box;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    user-select: none;
    border: 1px solid #ccc;
}

/* ボタン */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
    font-family: sans-serif;
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity: 0.7;
}

/* ボタンを画像の外側の左右に配置 */
.carousel-prev { left: 0; }
.carousel-next { right: 0; }


.benefit-list {
    list-style: none;
    margin: 48px auto;
}

.benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- Right Side: Form --- */
.form-side {
    background: var(--white);
    padding: 20px 10px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    min-height: 1000px;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-top: 40px;
    padding-bottom: 15px;
}

.hs-form-frame {
    width: 100%;
}

/* --- Footer --- */
footer {
    background: linear-gradient(to right, #004fc5, #0078ff);
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--light-text);
}

.copy {
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-indent: 0.04em
}

/* --- Utilities --- */
.text-center { text-align: center; }