header {
    height: 200px;
    width: 100%;
    background-color: rgba(255, 255, 255);
    position: fixed;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    box-shadow: 0px 3px 3px #545454;
    font-weight: bold;
}

.sub-header {
    top: 100px;
    position: fixed;
    width: 100%;
    z-index: 11;
    display: flex;
    justify-content: center;
}

.sub-header>ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-header>ul>li {
    position: relative;
}

.sub-header>ul>li>a {
    line-height: 65px;
    color: black;
    display: block;
    padding: 0 25px;
    text-decoration: none;
    transition: all 0.5s;
}

.sub-header>ul>li:hover>a {
    padding: 10px 25px;
}

.sub-header>ul>li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    right: 0;
    width: 1px;
    height: 20px;
    background-color: #ccc;
    z-index: -1;
}

.sub-header>ul>li:hover>.sub-menu {
    display: block;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    padding: 0;
    box-shadow: 0px 3px 3px #545454;
}

.sub-menu li {
    width: 200px;
}

.sub-menu li a {
    padding: 10px 20px;
    color: black;
    display: block;
    text-decoration: none;
    transition: background-color 0.5s ease;
}

.sub-menu li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1170px;
    width: 100%;
    padding: 0 2vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-header {
    font-weight: normal;
}

.main-header,
.sub-header {
    display: flex;
    align-items: center;
}


.main-header a {
    margin-top: -7%;
    font-size: 200%;
    text-decoration: none;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    color: rgb(121, 121, 121);
}

.main-header img {
    margin-top: -7%;
    margin-left: 10%;
}

.sub-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background-color: white;
    list-style: none;
    padding: 0;
    transform: translateY(-2px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sub-header ul li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    position: relative;
}

.sub-menu li+li {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body {
    font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
}

.top-wrapper {
    padding: 300px 0 100px 0;
    width: auto;
    height: 80vh;
    background-image: url("../img/home_top.png");
    background-size: cover;
    box-shadow: 0px 5px 5px#d9d9d9;
}

.top-wrapper h1 {
    font-size: 300%;
    letter-spacing: 5px;
    color: white;
    text-align: center;
    text-shadow: 0px 0px 5px black;
}

.container {
    max-width: 1170px;
    width: 100%;
    padding: 0 2vw;
    margin: 0 auto;
}

.business-wrapper {
    padding: 20vh 0 20vh 0;
    margin-top: 10px;
    padding: 5vh 0;
    text-align: center;
    width: 100%;
}

.business-wrapper h1 {
    margin-bottom: 2%;
}

.business-wrapper h4 {
    position: relative;
    display: inline-block;
    padding-bottom: 3%;
}

.business-wrapper h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to left, transparent, #000, transparent);
}

.hoiku-wrapper {
    margin: 3% 0% 3% 0%;
    display: flex;
    stroke-linecap: square;
    box-shadow: 0px 0px 3px rgb(112, 112, 112);
    border-radius: 10px;
}

.hoiku-image {
    width: 40%;
}

.hoiku-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.hoiku-image img:hover {
    border-radius: 5px;
    transform: scale(0.95);
    transition: border-radius 0.3s ease, transform 0.3s ease;
}

.hoiku-content {
    width: 60%;
    display: block;
    text-align: center;
    margin: auto;
}

.hoiku-content h2 {
    text-align: center;
}

.shurou-wrapper {
    margin: 7% 0% 0% 0%;
    display: flex;
    box-shadow: 0px 0px 3px rgb(112, 112, 112);
    border-radius: 10px;
}

.shurou-image {
    width: 40%;
    order: 2;
}

.shurou-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.shurou-image img:hover {
    border-radius: 5px;
    transform: scale(0.95);
    transition: border-radius 0.3s ease, transform 0.3s ease;
}

.shurou-content {
    width: 60%;
    display: block;
    text-align: center;
    margin: auto;
    order: 1;
}

.shurou-content h2 {
    text-align: center;
}

span {
    font-size: 130%;
}

.hoiku-detail,
.shurou-detail {
    padding: 3% 15%;
    color: white;
    background-color: rgb(63, 164, 46);
    display: inline-block;
    opacity: 0.8;
    border-radius: 4px;
    text-align: center;
}

.hoiku-detail:hover,
.shurou-detail:hover {
    opacity: 1;
}

.hoiku-content p,
.shurou-content p {
    margin-top: 5%;
    margin-bottom: 5%;
}

.address {
    padding: 7% 0% 15% 0%;
    display: flex;
    width: 100%;
    margin-top: 10px;
}

.gaiyou {
    width: 50%;
    padding: 8vh 5vw;
    box-sizing: border-box;
}

.gaiyou h3 {
    margin: 0 auto;
    width: fit-content;
}

.gaiyou dl {
    margin-top: 20px;
    width: 100%;
}

.gaiyou dt {
    clear: both;
    float: left;
}

.gaiyou dd {
    margin-left: 80px;
    border-bottom: dotted 2px black;
    white-space: nowrap;
    padding: 0.3vh 0vw;
}

.map {
    width: 50%;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.background-colored {
    background-color: rgba(235, 235, 235, 0.5);
}

.site-map {
    padding: 5% 0 5% 0%;
    display: flex;
    flex-wrap: wrap;
}

.site-map h4 {
    position: relative;
    display: inline-block;
    padding-bottom: 3%;
}

.site-map h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, transparent, #6e6e6e77);
}

.site-map-houjin a,
.site-map-hoiku a,
.site-map-shurou a {
    color: black;
}

.site-map-houjin,
.site-map-hoiku,
.site-map-shurou {
    width: 33.33%;
    padding: 0% 1%;
    box-sizing: border-box;
}

.site-map-hoiku>a,
.site-map-shurou>a {
    display: inline-block;
    margin-bottom: 2%;
    font-size: 15px;
}

.site-map-houjin ul,
.site-map-hoiku ul,
.site-map-shurou ul {
    padding: 0% 5% 0% 5%;
}

.site-map-houjin li,
.site-map-hoiku li,
.site-map-shurou li {
    list-style: none;
    margin-bottom: 1%;
    list-style: none;
}

.small {
    padding: 0.3% 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.small {
    background-color: rgb(153, 153, 153, 0.2);
}

.menu-icon {
    display: none;
    cursor: pointer;
    margin-right: 40px;
}

.menu-icon img {
    width: 30px;
    height: auto;
}

@media screen and (max-width: 1024px) {
    .site-map h4 {
        font-size: 140%;
    }

    body {
        font-size: 14px;
    }

    h1,
    h2,
    h3,
    p {
        font-size: 1.2rem;
    }

    header {
        height: auto;
        padding: 20px 0;
    }

    .main-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-left: 5%;
    }

    .main-header a {
        padding-top: 8%;
        order: 1;
        font-size: 300%;
    }

    .main-header img {
        padding-top: 8%;
        order: 2;
        width: 40%;
        height: auto;
        max-width: 1500px;
    }

    .top-wrapper {
        background-size: cover;
    }

    .top-wrapper .container {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    .sub-header {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 10;
    }

    .sub-header.show {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .sub-header ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-header li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .sub-header a {
        padding: 15px 20px;
        display: block;
    }

    .sub-header .sub-menu {
        position: static;
        display: none;
        width: 100%;
        background-color: #f5f5f5;
    }

    .sub-header li:hover .sub-menu {
        display: block;
    }

    .hoiku-content p,
    .shurou-content p {
        font-size: 80%;
    }

    .hoiku-content a,
    .shurou-content a {
        font-size: 100%;
    }

    .menu-icon {
        display: block;
        margin-right: 40px;
    }
}

@media screen and (max-width: 770px) {
    .site-map h4 {
        font-size: 130%;
    }

    body {
        font-size: 14px;
    }

    h1,
    h2,
    h3,
    p {
        font-size: 1.2rem;
    }

    header {
        height: auto;
        padding: 20px 0;
    }

    .main-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-left: 5%;
    }

    .main-header a {
        padding-top: 8%;
        order: 1;
        font-size: 250%;
    }

    .main-header img {
        padding-top: 8%;
        order: 2;
        width: 40%;
        height: auto;
        max-width: 1500px;
    }

    .top-wrapper {
        background-size: cover;
    }

    .top-wrapper .container {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    .sub-header {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 10;
    }

    .sub-header.show {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .sub-header ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-header li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .sub-header a {
        padding: 15px 20px;
        display: block;
    }

    .sub-header .sub-menu {
        position: static;
        display: none;
        width: 100%;
        background-color: #f5f5f5;
    }

    .sub-header li:hover .sub-menu {
        display: block;
    }

    .hoiku-content p,
    .shurou-content p {
        font-size: 80%;
    }

    .hoiku-content a,
    .shurou-content a {
        font-size: 100%;
    }

    .menu-icon {
        display: block;
        margin-right: 40px;
    }
}

@media screen and (max-width: 720px) {
    .main-header a {
        font-size: 180%;
    }

    .site-map-houjin,
    .site-map-hoiku,
    .site-map-shurou {
        width: 100%;
        margin-bottom: 20px;
    }

    body {
        font-size: 14px;
    }

    h1,
    h2,
    h3,
    p {
        font-size: 1.2rem;
    }

    .top-wrapper {
        background-size: cover;
        background-position: right;
    }

    .top-wrapper .container {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    .sub-header {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 10;
    }

    .sub-header.show {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .sub-header ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-header li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .sub-header a {
        padding: 15px 20px;
        display: block;
    }

    .sub-header .sub-menu {
        position: static;
        display: none;
        width: 100%;
        background-color: #f5f5f5;
    }

    .sub-header li:hover .sub-menu {
        display: block;
    }

    .business-wrapper h4 {
        font-size: 130%;
    }

    .hoiku-content p,
    .shurou-content p {
        font-size: 55%;
    }

    .hoiku-content a,
    .shurou-content a {
        font-size: 80%;
    }

    .address {
        flex-direction: column;
    }

    .gaiyou,
    .map {
        width: 100%;
    }

    .gaiyou {
        padding: 4vh 2vw;
    }

    .site-map {
        flex-direction: column;
    }

    .menu-icon {
        display: block;
        margin-right: 40px;
    }
}

@media screen and (max-width: 428px) {
    header {
        height: auto;
        padding: 20px 0;
    }

    .main-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-left: 5%;
    }

    .main-header a {
        padding-top: 5%;
        order: 1;
        font-size: 150%;
    }

    .main-header img {
        padding-top: 10%;
        order: 2;
        width: 60%;
        height: auto;
        max-width: 1500px;
    }

    .top-wrapper h1 {
        font-size: 180%;
    }

    body {
        font-size: 12px;
    }

    h1,
    h2,
    h3,
    p {
        font-size: 1rem;
    }

    .top-wrapper {
        background-size: cover;
        background-size: cover;
        background-position: right;
    }

    .top-wrapper .container {
        position: relative;
        top: 40%;
        transform: translateY(-50%);
    }

    .business-wrapper h4 {
        font-size: 100%;
    }

    .hoiku-content p,
    .shurou-content p {
        font-size: 40%;
    }

    .hoiku-content a,
    .shurou-content a {
        font-size: 80%;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}