@charset "UTF-8";
/* ============================================================
custom.css — 案件調整用（いじる側）
基盤スタイルは style.css を参照
   ============================================================ */


/* ========================= CSS変数（案件ごとに変更） ========================= */

:root {
    /* カラー */
    --main-color: #f5a300;
    --header-color-bg: #fff;
    --header-tel-color-bg: #333;
    --header-tel-color-number: var(--header-tel-color-bg);
    --header-tel-color-text: var(--header-color-bg);
    --header-tel-color-icon: var(--header-tel-color-bg);
    --footer-bg: #333;
    --footer-text-color: #fefefe;
    --footer-text-color-hover: #fff;
    --youtube-color-bg: #fcf4ed;
    --shadow: 0 0 10px rgba(0, 0, 0, .2);
    --company-container-bg: #fff;
    --table-title-border-color: var(--company-container-bg);
    --table-title-bg: var(--main-color);
    --table-title-text-color: var(--company-container-bg);
    --table-data-border-color: #333;
    --table-data-bg: var(--company-container-bg);
    --table-data-text-color: var(--table-data-border-color);
    --privacy-container-bg: #fff;

    /* 背景 */
    --background-left-bg: transparent;
    --background-right-bg: url(../image/bg_right.jpg) no-repeat center center / cover;
    --background-left-bg-company: #fff;
    --background-right-bg-company: var(--background-left-bg-company);
    --background-left-bg-privacy: var(--background-left-bg-company);
    --background-right-bg-privacy: var(--background-left-bg-company);
    --form-bg: url(../image/bg_form.jpg) no-repeat center center / cover;

    /* CTA */
    --cta-h: 64px;
    --safe-bottom: 0px;
    --cta-pulse-scale: 1.03;
}


/* ========================= 全体 ========================= */

html {
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-size: 50%;
}


/* ========================= 背景 ========================= */

#background_wapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -100;
    width: 100%;
    height: 100%;
    display: flex;
}

#background_wapper [class^="bg_object_"] {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

body:not(#Company, #Privacy) #background_wapper .bg_object_1 {
    background: var(--background-left-bg);
}

.bg_video_left {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

body:not(#Company, #Privacy) #background_wapper .bg_object_2 {
    background: var(--background-right-bg);
}

body#Company #background_wapper .bg_object_1 {
    background: var(--background-left-bg-company);
}

body#Company #background_wapper .bg_object_2 {
    background: var(--background-right-bg-company);
}

body#Privacy #background_wapper .bg_object_1 {
    background: var(--background-left-bg-privacy);
}

body#Privacy #background_wapper .bg_object_2 {
    background: var(--background-right-bg-privacy);
}


/* ========================= メインコンテンツ ========================= */

main:not(#Confirm) {
    width: 100%;
    margin: 0 auto;
    max-width: 660px;
    position: relative;
    z-index: 1;
}

main#top {
    background-color: var(--main-color);
}

body.top main:not(#Confirm) {
    box-shadow: var(--shadow);
}

@media (max-width: 780px) {
    main.page-main {
        margin-top: 8em;
    }
}


/* ========================= ヘッダー ========================= */

/* PC幅（1080px以上）はサイドバナーがあるのでヘッダー非表示 */
@media (min-width: 1080px) {
    #header {
        display: none;
    }
}

header h1 {
    width: 20%;
    max-height: 90px;
    display: flex;
    align-items: center;
}

header h1 a {
    display: block;
    width: 100%;
}

header h1 img {
    max-height: 70px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

header nav {
    width: 75%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 8px;
}

header nav ul li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

header nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

/* PC用アイコン表示 / SP用非表示（デフォルト） */
.nav-icon-pc,
.tel-container {
    display: block;
}

.nav-icon-sp {
    display: none;
}

.nav-label {
    display: none;
}

/* タブレット（781〜1080px） */
@media (max-width: 1080px) and (min-width: 781px) {
    header h1 img {
        max-height: 60px;
    }

    header nav ul li a img {
        max-height: 38px;
        width: auto;
    }
}

/* SP（780px以下） */
@media (max-width: 780px) {
    header h1 {
        width: 70%;
        max-height: 80px;
    }

    header nav {
        width: 55%;
        max-width: none;
    }

    header nav ul {
        gap: 4px;
        justify-content: flex-end;
    }

    .nav-icon-sp {
        display: block;
        width: 44px;
        height: 44px;
    }

    .nav-icon-pc,
    .tel-container {
        display: none;
    }

    .nav-label {
        display: block;
        font-size: 10px;
        color: #333;
        margin-top: 2px;
        line-height: 1;
    }
}


/* ========================= 電話番号（ヘッダー内） ========================= */

.tel-container {
    width: 100%;
}

.tel_sp {
    display: none;
}

.tel-header {
    background-color: var(--header-tel-color-bg);
    text-align: center;
    padding: 2px 0 1px;
    border-radius: 2px;
}

.tel-header-text {
    display: block;
    color: var(--header-tel-color-text);
    font-size: 60%;
    line-height: 1em;
}

.tel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.125rem;
}

.tel-icon {
    width: 9%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.tel-icon svg {
    width: 14px;
    height: auto;
}

.tel-number {
    color: var(--header-tel-color-number);
    font-size: clamp(0px, 2.3vw, 22px);
    font-weight: 700;
    font-family: "Roboto Condensed", sans-serif;
    line-height: 1em;
    letter-spacing: -.05em;
    white-space: nowrap;
    font-feature-settings: "palt";
}

.tel-icon-svg {
    fill: var(--header-tel-color-icon);
}


/* ========================= サイドバナー ========================= */

[class*="side_left"],
[class*="side_right"] {
    position: absolute;
    height: auto;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
}

.side_left_1 {
    width: 70%;
    max-width: 430px;
    top: 35%;
}

.side_left_2 {
    width: 100%;
    max-width: 550px;
    bottom: 0;
}

.side_right.logo {
    width: 70%;
    max-width: 500px;
    height: fit-content;
    top: 15%;
}

.side_right_2 {
    width: 100%;
    height: fit-content;
    bottom: 0;
}

.button_box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: absolute;
    right: 15px;
    bottom: 10%;
    width: 47%;
    max-width: 500px;
}

.button_box a[class*="_button"] {
    display: block;
    aspect-ratio: 489.0266 / 226.592;
    border-radius: 5px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

[class^="side_box_"] {
    position: fixed;
    width: calc((100vw - 660px) * .5);
    height: 100%;
}

.side_box_left {
    left: 0;
    top: 0;
}

.side_box_right {
    right: 0;
    bottom: 0;
}

.line_button {
    background-image: url(../image/side_line.png);
}

.form_button {
    background-image: url(../image/side_mail.png);
}

.tel_button {
    background-image: url(../image/side_tel.png);
}

@media (max-width: 1080px) {
    [class^="side_"] {
        display: none;
    }
}


/* ========================= LP用コンテンツ ========================= */

div#naraberu {
    width: 60%;
    margin: 6em auto 0;
}

.bg_fff {
    background-size: 100%;
    background-position: center;
    background-color: #fefbe9;
    margin: -1px auto 0;
    width: 60%;
}

@media (max-width: 780px) {
    div#naraberu {
        width: 100%;
        margin-top: 5.7em;
    }

    .bg_fff {
        width: 100%;
    }
}


/* ========================= フォームカラー ========================= */

.form-title {
    width: 100%;
    margin: 0 auto 20px;
}

#form a.button,
#form .link-primary {
    color: var(--main-color);
}

main:not(#Confirm) .form-submit-btn input[type="submit"].active {
    cursor: pointer;
    pointer-events: auto;
    background-color: var(--main-color);
    color: #fff;
    box-shadow: 0 4px 8px color-mix(in srgb, var(--main-color) 20%, transparent);
}

main#Confirm .submit-btn,
main#Thanks .input-btn,
main#Thanks .input-btn a {
    background-color: var(--main-color);
    color: #fff;
}

main#Thanks .input-btn:hover {
    box-shadow: 0 4px 8px color-mix(in srgb, var(--main-color) 30%, transparent);
}

.form-control:focus {
    border-color: var(--main-color);
    outline: 3px solid color-mix(in srgb, var(--main-color) 45%, transparent);
    background: #fff;
}

.form-radio input[type="radio"],
form input[type="checkbox"] {
    accent-color: var(--main-color);
}

.field-error,
#privacy_error {
    color: var(--error-color, #dc3545) !important;
}

.form-row-inner input.error,
.form-row-inner textarea.error,
textarea#comment.error {
    border: solid 2px var(--error-color, #dc3545) !important;
}


/* ========================= YouTube ========================= */

.youtube-section {
    background-color: var(--youtube-color-bg);
    padding: 4% 4.5% 3%;
    text-align: center;
}

.youtube-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow);
    border-radius: 5px;
}

.video {
    display: block;
    width: 80%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto;
}

.video_box {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
}

.video01 {
    display: flex;
    flex-direction: column;
}

.v-wrap {
    width: 85%;
    position: absolute;
    z-index: 1;
    top: 71.5%;
    left: 7.6%;
}

.v-wrap::after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 56.25%;
}

.v-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ========================= セクション ========================= */

.section-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #333;
    padding-top: 2rem;
    margin-bottom: 10px;
}

.poop {
    text-align: center;
}


/* ========================= フッター ========================= */

/* TOP：max-width で中央寄せ */
#top+.footer-wrapper {
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
    overflow: hidden;
}


/* ========================= トップページ ========================= */

body.top main:not(#Confirm) .add-wrapper {
    flex-direction: column;
}

body.top main:not(#Confirm) .left-box tr:not(:first-child) td {
    border-top: none;
}

body.top main:not(#Confirm) .right-box,
body.top main:not(#Confirm) .left-box {
    width: 100%;
}

@media (max-width: 780px) {
    body.top main:not(#Confirm) table th {
        border: none;
    }
}


/* ========================= 会社概要 / プライバシー 共通 ========================= */

body:where(.company, .privacy) main {
    display: grid;
    place-items: center;
    padding: 50px 0;
}

body:where(.company, .privacy) main .section-ttl {
    font-weight: 700;
}

body:where(.company, .privacy) main .form-txt {
    line-height: 1.75em;
}


/* ========================= 会社概要ページ ========================= */

body#Company main.page-main:not(#Confirm),
body#Privacy main.page-main:not(#Confirm) {
    margin-top: 100px;
    margin-bottom: 100px;
}

body#Company main.page-main:not(#Confirm) {
    background: var(--background-left-bg-privacy);
}

body.company main:not(#Confirm) table {
    width: 100%;
    margin: 0;
}

body.company main:not(#Confirm) .bosyu,
body.company main:not(#Confirm) .tbody {
    width: 100%;
}

body.company main:not(#Confirm) th {
    font-weight: 700;
    background-color: var(--main-color);
    border-color: #333;
    color: #fff;
}

body.company main:not(#Confirm) td {
    background-color: #fff;
    text-align: center;
    padding: 5px;
    border-color: #333;
}

body.company main:not(#Confirm) .company-container {
    background-color: #fff;
}


/* ========================= プライバシーポリシーページ ========================= */

body.privacy main:not(#Confirm) {
    width: 45%;
    max-width: 100%;
    height: 100%;
    background-color: transparent;
}

body.privacy main:not(#Confirm) section.contact {
    width: 80%;
    max-width: 660px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

body#Privacy #entry {
    padding: 35px 15px 15px;
    /* box-shadow: var(--shadow); */
    background: var(--background-left-bg-privacy);
}

body#Privacy .inner1 :is(.form__text, .form__title) {
    line-height: 1.75em;
}

@media (max-width: 1080px) {
    body.privacy main:not(#Confirm) {
        width: 100%;
    }
}


/* ========================= 会社情報テーブル ========================= */

.company-table table,
.bosyu table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.company-table th,
.company-table td,
.bosyu th,
.bosyu td {
    padding: 15px;
    border: 1px solid #ddd;
    position: relative;
}

.company-table th {
    width: 30%;
    background-color: #f5f5f5;
    font-weight: bold;
    border-right: none;
}

.company-container {
    width: 100%;
    max-width: 800px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-top: 130px;
    padding: 20px;
    background: var(--background-left-bg-company);
}

.company-container .section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 10px;
}

.cell-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    line-height: 1.5em;
}

@media (max-width: 780px) {

    .company-table th,
    .company-table td,
    .bosyu th,
    .bosyu td {
        padding: 10px;
    }

    .company-table th,
    .bosyu th {
        width: 40%;
    }

    .company-container {
        margin: 130px auto 20px;
        padding: 15px;
    }

    .company-container .section-title {
        font-size: 20px;
    }

    body#Company main.page-main:not(#Confirm),
    body#Privacy main.page-main:not(#Confirm) {
        margin-top: 65px;
        margin-bottom: 100px;
    }
}

@media (max-width: 660px) {
    .company-container {
        width: fit-content;
        padding: 0 20px 10px;
        margin: 0 auto;
        box-shadow: none;
    }
}


/* ========================= CTAボタン（first-view） ========================= */

.first-view {
    position: relative;
}

.first-view .cta-btn {
    position: absolute;
    left: 51%;
    width: 93.5%;
    transform: translate(-50%, -50%);
    animation: cta-button-animation 1.5s ease infinite;
}

/* bottom だけ個別指定 */
.first-view.control_1 .cta-btn {
    bottom: -6%;
}

.first-view.control_2 .cta-btn {
    bottom: -2.1%;
}

.first-view.control_3 .cta-btn {
    bottom: -2.5%;
}

.first-view.control_4 .cta-btn {
    bottom: -2.7%;
}

.first-view.control_5 .cta-btn {
    bottom: -2.5%;
}

.cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta::before {
    content: "";
    position: absolute;
    bottom: 3%;
    right: 7%;
    width: 48px;
    height: 50px;
    background-image: url(../image/CTA_item.png);
    background-size: contain;
    background-repeat: no-repeat;
}

@keyframes cta-button-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    15% {
        transform: translate(-50%, -50%) scale(var(--cta-pulse-scale));
    }

    30% {
        transform: translate(-50%, -50%) scale(1);
    }

    45% {
        transform: translate(-50%, -50%) scale(var(--cta-pulse-scale));
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
    }

    90% {
        transform: translate(-50%, -50%) scale(var(--cta-pulse-scale));
    }
}


/* ========================= 固定CTAバー（SP） ========================= */

.fixed-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000;
    padding-bottom: var(--safe-bottom);
    background: transparent;
    pointer-events: none;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s linear;
}

.fixed-cta>* {
    pointer-events: auto;
}

.fixed-cta .cta-img {
    flex: 1 1 0;
    display: block;
}

.fixed-cta .cta-img img {
    display: block;
    width: 100%;
    height: auto;
}

.fixed-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.fixed-cta[data-debug="show"] {
    transform: none;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 780px) {
    :root {
        --safe-bottom: env(safe-area-inset-bottom);
    }

    body {
        padding-bottom: calc(var(--cta-h) + var(--safe-bottom));
    }

    .fixed-cta {
        display: flex;
    }
}


/* ========================= その他 ========================= */

.backcl01 {
    position: relative;
}

@media (max-width: 780px) {

    .fixed_banner01,
    .fixed_banner02,
    .fixed_banner03 {
        display: none;
    }
}