html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/*
font-family: 'Noto Sans JP', sans-serif;
fill="#CF1225" 
fill="#004896"
*/


/* --------------------------- */


/*  base  */


/* --------------------------- */

a {
    color: #2b4a86;
    text-decoration: none;
    transition: all 0.6s;
}

a:hover {
    color: #9e1d1d;
}

h1 {
    font-size: 40px;
    padding: 10px 0;
}

h2 {
    font-size: 26px;
    padding: 5px 0 10px 0;
    line-height: 1.4;
}

h3 {
    font-size: 21px;
    padding: 5px 0 8px 0;
}

em {
    font-family: 'Open Sans';
    font-style: italic;
}

img,
img a {
    border: 0;
    text-decoration: none;
}

strong {
    font-weight: bold;
}


/* --------------------------- */


/*  layout  */


/* --------------------------- */

body {
    background-color: #fff;
    color: #1C1C1C;
    font-family: 'Helvetica Neue', Helvetica, Arial, Verdana, 'Noto Sans JP', sans-serif;
    font-size: 15px;
}

#wrap {
    width: 100%;
    overflow: hidden;
}

p.copyright {
    padding: 50px 0 7px;
    width: 100%;
    font-size: 12px;
    color: #777;
    background-color: #fff;
    text-align: center;
}

#wrap_contents {
    background-color: #fff;
    z-index: 2;
    width: 100%;
    margin: 0;
}


/* ------ */


/*  Header  */


/* ------ */

header#headtop {
    width: 100%;
    position: fixed;
    height: 50px;
    z-index: 5;
    box-shadow: 0px #ddd;
    transition: all 0.5s;
}

header#headtop div.back_hed {
    width: 100%;
    position: absolute;
    height: 50px;
    z-index: 100;
    background-color: rgb(0, 0, 0, 0.0);
    transition: all 0.5s;
    display: flex;
}

header#headtop.fixed,
header#headtop.pagefix {
    box-shadow: 0px 0px 3px 0px #ddd;
}

header#headtop div.back_hed.fixed,
header#headtop div.back_hed.pagefix {
    background-color: #fff;
}

header#headtop div.back_hed h1 {
    width: 260px;
    padding: 8px 20px 0 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header#headtop div.back_hed h1 svg,
header#headtop div.back_hed h1 img {
    width: 260px;
    height: 34.2px;
    fill: #fff;
    transition: all 0.5s;
    /* filter: drop-shadow(0px 0px 1px #333); */
}

header#headtop.fixed .back_hed h1 svg,
header#headtop.pagefix .back_hed h1 svg {
    fill: #000;
    filter: none;
}

header#headtop .hed_wrap {
    margin: 0 auto;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 50px;
}

header#headtop div.back_hed ul {
    display: flex;
    width: auto;
    padding-top: 5px;
    padding-left:20px;
}

header#headtop div.back_hed ul li {
    text-align: center;
    width: auto;
    font-weight: 400;
    color: #CCC;
    padding:0 22px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header#headtop div.back_hed ul li a {
    color: #fff;
    transition: all .4s;
    white-space: nowrap;
}

header#headtop div.back_hed ul li a:hover {
    color: #9e1d1d;
}

header#headtop.fixed div.back_hed ul li a,
header#headtop.pagefix div.back_hed ul li a {
    color: #333;
}


/* sp header */

#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 999;
}

#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}

#top-head .inner {
    position: relative;
}

#top-head .logo {
    float: left;
}

#global-nav ul {
    list-style: none;
    right: 0;
    bottom: 0;
    font-size: 14px;
}

#global-nav ul li {
    float: none;
}

#global-nav ul li a {
    padding: 0 30px;
}


/* Fixed */

#top-head.fixed,
#top-head.pagefix {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 0px;
    height: 38px;
    background: #fff;
    background: rgba(255, 255, 255, .7);
    transition: top 0.65s all;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

#top-head.fixed #global-nav ul li a,
#top-head.pagefix #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}


/* Toggle Button */

#nav-toggle {
    display: none;
    position: absolute;
    right: 13px;
    top: 8px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 9px;
}

#nav-toggle span:nth-child(3) {
    top: 18px;
}

#top-head {
    display: none;
}


/* hed_menu */

header#headtop div.back_hed ul.sub-menu {
    position: absolute;
    z-index: 1;
    border-top: none;
    cursor: pointer;
    top: 47px;
    padding: 15px 2.5em 10px;
    left: 50%;
    transform: translateX(-50%);
    display:flex;
    align-items: center;
    justify-content: center;
    transition: all .4s;
    display: none;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.15));
    border-radius: 0 0 4px 4px;
}

header#headtop div.back_hed.fixed ul.sub-menu,
header#headtop.pagefix div.back_hed ul.sub-menu {
    background-color: #fff;
}

header#headtop div.back_hed.fixed ul.sub-menu li a,
header#headtop.pagefix div.back_hed ul.sub-menu li a {
    color: #000;
    background-color: #fff;
}

header#headtop div.back_hed ul.sub-menu li {
    display: block;
    float: none;
    padding: 8px 0;
    text-align: center;
    height: 25px;
    background-color: none;
}

header#headtop div.back_hed ul.sub-menu li a {
    color: #eee;
    background-color: transparent;
}

header#headtop div.back_hed ul.sub-menu li a:hover {
    color: #57290D;
}

header#headtop div.back_hed li:hover .sub-menu {
    display: block;
}

li.menu-item-12 ul.sub-menu {}

header#headtop div.back_hed ul.sub-menu li a:before {
    color: #57290D;
}


/* spmenu */

@media (max-width: 980px) {
    header#headtop {
        display: none;
    }
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
        background-color: #fff;
        display: block;
        box-shadow: 0px 0px 3px 0px #cccccc;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 38px;
        z-index: 999;
        position: relative;
    }
    #top-head.ag .inner #mobile-head {
        border-top: 2px solid #f93;
        height: 36px;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 8px;
        color: #333;
        padding: 0;
        font-size: 12px;
    }
    #top-head .logo img {
        width: 145px;
        height: auto;
    }
    #top-head .logo svg {
        width: 170px;
        height: auto;
    }
    #global-nav {
        position: absolute;
        top: calc(-100vh - 40px);
        width: 100%;
        height: 100%;
        height: 100vh;
        overflow-y: scroll;
        text-align: center;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        background-color: #333;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
        margin-top: 60px;
    }
    #global-nav ul li {
        margin: 0 auto;
        padding: 1em 2em 1em;
        text-align: left;
    }
    #global-nav ul li a {
        padding: .5em 0;
    }
    #global-nav ul li:first-child {
        margin-top: 3em;
    }
    #global-nav ul li ul.sub-menu {
        display: block;
        margin-top: 1.5em;
    }
    #global-nav ul li ul.sub-menu li:first-child {
        margin-top: 0;
        padding-bottom: 1.2em;
    }
    #global-nav ul li ul.sub-menu li {
        padding-top: 10px;
        list-style: disc;
        padding-left: 0;
        margin-left: 1.5em;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        padding: 0;
        color: #fff;
    }
    #nav-toggle {
        display: block;
    }
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(calc(100vh + 40px));
        -webkit-transform: translateY(calc(100vh + 40px));
        transform: translateY(calc(100vh + 40px));
    }
    .search_wrap_sp {
        width: 100%;
        margin: 0;
        border-top: 1px dotted #999;
        padding-top: 10px;
        text-align: center;
    }
    .search_wrap_sp form {
        margin: 10px;
    }
    .search_wrap_sp #search_submit {
        border: 1px solid #fff;
    }
    #head_agencies {
        position: absolute;
        text-transform: uppercase;
        margin-top: 42px;
        left: 15px;
    }
    p.copyright {
        padding: 250px 0 7px;
        width: 100%;
        font-size: 11px;
    }
}


/* top */

#video video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background-size: cover;
    background-position: center center;
}

#youtube-wrap {
    width: 100%;
    height: 0;
    padding-top:56.25%;
    position: relative;
}

.main_inn {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 90vh;
    margin: auto;
    background-color: rgba(0, 0, 0, .43);
    background-size: cover;
    background-position: center;
}

.main_inn .mainslide,
.main_inn .mainslide_pc {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 90vh;
    margin: auto;
    background-size: cover;
    background-position: center;
}

.main_inn .mainslide img,
.main_inn .mainslide_pc img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    object-position: center center;
}
.main_inn .mainslide_pc a,
.main_inn .mainslide_pc .slide_wrap {
    position: relative;
    display: flex;
}
.main_inn .mainslide_pc h3,
.main_inn .mainslide_pc .slide_wrap h3{
    position: absolute;
    bottom:15px;
    right:20px;
    font-weight: bold;
    color:#333;
    font-size:clamp(14px, 3vw, 18px);
    padding: 10px .5em 9px;
    line-height: 1.2;
    /* background-color: #fff; */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_inn .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline;
    transform: translate(-50%, -50%);
}

.main_inn .logo img {
    width: 300px;
    height: auto;
}

@media (max-width: 600px) {
    .main_inn {
        height: 60vh;
    }
    .main_inn .mainslide,
    .main_inn .mainslide_pc {
        height: 60vh;
    }
    .main_inn .mainslide img,
    .main_inn .mainslide_pc img {
        height: 60vh;
    }
}

.top_shop {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 210px;
    line-height: 0;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

.top_shop img {
    width: 210px;
    height: auto;
    transition: all .5s;
}

.top_shop img:hover {
    opacity: .7;
}

.ar_in {
    z-index: 5;
    position: absolute;
    text-align: center;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 60px;
    width: 50px;
}

.ar_in img {
    animation: anime_ar 1s ease -0.8s infinite alternate;
    filter: drop-shadow(0 0 3px #333);
}

@keyframes anime_ar {
    0% {
        opacity: .3;
        margin-top: 0;
    }
    100% {
        opacity: 1;
        margin-top: 8px;
    }
}

.slide_top_wrap {
    text-align: center;
    background-color: #fff;
    max-width: 1042px;
    margin: 0 auto;
}

.slide_top {
    width: calc(100% - 60px);
    margin: 0 auto;
}

.slick-slide img {
    width: calc(100% - 2px);
}

.slick-prev,
.slick-next {
    display: flex;
    height: 100%;
    align-items: center;
    font-size: 28px;
    color: #999;
    background-color: #fff;
    padding: 0 0px;
    transition: all .4s;
}

.slick-prev:hover,
.slick-next:hover {
    color: #444;
    /* background-color: #eee; */
}

.slick-next::before,
.slick-prev::before {
    content: '';
}

.blog_wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.blog_wrap .top_post_box {
    width: 22%;
    margin: 0 4% 0 0;
    margin-bottom: 1em;
}

.blog_wrap .top_post_box:nth-child(4n) {
    margin: 0;
}

.blog_wrap .top_post_box h4 {
    font-size: 14px;
    margin-top: 0;
}

.blog_wrap .top_post_box .cat a {
    background-color: #666;
    color: #fff;
    font-size: 11px;
    padding: 3px 1em;
    border-radius: 15px;
}

.blog_wrap .top_post_box .date {
    font-size: 11px;
}

.blog_wrap .top_post_box .thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center center;
}

.news_wrap {
    line-height: 2;
}

.news_wrap h5 {
    padding-bottom: 2em;
}

@media (max-width: 810px) {
    .slide_top_wrap {
        max-width: 100%;
    }
    
.slide_top {
    width: calc(100% - 15px);
    margin: 0 auto;
}
}

/* content */

.content {
    width: 980px;
    line-height: 2;
    margin: 0 auto;
    padding: 1em 0 1em;
    letter-spacing: 0.02em;
}

.content.blog {
    width: 730px;
}

.content img {
    max-width: 100%;
    height: auto;
}

.floating {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    transition: all 1s;
    z-index: 99;
    width: 160px;
    line-height: 0;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.4));
}

.floating img {
    width: 160px;
    height: auto;
    box-shadow: 0;
}

.floating.show {
    display: none;
}

.greeting {
    padding-bottom: 1em;
}

h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 2.8em auto .5em;
    display: table;
}

dl.news {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

dl.news dt {
    width: 150px;
    font-size: 12px;
    text-align: center;
    color: #666;
    border-bottom: 1px solid #c4b3b3;
    height:27px;
}
dl.news dd {
    font-size: 13px;
    color: #333;
    width: 100%;
    height:27px;
    padding-left: 1.5em;
    border-bottom: 1px solid #dfd7d7;
}

.top_btn {
    text-align: center;
    width: 280px;
    margin: 2em auto;
}

.top_btn a {
    background-color: #9e1d1d;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: block;
    padding: 5px 0;
    border-radius: 20px;
}

.shop_wrap {
    display: flex;
}

.shop_wrap div {
    width: 100%;
}

.shop_wrap .shop1 {
    margin-right: 10px;
}

.shop_wrap .shop2 {
    margin-left: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.shop_wrap div .txt{
    width: 49%;
}

.shop_wrap div img {
    max-width: 49%;
    height: auto;
}

.shop_wrap div h4 {
    font-size: 20px;
    font-weight: 600;
}

.shop_wrap div p span {
    font-size: 11px;
    width: 40px;
    background-color: #999;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
    margin-right: .5em;
    padding: 3px 0 2px;
    text-align: center;
    line-height: 1;
}

.shop_wrap .shop_btn {
    text-align: center;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    margin-right: 10px;
}

.shop_wrap .shop_btn.shop2 {
    margin-left: 0;
    margin-right: 0;
}

.shop_btn a {
    display: block;
    color: #fff;
    line-height: 1;
    padding: 20px 0 19px;
    font-size: 14px;
    width: 100%;
    background-color: #2b4660;
    border-radius: 5px;
}

.shop_btn.shop2 a {
    background-color: #286241;
}

.shop_wrap .sns {
    display: flex;
    justify-content: flex-start;
}

.shop_wrap .sns a {
    transition: all .4s;
}

.shop_wrap .sns a:hover {
    opacity: .75;
}

.shop_wrap .sns img {
    width: 40px;
    margin: 1em 10px 0 0;
}


.study {
    margin: 40px auto 0;
}

.study p {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.study a {
    width: 23%;
    margin: 1%;
    text-align: center;
}

.study p img {
    border-radius: 5px;
    width: 100%;
    height: auto;
    transition: all .4s;
}

.study p img:hover {
    opacity: .8;
}

@media (max-width: 600px) {
    .shop_wrap div .txt{
        width: 100%;
    }

    .shop_wrap div img {
        max-width: 100%;
        height: auto;
    }
    .study a {
    width: 100%;
    margin: 0%;
    text-align: center;
}
}

/* top card */
.content.card {
    margin:70px auto 0;
}
.content.card .card {
    display:flex;
    border-radius: 10px;
    background-color: #fff;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.15));
    margin-bottom: 4em;
}
.content.card .card:nth-child(even) {
    flex-direction:row-reverse;
}
.content.card .card img{
    width:68%;
    height:350px;
    object-fit: cover;
    object-position: center center;
    flex-shrink: 0;
    border-radius: 10px 0 0 10px;
}
.content.card .card:nth-child(even) img {
    border-radius: 0 10px 10px 0;
}
.content.card .card .text {
    padding:1.5em 2em;
    position: relative;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction:column;
}
.content.card .card h3 {
    font-size:24px;
    font-weight: 600;
    text-align:center;
    padding:0 1em .2em;
    margin-bottom:.6em;
    border-bottom:2px solid #cc8b8b;
    letter-spacing: 0.02em;
}
.content.card .card p {
    font-size:14px;
}
.content.card .card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
    height:40px;
    color:#fff;
    background-color: #9e1d1d;
    border-radius: 8px;
    margin-top:1.5em;
    transition: all .4s;
}
.content.card .card a:hover {
    background-color: #d36262;
}
.content.card .card a i {
    margin-left:.5em;
}
@media (max-width: 760px) {
    .content.card .card img { 
        width:50%;
    }
}
@media (max-width: 550px) {
    .content.card .card img { 
        width:100%;
        height:250px;
    }
    .content.card .card:nth-child(even),
    .content.card .card {
        flex-direction:column;
    }
}



.company h3 {
    font-weight: 600;
}

.company iframe {
    width: 100%;
    height: 400px;
}

.com_wrap {
    display: flex;
    padding-bottom: 3em;
}

.com_wrap div {
    width: 50%;
    padding: 0 10px;
}

.com_wrap div.address_wrap .bn {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 1em;
}

.com_wrap div.address_wrap .bn a {
    width: 48%;
    height: auto;
    margin-right: 1%;
    transition: all .4s;
}

.com_wrap div.address_wrap .bn a:hover {
    opacity: .75;
}

.com_wrap div.address_wrap .bn a img {
    border-radius: 4px;
}

.com_wrap div.address_wrap .sns {
    display: flex;
    justify-content: flex-start;
    padding: 0;
}

.com_wrap div.address_wrap .sns a {
    transition: all .4s;
}

.com_wrap div.address_wrap .sns a:hover {
    opacity: .75;
}

.com_wrap div.address_wrap .sns img {
    width: 45px;
    height: auto;
    margin: 1em 10px 0 0;
}
@media (max-width: 1000px) {
    .content {
        width: 95%;
        padding: 1em 0 1em;
    }
}
@media (max-width: 810px) {
    .content {
        width: 92%;
        margin: 0 auto 0 4%;
        padding: 1em 0 1em;
    }
    .content.blog {
        width: 92%;
    }
    .top_shop {
        bottom: 8px;
        left: 8px;
        width: 160px;
    }
    .top_shop img {
        width: 100%;
        height: auto;
    }
    dl.news {
        align-items: flex-start;
        flex-direction: column;
    }
     dl.news dt {
        border:none;
     }
    .blog_wrap .top_post_box {
        width: 48.5%;
        margin: 0 0 1.5em;
    }
    .shop_wrap {
        display: block;
    }
    .shop_wrap div {
        width: 100%;
        margin-bottom: 3em;
    }
    .shop_wrap .shop2 {
        margin-left: 0;
    }
    .com_wrap {
        display: block;
    }
    .com_wrap div {
        width: 95%;
    }
}

.icon_wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2em;
}

.icon_wrap a {
    transition: all .4s;
    display: block;
    /* width: 31%; */
    width:24%;
}

.icon_wrap img {
    border-radius: 9px;
}

.icon_wrap a:hover {
    opacity: .75;
}

@media (max-width: 600px) {
    .icon_wrap a {
        width: 90%;
        margin-left: 5%;
    }
}


/* contact */

.form {
    width: 790px;
    margin: 0 auto;
    padding-top: 30px;
}

.form dl {
    display: table;
}

.form dl dt,
.form dl dd {
    display: table-cell;
    vertical-align: top;
}

.form dl dt {
    width: 140px;
    padding: 10px 0 10px 0;
}

.form dl dd {
    padding: 10px 0 0 30px;
}

.form dl dd.mes textarea {
    width: 600px;
    height: 200px;
}

.wpcf7-submit {
    width: 200px;
    height: 50px;
}

@media (max-width: 1024px) {
    #bkborder {}
    #category_wrap {
        padding-left: 14px;
    }
    #privacy {
        width: 92%;
        margin: 20px auto 0;
        overflow: hidden;
    }
    #privacy h2 {
        font-size: 30px;
        padding: 25px 0 10px;
    }
    #privacy h3 {
        font-size: 20px;
    }
    .form {
        width: 90%;
        margin: 0 auto;
        padding-top: 30px;
    }
    .form dl {
        display: block;
    }
    .form dl dt,
    .form dl dd {
        display: block;
    }
    .form dl dt {
        width: 140px;
        padding: 15px 0 0 0;
    }
    .form dl dd {
        padding: 5px 0 0 0;
        width: 100%;
    }
    .form dl dd input {
        width: 100%;
    }
    .form dl dd.mes textarea {
        width: 100%;
        height: auto;
    }
}

.page_hed {
    height: 40px;
}


/**/

#bread_wrap {
    background-color: #eee;
    padding: 1em 15px;
    font-size: 12px;
    margin-top: 3em;
    display: none;
}

.text h3 {
    font-size: 22px;
}

.text h4 {
    font-size: 19px;
}


/* entry */

.content h4 {
    margin-top: 2em;
}

.content h4 span {
    font-size: 13px;
    padding-left: 1em;
}

.wp-block-table table td:nth-child(1) {
    width: 10em;
}

.wp-block-table table td:nth-child(2) {
    width: 4em;
}


/* about */

.about_main {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    background-size: cover;
    background-position: center center;
    width: 100%;
    position: relative;
    height: 560px;
    color: #fff;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

.about_main_inn {
    position: absolute;
    top: 40%;
    left: 50%;
    display: inline;
    transform: translate(-50%, -50%);
    writing-mode: vertical-rl;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 3px #666;
    line-height: 1.8;
}

.about_main_inn h4 {
    font-size: 25px;
    padding: 5px;
    padding-right: 3em;
}

.about_main_inn h4.first {
    padding-right: 0;
}

.about_main_inn p {
    padding: 1.5em 5px 0;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .about_main {
        writing-mode:horizontal-tb;
        background-size: cover;
        height: auto;
        padding: 2em 0;
    }
    .about_main_inn {
        position: relative;
        text-align: center;
        top: auto;
        left: auto;
        transform:none;
        writing-mode:horizontal-tb;
        font-size: 19px;
        line-height: 1.8;
    }
    .about_main_inn h4 {
        text-align: center;
        padding: 1em 0 0;
    }
    .about_main_inn p {
        padding: .2em 5px 1.5em;
        text-align: center;
    }   
}


/* pager */
.pagination{
    margin:40px 0 0;
 }
 .nav-links{
    display:flex;
 }
 .pagination .page-numbers{
    display:inline-block;
    margin-right:20px;
    padding:10px 15px;
    color:#333;
    border-radius:3px;
    box-shadow:0 3px 4px #bbb;
    background:#fff;
 }
 .pagination .current{
    padding:10px 15px;
    background:#666;
    color:#fff;
 }
 .pagination .prev,
 .pagination .next{
    background:transparent;
    box-shadow:none;
    color:#666;
 }
 .pagination .dots{
    background:transparent;
    box-shadow:none;
 }
.navigation {
    width: 100%;
    padding: 0 30px 0 calc(30px + 1%);
}
.pager_foot .pagination {
    margin: 0;
    padding-bottom: 70px;
}

/* serach */
header.fixed form#searchform .search_box input,
header.pagefix form#searchform .search_box input{
    color: #333;
    border: 1px solid #333;
}
header.fixed form#searchform .search_box button,
header.pagefix form#searchform .search_box button {
    color: #666;
}
form#searchform {
    display: inline-block;
    padding-left: 45px;
    margin-top: 4px;
    position: absolute;
    right: 1%;
}
.search_box {
    display: flex;
    align-items: center;
}
.search_box input{
    width:60px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    height: 18px;
}
.m_search .search_box input {
    width: 60%;
    display: flex;
}
.m_search form#searchform {
    padding-left: 0;
}

.search_box button {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: #fff;
    margin-left: .2em;
    font-size: 18px;
}

.search_list {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}
.search_list .search_box {
    width: 24%;
    margin: 0 1% 50px 0;
}
.search_list .search_box h4 {
    margin: 0;
}
.search_list .search_box h4 a {
    font-size: 15px;
    padding: .5em 0;
    line-height: 1.45;
    color: #333;
}
.search_list .search_box img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 1230px) {
    form#searchform {
        display: none;
    }
}
@media (max-width: 980px) {
    .m_search form#searchform {
        display: block;
        position: relative;
        right: auto;
        margin-top: 15px;
        left: 25px;
    }
    .m_search .search_box input {
        width:180px;
    }
}
@media (max-width: 700px) {
    .search_list .search_box {
        width: 48%;
        margin: 0 2% 50px 0;
    }
}

/* --------------------------- */


/*  module  */


/* --------------------------- */

.pb30 {
    padding-bottom: 30px !important;
}

.pt10 {
    padding-top: 10px !important;
}

.pt20 {
    padding-top: 20px !important;
}

.pt40 {
    padding-top: 40px !important;
}

.pt30 {
    padding-top: 30px !important;
}

.pb20 {
    padding-bottom: 20px !important;
}

.pb30 {
    padding-bottom: 30px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt40 {
    margin-top: 40px !important;
}

.fb-like-box {
    background: #fff;
}

.mini {
    font-size: 85%;
    color: #57290D;
    padding-left: 6px;
}

.mini_ls {
    clear: both;
    font-size: 85%;
    color: #57290D;
    padding-top: 10px;
}

.clear::after {
    content: "";
    display: block;
    clear: both;
}


/* footer link banner */

.content.footlink {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 3em 0 0;
}

@media (max-width: 1000px) {
    .content.footlink {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 810px) {
    .content.footlink {
        width: 100%;
        margin: 0;
    }
}

.link_list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.link_list > img {
    display: none;
}

.link_list li {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 240px;
    cursor: pointer;
    margin:10px;
    border-radius: 10px;
    transition: all .4s;
    filter:drop-shadow(2px 2px 4px rgba(0,0,0,0.2))
}

.link_list li::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 100%);
    transition: background 0.4s ease;
}

.link_list li:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.04) 100%);
}

.link_list li a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1em 1em .5em;
    color: #fff;
    z-index: 1;
    transition:all .4s;
}
.link_list li a h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.12em;
    padding: 0;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.link_list li a p {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.12em;
    padding: 0;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

@media (max-width: 600px) {
    .link_list {
        flex-wrap: wrap;
    }
    .link_list li {
        flex: none;
        width: 100%;
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .link_list li {
        width: 100%;
        min-height: 160px;
    }
}

/* youtube in */

.youtube_wrap {
    width: 100%;
    padding-bottom: 56.25%;
    height: 0px;
    position: relative;
}

.youtube_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube_sub_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.youtube_sub_wrap .yt_sub_box {
    width:49%;
}
.youtube_sub_wrap .yt_sub_box iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

@media (max-width: 600px) {
    .youtube_sub_wrap {
        flex-direction: column;
    }
    .youtube_sub_wrap .yt_sub_box  {
        width: 100%;
        margin-bottom: 1em;
    }
}
