/* ----------------------------------------------------------- */
/* reset */
/* ----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    border: 0;

    font-style: normal;
    font-family: "Hiragino Mincho ProN", "游明朝", "YuMincho", "Noto Serif JP", serif;

    color: #000000;

    line-height: 1.8;

    box-sizing: border-box;
}

a:link {
	color: #000000;
	text-decoration: none;
}

a:visited {
	color: #000000;
	text-decoration: none;
}

a:hover, a:active {
	color: #ff0000;
	text-decoration: none;
}


body {
    margin: 0 auto;
    padding: 0px;
    background-color: #ffffff;
}

/* ----------------------------------------------------------- */
/* side-menu */
/* ----------------------------------------------------------- */
.side-menu{
    position: absolute;
    top: 20px;
    right: 30px;
    text-align:right;
}

.side-menu a{
    display: block;
    margin-bottom: 5px;

    text-decoration: none;
    color: #000000;
    font-size: 1.2rem;
    font-weight: bold;
}

.side-menu a:hover{
    text-decoration: underline;
}


/* ----------------------------------------------------------- */
/* header */
/* ----------------------------------------------------------- */
#header {
    width: 100%;
    height: 100vh;

    background-image: url("/images_n/bg_dhanvantari.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#header-al {
    width: 100%;
    height: 100vh;

    background-image: url("/images_n/bg_dhanvantari_al.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-logo {
    position: absolute;
    top: 5px;
    left: 5px;

    width: 280px;
    height: auto;
}

.header-left {
    float: left;

    width: 50%;
    height: 100vh;
}

.header-right {
    float: left;

    width: 50%;
    height: 100vh;

    align-items: center;

    /* background-color: #00ff00; */
}

.header-right-table {
    border-collapse : collapse;
    border-width : 0px;
    border-color : #000000;
    border-style : solid;

    width: 100%;
    height: 100%;
}

.header-right-td01 {
    margin: 0 auto;
    padding: 5px 5px 5px 5px;

    border-width : 0px;
    border-color : #000000;
    border-style : solid;

    width: 100%;
    height: 30%;
}

.header-right-td02 {
    margin: 0 auto;
    padding: 5px 5px 5px 5px;

    border-width : 0px;
    border-color : #000000;
    border-style : solid;

    width: 100%;
    height: 40%;

    font-size: 2.5rem;
    font-weight: bold;

    vertical-align: middle;
}

.header-right-td02 p {
    font-size: 1.2rem;
}

.header-right-td03 {
    margin: 0 auto;
    padding: 5px 5px 5px 5px;

    border-width : 0px;
    border-color : #000000;
    border-style : solid;

    width: 100%;
    height: 30%;
}

#header-text {
    display: none;

    padding: 30px 5px 10px 5px;

    width: 100%;

    font-size: 1.7rem;
    font-weight: bold;

    text-align: center;

    background-color: #ffffff;
}

/* ----------------------------------------------------------- */
/* contents */
/* ----------------------------------------------------------- */
#main {
    width: 100%;
    background-color: #ffffff;
}

.title {
    margin: 0 auto;
    padding: 80px 5px 40px 5px;
    width: 1024px;

    font-size: 2.5rem;
    font-weight: bold;

    text-align: center;

    background-color: #ffffff;
}

.title p {
    font-size: 1.2rem;
}

.content {
    margin: 0 auto;
    padding: 10px;
    width: 1024px;

    font-size: 1.1rem;

    background-color: #ffffff;
}

.content-text {

    padding: 10px 10px 10px 10px;
    width: 100%;

    font-size: 1.1rem;

    background-color: #ffffff;
}

.content-vertical-writing {
    float: left;

    padding: 10px 10px 10px 10px;
    width: 20%;

    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.3rem;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2.0rem;
    font-weight: bold;

    background-color: #ffffff;
}

.content-writing {
    float: left;

    padding: 70px 10px 10px 10px;
    width: 80%;

    font-size: 1.1rem;

    background-color: #ffffff;
}

.link-box {
    margin: 0 auto;
    padding: 10px 10px 10px 10px;
    width: 900px;

    font-size: 1.5rem;
    font-weight: bold;

    text-align: center;

    border-color: #000000;
    border-style: solid;
    border-width: 1px;

    background-color: #ffffff;
}

.link-box p {
    font-size: 1.2rem;
}


/* ----------------------------------------------------------- */
/* footer */
/* ----------------------------------------------------------- */
#footer_area {
    padding: 30px 10px 40px 10px;
    width: 100%;
    background-color: #333333;
}

#footer {
    margin: 0 auto;
    width: 1024px;
}

.footer_box {
    width: 25%;
    font-size: 85%;
    float: left;
    background-color: #333333;
}

.footer_box a:link {
    color: #ffffff;
    text-decoration: none;
}

.footer_box a:visited {
    color: #ffffff;
    text-decoration: none;
}

.footer_box a:hover, a:active {
    color: #ffffff;
    text-decoration: none;
}

.footer_box li {
    color: #ffffff;
    list-style: none;
}

.footer_box p {
    color: #ffffff;
}


@media (max-width: 769px) {

    .side-menu{
        display: none;
    }

    /* ----------------------------------------------------------- */
    /* header */
    /* ----------------------------------------------------------- */

    #header {
        height: 90vh;
        background-image: url("/images_n/bg_dhanvantari_m.jpg");
    }

    #header-al {
        height: 90vh;
        background-image: url("/images_n/bg_dhanvantari_al_m.jpg");
    }

    .header-logo {
        width: 200px;
    }

    .header-left {
        display: none;
    }

    .header-right {
        display: none;
    }

    #header-text {
        display: block;

        font-size: 1.5rem;
    }


    /* ----------------------------------------------------------- */
    /* contents */
   /* ----------------------------------------------------------- */

    .title {
        width: 100%;
        font-size: 1.5rem;
    }

    .title p {
        font-size: 0.9rem;
    }
    .content {
        width: 100%;
    }

    .content-vertical-writing {
        font-size: 1.5rem;
    }

    .content-writing {
        padding: 50px 10px 10px 10px;
    }

    .link-box {
        width: 90%;
        font-size: 1.2rem;
    }


    /* ----------------------------------------------------------- */
    /* footer */
    /* ----------------------------------------------------------- */
    #footer {
        width: 100%;
    }

    .footer_box {
        width: 100%;
        float: none;
    }

}
