/*------------------------------
theme name: kentaro eguchi
version: 201230
author: yamabatosha
author uri: https://yamabatosha.com
------------------------------*/
@charset "utf-8";
@import url(css/reset.css);
/*------------------------------
settings
------------------------------*/
#loader .fl {width:100px; height:100px;}
a span {
    color: #333;
    font-size: 18px;
    letter-spacing: .2em;
    padding-bottom: 18px;
    border-bottom: 2px solid #333;
}

/*------------------------------
base
------------------------------*/

body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: .05em;
    line-height: 2;
/*    word-break: break-all;*/
    font-family: YakuHanJP, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, YuGothic, 'Yu Gothic', 'Hiragino Kaku Gothic ProN',
        'Hiragino Kaku Gothic Pro', 'Hiragino Sans', 'ヒラギノ角ゴシック', Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    backface-visibility: hidden;
    transition: .3s;
}

a img:hover{
    opacity: .7;
}

.container {
    width: 80%;
    margin: 0 auto 90px;
    position: relative;
}

/*------------------------------
font
------------------------------*/

p {
    margin-top: 30px;
    font-weight: 600;
}

p:first-child, {
    margin: 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.5;
    margin-top: 60px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 21px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 14px;
}

/*------------------------------
link
------------------------------*/

a {
    transition: .3s;
}

a, a:hover, a:focus, a:active, a.active {
    color: #333;
    text-decoration: none;
}

p a, .line a, .frame a, .cat-item a{
    border-bottom: 1px solid;
}

p a:hover, .line a:hover, .frame a:hover, .cat-item a:hover {
    color: rgba(51, 51, 51, .5);
}

/*------------------------------
figure
------------------------------*/

.figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    padding-top: 100%;
}

.figure img {
    position: absolute;
    width: 100%;
    height: auto;
    margin: 0;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    filter: brightness(1);
}

.figure:hover img {
    -webkit-transform: translate(-50%, -50%) scale(1.05);
    transform: translate(-50%, -50%) scale(1.05);
    cursor: pointer;
    filter: brightness(.9);
    opacity: 1;
}

.figure figcaption {
    opacity: 0;
    font-size: 15px;
    text-align: center;
    color: #fff;
	width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: .3s;
}

.figure:hover figcaption {
    opacity: 1;
}

/*------------------------------
decoration
------------------------------*/

hr {
    margin: 30px 0;
    width: 100%;
    border: 0;
    border-top: 2px solid #333;
}

.frame {
    background: #f9f9f9;
    padding: 30px 45px;
}

.bg-color {
    background: #f9f9f9;
}

::selection {
    background: #333;
    color: #fff;
}

/*------------------------------
list
------------------------------*/

ol.list,
ul.list {
    margin-top: 30px;
}

ol.list li,
ul.list li {
    position: relative;
    margin-left: 1.5em;
}

ul.list li {
    list-style: none;
}

ul.list li::after {
    display: block;
    content: '';
    position: absolute;
    top: 1em;
    left: -1em;
    width: 3px;
    height: 3px;
    background: #333;
}

/*------------------------------
btn
------------------------------*/

.btn {
    display: inline-block;
    min-width: 250px;
    height: auto;
    text-align: center;
    letter-spacing: .2em;
    border-radius: 0;
    padding: 15px;
    margin-top: 30px;
    position: relative;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

.btn::after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

/* btn-bw */

.btn-bw {
    border: 1px solid #333;
    color: #fff;
    background: #333;
}

.btn-bw:hover,
    .btn-bw:active {
    color: #333;
    background: #fff;
}

/*------------------------------
table
------------------------------*/

table {
    margin-top: 60px;
    width: 100%;
    text-align: center;
}

table tr {
    border-bottom: 1px solid #ddd;
}

table tr:first-child {
    border-top: 1px solid #ddd;
}

table th {
    background: #f9f9f9;
    font-weight: normal;
    vertical-align: middle;
}

table th,
table td {
    padding: 15px;
    vertical-align: top;
}

table td:first-child {
    white-space: nowrap;
}

.no-border td,
.no-border tr,
.no-border tr:first-child {
    border: none;
    padding: 0;
	text-align: left;
}

@media (max-width: 991px) {
    /* 左 */
    .table-sp thead {
        display: none;
    }    
    .table-sp th,
	.table-sp td {
        display: block;
		text-align: left;
    }
    .table-sp td::before {
        float: left;
        content: attr(label);
    }
    /* 中 */
    .table-sp-center thead {
        display: none;
    }
    .table-sp-center th,
	.table-sp-center td {
        display: block;
    }
    .table-sp-center td::before {
        content: attr(label);
    }
}

.table-scroll {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

/*------------------------------
form
------------------------------*/

.form tr td:first-child {
    width: 150px;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    margin: 15px 0;
    padding: 1em 1.5em;
    vertical-align: middle;
    color: #333;
    background: #f9f9f9;
    letter-spacing: .1em;
}

input[type="submit"] {
    cursor: pointer;
}

textarea {
    height: 10em;
    line-height: 1.5;
}

select {
    appearance: none;
    -webkit-appearance: none;
    border-radius: none;
    -webkit-border-radius: none;
    cursor: pointer;
}

.sel-arrow {
    position: relative;
}

.sel-arrow::after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-top: solid 1px #333;
    border-right: solid 1px #333;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    top: 30px;
    right: 1.5em;
}

/*------------------------------
wpcf7
------------------------------*/

span.wpcf7-list-item {
    display: block;
}

span.wpcf7-not-valid-tip,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.wpcf7-response-output,
div.wpcf7-mail-sent-ok {
    border: none!important;
    color: orange;
    text-align: right;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0;
}

/*------------------------------
#lift
------------------------------*/

#lift {
    position: fixed;
    bottom: -45px;
    right: 5px;
    transition: .5s;
}

#lift.lift-on {
    bottom: 15px;
}

#lift>a {
    background: transparent;
    display: block;
    width: 30px;
    height:45px;
    line-height: 45px;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    border-radius: 15px;
    transition: .3s;
}

#lift>a:hover {
    opacity: .5;
}

/*------------------------------
wp
------------------------------*/

.post-link {
    margin-top: 60px;
    display: inline-block;
    width: 100%;
}

#the_posts_pagination nav {
    display: inline-block;
}

.pagination h2.screen-reader-text {
    display: none;
}

.page-numbers {
    margin: 0 5px;
}

.wp-block-quote {
    border-left: 3px solid #333;
    padding-left: 30px;
}

.wp-block-quote cite a {
    font-style: normal;
    color: #999;
}

/*------------------------------
header
------------------------------*/

header {
    position: fixed;
    transition: .5s;
}

header h1, header nav {
    margin: 0;
    font-weight: bold;
}

header h1 {
    font-size: 24px;
    line-height: 1.2;
}

/*------------------------------
nav
------------------------------*/

/* SP */

@media screen and (max-width:767px){
	header {
     position: relative;
    }
	header nav {
     visibility: hidden;
     position: fixed;
     overflow: scroll;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(255,255,255,.95);
     opacity: 0;
     -webkit-transition: 0.3s ease-in-out;
     -moz-transition: 0.3s ease-in-out;
     transition: 0.3s ease-in-out;
    }
    html.open {
        overflow: hidden;
    }
    .open nav {
        visibility: visible;
        opacity: 1;
    }
    header nav ul {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 50%;
        text-align: center;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    header nav ul li {
        font-size: 24px;
        line-height: 1;
        display: block;
        padding: 15px 0;
    }
    header nav ul li:nth-child(2), header nav ul li:nth-child(4) {
        font-weight: normal;
        font-size: 20px;
    }
    header nav ul li:nth-child(3) {
        font-weight: normal;
        font-size: 20px;
        padding: 5px 0;
    }
    /* nav-toggle */
    #nav-toggle {
        display: block;
        width: 30px;
        height: 30px;
        position: absolute;
        top: 0px;
        right: 0px;
        z-index: 100;
        cursor: pointer;
    }
    #nav-toggle div {
        position: relative;
    }
    #nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #333;
        position:absolute;
        left: 0;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    #nav-toggle span:nth-child(1) {
        top:5px;
    }
    #nav-toggle span:nth-child(2) {
        top:14px;
    }
    #nav-toggle span:nth-child(3) {
        top:23px;
    }
    /* nav-toggle .open */
    .open #nav-toggle span:nth-child(1) {
        top: 14px;
        -webkit-transform: rotate(225deg);
        -moz-transform: rotate(225deg);
        transform: rotate(225deg);
    }
    .open #nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 14px;
        -webkit-transform: rotate(-225deg);
        -moz-transform: rotate(-225deg);
        transform: rotate(-225deg);
    }
}

/* hover-animation */
header nav ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

header nav ul li a::after {
    position: absolute;
    top: 23px;
    left: -1px;
    content: '';
    width: 100%;
    height: 2px;
    background: #333;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}

a.current::after,
header nav ul li a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

/*------------------------------
section
------------------------------*/

section {
    max-width: 1500px;
    margin: 60px auto 0;
}

/*------------------------------
main
------------------------------*/

.trim {
    overflow: hidden;
    position: relative;
    padding-top: 66.666%;
}

.trim img {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/*------------------------------
single
------------------------------*/

#single p {
    margin-top: 30px;
    font-weight: 600;
}

#single figure:first-child img {
    margin-top: 0px;
}

#single figure img {
    margin-top: 60px;
}

#single a {
    word-break:break-all;
}

/*------------------------------
footer
------------------------------*/

#footer {
    position: fixed;
    top:50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);	
    right: 5px;
    font-size: 13px;
    color: #333;
    writing-mode: vertical-rl;
    text-orientation: sideways;
}

/*------------------------------
768px
------------------------------*/

@media (min-width: 768px) {
    /* base
    ------------------------------*/
    body {
        font-size: 15px;
    }
    /* header
    ------------------------------*/
    header h1 {
        font-size: 28px;
    }
    header h1 img {
        width: auto;
        height: 30px;
    }
    header nav {
        margin-top: 30px;
    }
    header nav ul li {
        line-height: 1;
        font-size: 20px;
        padding: 10px 0;
    }
    header nav ul li:nth-child(2), header nav ul li:nth-child(4) {
        font-weight: normal;
        font-size: 18px;
        padding: 10px 0 10px 15px;
    }
    header nav ul li:nth-child(3) {
        font-weight: normal;
        font-size: 18px;
        padding: 6px 0 6px 15px;
    }
    header nav .sns {
        width: auto;
        height: 30px;
    }
    header nav .sns.ml {
        margin-left: 15px;
    }
    header #nav-toggle{
        display: none;
    }
    /* top
    ------------------------------*/
    #cover .copy {
        font-size: 80px;
    }
    /* footer
    ------------------------------*/
    #footer {
        right: 10px;
    }
}
@media (min-width: 1024px) {
    h4 {
        font-size: 16px;
    }
}
/*------------------------------
break point
------------------------------*/
@media (min-width: 768px) {.container {width: 708px;}}
@media (min-width: 992px) {.container {width: 932px;}}
@media (min-width: 1200px) {.container {width: 1140px;}}
@media (max-width: 991px) {
	.pc-l {display: none !important}
}
@media (max-width: 767px) {
    .pc {display: none !important}
    .pc-center {text-align: left;}
    .pc-center br {display: none;}
    .sp-center {text-align: center;}
}
@media (min-width: 768px) {
    .sp {display: none !important}
    .pc-center {text-align: center;}
    .sp-center {text-align: left;}
}
.hidden {display: none !important}