/*
Theme Name: Custom Theme
Author:  Mark Gold
Version: 1.0
*/

html {
    margin: 0 !important;
}

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 14px;
    color: #111;
    text-align: center;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

header {
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    width: 100%;
    z-index: 1000;
    top: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    margin-bottom: 0;
    min-height: 46px;
    border: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}
header h1 {
    margin: 0;
}
header h1 img {
    display: block;
    height: 60px;
}

header #menu-menu-1 {
}
header #menu-menu-1 a {
    text-decoration: none;
    padding: 14px 1.8em;
    display: block;
    color: #333;
}
header #menu-menu-1 > li {
    position: relative;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
}
header #menu-menu-1 > li.current_page_item:before,
header #menu-menu-1 > li:hover:before {
    width: 100%;
}
header #menu-menu-1 > li:before {
    position: absolute;
    left: 0;
    bottom: -1px;
    content: '';
    width: 0;
    border-bottom: 1px solid #a42e2e;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
}


.breadcrumbs {
    margin: 0 auto;
}
.breadcrumbs nav {
    background: none;
    gap: 10px;
    font-size: 15px;
    margin: 0;
}


.main_img {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.main_img::before{
    content: "";
    position: absolute;
    background-color: #00000078;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.main_img h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    color: #fff;
    text-align: center;
    line-height: 1.5;
    font-size: 30px;
    width: 100%;
    padding: 0 20px;
}

.main_img .mousescroll {
    width: 27px;
    height: 70px;
    text-align: center;
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.main_img .mousescroll .mouse {
    height: 41px;
    width: 27px;
    border-radius: 15px;
    transform: none;
    border: 2px solid white;
}
.main_img .mousescroll .mouse .wheel {
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
    height: 5px;
    width: 2px;
    display: block;
    margin: 5px auto;
    background: white;
    position: relative;
}
@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}


main section {
    margin: 100px auto;
}

main section h2 {
    font-size: 30px;
    margin: 0 0 40px 0;
    padding: 0 0 15px 0;
    position: relative;

    border-bottom: 1px solid #ccc;
    -webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .5);
    box-shadow: 0 1px 2px rgba(255, 255, 255, .5);
}

main section h2:after {
    background-color: #a42e2e;
    display: inline-block;
    vertical-align: middle;
    content: "";
    width: 80%;
    max-width: 160px;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
}

main section p {
    line-height: 1.8;
}

main section.pos_center {
    text-align: center;
}
main section.pos_center h2 {
    text-align: center;
}
main section.pos_center h2:after {
    left: 50%;
    transform: translateX(-50%);
}


main.custom-page-template {
    padding-top: 63px;
}
main section.hero {
    margin: 0;
    padding: 40px 0;
    background-color: #a42e2e;
    color: #fff;
}
main section.hero  h1 {
    font-size: 30px;
    text-align: center;
}
main section.hero  h1 span {
    display: block;
    font-size: 24px;
    margin-top: 5px;
    font-weight: normal;
}


.small_container {
    margin: auto;
    max-width: 600px;
    width: 100%;
}
.fit_table td {
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    padding: 1em;
}
.fit_table td:first-child{
    width: 150px;
}

.wpcf7-form p > label {
    display: block;
}
.wpcf7-form input,
.wpcf7-form textarea{
    width: 100%;
    max-height: 150px;
    resize: none;
}
.wpcf7-not-valid-tip {
    font-size: .7em;
}
.wpcf7-submit {
    background-color: #a42e2e;
    color: #fff;
    border: 1px solid #a42e2e;
    padding: .5em;
    border-radius: 5px;
    cursor: pointer;
}
.wpcf7-submit:hover {
    background-color: #c33838;
    border: 1px solid #a42e2e;
}


footer {
    border-top: 2px solid #a42e2e;
    background-color: #e7e7e7;
    padding: 20px 0 0;
}
footer .logo {
    text-align: center;
    padding-bottom: 20px;
}
footer .logo a {
    margin: 0;
    padding: 0;
    display: block;
}
footer .logo h1 {
    margin: 0;
    padding: 0;
}
footer .logo img {
    display: block;
    height: 70px;
    margin: auto;
    padding: 0;
}
footer .bottom_menu {
    padding: 20px;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
footer .bottom_menu ul {
    display: flex;
    gap: 20px 40px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
footer .bottom_menu ul a {
    color: #a42e2e;
}
footer .bottom_menu ul a:hover {
    text-decoration: none;
    color: #333;
}
footer .copyright {
    text-align: center;
    padding: 20px;
}
footer .copyright p {
    margin: 0;
    font-size: 12px;
}