@import "reset.css";
@import "normalize.css";

/* Font */
body {
    font-family: 'Noto Sans JP', sans-serif;
}

/* Layout */
.header,
.section,
.footer {
    padding-right: 20px;
    padding-left: 20px;
}

.section {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.container {
    max-width: 1080px;
    margin: 0 auto;
}

/* Common Parts */
.button {
    background-color: #ED6B00;
    color: #fff;
    border-radius: 35px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 70px;
    width: 325px;
    border: 2px solid #ED6B00;
    transition: .2s;
}

.button i {
    content: '';
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
}

.button i.email {
    background-image: url(../images/icon_mail.svg);
}

.button i img {
    width: 100%;
}

.button:hover {
    background-color: #fff;
    color: #ED6B00;
}

.button:hover i.email {
    background-image: url(../images/icon_mail-color.svg);
}

.section__title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    display: inline-block;
}

@media screen and (max-width: 767px) {
    .section__title {
        font-size: 30px;
    }
}

.section__title::before {
    content: '';
    background: url(../images/img_line.svg) no-repeat;
    position: absolute;
    width: 65px;
    height: 65px;
    top: -20px;
    left: -65px;
}

.section__title.dark-bg::before {
    background: url(../images/img_line-white.svg) no-repeat;
}

.section__title span {
    font-size: 20px;
    font-weight: normal;
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
}

@media screen and (max-width: 767px) {
    .section__title span {
        font-size: 16px;
    }
}

/* Header */
.header {
    padding-top: 15px;
    padding-bottom: 15px;
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 100;
    top: 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-right .header__contact {
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    align-items: center;
}

.header__contact .header__tel {
    font-size: 24px;
    font-weight: 700;
    margin-right: 30px;
}

.header__contact .header__tel a {
    pointer-events: none;
}

.header__contact .header__tel span {
    font-size: 16px;
    margin-right: 5px;
}

.header-right .header__contact .button {
    height: 50px;
    border-radius: 25px;
    width: 200px;
    font-size: 16px;
}

.header-right .header__contact .button i {
    width: 20px;
    height: 20px;
}

.header__navi .navi__list {
    display: flex;
    margin-top: 20px;
}

.header__navi .navi__list li {
    margin-left: 50px;
}

.header__navi .navi__list li a span {
    position: relative;
}

.header__navi .navi__list li a span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -17px;
    width: 0%;
    height: 3px;
    background: #ED6B00;
    transition: all .4s;
}

.header__navi .navi__list li a:hover span::after {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .header {
        height: 70px;
        padding: 0;
        padding-left: 20px;
    }

    .header .header__logo {
        width: 250px;
        margin: 0;
    }

    .header .header__logo img {
        width: 100%;
    }

    #hamburger {
        background-color: #ED6B00;
        position: relative;
        display: flex;
        width: 70px;
        height: 70px;
        margin: 0 0 0 auto;
        z-index: 200;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #hamburger span {
        width: 30px;
        height: 2px;
        background-color: #fff;
        transition: 0.2s ease-out;
        position: absolute;
    }

    #hamburger span:nth-child(1) {
        display: block;
        top: 25px;
    }

    #hamburger span:nth-child(3) {
        display: block;
        bottom: 25px;
        top: auto;
    }

    #hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    #hamburger.open span:nth-child(1) {
        transform: translateY(9px) rotate(-45deg);
        transition: 0.2s ease-out;
    }

    #hamburger.open span:nth-child(3) {
        transform: translateY(-9px) rotate(45deg);
        transition: 0.2s ease-out;
    }

    .header-right {
        position: fixed;
        width: 300px;
        background-color: #ED6B00;
        top: 0;
        right: -300px;
        height: 100vh;
        padding-top: 100px;
        z-index: 150;
    }

    .header-right .header__contact {
        flex-direction: column;
    }

    .header__contact .header__tel {
        font-size: 30px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .header__contact .header__tel a {
        pointer-events: initial;
    }

    .header__contact .header__tel span {
        font-size: 20px;
        margin-right: 5px;
    }

    .header-right .header__contact .button {
        background: #fff;
        color: #ED6B00;
        width: 80%;
    }

    .header-right .header__contact .button i {
        background-image: url(../images/icon_mail-color.svg);
    }

    .header__navi .navi__list {
        flex-direction: column;
        margin-top: 40px;
    }

    .header__navi .navi__list li {
        margin-left: 30px;
        margin-bottom: 30px;
        color: #fff;
    }
}

/* Main Visual */
.main-visual {
    background: url(../images/img_mv.jpg) no-repeat center;
    background-size: cover;
    height: 600px;
    margin-top: 127px;
}

.main-visual .main-visual__catch {
    font-size: 40px;
    line-height: 1.5;
    text-align: left;
    color: #fff;
    margin-left: 15%;
}

@media screen and (max-width: 767px) {
    .main-visual {
        margin-top: 70px;
        height: 280px;
    }

    .main-visual.section {
        padding-top: 50px;
    }

    .main-visual .main-visual__catch {
        font-size: 24px;
        margin-left: 0;
    }
}

/* 不動産を買いたい人/売りたい人 */
.buyer-seller {
    padding-right: 0;
    padding-left: 0;
}

.buyer-seller__wrapper {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .buyer-seller.section {
        padding-top: 0;
        padding-bottom: 0;
    }

    .buyer-seller__wrapper {
        flex-direction: column;
    }

    .buyer-seller__wrapper.seller {
        flex-direction: column-reverse;
    }
}

.buyer-seller__image {
    width: 50%;
}

@media screen and (max-width: 767px) {
    .buyer-seller__image {
        width: 100%;
    }
}

.buyer-seller__image img {
    width: 100%;
}

.buyer-seller__text .section__title {
    margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
    .buyer-seller__text .section__title {
        margin-bottom: 30px;
    }
}

.buyer-seller__text {
    flex: 1;
    padding: 0 55px;
}

@media screen and (max-width: 767px) {
    .buyer-seller__text {
        padding: 60px 20px 30px;
    }
}

.buyer-seller__text p {
    line-height: 1.7;
    margin-bottom: 1.5em;
    text-align: left;
}


/* 不動産相談無料 */
.consultation {
    background-color: #FEF5EE;
    position: relative;
}

.consultation::after {
    content: '';
    width: 290px;
    height: 208px;
    background: url(../images/img_house.svg) no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(100%);
}

@media screen and (max-width: 767px) {
    .consultation::after {
        width: 145px;
        height: 104px;
        transform: translateX(10%);
    }
}

.consultation__content {
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .consultation__content {
        flex-direction: column;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

.consultation__image {
    width: 50%;
}

@media screen and (max-width: 767px) {
    .consultation__image {
        width: 100%;
        margin-bottom: 20px;
    }
}

.consultation__image img {
    width: 100%;
}

.consultation__list li {
    background: url(../images/icon_check.svg) no-repeat center left 15px;
    background-color: #fff;
    border: 8px solid #F8F8F8;
    font-size: 20px;
    text-align: left;
    padding: 12px 12px 12px 70px;
    margin: 10px 0 10px -80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 767px) {
    .consultation__list li {
        background: url(../images/icon_check.svg) no-repeat center left 10px;
        background-size: 28px 28px;
        background-color: #fff;
        margin: 10px 0 10px 0;
        font-size: 16px;
        padding: 10px 10px 10px 50px;
    }
}

.consultation__catch {
    font-size: 30px;
    color: #ED6B00;
    line-height: 1.5;
    margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
    .consultation__catch {
        font-size: 24px;
    }
}

.consultation__text {
    line-height: 1.8;
}

@media screen and (max-width: 767px) {
    .consultation__text {
        text-align: left;
    }
}

/* CTA */
.cta {
    background: url(../images/img_cta.jpg) no-repeat center;
    background-size: cover;
    height: 367px;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .cta {
        height: auto;
    }
}

.cta__title {
    font-size: 36px;
}

@media screen and (max-width: 767px) {
    .cta__title {
        font-size: 28px;
    }
}

.cta__content {
    margin-top: 40px;

    display: flex;

    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .cta__content {

        flex-direction: column;
        margin-top: 30px;
    }
}

.cta__tel .cta__tel__number {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    margin-right: 50px;
}

.cta__tel .cta__tel__number span {
    font-size: 26px;
    margin-right: 5px;
}

@media screen and (max-width: 767px) {
    .cta__tel {
        margin-bottom: 30px;
    }

    .cta__tel .cta__tel__number {
        font-size: 36px;
        margin-right: 0;
    }

    .cta__tel .cta__tel__number span {
        font-size: 20px;
    }
}

/* いろはホームのこと */
.about {
    background: radial-gradient(#F44E04, #ED6A00 70%, #FB8209);
}

.about__content {
    color: #fff;
    margin-top: 60px;
}

@media screen and (max-width: 767px) {
    .about__content {
        margin-top: 40px;
    }
}

.about__content .about__content__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
    .about__content .about__content__title {
        font-size: 30px;
    }
}

.about__content .about__content__list {
    font-size: 20px;
    line-height: 1.9;
    text-align: left;
    display: inline-block;
}

.about__content .about__content__text {
    font-size: 18px;
    line-height: 1.9;
    position: relative;
    display: inline-block;
}

@media screen and (max-width: 767px) {
    .about__content .about__content__text {
        text-align: left;
    }
}

.about__content .about__content__text::before {
    content: '';
    width: 36px;
    height: 72px;
    background: url(../images/img_frame-left.svg) no-repeat;
    background-size: contain;
    top: 0;
    left: -36px;
    position: absolute;
}

.about__content .about__content__text::after {
    content: '';
    width: 36px;
    height: 72px;
    background: url(../images/img_frame-right.svg) no-repeat;
    background-size: contain;
    bottom: 0;
    right: -36px;
    position: absolute;
}

@media screen and (max-width: 767px) {

    .about__content .about__content__text::before,
    .about__content .about__content__text::after {
        content: none;
    }
}

/* 代表挨拶 */
.message {
    background-color: #F8F8F8;
    padding-bottom: 70px;
}

.ceo-image {
    margin-top: 60px;
    background: url(../images/img_message.jpg) no-repeat;
    background-size: cover;
    height: 490px;
    position: relative;
    margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
    .ceo-image {
        margin-top: 40px;
        background: url(../images/img_message_sp.jpg) no-repeat;
        width: 255px;
        height: 340px;
        background-size: contain;
        margin-bottom: 140px;
        margin-right: auto;
        margin-left: auto;
    }
}

.ceo-name {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
}

@media screen and (max-width: 767px) {
    .ceo-name {
        top: auto;
        transform: translateX(-50%);
        bottom: -120px;
        left: 50%;
        width: 100vw;
        padding-left: 20px;
    }
}

.ceo-name p {
    text-align: left;
}

.ceo-name__name {
    font-size: 40px;
    letter-spacing: 0.05em;
    margin-top: 5px;
    margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
    .ceo-name__name {
        font-size: 30px;
    }
}

.ceo-name__alphabet {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #FB8209;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.message__content {
    display: flex;
    justify-content: space-between;
    text-align: left;
    line-height: 1.9;
}

@media screen and (max-width: 767px) {
    .message__content {
        flex-direction: column;
    }
}

.message__content .ceo-profile {
    width: 390px;
    margin-right: 30px;
}

@media screen and (max-width: 767px) {
    .message__content .ceo-profile {
        width: 100%;
        margin-right: 0;
    }
}

.message__content .ceo-profile .ceo-profile__item {
    margin-bottom: 40px;
}

.message__content .ceo-profile .ceo-profile__title {
    font-weight: 700;
    border-bottom: 1px solid #C6C6C6;
    margin-bottom: 8px;
}

.message__content .ceo-message {
    flex: 1;
}

.message__content .ceo-message p {
    margin-bottom: 1.5em;
}

.message__content .ceo-message .ceo-message__catch {
    font-size: 28px;
    line-height: 40px;
    color: #FB8209;
    margin-bottom: 1em;
}

@media screen and (max-width: 767px) {
    .message__content .ceo-message .ceo-message__catch {
        font-size: 24px;
        line-height: 1.5;
    }
}

/* 会社概要 */
.company__table {
    max-width: 800px;
    width: 100%;
    margin: 60px auto 0;
    border-top: 1px solid #C6C6C6;
}

@media screen and (max-width: 767px) {
    .company__table {
        margin: 40px auto 0;
    }
}

.company__table th,
.company__table td {
    padding: 24px;
    border-bottom: 1px solid #C6C6C6;
    text-align: left;
}

@media screen and (max-width: 767px) {

    .company__table th,
    .company__table td {
        padding: 20px;
    }
}

.company__table th {
    width: 25%;
}

/* お問い合わせ */
.contact {
    background-color: #FEF5EE;
}

.contact__wrapper {
    max-width: 800px;
    width: 100%;
    margin: 60px auto 0;
    background-color: #fff;
    padding: 35px;
    text-align: left;
}

@media screen and (max-width: 767px) {
    .contact__wrapper {
        margin: 40px auto 0;
        padding: 30px 20px;
    }
}

.contact__wrapper dl dt {
    margin-bottom: 5px;
}

.contact__wrapper dl dd {
    margin-bottom: 25px;
}

.required {
    margin-left: 5px;
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background-color: #ED6B00;
    padding: 2px 5px;
    line-height: 1.4;
    font-weight: 400;
    border-radius: 3px;
    position: relative;
    top: -2px;
}

input[type=email],
input[type=number],
input[type=tel],
input[type=text],
input[type=date] {
    border: 1px solid #DADADA;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    line-height: 1;
}

textarea {
    border: 1px solid #DADADA;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    line-height: 1.6;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 1px solid #DADADA;
    border-radius: 3px;
    box-sizing: border-box;
    display: inline-block;
    max-width: 400px;
    padding: 10px;
    cursor: pointer;
    width: 100%;
}

select::-ms-expand {
    display: none;
}

input[type=email]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=text]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ED6B00;
}

input[type=checkbox] {
    display: none;
}

.radio {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px 5px 5px;
    position: relative;
    width: auto;
}

.contact-about dd .other .radio {
    padding-right: 10px;
}

.checkbox {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}

.checkbox::before {
    background: #fff;
    border: 1px solid #DADADA;
    border-radius: 3px;
    content: '';
    display: block;
    height: 20px;
    left: 5px;
    margin-top: -9px;
    position: absolute;
    top: 50%;
    width: 20px;
}

.checkbox::after {
    border-right: 3px solid #ED6B00;
    border-bottom: 3px solid #ED6B00;
    content: '';
    display: block;
    height: 16px;
    left: 11px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 8px;
}

input[type=checkbox]:checked+.checkbox::after {
    opacity: 1;
}

.contact-about dd {
    display: flex;
    height: 46px;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .contact-about dd {
        flex-direction: column;
        height: auto;
        justify-content: start;
    }

    .contact-about dd span {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

.contact-about dd .other {
    flex: 1;
    display: flex;
    align-items: center;
}

.contact-about dd .other input[type="text"] {
    flex: 1;
}

.contact-about dd .other .checkbox {
    padding-right: 10px;
}

@media screen and (max-width: 767px) {
    .contact-method dd {
        display: flex;
        flex-direction: column;
    }

    .contact-method dd span {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

.date {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    .date {
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}

.date input[type="date"] {
    width: 300px;
}

@media screen and (max-width: 767px) {
    .date input[type="date"] {
        width: 100%;
        margin: 5px 0;
    }
}

.contact__wrapper .button-area {
    margin-top: 20px;
}

.contact__wrapper .button-area .button {
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .contact__wrapper .button-area .button {
        width: 100%;
    }
}

.pp-text {
    font-size: 13px;
    margin-top: 5px;
}

/* Footer */
.footer {
    background-color: #535353;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 20px;
    text-align: center;
}

.copy {
    margin-top: 20px;
    font-size: 13px;
}

/*フォーム*/
.form__privacy {
  background-color: #fff;
  margin-top: 36px;
  padding: 20px 24px 28px;
}

@media not screen and (min-width: 768px) {
  .form__privacy {
    padding: 20px 12px 28px;
  }
}

.form__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.form__text {
  height: 150px;
  overflow-y: scroll;
  border: 2px solid #C8C8C8;
  padding: 18px 20px;
  margin-top: 20px;
}

.form__text p {
  font-family: a-otf-futo-go-b101-pr6n;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.78;
}

.form__text p:not(:first-of-type) {
  margin-top: 1em;
}

.form__policy {
  text-align: center;
  margin-top: 22px;
}

/* Thanks */
.contact__text {
    text-align: center;
}

.thanks {
    margin-top: 127px;
}

@media screen and (max-width: 767px) {
    .thanks {
        margin-top: 70px;
    }
}