/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* スマートフォン用の追加リセット */
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%; /* テキストサイズの自動調整を無効化 */
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

main{
    width: auto;
    overflow:hidden;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

input, button, textarea, select {
    font: inherit;
    margin: 0;
    padding: 0;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
}

input:focus, textarea:focus, select:focus, button:focus {
    outline: none;
}

/* ビューポートのズームを防止 */
body {
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

button {
    cursor: pointer;
    background-color: transparent;
    border: none;
}

button:focus {
    outline: none;
}

/* フォームのリセット */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

textarea {
    resize: none;
}

/* ディザーサイトCSS */
body {
    font-family: 'Yu Gothic', sans-serif; /* 游ゴシック体を指定 */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto; /* 中央揃えするために追加 */
}

header {
    background: transparent;
    padding: 30px;
    width: 100%;
    top: 0;
    display: inline-flex;
}

.logo img{
    text-align: left;
    width: 160px;
}

.moushikomi-btn {
    display: inline-block;
    position: absolute;
    right: 10px;
}

.moushikomi-btn a {
    display: block;
}
.moushikomi-btn--login {
    color: white;
    background-color: #2ca339;
    border-radius: 6px;
    padding: 2px;
    font-size: 96%;
}

.moushikomi-btn img{
    width: 170px;
}

.hero-section {
    background: url('/assets/imgTeaser/hero-image.webp') no-repeat center center/cover;
    height: 70vh;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero-content h1{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%; /* 必要に応じてサイズを調整 */
    min-width: 400px;
    max-width: 35%;
    height: auto;
}

.overlay-image {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%; /* 必要に応じてサイズを調整 */
    max-height: 500px; /* 必要に応じてサイズを調整 */
    z-index: 1; /* ヒーローセクションの内容より上に表示 */
}


section {
    padding: 4rem 2rem;
    text-align: center;
}

h2{
    font-size: 50px;
    color: #2CA339;
}

h3{
    font-size: 36px;
    color: #F77A1E;
}

h4{
    font-size: 30px;
}

p{
    font-size: 20px;
    line-height: 1.6;
}

/* 売却案件重視の不動産会社さまへ */
section#about {
    padding: 14rem 2rem 4rem;
    text-align: center;
}

p.about-text{
    line-height: 2;
}

/* こんな苦労はありませんか？？ */
section#problem {
    text-align: center;
    background: #eeeeee;
}
.problem-container {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
}

article.problem {
    flex: 1;
    margin: 3rem 1rem 1rem;
    padding: 0px 20px 20px;
    background: #fff;
    border-radius: 10px;
}

.problem-icon {
    width: 123px; /* 必要に応じてサイズを調整 */
    height: 123px; /* 必要に応じてサイズを調整 */
    object-fit: contain;
    position: relative;
    top: -15%;
    left: 0%;
    z-index: 1;
}

article h3 {
    margin: 0 0 1rem;
    font-size: 23px;
}


/* 不動産価格ウォッチ5つのメリット */
section#benefit {
    padding: 4rem 2rem 8rem;
}
.benefit-list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #2CA339;
    border-radius: 20px;
    padding: 10px 30px 30px;
    margin: 100px 50px 0;
}

.benefit-list-container  h3{
    color: #2CA339;
    margin-bottom: 20px;
}

.benefit-list {
    text-align: justify;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0rem;
    width: 100%;
}

.benefit-list li {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.benefit-list li span.number {
    font-size: 70px;
    color: #F77A1E;
    padding-right: 20px;
    vertical-align: middle;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: normal;
}

.benefit-list li span.underline {
    color: #2CA339;
}




/* 不動産価格ウォッチの5つの革新的な機能 */

section#features {
    text-align: center;
    background: #eeeeee;
    padding: 8rem 2rem 8rem;
}

section h3.underline-h3 {
    font-size: 22px;
    letter-spacing: 1px;
    color: #000;
    text-decoration: underline;
    text-decoration-color: #000; /* 下線の色を指定 */
}

section#features h2 {
    margin-bottom: 100px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative; /* relative を追加 */    
}

.feature-icon {
    width: 150px; /* 必要に応じてサイズを調整 */
    height: 150px; /* 必要に応じてサイズを調整 */
    object-fit: contain;
    position: absolute;
    top: -50px;
    left: 70px;
    z-index: 1;
}

.feature-content {
    background-color: #fff;
    padding: 30px 100px;
    border-radius: 5px;
    margin-left: 60px; /* feature-icon の幅 + gap を考慮して調整 */
    position: relative; /* relative を付与して、absolute 位置を参照する */
    width: 100%;
}

.feature-content h4 {
    margin-top: 20px;
    font-size: 30px;
    color: #2CA339;
}

.feature-content p {
    font-size: 19px;
    text-align: justify;
    margin-top: 0;
    margin-bottom: 5px;
    text-indent: -1em;
    padding-left: 1em;
}

.feature-icon-right {
    width: 110px; /* 必要に応じてサイズを調整 */
    height: 110px; /* 必要に応じてサイズを調整 */
    object-fit: contain;
    position: absolute;
    bottom: 30px;
    right: 5%;
    z-index: 1;
}

/* 使いやすい管理画面 */

section#system {
    padding: 8rem 2rem 4rem;
    text-align: center;
    border-bottom: #000 dotted 1px;
}

section#system h3 {
    font-size: 36px;
    color: #2CA339;
}

section#system h2 img {
    width: 390px;
}

section#system p {
    font-size: 22px;
}

section#system p.system-ill{
    margin-top: 50px;
}

section#system p.system-ill img{
    width: 686px;
}


/* 導入費用 */
section#plice-plan {
    padding: 8rem 2rem 4rem;
    text-align: center;
}

section#plice-plan p.plan-ill{
    margin-top: 50px;
}

section#plice-plan p.plan-ill img{
    width: 980px;
}


/* お問い合わせ */
section#contact {
    text-align: center;
    background: #eeeeee;
    padding: 8rem 2rem 8rem;
}

form {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center; /* 中央揃え */
    font-weight: bold;
}

.form-fields {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    gap: 1rem; /* 各 .form-field の間隔を調整 */
    width: 80%;
    margin-top: 50px;
}

.form-field {
    display: flex;
    align-items: center;
    padding-bottom: 30px;
}

label {
    width: 25%; /* ラベルの幅を調整 */
    margin-right: 1rem; /* ラベルと入力フィールドの間隔 */
    text-align: left; /* ラベルのテキストを右寄せ */
    font-size: 22px;
}

input, textarea {
    padding: 0.5rem 1rem;
    font-size: 22px;
    border: 1px solid #2CA339;
    border-radius: 10px;
    flex: 1; /* 入力フィールドが残りの空間を占めるようにする */
    max-width: 75%; /* 必要に応じて最大幅を設定 */

}

button {
    font-size: 36px;
    padding: 0.75rem 10rem;
    background-color: #2CA339;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 4rem;
}

button:hover {
    background-color: #6ed07a;
}


/* 運営会社 */
section#company {
    text-align: center;
    padding: 8rem 2rem 8rem;
}

section#company p.company-logo{
    margin: 50px 0;
}

section#company p.company-logo img{
    width: 373px;
}


/* FOOTER */
footer {
    background: #eeeeee;
    padding: 2rem 5rem 0.5rem;
}

footer p.company-logo img{
    width: 303px;
}

footer nav ul{
	display: flex; /* 親要素に指定することで、Flexboxが適用される */
	flex-direction: row; /* 左から右に横並び（デフォルト値なのでなくても可） */
	justify-content: center; /* 中央揃え */
	margin-left: -30px;
}

footer nav ul li {
    list-style-type:none;
    margin-left: 30px;
    font-weight: bold;
    font-size: 18px;
}

footer nav ul li a {
    color: #000;
    text-decoration: none;
}

footer nav ul li a:hover {
    opacity: 0.6;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: left; /* 横並びにして中央揃え */
}

.footer-logo {
    margin-right: 4rem; /* ロゴとテキストの間隔を調整 */
    margin: 50px 0;
}

p.footer-logo img{
    width: 303px;
}

.footer-text {
    margin-left: 50px;
    font-size: 15px;
    line-height: 1.8;
}

p.copyright{
    font-size: 13px;
    text-align: center;
}

br.br-pc{
    display: block;
}

br.br-sp{
    display: none;
}


/* スマートフォン用のスタイル */
@media (max-width: 599px) {

    br.br-pc{
        display: none;
    }

    br.br-sp{
        display: block;
    }

    section {
        padding: 2rem 1rem 2rem;
        text-align: center;
    }

    h2{
        font-size: 26px;
    }

    h3{
        font-size: 16px;
    }

    h4{
        font-size: 30px;
    }

    p{
        font-size: 15px;
        line-height: 1.6;
    }


    .hero-section {
        background: url('./images/hero-image.webp') no-repeat center center/cover;
        height: 45vh;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 0rem;
        position: relative;
    }

    .hero-content h1{
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%; /* 必要に応じてサイズを調整 */
        height: auto;
    }

    .hero-content h1 img{
        width: 75%;
    }



    .overlay-image {
        top: 90%;
        left: 50%;
        max-width: 50%;
    }

    header {
        background: transparent;
        padding: 15px 20px;
        width: 100%;
        top: 0;
        display: inline-flex;
    }

    .logo img {
        text-align: left;
        width: 120px;
    }

    section#about {
        padding: 8rem 1rem 2rem;
    }

    section#problem h2{
        font-size: 25px;
    }

    article.problem {
        flex: 1;
        margin: 3rem 0rem 0rem;
        padding: 0px 20px 20px;
    }

    .problem-container {
        display: grid;
        margin: 0 0 2rem 0;
    }


    .problem-icon {
        width: 70px; /* 必要に応じてサイズを調整 */
        height: 70px; /* 必要に応じてサイズを調整 */
        object-fit: contain;
        position: relative;
        top: -15%;
        left: 0%;
        z-index: 1;
    }

    article h3 {
        margin: 0 0 1rem;
        font-size: 20px;
    }

    /* 不動産価格ウォッチ5つのメリット */
    .benefit-list-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 20px;
        padding: 20px 30px 0px;
        margin: 50px 0px 0;
    }

    .benefit-list-container  h3{
        color: #000;
    }

    ul.benefit-list {
        text-align: justify;
        list-style: none;
        display: grid;
        grid-template-columns: none;
        gap: 0.5rem;
        width: 100%;
        padding: 0;
    }

    .benefit-list li {
        font-size: 18px;
    }

    .benefit-list li span.number {
        font-size: 41px;
        color: #F77A1E;
        padding-right: 10px;
        vertical-align: middle;
        font-family: 'Bebas Neue', sans-serif;
        font-weight: normal;
    }

    .benefit-list li span.underline {
        text-decoration: underline;
        text-decoration-color: #2CA339; /* 下線の色を指定 */
    }

    section#features {
        padding: 2rem 1rem 2rem;
    }

    section h3.underline-h3 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    section#features h2 {
        margin-bottom: 50px;
    }

    .feature-list {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .feature-item {
        display: flex;
        gap: 1rem;
        align-items: center;
        position: relative; /* relative を追加 */    
    }

    .feature-icon {
        width: 90px; /* 必要に応じてサイズを調整 */
        height: 90px; /* 必要に応じてサイズを調整 */
        top: -40px;
        left: 38%;
    }

    .feature-content {
        padding: 30px 20px 100px;
        border-radius: 10px;
        margin-left: 0px; /* feature-icon の幅 + gap を考慮して調整 */
    }

    .feature-content h4 {
        margin-top: 30px;
        color: #2CA339;
        font-size: 22px;
    }

    .feature-content p {
        font-size: 16px;
        text-align: justify;
        margin-top: 0;
        margin-bottom: 5px;
        text-indent: -1em;
        padding-left: 1em;
    }

    .feature-icon-right {
        width: 70px; /* 必要に応じてサイズを調整 */
        height: 70px; /* 必要に応じてサイズを調整 */
        object-fit: contain;
        position: absolute;
        bottom: 20px;
        right: 5%;
        z-index: 1;
    }


    /* 使いやすい管理画面 */

    section#system {
        padding: 1rem 2rem 2rem;
    }

    section#system h3 {
        font-size: 30px;
        margin-bottom: 0;
    }

    section#system h2 img {
        width: 70%;
    }

    section#system p {
        font-size: 16px;
    }

    section#system p.system-ill{
        margin-top: 30px;
    }

    section#system p.system-ill img{
        width: 100%;
    }

    /* 導入費用 */
    section#plice-plan {
        padding: 2rem 1rem 2rem;
    }

    section#plice-plan p.plan-ill{
        margin-top: 30px;
    }

    section#plice-plan p.plan-ill img {
        width: 100%;
    }

    /* お問い合わせ */
    section#contact {
        padding: 2rem 1rem 4rem;
    }

    .form-field {
        flex-direction: column; /* 縦に並べる */
        align-items: flex-start; /* 左揃え */
    }

    .form-fields {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 90%;
        margin-top: 30px;
    }


    label {
        margin-bottom: 0.5rem; /* ラベルと入力フィールドの間隔 */
        width: 100%; /* ラベルを全幅に設定 */
        text-align: left; /* ラベルのテキストを左寄せ */
        font-size: 16px;
    }

    input, textarea {
        width: 100%; /* 入力フィールドを全幅に設定 */
        max-width: 100%; 
    }
    button {
        font-size: 22px;
        padding: 1rem 3rem;
        background-color: #2CA339;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 1rem;
    }

    section#company {
        padding: 2rem 2rem 2rem;
    }

    section#company p.company-logo img {
        width: 70%;
    }


/* FOOTER */
footer {
    text-align: center;
    padding: 2rem 1rem 0.5rem;
}

footer p.company-logo img{
    width: 303px;
}

footer nav ul{
	display: flex; /* 親要素に指定することで、Flexboxが適用される */
	flex-direction: column; 
	justify-content: center; /* 中央揃え */
}

footer nav ul li {
    margin-left: 0px;
    font-size: 18px;
    margin-bottom: 20px;
}

footer nav ul li a {
    color: #000;
    text-decoration: none;
}

footer nav ul li a:hover {
    opacity: 0.6;
}

.footer-content {
    display: block;
    align-items: center;
    justify-content: left; /* 横並びにして中央揃え */
}

.footer-logo {
    margin-right: 0rem; /* ロゴとテキストの間隔を調整 */
    margin: 30px 0;
}

p.footer-logo img{
    width: 303px;
}

.footer-text {
    margin-left: 0px;
    font-size: 15px;
    line-height: 1.8;
}

p.copyright{
    font-size: 13px;
    text-align: center;
    margin-top: 30px;
}



}


/* 小さいスマートフォン用のスタイル */
@media (max-width: 375px) {
    .hero-section {
        height: 60vh;
    }

    .overlay-image {
        top: 85%;
        left: 50%;
        max-width: 50%;
        height: 80%;
    }

    section#about {
        padding: 6rem 2rem 2rem;
    }

}
    

/* デスクトップ用のスタイル */
@media (min-width: 1200px) {
    section {
        padding: 4rem 4rem;
    }

    .form-fields {
        gap: 2rem; /* 各 .form-field の間隔を調整 */
    }
}