/* ↓自分なりのcss */

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

/* reCAPTCHAバッジ非表示（サイト規約のリンクは別途フッター等に明記） */
.grecaptcha-badge {
    visibility: hidden;
}

/* （任意）ヘッダーの追従を無効化 */
header,
.header,
.site-header,
.sticky-header {
    position: static !important;
    top: auto !important;
}

body {
    padding-top: 0 !important;
}

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

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

/* -----ここからheader部分↓---- */
header {
    width: 100%;
    z-index: 9999;
    /* position: fixed; */
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    /* コンテンツに合わせて高さを自動調整 */
}

/* ヘッダー調整 */
#header {
    background-color: var(--header-color-bg);
    min-height: 60px;
    /* 最小高さを設定 */
    max-height: 100px;
    /* 最大高さを制限 */
    padding: 0.5% 3%;
    /* 上下の余白を追加 */
    column-gap: 2%;
}

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

nav img {
    margin: 0;
    padding: 0;
}

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

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

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

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

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

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

/* -------お問い合わせフォーム------- */
.bg_fff {
    background-size: 100%;
    background-position: center;
    background-color: #fefbe9;
    margin: -1px auto 0;
    width: 60%;
}

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

.video_box {
    background-image: url(../image/video_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
}

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

.readmore {
    width: 100%;
    background-image: url(../image/read_more_bg.jpg);
    padding: 20px 0;
    margin: 0 auto;
}

.readmore_button {
    display: block;
    width: 52.7%;
    height: auto;
    margin: 0 auto;
}

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

#from img {
    width: 100%;
}

picture {
    line-height: 0;
}

.panel_wapper {
    background-size: cover;
    margin-top: 0;
    margin-bottom: 5%;
    background-repeat: no-repeat;
}

/* 大枠 */
.panel {
    margin: auto;
    padding: 35px 45px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 5px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
}

/* フォーム並べるため */
.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;
    width: 100%;
}

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

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

    .flx_box03 {
        flex-direction: column;
        margin-bottom: 10px;
    }

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

/* 必須のところ 色とか幅とか*/
.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;
    color: #000 !important;
}

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

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

.ttl_box02 h2 img {
    padding: 50px 0 0;
}

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

p {
    font-size: 0.9rem;
}

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

@media (max-width: 1200px) {
    .panel {
        padding: 30px;
        width: 100%;
        box-shadow: 0 0 0px rgba(0, 0, 0, 0.2);
    }
}

/* 個人情報の取り扱いスクロール */
.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;
    line-height: 1.5em;
}

/* チェックボックス真ん中にする */
.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;
}

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

.form_submit_btn.flex.jc-center input {
    width: 50%;
    color: #000;
}

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

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

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

#form {
    padding: 4% 4.5%;
    padding-top: 30px;
    background: var(--form-bg);
}


/* ここまでフォーム */
/* ---------会社概要--------- */
.company_tb {
    border-radius: 10px;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-image: url("../image/back03.png");
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
}

.add_wapper table th {
    width: 40%;
    padding: 10px;
    white-space: nowrap;
}

@media (max-width: 780px) {
    .add_wapper .left_box table th {
        float: left;
        width: 100%;
    }
}

.right_box {
    width: 100%;
}

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

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

.add_wapper {
    width: 100%;
    line-height: 1.5;
    display: flex;
    background-color: #ffffff;
    padding: 1.2rem;
    border-radius: 5px;
    justify-content: space-between;
    flex-direction: column;
}

@media (max-width: 780px) {
    .add_wapper {
        flex-direction: column;
    }
}

.left_box table {
    margin: 0;
}

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

    .left_box table {
        width: 100%;
    }

    .left_box table td {
        float: left;
        border: none;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }

    .left_box table td.center {
        text-align: center;
    }
}

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

table td {
    padding: 10px;
    line-height: 1.5;
    width: 100%;
}

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

@media (max-width: 1400px) {
    .company_tb {
        background-size: cover;
        background-repeat: no-repeat;
        box-shadow: 0 0 0px rgba(0, 0, 0, 0.2);
    }

    .add_wapper {
        flex-direction: column;
    }

    .left_box {
        width: 100%;
        margin-bottom: 50px;
    }

    .left_box table {
        display: grid;
        place-items: center;
    }

    .left_box .contact td span {
        margin-left: -10px;
    }

    .right_box {
        width: 100%;
    }
}

.left_box table td {
    display: block;
}

@media (max-width: 780px) {

    th,
    td {
        box-sizing: border-box;
    }
}

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

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

.footer_link a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: var(--footer-text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

/* ここまでfooter */

.ps-r {
    position: relative;
    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;
    }
}

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

.side_left,
.side_right {
    bottom: 0;
}

@media (max-width: 780px) {

    .side_left,
    .side_right {
        display: none;
    }
}

.bosyu table th {
    padding: 10px 0 10px 5px;
    border: 1px solid #2b2c6a;
    background-color: #2b2c6a;
    color: #fefbe9;
}

.bosyu table td {
    border: 1px solid #222;
    background-color: #f0f4f9;
}

.bosyu table {
    margin: 0 auto 80px;
}

@media (max-width: 780px) {

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

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

.page__main .contact .inner1 h2 {
    text-align: center;
    font-size: 24px;
    line-height: 1;
    font-weight: bold;
}

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

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

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

.backcl01 {
    position: relative;
}

.inner1 {
    max-width: calc(1280px + 2%);
}