* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #198576;
    --background-color: white;
    --text-color: rgb(255, 255, 255);
    /* --main-color: rgba(0, 71, 27, 0.95); */
}

.box1 {
    height: 50px;
}

.box2 {
    height: 10px;
}

body {
    font-family:  '游明朝' , serif;
    line-height: 1.6;
    /* background-color: #EAEAE0; */
    background-color: var(--background-color);
    color: #333;
    overflow-x: hidden;
}

.page_title h2 {
    font-size: 35px;
}

.page_title h3 {
    font-size: 18px;
}

.page_title {
    max-width: 600px;
    font-size: 16px;
    line-height: 36px;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 1);
    align-items: center;
    display: block;
    text-align: center;
    margin: 100px auto 50px auto;
}

/* general */
.hover-opacity {
    transition-property: opacity;
    transition-duration: 0.6s;
}

.hover-opacity:hover {
    opacity: 0.4;
}

/*ヘッダー&メニュー*/
header {
    display: block;
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.header_logo {
    animation: wrap_on0 .5s ease-in-out .5s forwards;
}

header .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    cursor: pointer;
}

header span {
    display: block;
    width: 100%;
    /* box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.3); */
    border-radius: 3px;
    height: 1px;
    transition: all .3s;
    position: relative;
}

.not-active span{
    background: black;
    /* background: #fff; */
}

.active span{
    background: var(--text-color);
}

header span+span {
    margin-top: 7px;
}

.active span:nth-child(1) {
    animation: ease .7s top forwards;
    background: var(--text-color);
}

.not-active span:nth-child(1) {
    animation: ease .7s top-2 forwards;
}

.active span:nth-child(2) {
    animation: ease .7s scaled forwards;
    background: var(--text-color);
}

.not-active span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
}

.active span:nth-child(3) {
    animation: ease .7s bottom forwards;
    background: var(--text-color);
}

.not-active span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
}

@keyframes top {
    0% {
        top: 0;
        transform: rotate(0);
    }

    50% {
        top: 8px;
        transform: rotate(0);
    }

    100% {
        top: 8px;
        transform: rotate(45deg);
    }
}

@keyframes top-2 {
    0% {
        top: 8px;
        transform: rotate(45deg);
    }

    50% {
        top: 8px;
        transform: rotate(0deg);
    }

    100% {
        top: 0;
        transform: rotate(0deg);
    }
}

@keyframes bottom {
    0% {
        bottom: 0;
        transform: rotate(0);
    }

    50% {
        bottom: 8px;
        transform: rotate(0);
    }

    100% {
        bottom: 8px;
        transform: rotate(135deg);
    }
}

@keyframes bottom-2 {
    0% {
        bottom: 8px;
        transform: rotate(135deg);
    }

    50% {
        bottom: 16px;
        transform: rotate(0);
    }

    100% {
        bottom: 0;
        transform: rotate(0);
    }
}

@keyframes scaled {
    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes scaled-2 {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

#drawerMenu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    color: var(--text-color);
    text-align: center;
    padding: 20px 0;
    z-index: 5;
    transition: bottom 0.4s ease-in-out;
}

#drawerMenu ul {
    list-style-type: none;
}

#drawerMenu ul li {
    margin: 10px 0;
}

#drawerMenu ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    display: block;
}

/* メニュー表示時のスタイル */
#drawerMenu.active {
    bottom: 0;
}

.header_button {
    display: block;
    width: 80px;
    height: 100%;
    margin: 0 0 0 -40px;
    position: absolute;
    top: 0;
    left: 50%;
}

header .logo {
    float: left;
}

header .logo a {
    color: inherit;
    /* 通常時の文字色を親要素から継承する */
    text-decoration: none;
    /* 下線を消す場合はこの設定 */
}

header .logo a:hover,
header .logo a:focus,
header .logo a:visited,
header .logo a:active {
    color: inherit;
    /* ホバー、フォーカス、訪問後、クリック時の文字色も親から継承 */
    text-decoration: none;
    /* 必要に応じて下線も消す */
}

header h1{
    white-space: nowrap;
    font-size: clamp(1.3rem, calc(2vw), 2.2rem);
}

header nav {
    float: right;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
}

.menu-wrapper{
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 2;
    background-color: #000;
}

.nav-menu {
    padding: 20px;
    display: none;
    position: absolute;
    top: 80px; /* アイコンの下に表示される */
    right: 20px; /* 画面右端に合わせる */
    background-color: #333;
    width: 230px; /* メニューの幅を適切に設定 */
    text-align: left; /* メニュー内のテキストは左寄せ */
    z-index: 3;
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    padding: 15px;
}
.nav-menu li a{
    display: inline-block;
    position: relative;
    margin: -10px;
    padding: 10px;
}
.nav-menu li a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
}

.nav-menu li a:hover {
    background-color: #575757;
}

.menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 6px;
    width: 56px;
    height: 56px;
    border: 1px solid #333333;
    border-radius: 8px;
    background-color: #ffffff;
    margin-left: auto;
}

.menu-button__line,
.menu-button::before,
.menu-button::after {
    content: "";
    width: 28px;
    height: 2px;
    background-color: #333333;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-button.is-opened .menu-button__line {
    opacity: 0;
}

.menu-button.is-opened::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-button.is-opened::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* 理念 */
/* .philosophy {
    margin: 0px;
    padding: 50px 20px;
    background-color: #fff;
}

.philosophy h3 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
}

.philosophy .container {
    text-align: center;
}

.philosophy p {
    display: inline-block;
    text-align: left;
    font-size: clamp(16px, calc(0.5rem + 1.0vw), 20px);
    font-weight: bold;
    margin: 10px 0;
}

.philosophy-item {
    margin-bottom: 20px;
} */

.overview-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.office-info {
    /* background-color: #f1f1f1; */
    padding: 35px 0;
    border-radius: 5px;
}

.office-info h3{
    text-align: center;
    font-size: 25px;
    margin-bottom: 30px;
}

.office-info table{
    margin: auto;
}

.office-info table th{
    text-align: start;
}

.office-info dl {
    margin: 0;
}

.office-info dt {
    font-weight: bold;
    margin-top: 10px;
}

.office-info dd {
    margin: 0 0 10px 0;
}

footer {
    display: block;
    width: 100%;
    background-color: var(--main-color);
    color: var(--text-color);
    padding: 30px 10px 20px 10px;
}

.footer_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
}

.footer_table{
    display: table;
    width: 100%;
    margin: 0 auto 0px auto;
}

.footer_left{
    width: 40%;
    text-align: left;
    display: table-cell;
}
.footer_right {
    width: 60%;
    display: table-cell;
}

footer h2 {
    font-size: 27px;
}

footer .h2sub {
    font-size: 22px;
    margin-bottom: 20px;
}

footer .h2under{
    opacity: 0.6;
}

footer p{
    font-size: 18px;
}

footer #address{
    margin-bottom: 10px;
}

footer .ul_container{
    text-align: right;
}

footer ul {
    display: block;
    margin-left: auto;
    list-style: none;
    margin-top: 10px;
    font-size: 18px;
    text-align: left;
    right: 0px;
}

footer ul li {
    display: inline;
    text-align: left;
    margin-left: 15px;
    white-space: nowrap;
    line-height: 35px;
}

footer ul li a {
    color: var(--text-color);
    text-decoration: none;
}

footer hr {
    border: none;
    border-bottom: 1px solid var(--text-color);
    margin: 0px 0px 10px 0px;
}

.footer_end{
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 0 auto;
    text-align: center;
}

#copyright{
    margin-top: 30px;
    text-align: left;
}

@media (max-width: 481px) {

    .page_title h2 {
        font-size: 28px;
    }

    .page_title h3 {
        font-size: 15px;
    }

    .page_title {
        margin-top: 80px;
        margin-bottom: 20px;
    }

    footer p, footer a{
        font-size: 16px;
    }

    footer h2{
        text-align: center;
        font-size: 24px;
    }
    footer .h2sub{
        text-align: center;
        font-size: 20px;
    }

    .footer_table {
        display: block;
        text-align: center;
    }

    .footer_left {
        width: 100%;
        text-align: center;
        display: block;
    }

    .footer_right {
        width: 100%;
        text-align: center;
        display: block;
    }

    footer ul li {
        display: none;
        margin-left: 0px;
    }
    #policy{
        text-align: center;
        display: block;
        text-decoration: underline;
    }
}




