@charset "utf-8";

body {
    width: 100%;
    font-family: "Zen Kaku Gothic New", sans-serif;
    overflow-x: hidden;
}

body.is-active {
    overflow: hidden;
}

.contentWrapper {
    max-width: 375px;
    margin: 0 auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    width: 100%;
}


h2 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 24px;
    font-weight: bold;
    padding-top: 40px;

}

h3 {
    font-size: 21px;
    text-align: center;
    width: 50;
}

h4 {
    font-size: 18px;
}

p {
    line-height: 1;
}

.yohaku {
    position: relative;
    display: table-cell;
    padding-left: 70px;
}

.yohaku:before {
    position: absolute;
    content: '';
    top: calc(50% + 20px);
    width: 60px;
    left: 0;
    height: 1px;
    border-top: solid 1px #000000
}




header {
    align-items: center;
    padding: 20px;
    position: relative;
}

.container {
    position: relative;
}

.logo-img {
    width: 124px;
    height: 54px;
}



.text-box {
    /*width: 300px;*/
    /* 幅を指定 */
    white-space: normal;
    /* 折り返しを有効にする */
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 20px;
    text-align: justify;
}

.top {
    background-color: #35A81A;
}

.middle {
    background-color: #36931C;
}

.under {
    background-color: #22A064;
}

.bottom {
    background-color: #008080;
}

.text {
    color: #fff;
    font-size: 11px;
}

.text span {
    font-size: 28px;
    font-weight: bold;
    width: 200px;
}

.yohaku {
    margin-top: 0;
}

.green {
    color: #35A81A;
    padding-left: 70px;
}

.greenbk {
    background-color: #35A81A;
    text-align: center;
    height: 100px;
}

.our {
    background-color: #F9F8F4;
    padding-bottom: 20px;
}

.rectangle {
    width: 80%;
    font-size: 15px;
    margin: 0 auto;
    background-color: #ffff;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 10px 0px rgba(67, 65, 68, 0.11);
}

#company {
    padding-bottom: 30px;
    background-color: #EFEDE1
}

h2.white {
    color: #fff;
    text-align: center;
    padding-top: 30px;
}

.Insurance-Companies {
    color: #fff;
    font-size: 11px;
    padding-bottom: 50px;
}

dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
}

.address {
    background-color: #35A81A;
    color: white;
    /* テキスト色も調整 */
    padding: 40px;
    /* 内側の余白を追加 */
    text-align: center;
}

footer .copyright {
    background-color: #fff;
    color: #000000;
    text-align: center;
    padding: 22px;
    padding-bottom: calc(22px + 160px);
}

footer {
    display: block;
    margin: 0 auto;
}

.box {
    width: 80%;
    position: relative;
    border: solid 2px #000000;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0px 4px 10px 0px rgba(67, 65, 68, 0.11);
}

.top {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.middle {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.under {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.bottom {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.logo-img {
    display: inline-block;
    vertical-align: middle;

}

.phone {
    display: inline-block;
    margin-left: 10px;
    margin-right: 30px;
    padding-bottom: 20px;
}

.sentence {
    text-align: center;
    vertical-align: middle;
    position: relative;
    top: 15px;
}


rectangle2 {
    margin-right: auto;
    margin-left: auto;
}

.rectangle2 .bg-green {
    background: #35A81A;
    border-radius: 1em 1em 0 0;
    width: 90%;
    padding: 15px 0;
    margin: 20px auto 0 auto;
}

.rectangle2 .bg-green h4 {
    text-align: center;
    color: #fff;
    padding: 5px;

}

.rectangle2 .bg-green h4 span {
    display: inline-block;
}

.rectangle2 .companyTxt {
    padding: 20px;
    width: 80%;
    margin: 0 auto;
    background: #fff;
    border-radius: 0 0 1em 1em;
    box-shadow: 0px 13px 9px -7px rgba(133, 128, 128, 0.35);
}

.companyTxt p {
    line-height: 1.7;
    text-align: justify;
}

.heart {
    width: 20px;
    height: 20px;
}

.rectangle2 .bg-green h4 span {
    vertical-align: sub;
    margin-right: 5px;
}

.phone {
    display: flex;
    /* アイコンと電話番号を横並びに配置 */
    align-items: center;
    /* アイコンとテキストを縦中央に揃える */
}

.phone span {
    padding-top: 10px;
    text-align: center;
    position: relative;
    top: 10px;
}

.phone img {
    position: relative;
    top: 18px;
    left: 10px;
}

.address p {
    text-align: center;
    width: 50;
    line-height: 1.5;
}

img {
    display: block;
}

.box p {
    font-size: 0.75em;
    line-height: 1.4;
    text-align: justify;
}

.box h5 {
    font-size: 0.75em;
    line-height: 2;
    font-weight: 600;
}

.box ul {
    list-style: inherit;
    font-size: 0.75em;
    line-height: 1.4;
    text-align: justify;
}

.box ul li {
    margin-left: 1em;
}

.box ul li::marker{
    color: #ccc;
}

.phone2 {
    display: flex;
    align-items: center;
    /* 縦中央に配置 */
    justify-content: center;
    /* 横中央に配置 */
    text-align: center;
    /* テキストの中央揃え */
}

.phone2 img {
    width: 8px;
    height: 15px;
    height: auto;
    margin-right: 8px;
    /* 画像とテキストの間に余白を追加 */
}

.rectangle {
    padding: 20px 15px 20px 20px;
}

dl {
    display: grid;
    gap: 10px 2px;
}

.address h3 {
    padding-bottom: 10px;
    position: relative;
    /* 位置調整を可能にする */
    top: -10px;
}

.p img {
    display: block;
}

.part {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.item {
    width: calc(100% / 3);
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    /* テキストカラーを白に設定（任意） */
}

.item:nth-child(1) {
    background-color: #35A81A;
    /* 緑色 */
}

.item:nth-child(2) {
    background-color: #36931C;
    /* 少し濃い緑色 */
}

.item:nth-child(3) {
    background-color: #22A064;
    /* 別の緑色 */
}

.item:nth-child(4) {
    background-color: #008080;
}

.item img {
    max-width: 100%;
    /* 画像の幅をコンテナに合わせる */
    height: auto;
}

.item p {
    margin: 5px 0;
    /* テキストの余白 */
}

.text-mini {
    font-size: 11px;
    margin-bottom: 10px;
}

.item p {
    text-align: center;
}

.item p.tel-num {
    display: flex;
}

.item p.tel-num img {
    display: inline-block;
    max-height: 20px;
    margin-right: 2px;
}

.item p.text-mini {
    font-size: 9px;
    line-height: 1.4;
}

.item .safe-line {
    display: flex;
    align-items: center;
    justify-content: center;
}

.item .safe-line {
    height: 40px;
}

.item {
    padding: 10px;
    padding-top: 15px;
}

.burger {
    width: 40px;
    height: 40px;
    background-image: url(../img/Buger.svg);
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    /*position: relative;*/
    z-index: 2;
    /*position: absolute; */
    /*right: 30px; 
top: 4px;*/
}

.burger.is-active {
    background-image: url(../img/close.svg);
}

.menu {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 430px;
    height: 100dvh;
    background-color: #EDF4E4;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
    display: none;
    position: absolute;
}

.menu.is-active {
    display: flex;
    z-index: 1;
}

.menu-in {
    margin-bottom: 30px;
}

.menu-in li {
    padding: 20px;
    border-bottom: solid 1px #000;
}

.menu-in ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
}


.menu-in ul li:first-child {
    border-top: solid 1px #000;
}

.menu {
    display: flex;
    transition: opacity .3s linear;
    opacity: 0;
}

.menu.is-active {
    opacity: 1;
}

.right {
    width: 20px;
    height: 34px;
    padding-left: 40px;

}


a {
    text-decoration: none;
}

.link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
    color: black;
    width: 100%
}

.part a {
    color: #fff;
}

.part {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 375px;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateY(100%);
    /* 初期状態は画面の下に隠れている */
    transition: transform 0.3s ease;
    /* スライドアニメーションの速度 */
}

.part.is-visible {
    transform: translateY(0);
    /* スクロールしたときに画面内に現れる、位置を戻す */
}

header h3 {
    position: relative;
    z-index: 100;
    font-weight: 500;
}

.logo-wrap {
    text-align: left;
    /*width: 210px;*/
    display: flex;
    align-items: center;
    /*justify-content: flex-start;*/
    width: 100%;
    justify-content: space-between;
}

.logo-wrapimg {
    display: inline;
    z-index: 9999;
}

@media screen and (min-width: 481px) {
    /*.contentWrapper {
        transition: transform 0.3s;
        transform: scale(1.5);
        transform-origin: left top;
        height: calc(100% / 1.5);
        width: calc(100% / 1.5);
    }*/

    .contentWrapper {
        zoom: 1.5;
    }

    .menu.is-active {
        align-items: flex-start;
    }

    .menu-in {
        margin-top: 25%;
    }
}