/* ↓自分なりのcss */

/* サイト全体のフォント指定 */
.bb01 {
    font-family: "Noto Sans JP";
    background-image: url("../image/back1.png");
    background-color: #ffffff;
}

.wht01 {
    font-family: "Noto Sans JP";
    background-color: #ffffff;
}

@media(max-width:780px) {
    .wht01 {
        background-color: #ffffff;
    }
}

/* 画像を真ん中にしてブロック要素に変える */
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;
    background-color: #ffffffcf;
    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: 36%;
    max-width: 400px;
    margin-top: 0px;
}

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

header.contact .inner>nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

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

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: 168px;
        width: 100%;
        gap: 0.4em;
        align-items: center;
        justify-content: flex-end;
        /* margin-top: 5px; */
    }
}


header .inner nav .hd_line a {
    display: block;
    max-width: 92%;
    margin: 0 auto;
}

header .inner nav .hd_line a img {
    display: block;
    width: 100%;
}

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

    header .inner>nav {
        width: 62%;
        max-width: 230px;
        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;
        background-color: #ffffffcf;
        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: 78px;
    }

    header .inner {
        height: 72px;
    }

}

@media (max-width: 500px) {
    header .inner>h1 {
        width: 86%;
        max-width: 260px;
        padding: 8px 10px 0 0px;
        margin: 0;
    }

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

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

/* ------下浮いているボタン ------*/
.fix_box01 ul {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.fix_box01 ul li {
    line-height: 1;
    width: 50%;
}

.fix_box01 {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 8em;
    z-index: 99999;
    padding: 15px 25px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    left: 0;
    align-items: center;
    justify-content: center;
}

.fix_box02 {
    display: flex;
    align-items: center;
    width: 650px;
    justify-content: space-between;
    gap: 3em;
}

.base2 img {
    width: 100%;
}

.base1 img {
    width: 100%;
}

/* 780px以下 */
@media(max-width: 780px) {
    .fix_box01 {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 4.7em;
        /* z-index: 99999; */
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        left: 0;
        justify-content: center;
        align-items: center;
    }

    .fix_box02 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 450px;
        gap: 0;
    }
}

/* -----ここまでういてるボタン -----*/

/* -------お問い合わせフォーム------- */
.bg_fff {
    background-size: 100%;
    background-position: center;
    /* background-image: url(../image/back1.png); */
    background-color: #141d71;
    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: 0em 0 0 0;
}

@media(max-width: 780px) {
    .ttl_box02 {
        width: 85%;
        padding: 1px 0 0px 0;
    }
}

picture {
    line-height: 0;
}

.panel_wapper {
    background-size: cover;
    margin-top: 0px;
    margin-bottom: 0px;
    background-repeat: no-repeat;
    padding-bottom: 20px;
    /* background-color: #073190; */
}

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

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

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

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

.naraberu2 label {
    order: 1!important;
}

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


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



/* inputの横幅整えるため */
.naraberu2 textarea {
    width: 100%!important;
	max-width:500px;
    /* ここで横幅を指定します */
}
label {
    margin: 10px 0;
    color: #000000!important;
    font-size: 1rem!important;
}






@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;
    height: 200px;
    background-color: #b7dfff;
    border: none;
    font-family: Noto Sans JP;
	width:600px;
}

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

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

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

.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: 100%;
    }

    .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;
    }
}

.for_wapper {
    padding: 50px 50px 0 50px;
    line-height: 2;
    background-position: center top;
    background-size: contain;
    max-width: 900px;
    margin: -5px auto 0;
}

/* 個人情報の取り扱いスクロール */
.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: #f0f2ff;
    background-size: cover;
    padding: 60px 100px;
    /* margin: 80px; */
    background-repeat: no-repeat;
    /* background-image: url("../image/back2.png"); */
}

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

/* 会社概要画像 */
.company_tb img {
    width: 100%;
    margin: auto;
}

/* 会社概要小さくする */
.cmplogo {
    width: 40%;
    margin: auto;
}

/* 会社のロゴ */
.footer_logo img {
    width: 150px;
}

.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 .left_box .footer_logo {
    width: 50%;
    margin: 0 auto 20px;
}

.add_wapper {
    width: 100%;
    line-height: 1.5;
    display: flex;
    background-color: #ffffff;
    padding: 1.2rem;
    @media (max-width: 780px) {
        flex-direction: column;
    }

    ;
    justify-content: space-between;
    flex-direction: row;
    /* box-shadow: 2px 2px 6px #000; */
}

.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;
    }

    .left_box {
        width: 100%;
    }

    .right_box {
        width: 100%;
    }

    .footer_bottom {
        padding: auto;
    }

    .footer_bottom {
        padding: 80px 50px;
    }

    .cmplogo {
        width: 75%;
        margin: 10px auto;
    }
}

/* --------ここまで会社概要-------- */
/* 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 */


/* -------別ページ------ */
/* 会社概要別ページ */
.bosyu table th {
    padding: 10px 0 10px 5px;
    border: 1px solid #000000;
    background-color: #e60018;
    color: #fff;
    border-top: 1px solid #000000;
}

.bosyu table td {
    padding: 10px;
    border: 1px solid #000000;
}

/* プライバシーポリシー */
.page__main .contact .inner1 h2 {
    text-align: center;
    font-size: 18px;
    line-height: 1;
}

.page__main .contact .inner1 p {
    text-align: center;
    margin: 2em 2em;
}

.ps-r {
    position: relative;
    background-image: url("../image/back1.png");
    background-color: #fffffffa !important;
    font-family: Noto Sans JP;
}

main.page__main {
    margin-top: 176px;
}

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

@media (min-width: 780px) {
    main {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

.page__main .contact .inner {
    margin: 6em auto;
    background-color: #ffffff;
}

h2.section__ttl {
    text-align: center;
}

@media screen and (max-width: 767px) {
    .inner1 {
        padding: 0 5%;
    }
}

.inner1 {
    max-width: calc(1280px + 2%);
    margin: 0 auto;
    padding: 0 1%;
}

.bosyu table {
    margin: auto;
    margin-bottom: 5em;
    margin-top: 5em;
}

/* 別ページここまで */

/* アニメーション */
/* 動くボタンの画像重ねる */

#baseimg1 {
    position: absolute;
    top: 31.3%;
    left: 20%;
    width: 60%;
}

#baseimg2 {
    position: absolute;
    top: 31.3%;
    left: 20%;
    width: 60%;
}

#baseimg3 {
    position: absolute;
    top: 33.75%;
    left: 20%;
    width: 60%;
    /* transform: translate(0%, -54%); */
}

#base3 {
    display: table-cell;
    text-align: center;
    position: relative;
}

#baseimg1,
#baseimg2,
#baseimg3 img {
    animation: anime1 0.5s ease 0s infinite alternate;
    transform-origin: center;
}

@keyframes anime1 {
    from {
        transform: scale(0.7, 0.7);
    }

    to {
        transform: scale(0.73, 0.73);
    }
}

/* 780px以下の設定 */
@media(max-width:780px) {

    #baseimg1,
    #baseimg2,
    #baseimg3 {
        margin: 0 auto;
    }

    #baseimg1,
    #baseimg2,
    #baseimg3 img {
        animation: anime1 0.5s ease 0s infinite alternate;
        transform-origin: center;
    }

    @keyframes anime1 {
        from {
            transform: scale(1, 1);
        }

        to {
            transform: scale(0.95, 0.95);
        }
    }
}

/* ここまで */

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

/*========= ページトップのためのCSS ===============*/
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 30px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@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);
    }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
    display: block;
    width: 100px;
    height: 100px;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    /*背景画像の指定*/
    background: url(../image/page1.png) no-repeat center;
    background-size: contain;
}

#page-top.floatAnime a {
    width: 100px;
    height: 130px;
    /*背景画像の指定*/
    background: url(../image/page2.png) no-repeat center;
    background-size: contain;
    /*アニメーションの指定*/
    animation: floatAnime 2s linear infinite;
    opacity: 0;
}

@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と書かれたテキストの位置*/
#page-top span {
    position: absolute;
    bottom: -20px;
    right: 20px;
    color: #1549b5;
}

@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;
}

/* ↓ スライドの外枠 */
.slide-wrapper {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    /* はみ出したスライドを隠す */
}

/*  ↓ スライド（コンテンツ） */
.slide {
    /*スライド全体 */
    width: 300%;
    height: 100%;
    display: flex;
    transition: all 0.3s;
}

.slide div {
    /* スライド */
    width: 33.33%;
    height: 100%;
    font-size: 16px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.slide1 {
    /* スライドさせるために必要なクラス */
    transform: translateX(0);
}

.slide2 {
    /* スライドさせるために必要なクラス */
    transform: translateX(-33.33%);
}

.slide3 {
    /* スライドさせるために必要なクラス */
    transform: translateX(-66.66%);
}

.slide div:nth-of-type(1) {
    /* 背景色 */
    background-color: #E1F3FC;
}

.slide div:nth-of-type(2) {
    /* 背景色 */
    background-color: #FCE8F0;
}

.slide div:nth-of-type(3) {
    /* 背景色 */
    background-color: #E3F1E4;
}

/* ↓ 左右のボタン */
.next {
    position: absolute;
    width: 15px;
    height: 15px;
    right: 10px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 3px #000;
    border-right: solid 3px #000;
    -webkit-transform: rotate(45deg) translateY(50%);
    transform: rotate(45deg) translateY(50%);
}

.prev {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 25px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 3px #000;
    border-right: solid 3px #000;
    -webkit-transform: rotate(-135deg) translateY(-50%);
    transform: rotate(-135deg) translateY(-50%);
}

/* ↓ インジケーター */
.indicator {
    width: 100%;
    position: absolute;
    bottom: 20px;
    display: flex;
    column-gap: 18px;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.indicator li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    list-style: none;
    background-color: #fff;
    border: 2px #000 solid;
    cursor: pointer;
}

.indicator li:first-of-type {
    background-color: #000;
}

#sraid {
    width: 80%;
    margin: auto;
    padding: 55px 0;
}

.video {
    padding-top: 20px;
}

.video2 {
    padding-bottom: 20px;
}

.wh01 {
    /* background-color: #ffffff66; */
}

.bb01 {
    background-color: #fff;
}

/* .naraberu01 {
    width: 60%;
    margin: auto;
}

.backcl01 {
    background-color: #efefef;
}

.cta01 {
    width: 60%;
    margin: auto;
}

.backcl02 {
    background-color: #a3daf6;
}

.backcl03 {
    background-color: #a3daf6;
}

.backcl04 {
    background-color: #1b80c3;
}

.backcl05 {
    background-color: #efefef;
}

.backcl06 {
    background-color: #ffffff;
}

.backcl07 {
    background-color: #ffffff;
}

.backcl08 {
    background-color: #c2e1f9;
}

.backcl09 {
    background-color: #efefef;
}

.backcl10 {
    background-color: #1549b5;
}

.backcl11 {
    background-color: #efefef;
} */


.fixed_banner01 {
    position: fixed;
    bottom: 500px;
    right: 0;
    width: 6%;
    max-width: 100px;
    min-width: 80px;
}

.fixed_banner02 {
    position: fixed;
    bottom: 270px;
    right: 0;
    width: 6%;
    max-width: 100px;
    min-width: 80px;
}

.floating-banner:hover {
    opacity: .8;
    /* マウスが重なった時に少し透過させます */
}

@media(max-width:780px){
    .fixed_banner01 {
        bottom: 400px;
        width: 6%;
        max-width: 60px;
        min-width: 40px;
    }
    
    .fixed_banner02 {
        bottom: 280px;
        width: 6%;
        max-width: 60px;
        min-width: 40px;
    }
}


.video01 {
    background-color: #2e3192;
    display: flex;
    padding: 20px 0;
    flex-direction: column;
}

.v-wrap{
    width: 100%;
    position: relative;
}

.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%;
}

.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%;
}

.flatre03 {
    position: relative;
}

.fla03 {
    position: absolute;
    width: 75%;
    left: 15%;
    top: 33%;
}

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


.fla03 {
    animation: key .3s ease infinite alternate;
}

@keyframes key {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.nara01 {
    animation: key .3s ease infinite alternate;
}

@keyframes key {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}
/*
.wpcf7-form-control-wrap{
	width:80%;
}
*/


/* 送信NG時の枠の色  */
.wpcf7 form.sent .wpcf7-response-output {/* 送信ボタン下完了時 */
    border-color: #8cebe5;
	color:#fff;
	text-align:center;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {/* 送信ボタン下未入力警告 */
    border-color: #f88;
	color:#fff;
	text-align:center;
}
