/*/// 共通 ///*/
/*最上部へ戻るスクロールボタン*/
html,
body {
    /*スクロールボタン用*/
    scroll-behavior: smooth;

    /*コンテンツが少ない際にもフッターを下部に固定*/
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    font-size: 16px;
}

/* リンクの下線を削除 */
a {
    text-decoration: none;
}

/* リストのマークを削除 */
ul {
    list-style-type: none;
}

/* コンテナの基本スタイル */
.base-container {
    background-color: #E9E9E9;

}

.g-recaptcha {
    margin-top: 30px;
    margin-left: 30px;
}

html[lang=ja] {
    font-family: 'Noto Sans JP', sans-serif;
}

/* ヘッダーエリアのスタイル */
header {
    display: flex;
    justify-content: space-between;

    position: fixed;
    width: 100%;
    background-color: #EFEFED;
    height: 80px;
    z-index: 999;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 6px 2px;
    top: 0;
    left: 0;
}

/* コンテンツ内のスタイル*/
.contents {
    text-align: center;

    /*コンテンツが少ない際にcontentsが残りのスペースを埋める*/
    flex: 1;
}

.item {
    padding-top: 100px;
}

.content-title {
    margin-top: 120px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.content-title h1 {
    margin-top: 0px;
    width: 91vw;
    height: 50px;
    text-align: center;
}

/* メインコンテンツ */
/* ヒーローエリア */
#hero_area {
    margin: 0;
    width: 100%;
    padding-top: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
}

#hero_area img {
    margin: 0;
    width: 100%;
    height: 500px;
    object-fit: cover;
    /* 画像をコンテナにフィットさせる */
}

#footer a {
    color: #747474;
    font-weight: bold;
    font-size: 14px;
}


/* Font Awesome */
#page_top::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f077';
    font-size: 40px;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.business-container {
    padding-top: 25px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}

.top-message {
    padding: 20px 5vw;
}


.business-img {
    height: auto;
    max-width: 100%;
}


.contact-us-info-input {
    padding-left: 1vw;
    text-align: left;
}

.contact-us-info-output {
    flex: 1;
    padding-left: 5vw;
    padding-right: 5vw;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}


.thanks-text {
    margin-top: 30px;
}

#disable-inputs {
    width: 10px;
}


input:focus,
textarea:focus {
    border-color: #9dccfd;
    outline: none;
}

::placeholder {
    color: #999999;
}

input.error,
textarea.error {
    border: 1px solid red;
    background-color: rgb(255, 218, 218);
}

input[disabled],
textarea[disabled] {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

.error-message {
    display: block;
    color: #ff0000;
}

.contact-input-error {
    color: #ff0000;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 20px;
    text-align: center;
}

#logo {
    margin: 0;
    height: 78px;
}

.info-mail {
    text-align: center;
}

/* プログレスバー */
.progressbar .item {
    position: relative;
    width: 33%;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 13px 0;
    line-height: 1.5;
    background: #E9E9E9;
    color: #999999;
}

.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: '';
    border: 37px solid transparent;
    border-left: 20px solid #E9E9E9;
    margin: auto;
}

.progressbar .item:not(:last-child)::before {
    margin-left: 1px;
    border-left-color: #FFF;
}


.progressbar .item.active {
    z-index: 1;
    background: #006ab1;
    color: #FFF;
}

.progressbar .item.active:not(:last-child)::after {
    border-left-color: #006ab1;
}

.progressbar .item.active:not(:last-child)::before {
    border-left: none;
}

/* リキャプチャ */
#recaptcha-error {
    padding-left: 40px;
    text-align: left;
    color: #ff0000;
}

.recaptcha-area {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.local-turnstile {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    min-height: 74px;
    padding: 16px;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    background-color: #fafafa;
    box-sizing: border-box;
    cursor: pointer;
}

.local-turnstile-checkbox {
    width: 26px;
    height: 26px;
    margin: 0;
    flex: 0 0 auto;
}

/* ボタンスタイル */
.base-button-style {
    font-family: inherit;
    color: white;
    border: none;
    height: 60px;
    width: 250px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    display: inline-block;
    padding: 15px 30px;
}

.forward-button,
.forward-button:disabled {
    background-color: #006ab1;
}

.forward-button:hover {
    background-color: #013e66;
}

.back-button,
.back-button:disabled {
    background-color: #a7a7a7;
}

.back-button:hover {
    background-color: #7e7e7e;
}

/* チェックボックス */
input[type=checkbox] {
    display: none;
}

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

.subscribe::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}

.subscribe::after {
    border-right: 3px solid #006ab1;
    border-bottom: 3px solid #006ab1;
    content: '';
    display: block;
    height: 20px;
    left: 7px;
    margin-top: -16px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 9px;
}

input[type=checkbox]:checked+.subscribe::before {
    border-color: #666;
}

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

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    /* ハンバーガーアイコンを表示 */
    flex-direction: column;
    cursor: pointer;
    margin-top: 27px;
    margin-right: 5vw;
}

.hamburger span {
    height: 3px;
    background-color: #333333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ハンバーガーがアクティブになったとき 間隔を狭くする */
.hamburger.active span {
    margin: 2px 0;
}

/* ハンバーガーがアクティブになったときのスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    /* 1本目の線を斜めに */
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    /* 2本目の線を非表示 */
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    /* 3本目の線を斜めに */
}

/* モバイルメニューは初期非表示 */
.mobile-menu {
    display: none;
}

/* 'active'クラスが追加されたら表示 */
.mobile-menu.active {
    display: block;
    position: fixed;
    margin-top: 80px;
    width: 100%;
    height: 220px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: width 0.3s ease;
    z-index: 9999;
    color: #000000;
    font-size: 18px;
    flex-direction: column;
    justify-content: center;
}

.mobile-menu.active ul {
    height: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
}

.mobile-menu.active li {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000000;
}

.mobile-menu.active li a {
    display: block;
    padding-left: 5vw;
    color: #000000;
    font-weight: bold;
}

/* ヒーローエリアロゴ */
#hero_area h1 {
    font-family: "Dancing Script", cursive;
    font-weight: 400;
    color: #ffffff;
    background-color: rgba(43, 43, 43, 0.5);
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5), -2px -2px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    text-align: right;
}

/* フッター */
footer {
    background-color: #333333;
    margin-top: 100px;
    padding-bottom: 10px;
}

footer p {
    font-size: 14px;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    font-weight: bold;
}

#footer_about {
    color: #ffffff;
}

#footer_about p {
    text-align: left;
    margin-bottom: 5px;
}

.footer_common {
    color: #333333;
}

.footer_common li {
    margin-bottom: 8px;
}

/* ボタン全体 */
#page_top {
    position: fixed;
    right: 2vw;
    bottom: 2vw;
    background: #000000;
    opacity: 0.8;
}

/* 外側コンテナの基本スタイル */
.summary-container {
    margin-top: 70px;
}

/* 事業情報 */
.business-summary-container {
    margin-top: 70px;
}

.business-info-container {
    margin-bottom: 30px;
    background-color: #eeeeee;
}

.business-container-text p {
    padding-top: 1vw;
    padding-bottom: 1vw;
}

.business-container-text span {
    line-height: 2.0;
    display: block;
    text-align: left;
}

.business-container-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 会社情報 */
.company-info-container {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 1px;
}

.company-info-title {
    width: 150px;
    text-align: left;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.company-info-text {
    text-align: left;
    font-size: 14px;
}

/* グーグルマップ */
.google-map iframe {
    margin-top: 100px;
    height: 600px;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

/* 問合せフォーム */
.contact-us-info-container {
    padding-left: 20px;
    padding-top: 35px;
    padding-bottom: 35px;
    padding-right: 20px;
    margin-bottom: 1px;
}

.contact-us-info-title {
    text-align: left;
}

.contact-us-info-title br {
    display: none;
}

.contact-us-info-check-container {
    padding-top: 20px;
    padding-bottom: 0px;
    padding-right: 20px;
}

.contact-us-info-check {
    text-align: left;
    font-size: 14px;
}

/* テキストエリア */
input,
textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #cccccc;
    font-family: 'Noto Sans JP', sans-serif;
}

textarea {
    height: 150px;
    resize: none;
}

/* プログレスバー */
.progressbar {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
}

/*ボタンコンテナ*/
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

/* プライバシーポリシー */
.privacy-policy {
    display: flex;
    justify-content: center;
}

.privacy-policy p {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 0px;
}

/* 項目の必須マークのレイアウト */
.required {
    color: red;
    padding: 2px;
    font-weight: bolder;
    font-size: 13px;
}

.error-text {
    text-align: left;
}

/* プライバシーポリシー */
.pp-sec {
    margin-top: 75px;
    line-height: 2.0;
}

.pp-sec p,
.pp-sec ul {
    text-align: left;
}

.pp-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    text-align: left;
    border-bottom: 2px solid #800020;
}

.pp-r {
    text-align: right;
}

.pp-sec-mark {
    list-style-type: disc;
}

.pp-sec ul li::marker {
    font-size: 10px;
}

.pp-sec a {
    transition: color 0.25s ease;
}

.pp-sec a:hover {
    color: #ff0000;
}

#pp-no-m {
    margin-top: 0;
}

.asf-tb {
    text-align: left;
}

/*/// PC用 基準値 1920px ///*/
@media (min-width: 1280px) {
    .content-title h1 {
        font-size: 32px;
    }

    .hamburger,
    .mobile-menu {
        display: none;
    }

    #header ul {
        display: flex;
        padding-right: 120px;
        height: 80px;
        align-items: center;
        margin: 0;
    }

    #header ul li {
        padding-right: 30px;
    }

    #header a {
        color: #000000;
        font-weight: bold;
    }

    #hero_area h1 {
        margin: 40px;
        font-size: 100px;
        width: 510px;
    }

    footer {
        padding: 1em;
        height: 200px;
    }

    footer p {
        max-width: 800px;
        padding: 0;
    }

    #footer {
        display: flex;
        justify-content: left;
        height: 180px;
    }

    .footer_nav_wrapper {
        display: flex;
        justify-content: left;
    }

    #footer_about {
        width: 40vw;
    }

    #footer_about h3 {
        padding-left: 50px;
    }

    #footer_about p {
        padding-left: 100px;
    }

    .footer_common {
        width: 16vw;
    }

    #page_top {
        width: 60px;
        height: 60px;
    }

    .summary-container {
        margin-left: 25vw;
        margin-right: 25vw;
    }

    .business-summary-container {
        margin-left: 18vw;
        margin-right: 18vw;
    }

    .business-info-container {
        display: flex;

    }

    .business-container-text {
        height: 400px;
	width: 50%;
        padding-left: 3vw;
        padding-right: 3vw;
    }

    .business-container-img {
        width: 50%;
    }

    .company-info-container {
        display: flex;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .company-info-title {
        padding-left: 4vw;
    }

    .company-info-text {
        padding-left: 7vw;
    }

    .google-map iframe {
        margin-left: 10vw;
        margin-right: 10vw;
        width: 79vw;
    }

    .contact-us-info-container {
        display: flex;
    }

    .contact-us-info-title {
        padding-left: 30px;
        width: 180px;
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }


    .contact-us-info-check-container {
        padding-left: 20px;
    }

    .contact-us-info-check {
        padding-left: 270px;
        width: 400px;
    }

    input,
    textarea {
        width: 30vw;
    }

    textarea {
        width: 30vw;
    }

    .progressbar {
        margin-left: 20vw;
        margin-right: 20vw;
    }

    .button-container-double {
        justify-content: space-between;
        margin-left: 5vw;
        margin-right: 5vw;
        gap: 5vw;
    }

    .privacy-policy {
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .error-text {
        margin-left: 34vw;
        margin-right: 34vw;
    }

    .pp-sec p,
    .pp-sec ul {
        margin-left: 25vw;
        margin-right: 25vw;
    }

    .pp-title {
        margin-left: 24vw;
        margin-right: 24vw;
    }

    .pp-r {
        margin-right: 26vw;
    }

    .asf-tb {
        margin-left: 25vw;
        margin-right: 25vw;
    }

    .asf-top {
        margin-top: 10px;
    }

    .asf-bottom {
        margin-top: 70px;
        margin-bottom: 20px;
    }

    #logo {
        padding: 1px 0  1px 10px;
    }
}
