/*
 * TOPページ
 * 元CSS行: 732-1666
 */

/*TOP
********************************************************************/
/*メインビジュアル変更
*************************/
@media only screen and (max-width: 900px) {
    #smartslider3-2 {
        display: none;
    }
}
@media only screen and (min-width: 900px) {
    #smartslider3-3 {
        display: none;
    }
}
/*TOPお知らせ枠
*************************/
.top-news-area {
    max-width: 750px;
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
}
.top-news-area h2 {
    margin-top: 70px;
}
.top-news-area ul {
    list-style: none;
    border-left: solid 2px #005438;
    margin-left: 40px;
    padding-left: 40px;
}
.top-news-area ul li {
    font-size: 100%
}
.top-news-area ul li a {
	color: #B05200;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 30px;
}
.top-news-area ul li:last-child a {
    margin-bottom: 0px;
}
.top-news-area ul li time {
    display: block;
    max-width: 100px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    margin-bottom: 1px;
    padding-right: 15px;
}
@media only screen and (max-width: 450px) {
    .top-news-area ul li a {
        display: block;
        font-size: 90%;
    }
    .top-news-area ul li time {
        width: 30%;
    }
}
.top-news-area ul li h3 {
    margin: 0;
    display: block;
    max-width: 450px;
    line-height: 120%;
}
@media only screen and (max-width: 770px) {
    .top-news-area {
        display: block;
        max-width: 90%;
        margin: 0 auto;
    }
    .top-news-area ul {
        margin-left: 20px;
        padding-left: 20px;
    }
    .top-news-area ul li a {
        margin-bottom: 15px;
    }
}
@media only screen and (max-width: 400px) {
    .top-news-area {
        display: inline;
    }
}
/**end**/
#post-7 .entry-header {
    display: none
}
#post-7 .entry-content {
    max-width: 100%
}
.header-home {
    max-width: 100%
}
@media only screen and (min-width: 1120px) {
    .header-home #logo {
        max-width: 555px;
        margin-left: 10px;
    }
    .header-home #logo a {
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        margin: 0;
        padding: 0;
        display: block;
        width: 265px;
        height: 63px;
        background-repeat: no-repeat;
        background-position: left center;
        background-image: url(/wp-content/uploads/common/logo-top.png);
        background-size: contain;
        order: 1;
    }
    .header-home #logo p {
        font-size: 100%;
        line-height: 130%;
        margin: 15px 0 0 10px;
    }
    .header-home .heder-sub-menuarea {
        margin-right: 10px;
    }
}
@media only screen and (max-width: 1200px) {
    .header-home .heder-sub-menuarea li {
        width: 187px;
        margin-right: 5px;
    }
    .header-home .heder-sub-menuarea li:last-child {
        width: 160px;
        margin-right: 0px;
    }
    .header-home .heder-sub-menuarea li a {
        height: 40px;
    }
}
.home .header-area-home .header-list .sub-menu {
        display: none;
    }

@media only screen and (min-width: 900px) {
    .header-area-home {
        width: 300px;
        background-color: #005438;
        position: absolute;
        right: 0;
        top: 600px;
    }
    .header-area-home .header-list {
        padding: 15px;
        margin: 0;
    }
    .header-area-home .header-list li {
        text-align: left;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        vertical-align: top;
        padding: 0;
    }
    .header-area-home .header-list li a {
        color: white !important;
    }
    .header-area-home .header-list .sub-menu {
        display: none;
    }
    .header-area-home .header-list li::before, .header-area-home .header-list li::after {
        display: none;
    }
    .header-area-home .header-list .menu-item:nth-child(6), .header-area-home .header-list .menu-item:nth-child(8) {
        display: inline /**金城哲夫資料館とご予約・お問い合わせのメニュー削除**/
    }
}
@media only screen and (min-width: 900px) {
    .header-list > .menu-item::after {
        margin-right: 10px;
    }
    .header-list > .menu-item::before {
        margin-right: 10px;
    }
}
@media only screen and (max-width: 1450px) {
    .header-area-home {
        top: 500px;
    }
}
@media only screen and (max-width: 1200px) {
    .header-area-home {
        top: 350px;
    }
}
@media only screen and (max-width: 1000px) {
    .header-area-home {
        top: 300px;
    }
}
.header-area-home {
    animation-name: fadeleft;
    animation-duration: 2s;
    animation-iteration-count: 1;
}
@keyframes fadeleft {
    0% {
        transform: translateX(300px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
.sns-area {
    max-width: 700px;
    margin: 0 auto;
}
.top-insata-bt, .top-fb-bt {
    width: 250px;
    margin: 0 auto;
    padding: 15px 0 15px 50px;
    display: block;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 140%;
    background-image: url("/wp-content/uploads/top/sns-bt-insta.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    border: solid 1px #ccc;
}
@media only screen and (max-width: 450px) {
    .top-insata-bt, .top-fb-bt {
        font-size: 110%;
    }
}
.top-fb-bt {
    background-image: url("/wp-content/uploads/top/sns-bt-fb.png");
}
a.top-insata-bt, a.top-fb-bt {
    color: #333 !important;
}
.top-insata-bt:hover, .top-fb-bt:hover {
    background-color: #E1E1E1;
}
.top101 {
    margin: 120px 0;
}
@media only screen and (max-width: 1100px) {
    .top101 {
        margin: 60px auto;
    }
}
.top101 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.top101 ul li {
    width: 33.33%;
    position: relative;
    overflow: hidden;
}
.top101 ul li a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    color: #333;
}
.top101 ul li a h2 {
    margin: 0 0 10px 0;
}
.top101 ul li a h2:after {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin: 10px auto 20px;
    background: url(/wp-content/uploads/top/tc101-img.png) no-repeat center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.top101 ul li a div {
    max-width: 290px;
    min-height: 140px;
    margin: 100px auto;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 30px 10px;
}
.top101 ul li a div span {
    display: block;
}
.bn01 a, .bn02 a, .bn03 a {
    position: absolute;
    vertical-align: middle;
    z-index: 2;
}
.bn01:after, .bn02:after, .bn03:after {
    position: absolute;
    z-index: 1;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: url(/wp-content/uploads/top/tc101-img1.jpg) no-repeat center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
.bn02:after {
    background: url(/wp-content/uploads/top/tc101-img2-n.jpg) no-repeat center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bn03:after {
    background: url(/wp-content/uploads/top/tc101-img3-n.jpg) no-repeat center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bn01:hover:after, .bn02:hover:after, .bn03:hover:after {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
@media only screen and (max-width: 1000px) {
    .top101 {
        margin: 50px 0;
    }
    .top101 ul {
        display: flex;
        justify-content: space-between;
    }
    .top101 ul li {
        width: 31%;
        position: static;
        overflow: visible;
        margin: 0 0 0 2%;
    }
    .top101 ul li:last-child {
        margin: 0 2% 0 2%;
    }
    .top101 ul li a {
        position: static;
    }
    .top101 ul li a h2 {
        margin: 0 0 10px 0;
    }
    .top101 ul li a h2:after {
        display: none;
    }
    .top101 ul li a div {
        max-width: 100%;
        min-height: auto;
        margin: auto;
        margin-bottom: 0;
        padding: 0;
    }
    .top101 ul li a div p {
        text-align: left;
    }
    .top101 ul li a div span {
        display: inline;
    }
    .bn01 a, .bn02 a, .bn03 a {
        position: static;
        vertical-align: middle;
        z-index: 2;
    }
    .bn01:after, .bn02:after, .bn03:after {
        display: none;
    }
    .bn01 a:before, .bn02 a:before, .bn03 a:before {
        content: "";
        display: block;
        width: 100%;
        height: 200px;
        top: 0;
        background: url(/wp-content/uploads/top/tc101-img1.jpg) no-repeat center center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 15px;
    }
    .bn02 a:before {
        background: url(/wp-content/uploads/top/tc101-img2-n.jpg) no-repeat center center;
        background-size: cover;
    }
    .bn03 a:before {
        background: url(/wp-content/uploads/top/tc101-img3-n.jpg) no-repeat center center;
        background-size: cover;
    }
}
@media only screen and (max-width: 600px) {
    .top101 {
        margin: 50px 0;
    }
    .top101 ul {
        display: contents;
        justify-content: space-between;
    }
    .top101 ul li {
        width: 95%;
        position: static;
        overflow: visible;
        margin: 0 auto;
    }
    .top101 ul li a {
        position: static;
        display: flex;
    }
    .top101 ul li a h2 {
        margin: 0 0 10px 0;
        text-align: left;
    }
    .top101 ul li a h2:after {
        display: none;
    }
    .top101 ul li a div {
        width: calc(100% - 200px); /* テーブル幅からdtを引いた分の横幅を指定。 */
        min-height: auto;
        margin: 0;
        margin-bottom: 0;
        padding: 0;
    }
    .top101 ul li a div p {
        text-align: left;
    }
    .top101 ul li a div span {
        display: inline;
    }
    .bn01 a, .bn02 a, .bn03 a {
        position: static;
        vertical-align: middle;
        z-index: 2;
    }
    .bn01:after, .bn02:after, .bn03:after {
        display: none;
    }
    .bn01 a:before, .bn02 a:before, .bn03 a:before {
        content: "";
        display: block;
        width: 200px;
        height: 175px;
        top: 0;
        background: url(/wp-content/uploads/top/tc101-img1.jpg) no-repeat center center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 20px;
        margin-right: 15px;
    }
    .bn02 a:before {
        background: url(/wp-content/uploads/top/tc101-img2-n.jpg) no-repeat center center;
        background-size: cover;
    }
    .bn03 a:before {
        background: url(/wp-content/uploads/top/tc101-img3-n.jpg) no-repeat center center;
        background-size: cover;
    }
}
@media only screen and (max-width: 600px) {
    .top101 ul li a div {
        width: calc(100% - 150px); /* テーブル幅からdtを引いた分の横幅を指定。 */
        min-height: auto;
        margin: 0;
        margin-bottom: 0;
        padding: 0;
    }
    .bn01 a:before, .bn02 a:before, .bn03 a:before {
        content: "";
        display: block;
        width: 150px;
        height: 135px;
        top: 0;
        background: url(/wp-content/uploads/top/tc101-img1.jpg) no-repeat center center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 20px;
        margin-right: 15px;
    }
    .bn02 a:before {
        background: url(/wp-content/uploads/top/tc101-img2-n.jpg) no-repeat center center;
        background-size: cover;
    }
    .bn03 a:before {
        background: url(/wp-content/uploads/top/tc101-img3-n.jpg) no-repeat center center;
        background-size: cover;
    }
}
.top202 {
    position: relative;
}
.t2__image {
    margin: 0;
    width: 100vw;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.t2__image {}
.t2__image h2 {
    margin: 0;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    padding: 0;
    font-size: 260%;
	white-space: nowrap;
}
.t2__image h2:before {
    content: url(/wp-content/uploads/top/tc201-titile.png);
    display: inline-block;
    width: 65px;
    height: 64px;
    margin-bottom: 10px;
}
.t2-1 {
    display: block;
    padding-top: 32%;
    width: 61%;
    background-image: url(/wp-content/uploads/top/tc201-img1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.t2-2 {
    width: auto;
}
.t2-3 {
    display: block;
    padding-top: 39%;
    width: 23.5%;
    background-image: url(/wp-content/uploads/top/tc201-img2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
}
.t2__body {
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    max-width: 750px;
    background-color: white;
    padding: 20px;
}
.t2__body .btn-khn {
    margin: 0 auto 0;
}
@media only screen and (max-width: 1290px) {
    .t2__body {
        width: 100%;
        max-width: 800px;
    }
}
@media only screen and (max-width: 1185px) {
    .t2__image h2 {
        font-size: 200%;
    }
}
@media only screen and (max-width: 1080px) {
    .top202 {
        width: 100%;
        margin: 0 auto;
    }
    .t2-1 {
        /*width: 85%;*/
		width: 81%;
        padding-top: 40%;
    }
    .t2-2 {
        /*width: 15%;*/
		width: 18%;
    }
    .t2__image {
        margin: 0 auto;
        width: 100vw;
    }
    .t2__image h2 {
        margin: 0 auto;
    }
    .t2__image h2:before {
        content: url(/wp-content/uploads/top/tc201-titile-s.png);
        display: inline-block;
        width: 50px;
        height: 49px;
        margin-bottom: 10px;
    }
    .t2-3 {
        display: none
    }
    .t2__body {
        width: 85%;
        padding: 10px;
        position: static;
        z-index: 0;
        left: 0%;
        transform: translate(0%, 0%);
        -webkit-transform: translate(0%, 0%);
        -ms-transform: translate(0%, 0%);
    }
    .t2__body h3 {
        line-height: 1.3
    }	
}
@media only screen and (max-width: 1100px) {
    .w-640 {
        display: none
    }
}
@media only screen and (max-width: 650px) {
    .t2-1 {
        padding-top: 45%;
    }
}
@media only screen and (max-width: 460px) {
    .t2-1 {
        padding-top: 65%;
    }
}
.top301 {
    max-width: 1000px;
    margin: 120px auto;
    width: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: flex-start; /* 追加 */
}
@media only screen and (max-width: 1100px) {
    .top301 {
        margin: 60px auto;
    }
}
.top301 h2 {
    width: 4%;
    margin-block-start: 0;
    margin-block-end: 0;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    padding: 0;
    padding-right: 4%;
    font-size: 260%;
}
.t3-area {
    width: 92%;
}
.t3-area01 {
    height: 400px;
    background: url(/wp-content/uploads/top/tc301-img1.jpg) no-repeat top right;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.t3-area02 {
    height: 400px;
    background: url(/wp-content/uploads/top/tc301-img2.jpg) no-repeat top right;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.t3-c {
    position: absolute;
    bottom: 0;
    max-width: 330px;
    padding: 30px;
    background-color: hsla(0, 0%, 100%, 0.70);
}
.t3-c h3 {
    font-size: 180%;
    margin: 0;
}
@media only screen and (max-width: 1000px) {
    .top301 {
        width: 90%;
        margin: 70px auto;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
    }
    .top301 h2 {
        display: block;
        width: auto;
        font-size: 200%;
        padding: 0;
        text-align: left;
    }
    .t3-area {
        width: 90%;
    }
    .t3-c {
        position: static;
        max-width: 100%;
        padding: 25px 15px 0 15px;
    }
    .t3-area01, .t3-area02 {
        height: auto;
        background: none;
        position: static
    }
    .t3-area01 h3:before, .t3-area02 h3:before {
        content: "";
        display: block;
        max-width: 100%;
        height: auto;
        padding-top: 55%;
        margin-bottom: 15px;
        top: 0;
        background: url(/wp-content/uploads/top/tc301-img1-smt.jpg) no-repeat center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .t3-area02 h3:before {
        background: url(/wp-content/uploads/top/tc301-img2-smt.jpg) no-repeat center center;
        background-size: cover;
    }
    .t3-c p {
        margin-block-start: 0.5em;
        margin-block-end: 0.5em;
    }
}
@media only screen and (max-width: 355px) {
    .t3-area {
        width: 85%;
    }
    .t3-c {
        padding: 15px 10px 0 10px;
    }
    .t3-c h3 {
        font-size: 160%;
        margin: 0;
    }
}
.top401 {
    height: 570px;
    position: relative;
}
.top401-img {
    width: 60%;
    position: absolute;
}
.t4-area01 {
    width: 540px;
    background-color: #ecf8cd;
    padding: 30px;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-flex-wrap: wrap;
    align-items: flex-start; /* 追加 */
    position: absolute;
    bottom: 0;
    right: 10%;
}
.t4-area01 h2 {
    width: 10%;
    margin-block-start: 0;
    margin-block-end: 0;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    padding: 0;
    padding-right: 4%;
    font-size: 260%;
}
.t4-area01 div {
    max-width: 260px;
}
.t4-area01 p {
    margin-top: 0px;
}
.t4-area01 img {
    position: absolute;
    top: -50px;
    right: -80px;
}
@media only screen and (min-width: 2300px) {
    .top401-img {
        width: 70%;
        height: 620px;
        object-fit: cover; /* トリミング */
        position: absolute;
    }
}
@media only screen and (max-width: 1320px) {
    .top401-img {
        width: 70%;
        position: absolute;
    }
}
@media only screen and (max-width: 1000px) {
    .top401-img {
        width: 90%;
    }
    .t4-area01 h2 {
        font-size: 200%;
    }
}
@media only screen and (max-width: 620px) {
    .top401-img {
        width: 100%;
        position: absolute;
    }
    .t4-area01 {
        max-width: 90%;
        margin: 0 auto;
        right: 5%;
        left: 5%;
    }
    .t4-area01 img {
        width: 35%;
        right: -20px;
    }
}
@media only screen and (max-width: 530px) {
    .top401-img {
        width: 100%;
        position: static;
        margin-top: 25px;
    }
    .t4-area01 div {
        max-width: 100%;
        width: calc(100% - 50px); /* テーブル幅からdtを引いた分の横幅を指定。 */
    }
    .t4-area01 img {
        width: 35%;
        top: -185px;
        right: -10px;
    }
}
@media only screen and (max-width: 430px) {
    .top401 {
        height: 525px;
    }
    .t4-area01 img {
        width: 35%;
        top: -165px;
        right: -10px;
    }
}
.top501 {
    margin: 120px 0;
}
@media only screen and (max-width: 1000px) {
    .top501 {
        margin: 60px 0;
    }
}
.top501 h2 {
    text-align: center;
    font-size: 260%;
    margin-block-end: 0.45em;
}
@media only screen and (max-width: 1000px) {
    .top501 h2 {
        font-size: 200%;
    }
    .top501 iframe {
        height: 350px;
    }
}
.top501-bt a {
    font-size: 100%;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    background-color: #005438 !important;
    margin-block-start: 0.75em;
    padding: 10px 15px;
}
.top501-bt a:hover {
    background-color: #023524;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.top501-bt a:visited {
    color: #fff;
}
.top601 {
    background: url(/wp-content/uploads/top/tc601-bc1.jpg) no-repeat top right;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 5%;
}
.top601 h2 {
    font-size: 260%;
    text-align: center;
}
.top601 p {
    display: block;
    max-width: 500px;
    margin: 0 auto;
}
.top601 .tel {
    font-size: 300%;
    padding: 20px;
    text-align: center;
}
.top601 .tel a {
    color: rgb(0, 84, 56);
}
.top601 .eigy {
    font-size: 160%;
    text-align: center;
}
@media only screen and (max-width: 1000px) {
    .top601 {
        padding: 30px 5%;
    }
    .top601 h2 {
        font-size: 200%;
    }
    .top601 .tel {
        font-size: 200%;
        padding: 20px;
        text-align: center;
    }
    .top601 .eigy {
        font-size: 120%;
        text-align: center;
    }
}
.footer-home {
    margin-top: 0px;
}
/*TOP-end
********************************************************************/
