@charset "UTF-8";

/*
Theme Name: IKARUGA
Theme URI:
Author: IKARUGA
Author URI:
Description:
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: IKARUGA

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

article,
blockquote,
body,
dd,
section,
div,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
li,
ol,
p,
pre,
td,
textarea,
th,
ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
p,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-size: 100%; */
    text-align: left;
}

abbr,
acronym,
fieldset,
img {
    border: 0;
}

li {
    list-style-type: none;
}

img {
    vertical-align: middle;
    margin: 0;
    padding: 0;
    border: 0;
    max-width: 100%;
    height: auto;
    /***/
    width: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.4s;
}

a:active,
a:focus,
a:hover {
    text-decoration: none;
}

@media screen and (min-width: 780px) {
    a:hover {
        opacity: 0.8;
    }
}

a:hover img {
    opacity: 0.8;
}

body p {
    display: block;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
}

.fadeU,
.fadeD,
.fadeL,
.fadeR {
    opacity: 0;
}


/* General setting */

html {
    overflow-y: scroll;
    font-size: 62.5%;
}

body,
html {
    width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    font-family: "ＫＯさきがけ龍爪Ｍ", serif;
    font-weight: 500;
}

.grecaptcha-badge {
    visibility: hidden;
}

.header_wrap {
    width: 100%;
    position: fixed;
    z-index: 999;
}

@media screen and (max-width: 780px) {
    .header_wrap {
        padding: 0 20px;
    }
}

@media screen and (max-width: 530px) {
    .header_wrap {
        padding: 0 10px;
    }
}

.other .header_wrap {
    background-color: #fff;
    z-index: 99999;
}

.header_img_wrap {
    float: left;
    padding: 0px 0;
    margin: 20px 0 0 70px
}

.header_img02 {
    width: 110px;
    display: block;
    position: fixed;
    text-align: center;
}

.header_img02 img {
    width: 80px;
    padding-top: 20px;
}

.header_img03 {
    display: none;
}

@media screen and (max-width: 1550px) {
    .header_img_wrap {
        float: left;
        padding: 0px 0;
        margin: 20px 0 0 25px;
    }
    .header_img01 img {
        width: 70px;
    }
    .header_img02 {
        width: 70px;
    }
}

@media screen and (max-width: 1370px) {
    .header_img_wrap {
        float: left;
        padding: 0px 0;
        margin: 20px 0 0 10px;
    }
}

@media screen and (max-width: 979px) {
    .header_img01 {
        width: 54px;
        display: inline-block;
    }
    .header_img02 {
        display: none;
    }
    .header_img03 {
        display: inline-block;
        width: 150px;
    }
    .header_img_wrap {
        margin: 20px 0 0;
    }
}

@media screen and (max-width: 430px) {
    .header_img01 {
        width: 40px;
    }
    .header_img03 {
        width: 120px;
    }
}


/* @media screen and (min-width: 1200px) {
    .header_img_wrap {
        width: 250px;
    }
} */


/* @media screen and (max-width: 980px) {
    .header_img_wrap {
        width: 200px;
    }
}

@media screen and (max-width: 430px) {
    .header_img_wrap {
        margin: 8px 0 0;
        width: 160px;
    }
} */

.global-header__wrapper {
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    position: relative;
    width: 100%;
    height: 70px;
}


/* @media screen and (max-width:979px) {
    .global-header__wrapper {
        height: 97px;
    }
}

@media screen and (max-width:979px) {
    .global-header__wrapper {
        height: 97px;
    }
}

@media screen and (max-width:428px) {
    .global-header__wrapper {
        height: 70px;
    }
} */

.global-pc-header__wrapper {
    height: 70px;
    /* background-color: rgba(255, 255, 255, 0); */
}

.is-fixed {
    position: fixed;
    padding: 10px 0;
    /* height: 70px; */
    background-color: rgba(255, 255, 255, 1);
    -moz-box-shadow: 10px 10px;
    -webkit-box-shadow: 10px 10px;
    -o-box-shadow: 10px 10px;
    -ms-box-shadow: 10px 10px;
    box-shadow: 0 0 3px 0 #e3e3e3;
    top: 0;
    left: 0;
    z-index: 8675399;
    width: 100%;
    -webkit-transition: all .4s ease 0s, background .6s ease .2s;
    transition: all .4s ease 0s, background .6s ease .2s;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    overflow: hidden;
}

.global-pc-header {
    width: 100%;
    padding: 20px 60px;
    margin: auto;
    display: inline-block;
    justify-content: space-between;
}

.global-pc-header-logo {
    width: 130px;
}

.global-pc-header-logo img {
    max-width: 126px;
}

.global-pc-header-logo a:hover {
    -webkit-animation: fluffy 0.8s linear 0s 1;
    animation: fluffy 0.8s linear 0s 1;
}

.global-pc-header-nav {
    width: 100%;
}

.global-pc-header__wrapper ul {
    display: flex;
    justify-content: flex-end;
}

.global-pc-header li {
    width: calc(100% / 7);
    text-align: center;
    font-size: 1.2rem;
}

.is-fixed .global-pc-header li {
    transition: 0.24s all ease;
}

.global-pc-header li a {
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;
}

.global-pc-header li a {
    /* .global-pc-header li a:visited { */
    text-decoration: none;
    color: #fff;
    display: block;
    font-size: 1.5em;
}

.page .global-pc-header li a {
    color: #000;
}

.global-pc-header li a:hover {
    color: #c7b994;
}

.top .global-pc-header .gnav01 a,
.page-about .global-pc-header .gnav02 a,
.page-company .global-pc-header .gnav03 a,
.page-works .global-pc-header .gnav04 a,
.page-news .global-pc-header .gnav05 a,
.page-contact .global-pc-header .gnav06 a {
    color: #c7b994;
}

.home .global-pc-header .gnav01 a::after,
.page-about .global-pc-header .gnav02 a::after,
.page-company .global-pc-header .gnav03 a::after,
.page-works .global-pc-header .gnav04 a::after,
.page-news .global-pc-header .gnav05 a::after,
.page-contact .global-pc-header .gnav06 a::after {
    display: none;
}

#header {
    background-color: transparent
}

#header.leave_head .header_wrap {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(255, 255, 255, 0.9) 2px 2px 2px;
}

@media screen and (max-width:979px) {
    #header.leave_head .header_wrap {
        background-color: transparent;
        box-shadow: none;
    }
}

#header.leave_head .global-pc-header li a {
    color: #000;
}

.nav-en {
    display: block;
    font-size: 1.1rem;
    color: #036;
    padding-top: 10px;
    /* font-family: 'Josefin Sans', sans-serif; */
}

.is-fixed .nav-en {
    transition: .24s all ease;
}

@media screen and (min-width:979px) and (max-width:1179px) {
    /* .global-pc-header {
        padding: 0;
    } */
    .global-pc-header li {
        font-size: 1.1rem;
        letter-spacing: 0.15em;
    }
}

@media screen and (max-width:979px) {
    .global-pc-header__wrapper {
        display: none;
        height: 0;
    }
    .is-fixed {
        position: static;
        display: none;
        height: 0;
    }
}


/*
* SP MENU
******************************************************/

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    cursor: pointer;
}

.menu-trigger {
    position: relative;
    width: 50px;
    height: 50px;
    color: #000;
    border-radius: 4px;
    z-index: 7;
}

.menu-trigger span {
    position: absolute;
    background: #000;
    width: 30px;
    height: 3px;
    left: 0;
    right: 0;
    margin: auto;
}

@media screen and (max-width:428px) {
    /* .menu-trigger {
        width: 30px;
    } */
    .menu-trigger span {
        height: 1px;
    }
}

.menu-trigger span:nth-of-type(1) {
    top: 19px;
}

.menu-trigger span:nth-of-type(2) {
    top: 9px;
    bottom: 0;
}

.menu-trigger span:nth-of-type(3) {
    bottom: 10px;
}

.menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
}

.menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
}

#menu-text {
    font-size: 1rem;
    text-align: center;
    color: #fff;
}


/* SP menu list */

.global-sp-header__wrapper {
    display: none;
}

@media screen and (max-width:979px) {
    .global-sp-header__wrapper {
        display: block;
        background: #fff;
        z-index: 99999;
        transition: .1s;
        width: 100%;
    }
}

.is-fixed-sp {
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.global-sp-header-logo {
    padding: 10px 5px 0 10px;
}

.global-sp-header-logo img {
    max-width: 170px;
}

.global-sp-header-logo a:hover {
    -webkit-animation: fluffy 0.8s linear 0s 1;
    animation: fluffy 0.8s linear 0s 1;
}

.global-sp-header {
    position: absolute;
    top: 97px;
    right: 10px;
    z-index: 999;
}

@media screen and (max-width: 979px) {
    .global-sp-header {
        top: 20px;
        background-color: rgb(221 221 221 / 66%);
    }
}

@media screen and (max-width: 430px) {
    .global-sp-header {
        top: 5px;
    }
}

.global-sp-header-nav {
    display: none;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 888;
    background: -webkit-linear-gradient(60deg, #29323c 0%, #485563 100%);
    background: linear-gradient(60deg, #29323c 0%, #485563 100%);
}

.global-sp-header-nav ul {
    display: block;
    text-align: center;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin: 200px auto 0;
    width: 100%;
}

.global-sp-header-nav ul li {
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    padding: 0 20px;
    width: 16.6%;
}

.global-sp-header-nav ul li a {
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    padding: 32px 0 0 0;
    text-align: start;
}

.global-sp-header-nav ul.list-2col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.global-sp-header-nav ul.list-2col li {
    font-size: 1.3rem;
    letter-spacing: 0.175em;
    padding: 12px 6px 0 0;
}

.global-sp-header-nav ul.list-2col li:not(:first-child) {
    padding: 12px 0 0 6px;
}

.global-sp-header-nav ul.list-2col li a {
    display: inline-block;
    text-decoration: none;
    color: #FFFFFF;
}

.global-sp-header-nav img {
    max-width: 350px;
    margin: auto;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

@media screen and (max-width: 430px) {
    /* セクション */
    .global-sp-header-nav img {
        max-width: 200px;
    }
}

.wrapper>.content {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
}

.wrapper>section:last-child {
    margin-bottom: 0;
}

.wrapper>.title_bg,
.wrapper>.top_bg {
    margin: 80px auto 0;
    position: relative;
    z-index: 1;
}

body.top .wrapper>.title_bg,
body.top .wrapper>.top_bg {
    margin: 0 auto;
}

@media screen and (max-width: 780px) {
    .wrapper>.title_bg,
    .wrapper>.top_bg {
        margin: 60px auto 0;
    }
}

.wrapper>.title_bg {
    height: 0;
    padding-top: 30%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper>.title_bg:after {
    display: block;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.3);
}

.wrapper>.title_bg .page_title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wrapper>.title_bg .page_title h1,
.wrapper>.title_bg .page_title h2 {
    color: #000;
    font-size: 6.2vw;
    position: absolute;
    opacity: .7;
}

.wrapper>.title_bg .page_title h2 {
    top: 20%;
    left: 10%;
}

.wrapper>.title_bg .page_title h1 {
    top: 70%;
    right: 10%;
}

.wrapper>.title_bg.company_bg {
    background-image: url("img/company_slim.jpg");
}

.wrapper>.title_bg.contact_bg {
    background-image: url("img/contact_slim.jpg");
}

.wrapper>.title_bg.recruit_bg {
    background-image: url("img/recruit_slim.jpg");
}

.wrapper>.title_bg.entry_bg {
    background-image: url("img/entry_slim.jpg");
}

.wrapper>.title_bg.service_bg {
    background-image: url("img/service_slim.jpg");
}

.wrapper>.title_bg.other_bg {
    padding: 0;
    height: auto;
}

.wrapper>.title_bg.other_bg:after {
    display: none;
}

.wrapper>.top_bg {
    height: auto;
}


/*タイトル見出し共通*/

.head_test-wrap {
    width: 100%;
    margin: 0 auto;
}

.head_test {
    margin: 0;
    position: relative;
    font-weight: normal;
    margin: 3.6rem 0;
    font-size: 40px;
    border-bottom: #000 2px solid;
}

.head_test-point {
    font-size: 15px;
    margin-left: 5px;
}

.head_test p {
    margin: 0;
    line-height: 1.3;
    margin-left: 10px;
}


/* 会社理念 */

.mod_corporation {
    position: relative;
    width: 70%;
    border: 1px solid #295890;
    font-size: 2.4rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    margin-bottom: 6rem;
}

.mod_corporation span {
    display: block;
    position: absolute;
    left: 50%;
    padding: 0 40px;
    background: #fff;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

.mod_corporation p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 2em;
}

.idea {
    color: #295890;
    font-size: 20px;
    text-align: center;
    margin-bottom: 0.525em;
}

.philosophy {
    display: inline-block;
    color: #295890;
    font-size: 30pt;
    /* text-shadow: 1px 9px 2px rgba(41, 88, 144, 0.38); */
    margin: 1em auto 0.525em;
}

.philosophy_about {
    font-size: 18px;
    text-align: center;
    margin-bottom: 5em;
    font-weight: normal;
}


/*会社概要table*/

table.company {
    width: 80%;
    margin: 6rem auto;
    border-collapse: separate;
    border-spacing: 0px 10px;
    font-size: 16px;
}

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

table.company th {
    background: #295890;
    vertical-align: middle;
    text-align: center;
    width: 70px;
    overflow: visible;
    position: relative;
    color: #FFFFFF;
    font-size: 16px;
}

table.company th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #295890;
    border-width: 10px;
    margin-top: -10px;
}


/* firefox */

@-moz-document url-prefix() {
    table.company th::after {
        float: right;
        padding: 0;
        left: 30px;
        top: 10px;
        height: 0;
        width: 0;
        position: relative;
        pointer-events: none;
        border: 10px solid transparent;
        border-left: #295890 10px solid;
        margin-top: -10px;
    }
}

table.company td {
    background: #f8f8f8;
    width: 250px;
    padding-left: 20px;
}


/*Google　map*/

.ggmap {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-top: 40%;
    width: 700px;
    margin: 6rem auto;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* 新着情報 */

.headTest {
    border-bottom: solid 2px #000;
    font-size: 40px;
    position: relative;
    font-weight: normal;
    margin-bottom: 1.6rem;
    font-size: 40px;
}

.headTest p {
    margin: 0;
    margin-top: 12rem;
    line-height: 1.5;
    margin-left: 10px;
}

.content_wrap h2 {
    font-size: 16px;
}

.single_txt {
    font-size: 18px;
    margin: 50px auto;
}

@media screen and (max-width: 430px) {
    .single_txt {
        font-size: 15px;
        margin: 30px 5px;
    }
}

.single_txt p {
    margin: 1em auto;
    width: 100%;
}


/* プライバシーポリシー */

.privacy {
    width: 70%;
    margin: 0 auto;
}

.privacy h2 {
    font-size: 20px;
    padding: 0.25em 0.5em;
    color: #000;
    background: #e3e3e3;
    border-left: solid 5px #295890;
    margin-bottom: 1em;
    margin-top: 12rem;
}

.privacy p {
    font-size: 16px;
    margin-left: 2em;
}

.policy {
    font-size: 18px;
    margin: 15px 0 5px 0;
    padding-left: 15px;
}

.info_address {
    margin: 2em 0;
}


/* 404 */

.error_404 {
    padding-bottom: 80px;
}

@media screen and (max-width: 979px) {
    .error_404 {
        padding: 40px 0;
    }
}

.error_message {
    background: #e3e3e3;
    width: 70%;
    text-align: center;
    padding: 5em;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width: 979px) {
    .error_message {
        width: 100%;
    }
}

.error_message img {
    width: 400px;
    margin: 30px 0;
}

@media screen and (max-width: 780px) {
    .error_message img {
        width: 300px;
    }
}

.about404 {
    font-size: 1.6rem;
    text-align: center;
    margin: 20px 0;
    line-height: 1.5;
}

.error_message span {
    font-size: 16px;
    font-family: sans-serif;
}

.error_message span.error1 {
    font-size: 30px;
    font-weight: bold;
    color: #414040;
    font-family: serif;
}

.error_message span.error2 {
    font-size: 170px;
    font-weight: bold;
    color: #f0f0f0;
    text-shadow: 2px 3px 5px #858585;
    font-family: sans-serif;
}

@media screen and (max-width: 468px) {
    .error_message span.error2 {
        font-size: 110px;
        margin: 0 5px;
    }
    .error_message {
        padding: 30px
    }
}


/* TOPに戻る */

.topBtn {
    width: 300px;
    margin: 0 auto;
    background-color: #414040;
    border: 1px solid #414040;
    border-radius: 10px;
    transition: .4s;
}

.topBtn:hover {
    background-color: transparent;
}

.topBtn a {
    line-height: 40px;
    color: #FFF;
    display: block;
    text-align: center;
    font-size: 1.6rem;
}

.topBtn a:hover {
    color: #414040;
    transform: scale(1);
}

.table_contact {
    width: 100%;
    table-layout: fixed;
}

.table_contact th {
    line-height: 35px;
    width: 293px;
}

.table_contact th span {
    font-size: 1.6rem;
    font-size: 16px;
    font-weight: 600;
}

.table_contact td {
    padding-bottom: 34px;
}

.table_contact input {
    cursor: text;
    border-style: none;
}

.confirm_btn {
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    text-align: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.confirm_btn input {
    font-size: 17px;
    font-size: 1.7rem;
    display: block;
    width: 314px;
    height: 50px;
    margin: 10px 0 0 0;
    cursor: pointer;
    transition: all .4s;
    color: #fff;
    border: 1px solid #295890;
    border-radius: 10px;
    background-color: #295890;
    -webkit-appearance: none;
}

.confirm_btn input:focus {
    outline: none;
}

.confirm_btn .wpcf7c-btn-back {
    margin: 0 10px 0 0;
    border: 1px solid #ff3e309d;
    background-color: #ff3e309d;
    -webkit-appearance: none;
}

.confirm_btn .wpcf7c-btn-back:hover {
    color: #e8046d;
}

.confirm_btn .wpcf7-submit {
    margin: 0;
}

.confirm_btn input:hover {
    transition: all .4s;
    color: #295890;
    background-color: #fff;
}

div.wpcf7-mail-sent-ok {
    display: none !important;
}

textarea {
    width: 100%;
    resize: vertical;
    border: #b3b3b3 1px solid;
}

#contact_form tr {
    width: 100%;
    vertical-align: top;
    border-bottom: 1px #555 solid;
}

.wpcf7 .required {
    color: #f00;
}

.wpcf7 .wpcf7-not-valid {
    background: #ffb6c1;
}

.wpcf7-text:-webkit-autofill {
    box-shadow: 0 0 0 1000px #e3e3e3 inset;
}

.wpcf7c-conf:-webkit-autofill {
    box-shadow: 0 0 0 1000px #fff inset;
}

input.wpcf7c-conf,
textarea.wpcf7c-conf {
    padding: 0 0 0 17px;
    border: 0;
    background-color: #fff;
}

#submit_button .wpcf7c-force-hide+span::before {
    display: none;
    visibility: hidden;
}

#submit_button input+span::before {
    font-size: 16px;
    line-height: 30px;
    display: block;
    visibility: visible;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    content: 'å†…å®¹ã‚’ç¢ºèªã—ã¦é€ä¿¡ã‚’ã—ã¦ãã ã•ã„';
    color: black;
    border-radius: 10px;
    background-color: red;
}

div.wpcf7 .ajax-loader {
    display: none;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    display: none !important;
}

span.wpcf7-not-valid-tip {
    line-height: 1.5;
}

.form_spam {
    font-size: 16px;
    margin-bottom: 50px;
}


/* レスポンシブ対応 */

@media screen and (max-width: 1040px) {
    .wrapper>.content {
        max-width: none;
        padding: 0 20px;
    }
    .product_wrap {
        width: 32%;
    }
    .mod_corporation span {
        display: inline-block;
        position: absolute;
        top: -0.6em;
        margin: 0 auto;
        padding: 0px 13px;
        background: #fff;
        font-weight: bold;
    }
    .philosophy {
        display: inline-block;
        color: #295890;
        font-size: 20pt;
        margin: 1em auto;
    }
}

@media only screen and (max-width: 1024px) {
    .contact_wrap {
        padding: 60px 10px;
    }
    .table-res-form th,
    .table-res-form td {
        display: block;
        float: left;
        clear: both;
        width: 100%;
    }
    .table-res-form table,
    .table-res-form tbody,
    .table-res-form tr {
        display: block;
        width: 100%;
    }
    .contact_info p {
        font-size: 1.3rem;
        font-size: 15px;
        line-height: 3;
    }
    .telephone {
        font-size: 21px;
    }
    div.wpcf7 {
        padding-top: 30px;
    }
    .table_contact td {
        padding-bottom: 30px;
    }
    .table-res-form th {
        padding-bottom: 0;
        text-align: left;
    }
    .table-res-form .empty {
        display: none;
    }
    #contact_form strong {
        float: none;
        margin: 2.5px 13px 2.5px 13px;
    }
    #contact_form strong {
        font-size: 14px;
        padding: 0 5px 0 5px;
    }
    .confirm_title {
        font-size: 2.8rem;
        font-size: 28px;
    }
}

@media only screen and (max-width: 1220px) {
    .contact_wrap {
        max-width: none;
        padding: 90px 10px;
    }
    .wpcf7-form {
        margin: 0;
    }
    .confirm_btn input {
        width: 260px;
    }
    .confirm_title {
        font-size: 3rem;
        font-size: 30px;
    }
}

@media screen and (max-width: 780px) {
    .wrapper>.content {
        padding: 0 10px;
    }
    .ggmap {
        width: 100%;
        padding-top: 60%;
    }
    .head_test {
        font-size: 43px;
    }
    .contact_info {
        font-size: 22px;
    }
    .contact_info .tel_number {
        font-size: 32px;
        margin: 0 0 0 0.5em;
        line-height: 64px;
    }
    .cf7 dt {
        width: 100%;
    }
    .cf7 .rqd {
        float: right;
        margin-left: 0;
        margin-top: .2em;
    }
    .btn_cf7 input {
        width: 70%;
    }
    .tab_select {
        margin: 20px auto;
        display: flex;
    }
    .product_wrap {
        font-size: 17px;
        width: 50%;
    }
    .head_test p {
        margin: 0;
        line-height: 1.3;
        margin-top: 1em;
        margin-left: 0;
        font-size: 30px;
    }
    .bouhan1 {
        max-width: 170px;
        height: auto;
        margin-left: -35px;
    }
    .xerox1 img {
        max-width: 80px;
        height: auto;
        margin-left: 7px;
    }
    .muratec1 {
        margin-left: 15px;
    }
    .muratec3 {
        max-width: 70px;
        height: auto;
        margin-left: 15px;
    }
    .muratec4 {
        margin-left: 0px;
        max-width: initial;
    }
    .kyosera1 {
        margin: auto;
        max-height: 140px;
        margin-left: 10px;
    }
    .sakusa1 {
        max-width: 100px;
        margin-left: -5px;
    }
    .mod_corporation {
        position: relative;
        margin: auto;
        width: 80%;
    }
    .mod_corporation span {
        top: 0;
    }
    .headTest p {
        font-size: 30px;
    }
    .formBtn {
        width: 260px;
    }
    .formBtn a {
        font-size: 1.4rem;
    }
    .errorBtn {
        width: 260px;
    }
    .errorBtn a {
        font-size: 1.4rem;
    }
    .px_780 {
        display: inline;
    }
    .information .content_wrap h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .information .content_wrap p {
        font-size: 1.6rem;
    }
    .information .content_wrap p {
        font-size: 1.4rem;
    }
    table.company {
        width: 100%;
        display: block;
    }
    table.company tbody {
        display: block;
        width: 100%;
    }
    table.company tbody td,
    table.company tbody th {
        display: block;
        width: 100%;
        text-align: center;
    }
    table.company th:after {
        bottom: 100%;
        top: 100%;
        left: 50%;
        transform: rotate(45deg) translate(-25%, 25%);
        border: none;
        width: 15px;
        height: 15px;
        background-color: #295890;
    }
}

@media only screen and (max-width: 640px) {
    .contact_wrap {
        padding: 30px 10px;
    }
    .contact_info p {
        font-size: 1.2rem;
        font-size: 12px;
        line-height: 1.8;
    }
    .telephone {
        font-size: 18px;
    }
    div.wpcf7 {
        padding-top: 15px;
    }
    .table_contact th span {
        font-size: 1.4rem;
        font-size: 14px;
    }
    .confirm_btn input {
        font-size: 14px;
        width: 240px;
    }
    .table_contact td {
        padding-bottom: 20px;
    }
    .confirm_btn {
        flex-direction: column;
        -ms-flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
    }
    .confirm_btn .wpcf7c-btn-back {
        margin: 10px 0;
    }
    .confirm_btn .wpcf7-submit {
        margin: 0;
    }
    .confirm_title {
        font-size: 1rem;
        font-size: 10px;
    }
    .px_780 {
        display: none;
    }
    .nakayo1 {
        max-width: 100px;
        height: auto;
    }
    .privacy {
        width: 90%;
    }
}

@media screen and (max-width: 600px) {
    .bouhan1 {
        max-width: 140px;
        height: auto;
        margin-left: -30px;
    }
    .muratec3 {
        max-width: 70px;
        height: auto;
        margin-left: 8px;
    }
    .xerox1 img {
        max-width: 80px;
        height: auto;
        margin-left: -4px;
    }
    .sharp1 {
        max-width: 80px;
        height: auto;
        margin-left: 0px;
    }
    .sharp2 {
        max-width: 120px;
        height: auto;
        margin-bottom: 20px;
        margin-left: -20px;
    }
    .kyosera1 {
        margin: auto;
        margin-left: 0px;
    }
    .sakusa1 {
        max-width: 100px;
        margin-left: -15px;
    }
    .sharp11 {
        max-width: 160px;
        height: auto;
        margin-left: -40px;
    }
    .mod_corporation p {
        font-size: 14px;
        text-align: center;
        margin-bottom: 1em;
    }
    .mod_corporation {
        position: relative;
        width: 90%;
        margin: auto;
        border: 1px solid #295890;
        font-size: 2.4rem;
        text-align: center;
    }
    .error_message .error1 {
        font-size: 20px;
    }
    .error_message .error2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .muratec1 {
        margin-left: 0px;
        max-width: initial;
        height: auto;
    }
    .sharp1 {
        max-width: 85px;
        height: auto;
        margin-left: 0px;
    }
    .muratec3 {
        max-width: 69px;
        height: auto;
        margin-left: 0px;
    }
    .xerox1 img {
        max-width: 80px;
        height: auto;
        margin-left: -15px;
    }
    .muratec4 {
        margin-left: -20px;
        max-width: initial;
    }
    .philosophy {
        font-size: 18pt;
    }
    .privacy p {
        font-size: 12px;
    }
}

@media screen and (max-width: 430px) {
    .wrapper>.content {
        padding: 0 5px;
    }
    a.tabButton {
        font-size: 14px;
    }
    .ggmap {
        width: 100%;
        padding-top: 77%;
    }
    table.company {
        display: block;
        font-size: 12px;
        margin: 2rem auto;
    }
    table.company th,
    table.company td {
        display: block;
    }
    table.company th {
        width: 250px;
    }
    .head_test-wrap {
        font-size: 24px;
    }
    .head_test {
        font-size: 36px;
    }
    .head_test p {
        margin: 0;
        line-height: 1.3;
        margin-top: 1em;
    }
    .information .content_wrap h2 {
        text-align: center;
        font-size: 1.4rem;
    }
    .headTest p {
        font-size: 20px;
    }
    .contact_info {
        font-size: 13px;
    }
    .contact_info .tel_number {
        font-size: 28px;
        margin: 0 0 0 0.5em;
        line-height: 64px;
    }
    h3.recruit_about {
        padding: 1em 2.5em;
        display: inline-block;
        font-size: 12px;
    }
    ul.cp_list li {
        font-size: 12px;
    }
    table.recruit_info th {
        width: 30%;
    }
    table.recruit_info td {
        width: 70%;
    }
    table.recruit_info th,
    table.recruit_info td {
        font-size: 12px;
    }
    .tab_select {
        width: 100%;
        margin: 10px auto;
        display: flex;
    }
    .products_list>li .txt_wrap>p>span {
        font-size: 14px;
    }
    .products_list>li .img_wrap {
        width: 90%;
        margin: 4px 2px 5px 23px;
    }
    .product_wrap {
        font-size: 17px;
        width: 80%;
    }
    .sharp2 {
        max-width: 85px;
        height: auto;
        margin-bottom: 20px;
        margin-left: -5px;
    }
    .kyosera1 {
        margin: auto;
        max-height: 122px;
    }
    .canon1 {
        max-height: 120px;
        width: auto;
        margin-left: 0px;
    }
    .nakayo1 {
        margin-left: -24px;
    }
    .bouhan1 {
        margin: auto;
        max-width: 94px;
        height: auto;
        margin-left: -30px;
    }
    .sharp11 {
        max-width: 120px;
        height: auto;
        margin-left: -30px;
    }
    .product_info {
        position: relative;
        padding: 5px 5px 5px 42px;
        background: #77c3df;
        font-size: 20px;
        color: white;
        margin-left: -22px;
        line-height: 1.3;
        z-index: -1;
    }
    .head_test p {
        margin: 0;
        line-height: 1.3;
        margin-top: 1em;
        margin-left: 0;
    }
    .idea {
        color: #295890;
        font-size: 18px;
    }
    .mod_corporation {
        position: relative;
        margin: 0 auto;
        border: 1px solid #295890;
        font-size: 1.6rem;
        width: 100%;
    }
    .philosophy {
        font-size: 16pt;
    }
    .mod_corporation p {
        font-size: 12px;
    }
    .mod_corporation span {
        padding: 0px 30px;
    }
    .product_about {
        font-size: 11px;
        text-align: end;
    }
    .news_list {
        width: 100%;
        padding: 10px 0;
    }
    .news_list .newsdate,
    .news_list .newstitle {
        display: block;
        text-align: center;
        float: none;
        margin: 0;
        padding: 0;
        width: 100%;
        font-size: 15px;
    }
    .infolist .newslist {
        padding: 20px 0;
        display: block;
    }
    .newsimg {
        margin: 5px 0;
    }
}

.scrollFade.on {
    opacity: 1;
}

.header {
    position: relative;
    z-index: 10;
}

.header_logo {
    width: 133px;
    position: fixed;
    top: 34px;
    left: 3.6%;
    z-index: 11;
}

.header_logo a,
.gNavBtn {
    transition: opacity 0.3s;
}

.gNavBtn {
    display: block;
    width: 30px;
    padding: 10px 0;
    position: fixed;
    top: 34px;
    right: 3.6%;
    z-index: 11;
    cursor: pointer;
}

.gNavBtn span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #000;
    transition: 0.3s;
}

.gNavBtn.white span,
.gNavBtn.active span {
    background-color: #FFF;
}

.gNavBtn span+span {
    margin-top: 8px;
}

.gNav {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background: #252526;
    color: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0s 0.3s, opacity 0.3s 0s;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gNav_sns a {
    display: inline-block;
    margin-bottom: 10px;
    line-height: 1;
}

.homeMv {
    position: relative;
    overflow: hidden;
}

.lyMv {
    display: block;
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .img2 {
        width: 50%;
        float: left;
    }
}

@media screen and (min-width: 1560px) {
    .topimg img {
        width: 100%;
        height: 100vh;
    }
}

.topimg_sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .topimg_sp {
        display: block;
    }
    .topimg,
    .img2 {
        display: none;
    }
}

@media screen and (max-width: 430px) {
    .lyMv {
        height: 100%;
        /* padding-top: 70px; */
        z-index: -1;
    }
}

.ly_verticalBox {
    padding: 110px 0 115px;
}

@media screen and (max-width: 430px) {
    .ly_verticalBox {
        padding: 30px;
    }
}

.homeMv_textBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 685px;
    padding-bottom: 50px;
    font-size: 2.9rem;
    line-height: 2;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    position: relative;
    z-index: 3;
    pointer-events: none;
}

@media screen and (max-width: 1300px) {
    .homeMv_textBox {
        font-size: 2.6rem;
    }
}

@media screen and (max-width: 1200px) {
    .homeMv_textBox {
        justify-content: end;
        flex-direction: inherit;
        writing-mode: inherit
    }
}

@media screen and (max-width: 979px) {
    .homeMv_textBox {
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 680px) {
    .homeMv_textBox {
        padding-bottom: 175px;
    }
}

@media screen and (max-width: 780px) {
    .homeMv_textBox {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 430px) {
    .homeMv_textBox {
        font-size: 1.5rem;
        line-height: 1.5;
    }
}

.homeMovetext_jp,
.homeMovetext_en {
    background-color: rgba(255, 255, 255, 0.6);
    height: fit-content;
}

@media screen and (max-width: 1200px) {
    .homeMovetext_en {
        display: none;
    }
}

.homeimg {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 979px) {
    .homeimg {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        transform: inherit;
    }
}

.gNav_container {
    padding: 0 75px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    clear: both;
    background-color: #fff;
}

.inner02 {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    clear: both;
}

@media screen and (max-width: 1300px) {
    .inner {
        max-width: 1000px;
    }
}

@media screen and (max-width: 430px) {
    .inner {
        width: 100%;
        padding-top: 30px;
    }
}

.gNav_primary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 70%;
}

.font_kosakigake {
    font-family: "ＫＯさきがけ龍爪Ｍ", serif;
    font-weight: normal;
}

.gNav_primary li.fade,
.gNav_sns.fade,
.gNav_copyright.fade,
.gNav_privacy.fade {
    transform: translateY(10px);
    opacity: 0;
    transition: 0.3s 0s;
}

.gNav_primary li:nth-child(1) {
    transition-delay: 0s;
}

.gNav_primary li,
.gNav_sns,
.gNav_copyright,
.gNav_privacy {
    transition: transform 0.4s, opacity 0.4s;
}

.gNav_primary a {
    display: inline-block;
    color: #FFF;
    font-size: 2.45rem;
}

@media screen and (min-width: 768px) {
    .hover_opacity a {
        transition: opacity 0.3s;
    }
}

.gNav_secondary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 110px;
}

.sp {
    display: none;
}

.homeBg01 {
    background-image: url("img/back.jpg");
    max-width: 80%;
    margin: 0 auto;
}

@media screen and (max-width: 797px) {
    .homeBg01 {
        max-width: 100%;
    }
}

.homeBg02 {
    background-image: url("img/ikarugaback.png");
    opacity: 0.2;
}

.homeBg03 {
    background-image: url("img/works.jpg");
    opacity: 0.2;
}

.homeBg04 {
    background-image: url("img/backlogo.png");
    opacity: 0.2;
}

.homeBg01 {
    width: 100%;
    height: 384px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media screen and (max-width: 430px) {
    .homeBg01 {
        height: 210px;
    }
}

.homeBg02 {
    width: 100%;
    height: 600px;
    background-position: right;
    background-size: auto;
    background-repeat: no-repeat;
    position: absolute;
    right: 70px;
}

.homeBg03 {
    width: 100%;
    height: 600px;
    background-position: center center;
    background-size: auto;
    background-repeat: no-repeat;
    position: absolute;
}

.homeBg04 {
    width: 100%;
    height: 600px;
    background-position: center top;
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
    bottom: 10%;
    left: 32%;
}

.ly_verticalBox_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ly_verticalBox_Container {
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 1200px) {
    .ly_verticalBox_Container:nth-child(2n) .ly_verticalBox_textBox {
        display: inline-block;
        padding: 0 30px;
        top: -100px;
        position: relative;
    }
}

@media screen and (max-width: 768px) {
    .ly_verticalBox_Container:nth-child(2n) .ly_verticalBox_textBox {
        top: 0
    }
}

@media screen and (max-width: 430px) {
    .ly_verticalBox_Container:nth-child(2n) .ly_verticalBox_textBox {
        padding: 0 5px;
    }
}

.Ly_verticalBox_container {
    display: flex;
    align-items: center;
}

.ly_verticalBox_ttl {
    font-size: 3.1rem;
    line-height: 1.625;
}

.ly_verticalBox_ttlBox,
.ly_verticalBox_textBox {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    ;
}

@media screen and (max-width:1200px) {
    .ly_verticalBox_ttlBox,
    .ly_verticalBox_textBox {
        writing-mode: inherit;
    }
    .ly_verticalBox_Container {
        display: block;
    }
}

.textcenter {
    font-size: 1.9rem;
    line-height: 2;
    font-weight: 400;
    text-align: center;
    padding: 40px 5px;
}

@media screen and (max-width:780px) {
    .textcenter {
        font-size: 1.6rem;
    }
}

@media screen and (max-width:428px) {
    .textcenter {
        font-size: 1.5rem;
    }
}

.ttlcenter {
    margin: 0 auto;
    max-width: 1200px;
    font-size: 2.6rem;
    text-align: center;
    font-weight: 500;
}

.circle {
    background-image: url(img/back-s.png);
    width: 100%;
    height: 600px;
    background-position: center top;
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
    top: 13%;
    left: 22%;
}

@media screen and (max-width: 1148px) {
    .circle {
        top: 11%;
        left: 10%;
    }
}

@media screen and (max-width: 768px) {
    .circle {
        display: none;
    }
}


/*     
    @media screen and (max-width: 780px) {
        .ttlcenter {
            padding: 40px 0;
        }
    }
     */

@media screen and (max-width: 430px) {
    .ttlcenter {
        padding: 10px 5px;
    }
}

@media screen and (max-width: 768px) {
    .ly_verticalBox_ttl {
        font-size: 2.2rem;
        line-height: 1.5;
        text-align: center;
    }
}

.ly_verticalBox_subTtl {
    display: block;
    color: #999DA0;
    font-size: 1.54rem;
    line-height: 2;
    margin-right: 65px;
}

@media screen and (max-width: 768px) {
    .ly_verticalBox_subTtl {
        margin-right: 15px;
        text-align: center;
    }
}

.font_garamond {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
}

.ly_verticalBox_textBox {
    font-size: 19px;
    line-height: 2.5;
    font-weight: 400;
    text-align: center;
    padding-top: 30px;
    margin: 20px auto;
}

@media screen and (max-width: 960px) {
    .ly_verticalBox_textBox {
        line-height: 2;
        font-size: 1.8rem;
    }
}

@media screen and (min-width:768px) and (max-width: 1200px) {
    .ly_verticalBox_textBox {
        position: relative;
        top: -130px;
        padding: 0 20px;
        float: left;
    }
}

@media screen and (max-width: 768px) {
    .ly_verticalBox_textBox {
        font-size: 1.6rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 430px) {
    .ly_verticalBox_textBox {
        font-size: 1.5rem;
        line-height: 2;
    }
}

.ly_verticalBox_textBox h2 {
    font-size: 1.8rem;
}

@media screen and (max-width: 768px) {
    .ly_verticalBox_textBox p {
        font-size: 1.6rem;
        text-align: center;
    }
}

@media screen and (max-width: 430px) {
    .ly_verticalBox_textBox p {
        font-size: 1.5rem;
        text-align: center;
        line-height: 1.6;
    }
}

.page_logo {
    display: none;
}

@media screen and (max-width: 1200px) {
    .pc {
        display: none;
    }
    .sp {
        display: inline-block;
    }
}

@media screen and (max-width: 979px) {
    .page_logo {
        display: block;
        width: 100%;
        margin: 0 auto 30px;
        text-align: center;
    }
    .page_logo img {
        max-width: 200px;
    }
}

@media screen and (min-width: 1200px) {
    .Pend {
        text-align: end;
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .Pend {
        font-size: 1.6rem;
    }
}

.homeClossLy {
    padding: 105px 20px 110px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .homeClossLy {
        width: 100%;
        max-width: 1700px;
    }
}

.vertical {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
}

@media screen and (max-width: 768px) {
    .vertical {
        writing-mode: inherit;
    }
}

.Top_box img {
    max-width: 800px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .Top_box img {
        padding-top: 70px;
    }
}

.Top_box {
    margin: 0 auto 70px;
    text-align: center;
}

.header_logo a:hover,
.gNavBtn:hover {
    opacity: 0.7;
}

.homeimg {
    opacity: 0;
}

.img-animation {
    animation: img-opacity 2s cubic-bezier(.4, 0, .2, 1)forwards;
    overflow: hidden;
}

@media screen and (max-width: 1550px) {
    .img-animation {
        width: 80%;
        text-align: center;
    }
}

@media screen and (max-width: 979px) {
    .img-animation {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .img-animation {
        padding-top: 100px;
    }
}

@media screen and (max-width: 430px) {
    .img-animation {
        padding-top: 90px;
    }
}

.img-animation:before {
    animation: img-animation 2s cubic-bezier(.4, 0, .2, 1) forwards;
    background: #fff;
    bottom: 0;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

@keyframes img-opacity {
    100% {
        opacity: 1;
    }
}

@keyframes img-animation {
    100% {
        transform: translateX(100%);
    }
}

.footer {
    padding: 90px 0 100px;
    background-color: #29323c;
    color: #FFF;
    /* position: absolute;
    bottom: 0;
    width: 100%; */
}

@media screen and (max-width: 767px) {
    .footer {
        padding: 50px 0;
    }
}

@media screen and (max-width: 430px) {
    .footer {
        padding: 50px 0 0;
    }
}

.footer_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 5px;
    padding: 0 30px;
    background-color: #29323c;
}

@media screen and (min-width: 768px) {
    .footer_container {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .footer_container {
        /* display: block; */
        padding-left: 0;
    }
}

.footer_nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1.9rem;
    padding-left: 30px;
}

@media screen and (max-width: 768px) {
    .footer_nav {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 430px) {
    .footer_nav {
        font-size: 1.6rem;
    }
}

.footer_nav ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% - 100px);
    max-width: 400px;
}

@media screen and (max-width: 767px) {
    .footer_nav ul {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 430px) {
    .footer_nav ul {
        margin-bottom: 47px;
    }
}

@media screen and (max-width: 767px) {
    .footer_nav li+li {
        margin: 10px 0;
        width: max-content;
    }
}

.footer_nav_home {
    padding-left: 37%;
}

@media screen and (max-width: 960px) {
    .footer_nav_home {
        padding-left: 15%;
    }
}

@media screen and (max-width: 767px) {
    .footer_nav_home {
        padding-left: 0;
        margin-bottom: 47px;
    }
}

.footer_nav a {
    display: inline-block;
}

.footer_sns img {
    width: 50px;
}

.footer_sns a {
    margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
    .footer_sns a {
        margin-bottom: 0;
        margin-right: 10px;
    }
}

@media screen and (max-width: 767px) {
    .footer_sns {
        margin: 55px 0 25px;
    }
}

@media screen and (max-width: 767px) {
    .footer_sns img {
        width: 23px;
    }
}

.footer a {
    color: #FFF;
}

.footer_privacy {
    font-size: 1.32rem;
    padding-top: 20px;
}

@media screen and (max-width: 767px) {
    .footer_copyright,
    .footer_privacy {
        padding-top: 0px;
    }
}

@media screen and (min-width: 768px) {
    .hover_opacity a {
        transition: opacity 0.3s;
    }
}

.footer_copyright,
.footer_privacy {
    font-size: 1.3rem;
}

.footer_p_c {
    text-align: center;
}

.othertop {
    padding-top: 80px;
}

.ly_rightPageTtl {
    display: none;
}

@media screen and (max-width: 979px) {
    .ly_rightPageTtl {
        display: block;
        width: 30px;
        font-family: "ＫＯさきがけ龍爪Ｍ", serif;
        font-weight: normal;
        font-size: 1.92rem;
        position: absolute;
        top: 115px;
        right: 20px;
    }
    .ly_vcTextJp {
        display: flex;
        flex-direction: column;
        font-family: "ＫＯさきがけ龍爪Ｍ", serif;
        font-weight: normal;
        line-height: 1.1;
        text-align: center;
    }
    .ly_rightPageTtl_en {
        display: inline-block;
        padding-top: 20px;
        color: #999DA0;
        font-family: 'EB Garamond', serif;
        font-weight: 400;
        font-size: 1.32rem;
        letter-spacing: 0.025em;
        writing-mode: vertical-rl;
        -webkit-writing-mode: vertical-rl;
        -moz-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        -ms-writing-mode: vertical-rl;
        line-height: 30px;
    }
}

@media screen and (max-width: 430px) {
    .ly_vcTextJp {
        font-size: 16px;
    }
    .ly_rightPageTtl {
        top: 70px;
    }
}

.contact_container {
    padding-top: 188px;
    font-size: 1.6rem;
}

.pagettl {
    font-size: 2.25rem;
    text-align: center;
}

.Hishi {
    width: 30px;
    height: 30px;
    background: #cd482e;
    transform: rotate(45deg);
    margin: 10px auto 20px;
}


/* @media screen and (max-width: 430px) {
        .Hishi {
            width: 20px;
            height: 20px;
            margin: 5px auto 0;
        }
    } */

.hishi {
    width: 15px;
    height: 15px;
    margin: 10px auto 10px;
    background: #C7B994;
    transform: rotate(45deg)
}

@media screen and (max-width: 430px) {
    .hishi {
        margin: 0 auto 5px;
    }
}

.Ver {
    position: relative;
    top: 33%;
}

.ttlBox_sp {}

.ttlBox_sp>.ly_verticalBox_ttlBox {
    display: none;
}

@media screen and (max-width: 1200px) {
    .ttlBox_sp>.ly_verticalBox_ttlBox {
        display: inline-block;
        padding-top: 20%;
    }
    .ttlBox_pc>.ly_verticalBox_ttlBox {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .ttlBox_sp>.ly_verticalBox_ttlBox {
        padding-top: 0;
    }
}

.img_wrap {
    position: relative;
    text-align: right;
}

.img_wrap img {
    margin: 20px 0;
}

.img_wrap_i {
    position: absolute;
    top: -300px;
    right: 80px;
}

@media screen and (max-width: 768px) {
    .img_wrap_i {
        width: 50%;
    }
}

@media screen and (max-width: 430px) {
    .img_wrap_i {
        right: 10px;
    }
}

.tbl_wrap {
    width: 100%;
    text-align: center;
    margin: 30px auto 0;
}

@media screen and (max-width: 780px) {
    .tbl_wrap {
        width: 80%;
    }
}

@media screen and (max-width: 780px) {
    .tbl_wrap {
        margin: 30px auto;
    }
}

.box_last {
    padding-bottom: 40px;
}

.main_about {
    max-width: 1800px;
}

@media screen and (max-width: 768px) {
    .main_about {
        display: block;
    }
}


/*     
    .top_back {
        display: flex;
    }
     */


/* .index_contents {
       
        background-image: url(img/top_back.png);
        background-size: 100%;
    } */

figcaption {
    font-size: 13px;
}

.wp-element-caption {
    text-align: end;
}

.maintxt_wrap {
    position: relative;
    top: -200px;
    padding-left: 160px;
}

@media screen and (max-width: 768px) {
    .maintxt_wrap {
        top: 15px;
        padding-left: 40px;
    }
}

@media screen and (max-width: 430px) {
    .maintxt_wrap {
        text-align: center;
    }
}

.rinen {
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.8;
}

@media screen and (max-width: 840px) {
    .rinen {
        font-size: 4rem;
    }
    .maintxt_wrap {
        top: -80px;
        padding-left: 80px;
    }
}

@media screen and (max-width: 594px) {
    .rinen {
        font-size: 3.2rem;
    }
    .maintxt_wrap {
        padding-left: 30px;
    }
}

@media screen and (max-width: 430px) {
    .rinen {
        font-size: 2.2rem;
    }
    .maintxt_wrap {
        top: 0;
    }
}


/* table01 */

#table01 {
    margin: 20px auto 0;
    width: 50%;
    font-size: 1.65rem;
    letter-spacing: 2px;
}

@media screen and (max-width: 780px) {
    #table01 {
        width: 70%;
    }
}

@media screen and (max-width: 430px) {
    #table01 {
        width: 90%;
    }
}

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

#table01 th,
#table01 td {
    padding: 24px 0;
    border: none;
}

#table01 td {
    text-align: left;
}

#table01 th {
    width: 30%;
}


/* sp */

@media only screen and (max-width: 480px) {
    #table01 th,
    #table01 td {
        width: 100%;
        display: block;
    }
    #table01 th {
        width: 100%;
    }
    #table01 td {
        padding-top: 0;
    }
}

figure {
    margin: 0 0 5em;
}

@media screen and (max-width: 430px) {
    figure {
        margin: 0;
    }
}


/* book */

.booklist {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 25px 40px;
}

.booklist_sec:nth-of-type(odd) {
    padding-right: 55px;
}

.scrollFadeBottom.on {
    opacity: 1;
    transform: translateY(0);
}

.booklist_sec {
    display: flex;
    align-items: center;
    max-width: 1115px;
}

.booklist_image {
    max-width: 300px;
}

@media screen and (max-width: 767px) {
    .booklist_image {
        /* position: relative;
        overflow: hidden;
        padding-top: 61.4%; */
        width: 100%;
        margin: 0 auto;
    }
    .booklist_sec {
        display: block;
    }
    .booklist_image img {
        width: 100%;
        height: 100%;
        /* object-fit: contain;
        position: absolute;
        top: 0;
        left: 0; */
    }
}

@media screen and (max-width: 430px) {
    .booklist_image {
        max-width: 360px;
    }
}

.booklist_sec:nth-of-type(even) {
    padding-left: 55px;
}

@media screen and (max-width: 767px) {
    .booklist_sec:nth-of-type(odd) {
        padding-right: 0;
    }
    .booklist_sec:nth-of-type(even) {
        padding-left: 0;
    }
    .booklist_image {
        width: 100%;
    }
}

.booklist_sec:nth-of-type(even) {
    flex-direction: row-reverse;
    margin-left: auto;
}

.booklist_sec:nth-of-type(odd) .booklist_contBox {
    padding-left: 4.8%;
}

@media screen and (max-width: 767px) {
    .booklist_sec:nth-of-type(odd) .booklist_contBox {
        padding: 0;
    }
}

.booklist_sec+.booklist_sec {
    margin-top: 105px;
}

@media screen and (max-width: 767px) {
    .booklist_sec+.booklist_sec {
        margin-top: 75px;
    }
}

.booklist_contBox {
    width: 50%;
    padding-bottom: 9px;
}

@media screen and (max-width: 767px) {
    .booklist_contBox {
        width: 84%;
        padding-top: 23px;
        padding-bottom: 0;
    }
}

.ly_secTtl {
    font-family: "ＫＯさきがけ龍爪Ｍ", serif;
    font-size: 2.6rem;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    .ly_secTtl {
        margin-top: 20px;
    }
}

@media screen and (max-width: 430px) {
    .booklist_contBox {
        width: 100%;
    }
    .ly_secTtl {
        font-size: 2rem;
    }
}

.booklist_ttl span {
    display: block;
    padding-top: 1px;
    padding-left: 0;
}

.booklist_textBox {
    max-width: 600px;
    padding-top: 10%;
    margin-left: 20px;
    font-size: 1.65em;
    font-weight: 400;
}

@media screen and (max-width: 767px) {
    .booklist_textBox {
        max-width: 100%;
        padding-top: 20px;
        padding-left: 0;
    }
}

@media screen and (max-width: 430px) {
    .booklist_textBox {
        margin-left: 10px;
    }
    .booklist_textBox p {
        font-size: 15px;
    }
}

.booklist_textBox .viewBtn {
    margin-top: 25px;
}

@media screen and (max-width: 767px) {
    .booklist_textBox .viewBtn {
        margin-top: 15px;
    }
}

.viewBtn a {
    /* display: inline-block; */
    text-decoration: none;
    width: 168px;
    position: relative;
}

.viewBtn a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0;
    height: 1.5px;
    /*下線の太さ*/
    background-color: #555;
    /*下線の色*/
    transition: .3s;
    /*アニメーション速度*/
}

.viewBtn a:hover:after,
.viewBtn a:hover::after {
    width: 100%;
}

.txt_wrap {
    margin: 60px auto;
}

.txt_wrap p {
    font-size: 1.85rem;
    text-align: center;
}

@media screen and (max-width: 430px) {
    .txt_wrap {
        margin: 30px 0;
    }
    .txt_wrap p {
        font-size: 1.6rem;
    }
}

.tel_wrap {
    border: #797979 1px solid;
    margin: 20px auto;
    padding: 20px 0 30px;
}

.tel_info {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.tel_box {
    width: 50%;
    margin: 20px;
}

.tel_wrap h3 {
    font-size: 22px;
    color: #555;
    text-align: center;
    margin-top: 30px;
}

.tel_info p {
    font-size: 1.8rem;
    color: #a68f54;
}

.tel_info a {
    color: #555;
    font-size: 2.6rem;
    font-weight: bold;
    margin-left: 2rem;
}

.tel_info p.fax {
    color: #555;
    font-size: 2.6rem;
    font-weight: bold;
}

.tel_info a.tel_number,
.tel_info p.fax {
    margin-left: 2rem;
}

.tel_info p.tel {
    color: #555;
    font-size: 1.5rem;
    margin-left: 2rem;
}

@media screen and (max-width: 780px) {
    .tel_info a,
    .tel_info a.tel_number,
    .tel_info p.fax,
    .tel_info p.tel {
        margin-left: 0;
    }
    .tel_info p.name {
        padding-top: 20px;
    }
}

@media screen and (max-width: 780px) {
    .top_wrap img {
        width: 80%;
    }
    .tel_info {
        display: block;
    }
    .tel_wrap h3 {
        font-size: 2rem;
        text-align: center;
    }
    .tel_info a,
    .tel_info p.fax {
        font-size: 2rem;
    }
    .tel_info p {
        text-align: center;
    }
    .tel_box {
        width: 80%;
        padding: 0;
        margin: 20px auto;
        text-align: center;
    }
}

@media screen and (max-width: 430px) {
    .tel_box {
        width: 95%;
    }
}

.tel_info a:hover {
    color: #498ee0;
}

.info_link {
    text-align: center;
    padding: 20px 0;
}

.info_link p {
    margin-bottom: 5px;
    font-weight: 600;
    color: #6bb6ff;
    letter-spacing: 0.04rem;
    display: inline-block;
    position: relative;
    font-size: 2.2rem;
}

.info_link p:before,
.info_link p:after {
    display: inline-block;
    position: absolute;
    top: 45%;
    width: 20px;
    height: 3px;
    border-radius: 5px;
    background-color: #6bb6ff;
    content: "";
}

.info_link p:before {
    left: -30px;
    -webkit-transform: rotate(50deg);
    transform: rotate(50deg);
}

.info_link p:after {
    right: -30px;
    -webkit-transform: rotate(-50deg);
    transform: rotate(-50deg);
}

.info_link a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-size: 18px;
    background: #6bb6ff;
    filter: drop-shadow(0px 2px 4px #ccc);
    border-radius: 3px;
}

.info_link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}

@media screen and (max-width: 430px) {
    .info_link p {
        font-size: 2rem;
    }
    .info_link a {
        font-size: 1.8rem;
    }
}

.ggmap_map {
    padding: 0 0 20px 0;
}

.contact-sec p {
    font-size: 1.8rem;
    margin: 30px auto;
    text-align: center;
    line-height: 2;
}

.contact-sec p span {
    font-size: 2.4rem;
}

@media screen and (max-width: 600px) {
    .contact-sec p {
        font-size: 14px;
    }
}

@media screen and (max-width: 430px) {
    .contact-sec p {
        padding-top: 30px;
    }
    .contact-sec p span {
        font-size: 2.2rem;
    }
}


/* コンタクトフォーム */


/************************************
** Contact form 7 CSSカスタマイズ
************************************/


/* 入力欄全体の設定 */

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea {
    display: block;
    width: 100%;
    height: 45px;
    margin-bottom: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 3px;
    box-shadow: none;
    color: #5c6b80;
    font-size: 1.3em;
    vertical-align: middle;
    line-height: 45px;
    transition: background-color 0.24s ease-in-out;
}


/* テキストエリアの設定 */

table.CF7_table textarea {
    resize: vertical;
    max-width: 100%;
    min-height: 300px;
    line-height: 1.5em;
    padding: 1.5em 1em;
    overflow: auto;
    font-size: 1.3rem;
}


/* table */

table.CF7_table {
    width: 100%;
    margin: 30px auto;
    border: none !important;
}

table.CF7_table th {
    width: 30%;
    background-color: #F6F8F8;
    font-size: 15px;
    padding: 1.5em;
}

.formtxt {
    vertical-align: inherit !important;
    padding-top: 40px !important;
}


/* 背景を削除 */

table.CF7_table tr,
table.CF7_table th,
table.CF7_table td {
    padding: 20px;
    background: none !important;
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    table.CF7_table tr,
    table.CF7_table th,
    table.CF7_table td {
        padding: 0;
    }
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
    display: table;
}

.CF7_table ::placeholder {
    color: #797979;
}


/*「必須」文字*/

.CF7_req {
    font-size: .9em;
    padding: 4px 7px;
    background: #cd482e;
    color: #fff;
    border-radius: 3px;
    margin-right: 1em;
}


/*「任意」文字*/

.CF7_unreq {
    font-size: .9em;
    padding: 4px 7px;
    background: #bdbdbd;
    color: #fff;
    border-radius: 3px;
    margin-right: 1em;
}

.wpcf7-list-item-label {
    font-size: 16px;
}


/* レスポンシブ */

@media screen and (max-width: 768px) {
    table.CF7_table {
        width: 90%;
    }
    .CF7_table tr,
    .CF7_table td,
    .CF7_table th {
        display: block;
        width: 100% !important;
        line-height: 2.5em;
    }
    .CF7_table th {
        background-color: #F6F8F8;
    }
}


/* 「送信する」ボタン */

.wpcf7 input.wpcf7-submit {
    background-color: #C7B994;
    border: 2px solid #C7B994;
    color: #fff;
    font-size: 1.6em;
    margin: 0 auto;
    padding: 15px 30px;
    transition: all 0.5s 0s ease;
}

@media screen and (max-width: 430px) {
    .wpcf7 input.wpcf7-submit {
        font-size: 1.5em;
        padding: 10px 20px;
    }
}

.wpcf7 input.wpcf7-submit:hover {
    background: #fff;
    color: #C7B994;
}

.CF7_btn {
    text-align: center;
    margin: 20px;
}

.wpcf7-spinner {
    width: 0;
    margin: 0;
}

.form_box p {
    text-align: center;
    font-size: 1.2rem;
}

.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
    font-family: "ＫＯさきがけ龍爪Ｍ", serif;
}


/* サンクスpage */

.thanks_container {
    background-image: url(img/thanks.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    margin: 70px auto;
}

.thanks {
    text-align: center;
}

.thanks_message {
    font-weight: bold;
    color: #036;
    font-size: 2.6em;
}

.thk_msg p {
    font-size: 18px;
    text-align: center;
    margin: 50px auto;
    line-height: 2.5;
}


/* プライバシーポリシー */

.privacy {
    width: 70%;
    margin: 0 auto;
}

.privacypolicy {
    padding-top: 170px;
}

.privacy h2 {
    font-size: 20px;
    padding: 0.25em 0.5em;
    color: #000;
    background: #e3e3e3;
    border-left: solid 5px #298562;
    margin-bottom: 1em;
    margin-top: 2rem;
}

.privacy p {
    font-size: 16px;
    margin-left: 2em;
}

.policy {
    font-size: 18px;
    margin: 15px 0 5px 0;
    padding-left: 15px;
}

.info_address {
    margin: 2em 0;
}

@media screen and (max-width: 780px) {
    .privacypolicy {
        padding-top: 100px;
    }
    .privacy {
        width: 90%;
    }
}

@media screen and (max-width: 430px) {
    .privacy {
        width: 95%;
    }
    .privacy h2 {
        font-size: 18px;
    }
    .privacy p {
        font-size: 14px;
    }
    .policy {
        font-size: 16px;
    }
}

.ttl_wrap_sub,
.post_ttl {
    border-left: 9px solid #333;
    border-bottom: 1px solid #000;
    padding: 5px;
    margin: 15px 0;
    font-size: 20px;
}

@media screen and (max-width: 414px) {
    .ttl_wrap_sub,
    .post_ttl {
        font-size: 18px;
    }
}

.content_workslist {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 5% auto;
}

.works-block {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    flex-wrap: wrap;
}

.works_img_wrap {
    max-width: 400px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    padding: 5px;
    border-radius: 3px;
}


/* .works_img_wrap:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    border: none;
    border-bottom: 5px solid #7884dd;
    transition: 0.5s;
} */

.works_image img {
    max-width: 400px;
    width: 100%;
    height: 300px;
}

.works_title {
    font-size: 14px;
    background: #fff;
}

.imgbtn {
    overflow: hidden;
    position: relative;
    display: inline-block;
    font-size: 1.95rem;
}

.imgbtn::before,
.imgbtn::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
}

.imgbtn::before {
    background-color: #54b3d6;
    height: 2px;
    bottom: 0;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(0.91, 0, 0.24, 1);
}

.imgbtn::after {
    content: attr(data-replace);
    height: 100%;
    top: 0;
    transform-origin: 100% 50%;
    transform: translate3d(200%, 0, 0);
    transition: transform .3s cubic-bezier(0.91, 0, 0.24, 1);
    color: #54b3d6;
}

.imgbtn:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

.imgbtn:hover::after {
    transform: translate3d(0, 0, 0);
}

.imgbtn span {
    display: inline-block;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.imgbtn:hover span {
    transform: translate3d(-200%, 0, 0);
}

.topbtn {
    text-align: center;
    margin: 20px 0;
}

.btn,
a.btn,
button.btn {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

a.btn-flat {
    overflow: hidden;
    padding: 1.5rem 6rem;
    color: #fff;
    border-radius: 0;
    background: #000;
}

a.btn-flat span {
    position: relative;
    z-index: 1;
}

a.btn-flat:before {
    position: absolute;
    top: 0;
    left: calc(-100% + 10px);
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all 1.5s ease-in-out;
    transition: all 1.5s ease-in-out;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
    background: #555;
}

a.btn-flat:after {
    position: absolute;
    top: 0;
    right: calc(-100% + 10px);
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all 1.5s ease-in-out;
    transition: all 1.5s ease-in-out;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
    background: #555;
}

a.btn-flat:hover:before {
    -webkit-transform: translateX(50%) translateY(0);
    transform: translateX(50%) translateY(0);
}

a.btn-flat:hover:after {
    -webkit-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
}

.g_btn {
    position: relative;
    width: 250px;
    margin: 0 auto;
    padding: .9em 2em;
    color: #c7b994;
    font-size: 1.5em;
    font-family: "ＫＯさきがけ龍爪Ｍ", serif;
    text-align: center;
}

.g_btn::before,
.g_btn::after {
    position: absolute;
    z-index: -1;
    width: 0;
    height: 1px;
    content: '';
}

.g_btn::before {
    top: -1px;
    left: 0;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
}

.g_btn::after {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
}

.g_btn:hover::before,
.g_btn:hover::after {
    width: 100%;
    height: 100%;
    border-color: #c7b994;
    transition: width .3s ease, height .3s .3s ease;
}

.g_btn span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.g_btn span::after {
    display: inline-block;
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #c7b994;
    border-right: 2px solid #c7b994;
    content: '';
}

@media screen and (max-width: 1200px) {
    .wp-block-table {
        overflow-x: scroll;
    }
    .wp-block-table table {
        white-space: nowrap;
    }
}

.page #logo_loader,
.error404 #logo_loader {
    display: none;
}

.home #logo_loader {
    display: block;
}

.home #logo_loader .mask {
    position: fixed;
    /*固定表示*/
    top: 0;
    left: 0;
    width: 100vw;
    /*画面幅*/
    height: 100vh;
    /*画面の高さ*/
    background-color: #29323c;
    /*背景色*/
    z-index: 9999;
    /*最前面に*/
    animation: fadeOut 0.4s forwards;
    /*フェードアウト*/
    animation-delay: 1.8s;
    /*ロゴ画像のアニメーション後に*/
}


/*フェードアウトアニメーション*/

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}


/***ロゴ画像***/

.home #logo_loader .mask img {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: rotation 2s forwards;
    /*任意のアニメーション*/
}


/*回転するアニメーション*/

@keyframes rotation {
    20% {
        transform: scale(1.1);
    }
    40% {
        transform: scale(0.9);
    }
    80% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(18);
    }
}

.back-img::before {
    position: fixed;
    top: 70px;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background: url(img/back_image.png) no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    content: "";
}


/* {
    background-image: url(img/back_image.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: right;
    background-attachment: fixed;
} */


/* @media screen and (max-width: 430px) {
    .back-img {
        background-size: cover;
    }
} */

.top_content .box_section {
    padding: 20px 0;
}

.top_content .box_section:nth-child(2n) .box_content {
    display: flex;
    flex-direction: row-reverse;
}

@media screen and (max-width: 780px) {
    .top_content .box_section {
        padding: 40px 0;
    }
}

@media screen and (max-width: 430px) {
    .top_content .box_section {
        padding: 20px 0 0;
    }
}

.top_content .box_section .top_box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width: 1040px) {
    .top_content .box_section .top_box {
        max-width: none;
        padding: 0 20px;
    }
}

.top_content .box_section .top_box .box_title {
    margin-bottom: 20px;
}

.top_content .box_section .top_box .box_title h1 {
    font-size: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 2;
    overflow: hidden;
}

.top_content .box_section .top_box .box_title h1:before {
    content: "";
    z-index: 1;
    display: block;
    position: absolute;
    width: 100%;
    top: 95%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #295890, rgba(255, 255, 255, 0));
}

@media screen and (max-width: 780px) {
    .top_content .box_section .top_box .box_title h1 {
        font-size: 2rem;
    }
}

.top_content .box_section .top_box .box_title h1 span {
    position: absolute;
    font-size: 2em;
    line-height: 1;
    opacity: .1;
    left: 050%;
    transform: translateX(-50%);
}

.top_content .box_section .top_box .box_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 780px) {
    .top_content .box_section .top_box .box_content {
        display: block;
    }
}

.top_content .box_section .top_box .box_content .img_wrap,
.top_content .box_section .top_box .box_content .text_wrap {
    flex-basis: 48.5%;
}

@media screen and (max-width: 780px) {
    .top_content .box_section .top_box .box_content .img_wrap,
    .top_content .box_section .top_box .box_content .text_wrap {
        width: 80%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 430px) {
    .top_content .box_section .top_box .box_content .text_wrap {
        width: 100%;
    }
    .top_content .box_section .top_box .box_content .img_wrap {
        width: 70%;
    }
}

.top_content .box_section .top_box .box_content .img_wrap {
    position: relative;
}

@media screen and (max-width: 780px) {
    .top_content .box_section .top_box .box_content .text_wrap {
        margin: 10px auto;
    }
}

.top_content .box_section .top_box .box_content .text_wrap p {
    font-size: 1.9rem;
}

@media screen and (max-width:780px) {
    .top_content .box_section .top_box .box_content .text_wrap p {
        font-size: 1.6rem;
    }
}

@media screen and (max-width:428px) {
    .top_content .box_section .top_box .box_content .text_wrap p {
        font-size: 1.5rem;
    }
}

.slider1 {
    display: flex;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 400px;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .slider1 {
        height: 200px;
    }
}

.slider1 ul {
    display: flex;
    padding: 0;
    margin: 0;
}

.slider1 li {
    width: 600px;
    list-style: none;
}

@media screen and (max-width: 768px) {
    .slider1 li {
        width: 300px;
    }
}

.slider1 ul:first-child {
    animation: slide1 300s -150s linear infinite;
}

.slider1 ul:last-child {
    animation: slide2 300s linear infinite;
}

@keyframes slide1 {
    0% {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes slide2 {
    0% {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200%);
    }
}

.flex {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    float: left;
}

.r_f {
    float: right;
}

.work_last {
    text-align: center;
}

.work_img {
    display: grid;
    grid-template-areas: "A-box B-box" "C-box B-box" "E-box D-box" "E-box F-box";
    /* grid-template-rows: 50%; */
    grid-template-columns: 50% auto;
}

.itemA {
    grid-area: A-box;
}

.itemB {
    grid-area: B-box;
}

.itemC {
    grid-area: C-box;
}

.itemD {
    grid-area: D-box;
}

.itemE {
    grid-area: E-box;
}

.itemF {
    grid-area: F-box;
}

.itemA,
.itemB,
.itemC,
.itemD,
.itemE,
.itemF {
    margin: 20px 30px;
    position: relative;
    text-align: center;
}

@media only screen and ( max-width: 1280px) {
    .work_img {
        display: grid;
        grid-template-areas: "A-box" "C-box" "B-box" "D-box" "F-box" "E-box";
        grid-template-rows: max-content;
        grid-template-columns: 100%;
    }
    .w_gallery h3,
    .w_gallery h4,
    .w_gallery h5,
    .w_gallery h6 {
        text-align: center;
    }
}

.itemA p,
.itemC p,
.itemD p,
.itemF p {
    text-align: center;
    font-size: 1.8rem;
}

.item {
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    display: inline-block;
}

@media screen and (max-width: 414px) {
    .item {
        padding: 5px;
    }
}

.item_text {
    display: inline-block;
    width: 100%;
    margin: auto;
}

.item_text span {
    font-size: 3.2rem;
    color: #555;
}

img {
    max-width: 100%;
    height: auto;
}

.item p {
    text-align: center;
    font-size: 1.5rem;
}

.br_pc {
    display: inline-block;
}

.w_gallery h3,
.w_gallery h4,
.w_gallery h5,
.w_gallery h6 {
    margin: 0 auto;
    font-weight: 400;
    font-style: normal;
}

.w_gallery h3 {
    font-size: 6rem;
}

.w_gallery h4 {
    font-size: 5.5rem;
}

.w_gallery h5 {
    font-size: 4.8rem;
}

.w_gallery h6 {
    font-size: 4rem;
}

@media screen and (max-width: 620px) {
    .w_gallery h3,
    .w_gallery h4,
    .w_gallery h5,
    .w_gallery h6 {
        font-size: 3rem;
        padding: 10px;
    }
    .item_text span {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 414px) {
    .w_gallery h3,
    .w_gallery h4,
    .w_gallery h5,
    .w_gallery h6 {
        font-size: 2.6rem;
    }
    .item_text span {
        font-size: 2rem;
    }
}

.h3_r {
    text-align: right;
}

.in {
    max-width: 1525px;
    padding: 10px 20px;
}

html {
    scroll-behavior: smooth;
}

#page_top {
    width: 90px;
    height: 90px;
    position: fixed;
    right: 0;
    bottom: 50px;
    opacity: 0.6;
    z-index: 1;
}

@media screen and (max-width: 430px) {
    #page_top {
        bottom: 10px;
    }
}

#page_top a {
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #c7b994;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top a::after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #fff;
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    color: #c7b994;
}