@import url('https://fonts.googleapis.com/css2?family=Italianno&family=M+PLUS+2&family=Tenali+Ramakrishna&display=swap');

/*
font-family: 'Italianno', cursive;
font-family: 'M PLUS 2', sans-serif;
font-family: 'Tenali Ramakrishna', sans-serif;
*/
* {
    padding: 0;
    margin: 0;
}

html {
    box-sizing: border-box;
}

h1 {
    color: #666060;
}

h2,
h3,
h4,
h5 {
    color: #666060;
}

p {
    margin: 20px;
    color: #666060;
}

span {
    color: #666060;
}

img {
    width: 100%;
    display: block;
}

/* wrapper start */
/*
.wrapper {
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
}
*/
/* wrapper end */

/* top_image start */
.top_image {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover
}

.top_image li {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    -webkit-animation: anime 40s linear 0s infinite;
    animation: anime 40s linear 0s infinite;
}

.top_image li:nth-child(1) {
    background-image: url(../images/top/IMG_3777.JPG)
}

.top_image li:nth-child(2) {
    background-image: url(../images/top/IMGP1233-001.JPG);
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}

.top_image li:nth-child(3) {
    background-image: url(../images/top/IMG_3777.JPG);
    -webkit-animation-delay: 20s;
    animation-delay: 20s;
}

.top_image li:nth-child(4) {
    background-image: url(../images/top/IMGP1233-001.JPG);
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}

@-webkit-keyframes anime {
    0% {
        -webkit-animation-timing-function: ease-in;
        opacity: 0;
    }

    10% {
        -webkit-transform: scale(1.1);
        opacity: 1;
    }

    40% {
        -webkit-transform: scale(1.2);
        -webkit-animation-timing-function: ease-out;
        opacity: 1;
    }

    50% {
        -webkit-transform: scale(1.3);
        opacity: 0;
    }

    100% {
        opacity: 0
    }
}

@keyframes anime {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
    }

    10% {
        transform: scale(1.1);
        opacity: 1;
    }

    40% {
        transform: scale(1.2);
        animation-timing-function: ease-out;
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        opacity: 0
    }
}

/* top_image end */

/* header start */
.header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.header2 {
    min-height: 32vh;
    background: linear-gradient(rgba(242, 233, 233, 0.4), rgba(242, 233, 233, 0.4)), url(../images/top/IMG_3777.JPG) bottom/ cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    background-position: right 0 bottom 100px;
}

/* header end */

/* banner start */
.banner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-container {
    width: 100vw;
    margin: auto auto;
    padding: 0 1.2rem;
}

.banner-title {
    font-family: 'Tenali Ramakrishna', sans-serif;
    font-size: 4.0rem;
    font-weight: lighter;
    line-height: 1.2;
    color: #FFF;
}

.banner p {
    font-family: 'Italianno', cursive;
    padding: 1rem 0 2rem 0;
    font-size: 3.2rem;
    text-transform: capitalize;
    font-weight: 300;
    word-spacing: 2px;
    text-align: center;
    color: #FFF;
    margin-top: -26px;
    margin-left: -6px;
}

/* banner end */

/* header-nav start */
.header-menu {
    display: none;
}

.header-nav {
    height: 80px;
    width: 100%;
    background: #fcf3f3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 1;
}

.header-logo {
    margin-left: 6vw;
    margin-right: auto;
    width: 300px;
}

.header-logo img {
    width: 100%;
}

.nav {
    display: flex;
    margin-right: 6vw;
}

.nav-menu {
    display: block;
    transition: .2s;
    font-size: 16px;
    margin: 18px;
    color: #666060;
}

.nav-menu:hover,
.nav-menu--current {
    transition: .2s;
    color: #ffc0c0;
}

/* header-nav end */

/*#########################*/

/* container start */
.container {
    display: grid;
    grid-template-areas:
        'main aside';
    background: linear-gradient(-135deg, #fcf3f3 0%, #ffebee 56%, #fffef4 100%);
    grid-gap: 5vw;
}

/* main start */
.main {
    min-width: 60vw;
    margin: 0 0 0 6vw;
    padding: 10px;
    grid-gap: 10px;
}

/* article start */
.left-content {
    margin: 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    text-align: left;
}

/* section start */
.section {
    text-align: left;
    margin: 0 0 36px 0;
}

.section h2 {
    font-family: 'Tenali Ramakrishna', sans-serif;
    font-size: 2.4rem;
    font-weight: normal;
    margin-bottom: -26px;
}

.section h3 {
    font-family: 'Tenali Ramakrishna', sans-serif;
    font-size: 2.0rem;
    font-weight: normal;
    margin-bottom: -10px;
    text-align: center;
}

.section h4 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 12px;
}

.section h5 {
    font-family: 'Tenali Ramakrishna', sans-serif;
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: -10px;
    text-align: center;
}

.section li {
    margin: 20px 20px 0 20px;
    display: flex;
    align-items: baseline;
    border-bottom: 1px dashed #666060;
    padding: 8px 0;
    /* position: relative;*/
    list-style: none;
}

.section li .date {
    margin-right: 10px;
}

.section li span.news_category {
    border: 1px solid #666060;
    display: inline-block;
    min-width: 115px;
    height: 23px;
    line-height: 23px;
    font-size: 12px;
    text-align: center;
    font-weight: 500;
}

.section li p:not(.date) {
    width: 100%;
    margin: 0 10px;
}

.section li a {
    vertical-align: text-top;
    color: #666060;
    text-decoration: none;
}

.section li a:hover {
    text-decoration: underline;
    color: #fba4a4;
}

.section li a :hover {
    color: #fff;
}

/* section end */

/* section iframe start */
.frame {
    height: 150vh;
}

/* section iframe send */

/* section frame2 start */
.frame2 {
    width: 50vw;
    padding: 30px 30px;
    margin: 20px auto;
    text-align: center;
}

.frame2 p,
dt {
    margin-top: 4px;
    margin-bottom: 4px;
    color: #666060;
}

.frame2 input[type=text],
.frame2 input[type=number],
.frame2 select,
.frame2 textarea {
    width: 100%;
    height: 36px;
    margin: 1px 0 0;
    padding: 0 0 0 15px;
    border: 1px solid #9f9d9c;
    background: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

/* section iframe send */

.news__more {
    color: #666060;
    margin: 40px;
}

/* article end */
/* main end */

/*#########################*/

/* aside start */
.aside {
    min-width: 20vw;
    margin: 0 6vw 0 0;
    padding: 10px;
    grid-gap: 10px;
}

/* section start */
.right-content {
    margin: 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    text-align: left;
}

.right-content img {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    /*filter: grayscale(1);*/
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2%;
}

/* section end */
/* section start */
.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.social-links p {
    margin: 24px 0;
}

.social-links a {
    border: 2px solid #fba4a4;
    display: block;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    margin: 10px 0.3rem;
    transition: all 0.5s ease;
}

.social-links a:hover {
    background: #fba4a4;
    color: #fba4a4;
}

/* section end */

/* section start */
.topics {
    margin: 18px 0;
    text-align: center;
}

.topics h4 {
    padding: 10px;
    margin: 10px 10px;
    border: 1px solid #fba4a4;
    border-radius: 5px;
    background: #fff;
}

.topics a {
    text-transform: none;
    display: inline-flex;
    padding: 5px;
    opacity: 1.1;
    color: #666060;
    text-decoration: none;
}

.topics a:hover {
    text-decoration: underline;
    color: #fba4a4;
}

ul {
    padding-inline-start: 0px;
}

/* section end */
.right-content input[type=date],
.right-content input[type=text],
.right-content select {
    width: 80%;
    height: 28px;
    margin: auto;
    padding: 0;
    border: 1px solid #666060;
    background: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 14px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    color: #666060;
}

.right-content input[type=button] {
    width: 60%;
    height: 24px;
    margin: 6px;
    padding: 0;
    border: 1px solid #666060;
    box-sizing: border-box;
    border-radius: 0.2vw;
    font-size: 14px;
    color: #666060;
}

.calc-btn {
    width: 100px;
    height: 24px;
    color: -internal-light-dark(black, #fff);
    background-color: -internal-light-dark(rgb(239, 239, 239), rgb(59, 59, 59));
    box-sizing: border-box;
    border-radius: 0.3vw;
}

.calc-btn:hover {
    cursor: pointer;
}

#era {
    display: none;
}

#btn_fortune {
    width: 60%;
    height: 24px;
    margin: 6px;
    padding: 0;
    border: 1px solid #666060;
    box-sizing: border-box;
    border-radius: 0.2vw;
    font-size: 14px;
    color: #666060;
}

#btn_fortune:hover {
    cursor: pointer;
}

/* section start */


/* section end */

/* aside end */

/* container end */

/*#########################*/

/* footer start */


.footer {
    display: grid;
    grid-template-areas:
        'footer-main footer-aside';
    background: #fffef4;
}

/* footer end */

/* main start */
.footer-main {
    width: auto;
    margin: 0 0 0 6vw;
    padding: 10px;
    grid-gap: 10px;
}

/* article start */
.footer-left {
    margin: 0;
    min-height: 46vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    text-align: left;
    border-right: 0.5px solid #666060;
}

table {
    margin: 20px;
    color: #666060;
}

/* aside start */
.footer-aside {
    min-width: 20vw;
    margin: 0 6vw 0 0;
    padding: 10px;
    grid-gap: 10px;
}

/* section start */
.footer-right {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    text-align: left;
    color: #666060;
}

.footer-copyright {
    margin: 0;
    height: 48px;
    text-align: center;
    color: #666060;
    background: #fffef4;
}

.link a {
    color: #666060;
}

/* wrapper end */

/* page-top start */
.pagetop {
    display: none;
    position: fixed;
    right: 15px;
    bottom: 60px;
}

.pagetop a {
    display: block;
    font-size: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #fff;
    border-radius: 50%;
    line-height: 50px;
}

.pagetop a i {
    font-size: 25px;
    color: #fba4a4;
    line-height: 50px;
}

/* page-top end */

@media(max-width:1300px) {
    .header-menu {
        display: block;
        position: fixed;
        top: 4vw;
        right: 2.67vw;
        width: 8vw;
        height: 5.34vw;
        transition: border .3s, top .3s;
        border-width: 2px 0;
        border-style: solid;
        border-color: #fba4a4 transparent;
        background: transparent;
        text-indent: -9999px;
        z-index: 10002;
        cursor: pointer;
    }

    .header-menu::before,
    .header-menu::after {
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        width: 8vw;
        height: 2px;
        transition-duration: .3s;
        transform: translateY(-50%);
        background: #fba4a4;
        content: "";
    }

    .header-menu.is-opened {
        border-color: transparent;
    }

    .header-menu.is-opened::before {
        transform: rotate(45deg) translateY(-50%);
    }

    .header-menu.is-opened::after {
        transform: rotate(-45deg) translateY(-50%);
    }

    .nav-menu {
        margin: 30px;
    }

    .nav {
        display: block;
        position: fixed;
        top: 6vw;
        bottom: 0;
        left: -100%;
        width: 100%;
        border-top: 1px solid #fff;
        transition-duration: .3s;
        background: #ffebee;
        overflow: auto;
        z-index: 10001;
    }

    .nav.is-active {
        left: 0;
    }

    .nav+.overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #fff;
        z-index: 10000;
    }

    .nav__menu {
        display: block;
        padding: 4vw 2.67vw;
        border-bottom: 1px solid #fff;
        color: #443b3b;
        font-size: 3.74vw;
    }

    .container {
        grid-template-areas:
            'main'
            'aside';
        grid-gap: 40px;
        width: 90%;
        margin: auto;
        background: linear-gradient(-30deg, #fcf3f3 0%, #ffebee 56%, #fffef4 100%);
    }

    .main {
        margin: 0;
    }

    .frame2 {
        width: 80%;
        margin: auto;
    }

    .aside {
        margin: 0;
    }

    .footer {
        grid-template-areas:
            'footer-left'
            'footer-right';
        width: 90vw;
        margin: auto;
    }

    .footer-main {
        margin: 0;
    }

    .footer-left {
        margin: 0;
        width: auto;
        min-height: 46vh;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
        border-right: 0px solid #666060;
    }

    /*
    .right-profile {
        display: none;
    }

    .right-contact {
        display: none;
    }
*/
}


@media(max-width:700px) {
    .header-menu {
        display: block;
        position: fixed;
        top: 4vw;
        right: 2.67vw;
        width: 8vw;
        height: 5.34vw;
        transition: border .3s, top .3s;
        border-width: 2px 0;
        border-style: solid;
        border-color: #fba4a4 transparent;
        background: transparent;
        text-indent: -9999px;
        z-index: 10002;
        cursor: pointer;
    }

    .header-menu::before,
    .header-menu::after {
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        width: 8vw;
        height: 2px;
        transition-duration: .3s;
        transform: translateY(-50%);
        background: #fba4a4;
        content: "";
    }

    .header-menu.is-opened {
        border-color: transparent;
    }

    .header-menu.is-opened::before {
        transform: rotate(45deg) translateY(-50%);
    }

    .header-menu.is-opened::after {
        transform: rotate(-45deg) translateY(-50%);
    }

    .nav-menu {
        margin: 30px;
    }

    .nav {
        display: block;
        position: fixed;
        top: 6vw;
        bottom: 0;
        left: -100%;
        width: 100%;
        border-top: 1px solid #fff;
        transition-duration: .3s;
        background: #ffebee;
        overflow: auto;
        z-index: 10001;
    }

    .nav.is-active {
        left: 0;
    }

    .nav+.overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #fff;
        z-index: 10000;
    }

    .nav__menu {
        display: block;
        padding: 4vw 2.67vw;
        border-bottom: 1px solid #fff;
        color: #443b3b;
        font-size: 3.74vw;
    }

    .container {
        grid-template-areas:
            'main'
            'aside';
        grid-gap: 40px;
        width: 90%;
        margin: auto;
        background: linear-gradient(-30deg, #fcf3f3 0%, #ffebee 56%, #fffef4 100%);
    }

    .main {
        margin: 0;
    }

    .frame2 {
        width: 80%;
        margin: auto;
    }

    .aside {
        margin: 0;
    }

    .footer {
        grid-template-areas:
            'footer-left'
            'footer-right';
        width: 90vw;
        margin: auto;
    }

    .footer-main {
        margin: 0;
    }

    .footer-left {
        margin: 0;
        width: auto;
        min-height: 46vh;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
        border-right: 0px solid #666060;
    }

    /*
    .right-profile {
        display: none;
    }

    .right-contact {
        display: none;
    }
*/
}