/* ↓自分なりのcss */

/* 画像を真ん中にしてブロック要素に変える */
body img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    top: 0;
}

/* メイン画像を60％にして上のマージンを開ける */
div#naraberu {
    width: 60%;
    margin: auto;
    margin-top: 6em;
}

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

/* -----ここからheader部分↓---- */
header {
    width: 100%;
    height: 6em;
    z-index: 9999;
    position: fixed;
    top: 0;
    right: 0;
}

header .inner {
    display: flex;
    padding: 10px 20px 10px 20px;
    margin: auto;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    height: 100px;
    width: 100%;
    min-width: 300px;
    align-items: center;
}

header .inner>h1 {
    width: 34%;
    max-width: 320px;
    margin-top: 0px;
}

header .inner>nav {
    max-width: 630px;
    width: 100%;
}

nav img {
    width: 210px;
    margin: 0;
    padding: 0;
}

/* 点々消す */
ol,
ul {
    list-style: none;
}

header .inner nav ul {
    display: flex;
    max-width: 100%;
    /* width: 440px; */
    gap: 0.8em;
    align-items: center;
    justify-content: flex-end;
}

@media(max-width: 780px) {
    header .inner nav ul {
        display: flex;
        max-width: 138px;
        width: 100%;
        gap: 0.4em;
        align-items: flex-start;
        justify-content: flex-end;
        /* margin-top: 5px; */
    }
}

/* 780px以下 */
@media (max-width: 780px) {
    header .inner>h1 {
        width: 100%;
        max-width: 275px;
        padding: 5px 0px 0 0px;
        margin: 0;
    }

    header .inner>nav {
        width: 75%;
        max-width: 350px;
        padding: 0px 0;
        margin-top: 10px;
    }

    header .inner>nav ul li {
        width: 33%;
    }

    header .inner>nav ul li {
        margin-top: 10px;
    }

    header {
        width: 100%;
        height: auto;
        position: fixed;
        z-index: 999;
        top: 0;
        right: 0;
        height: 93px;
    }

    header .inner {
        width: 100%;
        height: 91px;
        margin: auto;
    }
}

@media (min-width: 780px) {
    nav ul {
        justify-content: flex-end;
    }
}

@media (max-width:500px) {
    header {
        height: 82px;
    }

    header .inner {
        height: 67px;
    }

}

@media (max-width: 500px) {
    header .inner>h1 {
        width: 95%;
        max-width: 180px;
        padding: 13px 10px 0px 0px;
        margin: 0;
    }

    div#naraberu {
        max-width: 100%;
        margin: auto;
        margin-top: 5.1em;
    }
}

/* -----ここまでheader----- */

/* -------お問い合わせフォーム------- */
.bg_fff {
    background-size: 100%;
    background-position: center;
    /* background-image: url(../image/back03.png); */
    /* background-color: #C1262E; */
    margin: auto;
    width: 60%;
}

/* 780px以下 */
@media(max-width: 780px) {
    .bg_fff {
        background-size: 100%;
        width: 100%;
    }
}

.ttl_box02 {
    background-size: cover;
    width: 100%;
    margin: auto;
    padding: 0 0 25px 0px;
}

@media(max-width: 780px) {
    .ttl_box02 {
        width: 100%;
    }
}

picture {
    line-height: 0;
}

.panel_wapper {
    background-size: cover;
    margin-top: 0px;
    margin-bottom: 0px;
    background-repeat: no-repeat;
    padding-bottom: 7rem;
}

/* 大枠 */
.panel {
    margin: auto;
    padding: 35px 45px;
    text-align: left;
    width: 82%;
    background-color: #ffffff;
    /* border-radius: 5px; */
    /* box-shadow: 2px 2px 6px #000; */
}

@media(max-width: 780px) {
    .panel {
        width: 90%;
        padding: 50px 30px;
    }
}

/* フォーム並べるため */
.naraberu2 {
    display: flex;
    flex-direction: column;
}

/* 中のdivのラベルとinput並べるため */
.flx_box03 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #ffffff;
}

.naraberu2 label {
    order: 1;
}

.naraberu2 input,
.naraberu2 textarea {
    order: 2;
}


/* inputの横幅整えるため */
.naraberu2 input,
.naraberu2 textarea {
    width: 45%;
    /* ここで横幅を指定します */
}


label {
    margin: 10px 0;
    color: #000000;
    font-size: 1rem;
}

@media(max-width:780px) {
    label {
        margin: 10px 0;
        font-size: 0.88rem;
    }

}

.check_box {
    padding: auto;
}

/* 必須のところ 色とか幅とか*/
.must {
    color: #ffffff;
    background-color: #e21000;
    padding: 2px 8px;
    font-size: 75%;
    font-weight: bold;
    margin: 0 auto 0 5px;
}

textarea {
    resize: none;
    width: 100%;
    height: 100px;
    background-color: #b7dfff;
    border: none;
    font-family: Noto Sans JP;
}

input {
    height: 30%;
    background-color: #e6e6e6;
    width: 100%;
    border: 0;
    margin: 7px 0;
    height: 35px;
}

input[type=checkbox] {
    width: 15px;
}

.ttl_box02 h2 img {
    max-width: 50%;
    padding: 50px 0 0;
}

.form__txt {
    color: #000000;
    text-align: center;
}

a {
    color: #000;
}

p {
    font-size: 0.9rem;
}

/* 780px以下 */
@media(max-width: 780px) {
    .ttl_box02 h2 img {
        max-width: 75%;
    }

    .flx_box03 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 10px;
        border-bottom: 1px solid #ffffff;
    }

    .naraberu2 input,
    .naraberu2 textarea {
        width: 100%;
    }
}

/* 1000px以下 */
@media(max-width:1200px) {
    .panel {
        margin: auto;
        padding: 30px 30px;
        text-align: left;
        width: 90%;
        background-color: #ffffff;
    }
}

/* 個人情報の取り扱いスクロール */
.top_privacy {
    max-width: 85%;
    padding: 15px;
    height: 120px;
    margin: 1.9em auto;
    overflow-y: scroll;
    border: 3px solid #ccc;
    font-size: 91%;
    background-color: #ffffff;
}

/* チェックボックス真ん中にする */
.check_box {
    display: flex;
    align-items: center;
    padding: 15px;
    flex-direction: row;
    justify-content: center;
    color: #000000;
}

/* 確認ボタン真ん中 */
.form_submit_btn.flex.jc-center {
    text-align: center;
}

/* お問い合わせの文字色 */
textarea {
    color: #000 !important;
}

.input-button {
    background-color: #b9b9b9;
    color: #000000;
}

.form_submit_btn.flex.jc-center input {
    width: 50%;
    color: #000;
    /* padding: 1em !important; */
}

nav {
    display: flex;
    justify-content: flex-end;
}

/* 入力済み */
.input-text {
    background: #b7dfff;
    color: #000;
}

/* 未入力 */
:placeholder-shown {
    background: #b9b9b9;
}


/* ここまでフォーム */
/* ---------会社概要--------- */
.company_tb {
    /* background-color: #c2ebff; */
    background-size: cover;
    padding: 60px 100px;
    /* margin: 80px; */
    background-position: bottom;
    background-repeat: no-repeat;
    background-image: url("../image/back03.png");
}

@media (max-width: 780px) {
    .company_tb {
        padding: 50px 45px;
    }
}

.add_wapper table th {
    width: 40%;
    padding: 10px;
    /* border-bottom: 1px solid #000000; */
}

@media (max-width: 780px) {
    .add_wapper .left_box table th {
        float: left;
        width: 100%;
        border-bottom: 1px solid #000;
    }
}

.right_box {
    width: 45%;

    @media (max-width: 780px) {
        width: 100%;
    }

    iframe {
        width: 100%;
        height: 100%;
    }
}

.add_wapper {
    width: 100%;
    line-height: 1.5;
    display: flex;
    background-color: #ffffff;
    padding: 1.2rem;
    /* border-radius: 5px; */
    flex-direction: row-reverse !important;

    @media (max-width: 780px) {
        flex-direction: column-reverse !important;
    }
}


.left_box {
    width: 45%;

    .footer_logo {
        width: 50%;
        margin: 0 auto 20px;
    }

    table {
        margin: 0px;

        @media (max-width: 780px) {
            width: 100%;

            th {
                float: left;
                width: 100%;
                border-bottom: 1px solid #4c4c4c;
            }

            td {
                float: left;
                border: none;
                width: 100%;

                &.center {
                    text-align: center;
                }

                ;
                text-align: center;
                font-size: 0.9rem;
            }
        }
    }

    @media (max-width: 780px) {
        width: 100%;
        margin-bottom: 30px;
        padding: 0 0px;
    }
}

table {
    @media (max-width: 780px) {
        margin-top: 20px;
    }

    th {
        width: 50%;
        padding: 10px;
    }

    td {
        padding: 10px;
        line-height: 1.5;
        width: 100%;
        /* border-bottom: 1px solid; */
    }
}

@media(max-width:1400px) {
    .company_tb {
        /* background-color: #eae8db; */
        background-size: cover;
        padding: 2em 0.9em;
        /* margin: 80px; */
        background-repeat: no-repeat;
    }
}

/* 地図 */
iframe {
    width: 100%;
    height: 100%;
}

@media(max-width: 780px) {

    th,
    td {
        padding: 1.63em !important;
        padding-top: 0.7em !important;
        padding-bottom: 0.7em !important;
        box-sizing: border-box;
    }
}

/* 1400px以下地図下に移動 */
@media(max-width: 1400px) {
    .add_wapper {
        display: flex;
        flex-direction: column-reverse !important;

    .left_box {
        width: 100%;
    }

    .right_box {
        width: 100%;
    }
}
}

/* --------ここまで会社概要-------- */
/* footer */
footer {
    width: 100%;
    padding: 0 0 150px;
    text-align: center;
    color: #ffffff;
    background-color: #454545;
}

.footer_link {
    text-align: center;
    padding-top: 2em;
    margin-top: 0;
}

.footer_link a {
    text-decoration: none;
    color: #ffffff;
}

/* ここまでfooter */

.ps-r {
    position: relative;
    /* background-image: url("../image/back01.png"); */
    background-color: #100169;
    font-family: Noto Sans JP;
}

/* ここまで */

tr {
    border-bottom: 1px solid #000000;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(150px);
    }
}

@keyframes floatAnime {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    25% {
        transform: translateX(-6px);
        opacity: 1;
    }

    50% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(6px);
        opacity: 1;
    }
}

/*Page Topと書かれたテキストの位置*/
@media(max-width:760px) {
    #page-top {
        display: none !important;
    }
}

.poop {
    text-align: center;
}

@media(max-width:780px) {
    .ten {
        background-image: url(../image/back1.png);
    }
}

.container {
    overflow: hidden;
}

.slidein {
    /* 装飾に関わるスタイルは省略 */
    margin: 50px auto;
    transition: 1s cubic-bezier(0.75, 0, 0.25, 1);
}

.slide_left {
    transform: translateX(calc(-50vw - 50%));
}

.slide_right {
    transform: translateX(calc(50vw + 50%));
}

.show {
    transform: translateX(0);
}


/* スライドショー */
*,
body,
ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.flatre02 {
    position: relative;
}

.nara01 {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 80%;
    left: 12%;
    top: 12%;
}

.flatre02::after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 0%;
}

.fixed_banner01 {
    position: fixed;
    bottom: 6%;
    right: 3.8%;
    width: 11.5%;
}

.fixed_banner02 {
    position: fixed;
    bottom: 0%;
    left: 3%;
    width: 11%;
}


@media(max-width:780px) {
    .fixed_banner01 {
        display: none;
    }

    .fixed_banner02 {
        display: none;
    }

    .fixed_banner03 {
        display: none;
    }
}

header.hd-01 {
    background-color: #ffffffeb;
}

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

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

@media(max-width:780px) {
    .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%;
}

.backcl01 {
    position: relative;
}

.review {
    position: absolute;
    top: 46.7%;
    width: 100%;
}

@media(max-width:780px) {
    .review {
        position: absolute;
        top: 41%;
        width: 100%;
    }
}


.backcl02 {
    position: relative;
}


table.tbl-form.tbl-r02 {
    margin: auto;
}

form#contactForm {
    margin: 6rem;
}

.pc_bg{
    background-color: #ffffff;
}

table.company_table {
    margin: 10rem auto;
}

main.page__main.privacy {
    margin: 10rem auto;
}

.privacy .inner1 {
    margin: auto;
    text-align: center;
}

section#entry {
    width: 50%;
    margin: auto;
}

@media(max-width:780px){
section#entry {
    width: 80%;
    margin: auto;
}
}