@charset "UTF-8";

html {
    scroll-behavior: smooth; 
}

:root {
    --main-color: #1d2087
}
.element {
    font-weight: var(--this-site-bold);
}
        
body {
    font-family: Avenir, 'Helvetica neue', Helvetica, '游ゴシック', YuGothic, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
}
p {
    margin: 0;
    padding: 0;
    line-height: 2em;
    font-weight: 500;
    font-feature-settings: 'palt' 1;
    text-align: justify;
    word-break: break-all;
}
a {text-decoration: none;color: #000;}
img {width: 100%;}

article {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid #000;
    background: #fff;
}
section {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

h2 {
    margin: 0 0 40px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--main-color);
}
h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--main-color);
}
.wrapper0 {
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
    margin: 0 auto;
}
.wrapper {
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
    margin: 100px auto;
}
.wrapper100 {
    width: calc(100% - 200px);
    max-width: 1400px;
    overflow: hidden;
    margin: 100px auto;
    padding: 0 100px;
}

header {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #000;
    background: #fff
}
header .logo_header {
    width: 300px;
    height: 50px;
    margin: 10px 20px 0;
    float: left;
}
header .logo_header img {
    object-fit: contain;
}
header .contact {
    width: 130px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    background: var(--main-color);
}
header .contact a {
    color: #fff;
    font-weight: 600;
    text-align: center;
}
header .phone {
    width: auto;
    float: right;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
}
header .phone a {
    position: relative;
    margin: 15px 30px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-weight: 600;
}
header .phone a:before {
    position: absolute;
    top: 5px;
    left: -30px;
    content: "";
    width: 20px;
    height: 25px;
    background: url(../images/icon_tel.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
header #g-nav {
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    float: right;
}
header #g-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 20px 0 0;
}
header #g-nav li a {
    margin: 0 10px;
    font-size: 15px;
}
header #g-nav .sns li {
    width: 30px;
    height: 30px;
    margin: auto 15px;
}
.header .openbtn1,
.header .panel {
    display: none;
}

.fv {
    width: 100%;
    height: 700px;
    position: relative;
}
.fv img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}
.fv .hero {
    position: absolute;
    bottom: 50px;
    left: 100px;
    font-size: 36px;
    color: var(--main-color);
}
.textbox01 {
    width: 50%;
    float: left;
    font-size: 18px;
}
.imgbox01 {
    width: 50%;
    float: left;
}
.imgbox01 img {
    width: 80%;
    float: left;
    margin: 0 20% 0 0;
}
.textbox02 {
    width: calc(60% - 100px);
    margin: 0 100px 0 0;
    float: left;
    font-size: 18px;
}
.textbox02 .ttl {
    display: block;
    width: 120px;
    height: 400px;
    float: left;
}
.h2_tategaki {
    float: left;
    padding: 0 50px 0 0;
    writing-mode: vertical-rl;
    writing-mode: -ms-tb-rl;
}
.textbox02 p {
    display: block;
    padding: 0 0 0 50px;
    border-left: 1px solid var(--main-color);
}
.imgbox02 {
    width: 30%;
    float: left;
}
.textbox03 {
    width: 50%;
    float: left;
    font-size: 18px;
}
.imgbox03 {
    width: 50%;
    float: left;
}
.imgbox03 img {
    width: 80%;
    float: left;
    margin: 0 0 0 20%;
}
.textbox01 p, .textbox02 p, .textbox03 p {
    font-weight: 600;
}
.h2_service {
    display: table; 
    margin: 0 auto 50px;
    font-size: 36px;
    text-align: center;
}
.h2_service span {
    display: block;
    margin-top: 5px;
    padding: 5px 20px;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.1em;
    background: var(--main-color);
}
.service {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3 , 1fr);
    grid-auto-rows: (300px , auto);
    gap: 30px;
}
.service li {
    margin: 10px 0;
    padding: 20px 40px;
}
.service li h3 {
    margin: 0 0 20px;
    padding: 10px 15px;
    color: #fff;
    text-align: center;
    line-height: 1em;
    background: var(--main-color);
    border-radius: 100vh;
}
.service li img {
    width: 95%;
    margin: 0 2.5% 10px;
}
.service li p {
    padding: 0 10px;
    font-weight: 600;
}
.insta_feed {
    width: 100%;
    max-width: 800px;
    margin: 10px auto 30px;
}
.table_basic {
    width: 80%;
    max-width: 1000px;
    margin: 50px auto;
}
.table_basic tr {
    border-bottom: 1px solid #000;
}
.table_basic th {
    width: 180px;
    padding: 1.8em 25px;
    font-size: 18px;
    font-weight: 600;
    text-align-last: justify;
}
.table_basic td {
    padding: 1.8em 25px 1.8em 80px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6em;
}
.table_basic td li {
    font-size: 18px;
    font-weight: 600;
}

.box_contact {
    width: 90%;
    max-width: 800px;
    margin: 40px auto 100px;
    padding: 40px;
    text-align: center;
    border: 3px solid var(--main-color);
    border-radius: 10px;
}
.box_contact h3 {
    font-size: 24px;
    margin-bottom: 30px;
}
.box_contact p {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--main-color);
    text-align: center;
}
.box_contact .tel01, .box_contact .tel02 {
    position: relative;
    display: inline-block;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--main-color);
}
.box_contact .tel01::before, .box_contact .tel02::before {
    position: absolute;
    top: 7px;
    left: -35px;
    content: "";
    width: 25px;
    height: 27px;
    background-image: url(../images/icon_tel.svg);
    background-size: contain;
}
.line {
    width: 70%;
    max-width: 600px;
    height: 2px;
    margin: 30px auto;
    background-color: var(--main-color);
}

.form-wrapper {
    width: 800px;
    display: flex;
    margin: 50px auto;
}
.form-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}
.form-group label {
    width: 300px;
    display: block;
    margin: 10px 0 0;
    font-weight: 600;
    letter-spacing: 0.3em;
}
.required {
    display: inline-block;
    color: #fff;
    margin-top: -3px;
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 100vh;
    margin-left: 10px;
    vertical-align: middle;
    background-color: #be1e2d;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 500px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 1em;
}
textarea {
    resize: vertical;
}
.form-confirm .wpcf7-checkbox label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 0.5em;
    margin-bottom: 30px;
}
/* ２）ネイティブのチェックボックスを隠す */
.form-confirm .wpcf7-checkbox label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1em;
    height: 1em;
    margin: 0;
    z-index: 2; /* クリック領域を確保 */
}
/* ３）ラベル内のテキストを包むスパンに余白をつけ、チェック枠を ::before で描画 */
.form-confirm .wpcf7-checkbox label .wpcf7-list-item-label {
    position: relative;
    padding-left: 1.5em;  /* 枠ぶんスペースを空ける */
    font-weight: 600;
}
.form-confirm .wpcf7-checkbox label .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    border: 2px solid #000;
    border-radius: 0.2em;
    box-sizing: border-box;
    background: #fff;
}
.form-confirm .wpcf7-checkbox label input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    content: "✔";
    position: absolute;
    left: 0.2em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
    color: #000;
    line-height: 1;
}

.form-submit {
    position: relative;
    width: 250px;
    margin: 20px auto;
}
.form-submit input[type="submit"] {
    display: block;
    width: 100%;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    letter-spacing: 1em;
    background: var(--main-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
}
.form-submit::after {
    content: "";
    position: absolute;
    top: 30px;
    right: 50px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: url(../images/icon_submit.svg) no-repeat center/contain;
    transition: all 0.5s ease-in-out;
}
.form-submit:hover input[type="submit"] {
    background-color: #131b50;
}
.form-submit:hover::after {
    right: 40px;
    transition: all 0.5s ease-in-out;
}

/* 入力エラー表示 */
.wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #a41313;
    font-size: 1em;
    font-weight: 600;
    display: block;
}
/* 送信完了/エラー基本スタイル */
.wpcf7 form .wpcf7-response-output {
    margin: 1em 0.5em;
    padding: 0.8em 1em;
    font-weight: 600;
    border: 3px solid #00a0d2;
}

footer {
    width: 100%;
    padding: 80px 0 0;
    background: url(../images/bg_footer_pc.jpg) no-repeat;
    background-size: 60%;
    background-position: right bottom;
    border-top: 3px solid var(--main-color)
}
footer .logo {
    width: 300px;
    margin: 0 80px 50px;
}
.footer_info {
    width: 300px;
    margin: 0 80px;
}
.footer_info p {
    font-weight: 600;
    line-height: 1.5em;
}
.footer_info dl {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}
.footer_info dt {
    flex: 0 0 3em;
    margin: 0 0 15px;
    font-weight: 600;
}
.footer_info dt::after {
    content: "：";
}
.footer_info dd {
    width: calc(100% - 4em);
    display: inline-block;
    margin: 0 0 15px;
    font-weight: 600;
}
footer .copy {
    margin: 100px 80px 0;
    padding: 0 0 15px;
    font-weight: 600;
}
.pagetop {
    position: fixed;
    right: 25px;
    bottom: 80px;
    width: 30px;
    height: 155px;
    background-color: rgb(255, 255, 255, 0.5);
    background-image: url(../images/icon_pagetop.svg);
    background-size: 15px 145px;
    background-repeat: no-repeat;
    background-position: top right;
}
.pagetop a {
    display: block;
    padding: 40px 3px 10px;
    writing-mode: vertical-rl;
    writing-mode: -ms-tb-rl;
}