@charset "UTF-8";

/* ------------------------------------------------------------------------------------------------------------------------共通設定 */
html,
body {
    overflow-x: hidden;
}

.wrapperAll {
    height: 100%;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: black;
}

img {
    width: 100%;
}

button,
input {
    cursor: pointer;
}

/* フォントの設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    background-color: #FFFDF4;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 500
}

/* ------------------------------------------------------------------------------------------------------------------------ヘルパー*/
.hl_posRe {
    position: relative;
}

.hl_dispNone {
    display: none;
}

.hl_z1 {
    z-index: 1;
    position: relative;
}

.hl_boxSd {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

/* フォント関連 */
.hl_colorWhite {
    color: white !important;
}

.hl_colorDarkGreen {
    color: #385238;
}

.hl_fontWeight_bold {
    font-weight: 500;
}

.hl_txtMini {
    font-size: 1rem;
}

@media screen and (max-width: 768px) {
    .hl_txtMini {
        font-size: 0.5rem;
    }
}

.lg_only {
    display: block !important;
}

@media screen and (max-width: 768px) {
    .lg_only {
        display: none !important;
    }
}

.md_only {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .md_only {
        display: block !important;
    }
}

/* ------------------------------アニメーションの設定 */

/* トップへ戻るボタンの回転 */
.rotate-center:hover,
.rotate-center:focus {
    -webkit-animation: rotate-center 0.6s ease-in-out both;
    animation: rotate-center 0.6s ease-in-out both;
}

@-webkit-keyframes rotate-center {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate-center {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* ふわふわ動く */
@keyframes fuwafuwa-lv1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes fuwafuwa-lv2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fuwafuwa-horizontal {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-20px);
    }
}

@keyframes fuwafuwa-bird {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.anime-fuwafuwa-lv1 {
    animation: 2s fuwafuwa-lv1 infinite;
    -webkit-animation: 2s fuwafuwa-lv1 infinite;
}

.anime-fuwafuwa-lv2 {
    animation: 3s fuwafuwa-lv2 infinite;
}

.anime-fuwafuwa-horizontal {
    animation: 3s fuwafuwa-horizontal infinite;
    -webkit-animation: 3s fuwafuwa-horizontal infinite;
}

.anime-fuwafuwa-bird {
    animation: 1.5s fuwafuwa-bird infinite;
    -webkit-animation: 1.5s fuwafuwa-bird infinite;
}

/*----------------------------
スクロールに合わせてふわっと表示
----------------------------*/

/* アニメーション設定 */
.scrollUp {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    -webkit-transform: translate3d(0, 30px, 0);
    -moz-transform: translate3d(0, 30px, 0);
    -ms-transform: translate3d(0, 30px, 0);
    -o-transform: translate3d(0, 30px, 0);
}

.scrollUp.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
}

/* ------------------------------アニメーションの設定ここまで */

/* 追従型問い合わせボタン */
.el_contact_btn {
    position: fixed;
    z-index: 10;
    top: 101px;
    right: 0;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
}

.el_contact_btn>a {
    display: inline-block;
    /* カンプ通り「width:80, height:263」になるpadding指定 */
    padding: 1.35em 0.917em;
    /* 固定のフォントサイズだとタブレットの時に大きすぎるのでminで可変に指定 */
    font-size: min(1.8vw, 1.5rem);
    letter-spacing: 0.1rem;
    color: white;
    background-color: #385238;
}

.el_contact_btn>a::before {
    content: "";
    display: inline-block;
    background: url(../images/mail-icon.svg) no-repeat;
    background-size: contain;
    width: 30px;
    height: 24px;
    margin-bottom: 0.6875rem;
}

/* 追従型トップへ戻るボタン */
.el_toTop_btn {
    position: fixed;
    z-index: 10;
    bottom: 34px;
    right: 34px;
    width: clamp(50px, 10vw, 95px);
}

.el_toTop_btn>a {
    display: inline-block;
    width: 100%;
}

/* ------------------------------スマホのメニュー開閉ボタン */

@media screen and (max-width: 768px) {

    .el_spMenu_btnWrapper {
        position: fixed;
        z-index: 9999;
        top: 0;
        right: 0;
    }

    /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
    .el_spMenu_btn {
        /*ボタン内側の基点となるためrelativeを指定。追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
        position: relative;
        background: #574527;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 2px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -ms-border-radius: 2px;
        -o-border-radius: 2px;
    }

    /*ボタン内側*/
    .el_spMenu_btn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 50%;
        width: 55%;
        height: 2.3px;
        border-radius: 5px;
        background: #fff;
        transform: translateX(-50%);
    }


    .el_spMenu_btn span:nth-of-type(1) {
        top: 11px;
    }

    .el_spMenu_btn span:nth-of-type(2) {
        top: 21px;
    }

    .el_spMenu_btn span:nth-of-type(2)::after {
        content: "Menu";
        /*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top: 6px;
        left: 50%;
        color: #fff;
        font-size: 0.6rem;
        text-transform: uppercase;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }

    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

    .el_spMenu_btn.active span:nth-of-type(1) {
        top: 10px;
        left: 14px;
        transform: translateY(6px) rotate(-20deg);
        width: 50%;
        -webkit-transform: translateY(6px) rotate(-20deg);
        -moz-transform: translateY(6px) rotate(-20deg);
        -ms-transform: translateY(6px) rotate(-20deg);
        -o-transform: translateY(6px) rotate(-20deg);
    }

    .el_spMenu_btn.active span:nth-of-type(2) {
        top: 22px;
        left: 14px;
        transform: translateY(-6px) rotate(20deg);
        width: 50%;
        -webkit-transform: translateY(-6px) rotate(20deg);
    }

    .el_spMenu_btn.active span:nth-of-type(2)::after {
        content: "Close";
        transform: translateY(0) rotate(-20deg);
        top: 8px;
        left: 3px;
    }
}

/* ------------------------------スマホのメニュー開閉ボタンここまで */

/* ---------------------------------------------------------------- --------------------------------------------------------見出し */
.el_lv2Heading_wrapper {
    padding: 30px 10px;
    text-align: center;
    line-height: 1;
    /* background-color: rgba(0, 255, 255, 0.1) */
}

.el_lv2Heading {
    position: relative;
    display: block;
    color: #1C1C1C;
    font-size: clamp(1.25rem, 4.5vw, 3.125rem);
    font-weight: 500;
    transform: translateY(-20%);
    -webkit-transform: translateY(-20%);
    -moz-transform: translateY(-20%);
    -ms-transform: translateY(-20%);
    -o-transform: translateY(-20%);
}

.el_lv2Heading_subTtl {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(1rem, 4vw, 1.875rem);
    font-weight: 500;
    color: #C5846B;
}

.el_lv3Heading_wrapper {
    padding: 63px 10px 61px;
    text-align: center;
    line-height: 1;
}

.el_lv3Heading {
    font-size: clamp(1.25rem, 3vw, 2.5rem);
}

.bl_card_ttl {
    font-weight: 500;
}

/* ---------------------------------------------------------------- --------------------------------------------------------ボタン */

/* ボタン：背景なし→ホバーで下線が出てくるアニメーション */
.el_noBackgroundBtn {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 100%;
}

.el_noBackgroundBtn::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 4px;
    bottom: -3px;
    left: 0;
    background-color: #385238;
    transform-origin: bottom right;
    transition: transform .4s cubic-bezier(.86, 0, .07, 1);
}

.el_noBackgroundBtn:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ボタン：下線ありボタン→ホバーで下線が無くなるアニメーション */
.el_underLineBtn {
    display: inline-block;
    color: #474e51;
    position: relative;
    cursor: pointer;
    font-weight: 500;
}

.el_underLineBtn::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(1);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #385238;
    transform-origin: bottom left;
    transition: transform .3s ease-in-out;
}

.el_underLineBtn:hover::after {
    transform: scaleX(0);
    transform-origin: bottom right;
}

/* ---------------------------------------------------------------- --------------------------------------------------------ヘッダー */

.ly_header {
    /* 読み込まれてからフェードインアニメーションを実行するために非表示にする */
    display: none;
    position: relative;
    width: 100%;
    /* 常に100vhで縦幅いっぱいにしても良いがタブレットなどではヘッダー以下も見える方が自然だと思うため、70vwで横幅に対する比率で可変。maxは100vhにしておかないと、広い画面幅の際に見えない範囲にまでメニューが突き抜けてしまう。 */
    height: 70vw;
    max-height: 100vh;
    background-image: image-set(url(../images/pc-topmain@1x.jpg) 1x, url(../images/pc-topmain@2x.jpg) 2x);
    background-image: -webkit-image-set(url(../images/pc-topmain@1x.jpg) 1x, url(../images/pc-topmain@2x.jpg) 2x);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 10% 0%;
}

@media screen and (max-width: 768px) {
    .ly_header {
        height: 100vh;
        max-height: 810px;
        background-image: image-set(url(../images/sp-topmain@1x.jpg) 1x, url(../images/sp-topmain@2x.jpg) 2x);
        background-image: -webkit-image-set(url(../images/sp-topmain@1x.jpg) 1x, url(../images/sp-topmain@2x.jpg) 2x);
        background-position: 50% 0%;
    }
}

.ly_header_inner {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1320px;
    height: 100%;
}

.bl_header_ttl {
    position: absolute;
    top: 46.5%;
    left: 0;
    transform: translateY(-50%);
    width: clamp(240px, 46%, 595px);
    /* max-width: 600px; */
}

@media screen and (max-width: 768px) {
    .bl_header_ttl {
        top: unset;
        bottom: -10px;
        left: 51%;
        transform: translateX(-50%) translateY(-50px);
        -webkit-transform: translateX(-50%) translateY(-50px);
        -moz-transform: translateX(-50%) translateY(-50px);
        -ms-transform: translateX(-50%) translateY(-50px);
        -o-transform: translateX(-50%) translateY(-50px);
        width: clamp(240px, 46%, 595px);
    }
}

/* グローバルナビゲーション */
.bl_header_nav {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 39.2px;
    transform: translateX(-50%);
    width: 100%;
    font-size: clamp(12px, 2vw, 24px);
    text-align: center;
}

.bl_header_list {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.bl_header_listItem {
    padding-right: 1.5em;
}

.bl_header_listItem:last-child {
    padding-right: 0;
}

/* ------------------------------スマホ時のグローバルナビゲーション */

.ly_spMenu {
    display: none;
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 150vh;
    background-color: rgb(255 255 236 / 95%);
}

.hl_scrollNon {
    width: 100% !important;
    /* when modal active */
    touch-action: none;
    -webkit-overflow-scrolling: none;
    overflow: hidden !important;
    /* Other browsers */
    overscroll-behavior: none;
}

@media screen and (max-width: 768px) {

    .modaal-container:has(.bl_spMenu_list) {
        background: #fffbeb;
    }

    .modaal-content-container:has(.bl_spMenu_list) {
        margin-top: 90px;
    }

    .bl_spMenu_list {
        margin-top: 120px;
        margin-left: 30px;
        font-size: 1.5rem;
        font-weight: 500;
    }

    .bl_spMenu_listItem {
        position: relative;
        padding-bottom: 1.25rem;
    }

    .bl_spMenu_listItem::before {
        content: "";
        position: absolute;
        top: 30%;
        left: -1.5rem;
        width: 14px;
        height: 3px;
        background-color: #3E513A;
    }

    .bl_spMenu_listItem>a {
        color: #574527;
    }

    .el_spMenu_listItem_sub {
        padding-left: 1rem;
        font-size: 1rem;
        color: #385238;
    }

    .bl_spMenu_logo {
        width: 70%;
        max-width: 350px;
        margin: auto;
        margin-top: 120px;
    }
}

/* ヘッダー上に配置する各画像（コンパス、葉、茶テクスチャ―） */
.bl_header_imgWrapper>.bl_headerImg {
    position: absolute;
}

/* コンパス（左上） */
.bl_headerImg_conpass {
    z-index: 1;
    top: 40px;
    left: 50px;
    width: clamp(131px, 17vw, 263px);
}

@media screen and (max-width: 768px) {
    .bl_headerImg_conpass {
        top: 20px;
        left: 20px;
    }
}

/* 葉（右下） */
.bl_headerImg_leaf {
    z-index: 1;
    bottom: -33vw;
    right: calc(-200px * 1.83);
    width: clamp(280px, 50vw, 952px);
}

@media screen and (max-width: 768px) {
    .bl_headerImg_leaf {
        bottom: -230px;
        right: -120px;
    }
}

/* 茶テクスチャ―上 */
.bl_headerImg_txTop {
    z-index: 0;
    top: 0;
    left: 0;
    width: clamp(367px, 50vw, 734px);
}

/* 茶テクスチャ―下 */
.bl_headerImg_txBottom {
    z-index: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    min-width: 700px;
}

@media screen and (max-width: 768px) {}

/* ------------------------------------------------------------------------------------------------------------------------コンテンツ */

.ly_cont {
    position: relative;
}

.ly_cont_inner {
    max-width: 1320px;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 360px;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width: 768px) {
    .ly_cont_inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ------------------------------------------------------------------------------------------------------------------------メッセージ（.bl_sentence：センテンス：タイトルと文章のみのブロック） */
.ly_cont_message>.ly_cont_inner {
    margin-bottom: 155px;
}

@media screen and (max-width: 768px) {
    .ly_cont_message>.ly_cont_inner {
        margin-bottom: 30px;
    }
}

.ly_cont_message::before {
    display: block;
    height: 10px;
    margin-top: -10px;
    content: "";
}

.bl_sentence_ttl {
    position: relative;
    width: clamp(283px, 80vw, 771px);
    margin-top: 141.8px;
    margin-bottom: 79px;
    padding: 35px 64px 36px 0;
    background-color: #385238;
}

@media screen and (max-width: 768px) {
    .bl_sentence_ttl {
        width: clamp(250px, 70vw, 771px);
        margin-top: 172px;
        margin-bottom: 14px;
        padding: 10px;
    }
}

.bl_sentence_ttl::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100%;
    margin: 0 calc(50% - 50vw);
    background-color: #385238;
}

@media screen and (max-width: 768px) {
    .bl_sentence_ttl::after {
        width: 89vw;
    }
}

.bl_sentence_ttl>.bl_sentence_subTtl {
    position: absolute;
    top: -45px;
    left: -15px;
    font-size: 30px;
}

.ly_cont_message .bl_sentence_txt {
    width: 80vw;
    max-width: 1105px;
    padding-top: 34px;
    /* フォントサイズ：最小12px、通常3vw、最大24px（最小と最大はカンプに準拠し、通常サイズはタブレットサイズなどにおける視認率で判断） */
    font-size: clamp(0.75rem, 3vw, 1.5rem);
}

@media screen and (max-width: 768px) {
    .ly_cont_message .bl_sentence_txt {
        width: 100%;
        padding-top: 6px;
    }
}

.ly_cont_message .bl_sentence_txt>p {
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .ly_cont_message .bl_sentence_txt>p {
        margin-bottom: 1rem;
    }
}

.ly_cont_message .bl_sentence_txt>p:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------------------------------------------------------------------事業案内 */
.ly_cont_services {
    position: relative;
    z-index: 0;
    /* 背景画像とコンテンツの配置調整のためにpadding-topを指定 */

    /* background: url(../images/bg_wave02-ivory.svg), url(../images/bg_wave01.svg), url(../images/bg_wave01-brown.svg);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: max(2000px, 100vw), max(1920px, 100vw), max(1920px, 100vw);
    background-position: bottom -1.5% center, top 110% center, top 0.5% center; */
}

.ly_cont_services .ly_cont_inner {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.ly_cont_services .el_lv2Heading_wrapper {
    padding-bottom: 69px;
}

@media screen and (max-width: 768px) {
    .ly_cont_services .el_lv2Heading_wrapper {
        padding-bottom: 24px;
    }
}

.ly_cont_message .bl_sentence_subTtl {
    font-family: 'Josefin Sans', sans-serif;
    padding-left: 15px;
    font-weight: 500;
    color: #385238;

}

@media screen and (max-width: 768px) {
    .ly_cont_message .bl_sentence_subTtl {
        font-size: 20px;
        padding-left: 15px;
        transform: translateY(15px);
        -webkit-transform: translateY(15px);
        -moz-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
    }
}

/* Servicesの背景重ね:背景は通常のレイアウト（absoluteやbackgroundは使わない）で、逆にコンテンツをposition:absolute;にして背景画像の中央に配置する。なぜなら、逆（absoluteを背景画像にかける、もしくは背景画像を読み込み、コンテンツは通常のレイアウト）にすると、3枚の背景画像がうまく噛み合わず、ウインドウサイズを変えるとバラバラの動きになる。加えて背景読み込みだと上下が途切れないようにheightやpaddingに留意する必要が出てくる。 */
.bl_servicesImg {
    position: relative;
    width: 100%;
    min-width: 1800px;
    /* max-heightを設定しないと2560pxくらいの大画面で縦に膨らみすぎてしまう */
    max-height: 1600px;
    /* overflow-y:hiddenでちょうど白ウェーブ以下が非表示になる */
    overflow-y: hidden;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.bl_servicesImg_waveBrown {
    position: absolute;
    z-index: -2;
    top: -1.5vw;
}

@media screen and (max-width: 768px) {
    .bl_servicesImg {
        min-width: 430px;
        max-height: 1160px;
        overflow-y: hidden;
    }
}

.bl_servicesImg_waveWhite {
    position: absolute;
    z-index: 1;
    transform: translateY(-98%) translateX(-50%);
}

@media screen and (max-width: 768px) {
    .bl_servicesImg_waveBrown {
        top: 0;
    }
}

/* ------------------------------「小さな波」事業案内の小さな波の配置 */
.bl_servicesImg_waves>figure {
    position: absolute;
}

.bl_servicesImg_waves>figure:first-of-type {
    top: 13%;
    left: 26%;
    width: clamp(50px, 12vw, 165px);
}

.bl_servicesImg_waves>figure:nth-of-type(2) {
    top: 50%;
    left: 10%;
    width: clamp(50px, 12vw, 165px);
}

.bl_servicesImg_waves>figure:nth-of-type(3) {
    top: 35%;
    right: 6%;
    width: clamp(23.64px, 6vw, 80px);
}

.bl_servicesImg_waves>figure:nth-of-type(4) {
    top: 80%;
    right: 10%;
    width: clamp(50px, 12vw, 165px);
}

@media screen and (max-width: 768px) {
    .bl_servicesImg_waves>figure:first-of-type {
        top: 13%;
        left: 20px;
    }

    .bl_servicesImg_waves>figure:nth-of-type(2) {
        top: 63.5%;
        left: 5%;
    }

    .bl_servicesImg_waves>figure:nth-of-type(3) {
        top: 41.5%;
        right: 7%;
        width: clamp(23.64px, 6vw, 80px);
    }

    .bl_servicesImg_waves>figure:nth-of-type(4) {
        top: 90%;
        right: 3%;
    }
}

/* ------------------------------「小さな波」事業案内の小さな波の配置ここまで */

/* ------------------------------------------------------------------------------------------------------------------------.bl_card（カード） */

/* 3カラムのカードレイアウトの設定 */
.bl_cardUnit {
    display: flex;
    flex-wrap: wrap;
}

.bl_cardUnit.bl_cardUnit__col3,
.bl_cardUnit.bl_cardUnit__col3_2 {
    margin-bottom: -160px;
}

.bl_cardUnit.bl_cardUnit__col3>.bl_card,
.bl_cardUnit.bl_cardUnit__col3_2>.bl_card {
    width: 31.707%;
    margin-right: 2.43902%;
    margin-bottom: clamp(36px, 8vw, 109px);
}

.bl_cardUnit__col3>.bl_card:nth-of-type(3n),
.bl_cardUnit__col3_2>.bl_card:nth-of-type(3n) {
    margin-right: 0;
}

@media screen and (max-width: 768px) {

    .bl_cardUnit.bl_cardUnit__col3,
    .bl_cardUnit.bl_cardUnit__col3_2 {
        margin-bottom: -20px;
    }

    .bl_cardUnit.bl_cardUnit__col3>.bl_card {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    /* 2カラム */
    .bl_cardUnit.bl_cardUnit__col3_2>.bl_card {
        width: 48.25%;
        margin-bottom: 36px;
        margin-right: 3.5%;
    }

    .bl_cardUnit.bl_cardUnit__col3_2>.bl_card:nth-of-type(2n) {
        margin-right: 0;
    }
}

/* カード自体のデザイン（デフォルト：「事業案内」で利用） */
.bl_card {
    position: relative;
    text-align: center;
    border-radius: 39px;
    font-size: clamp(.75rem, 2vw, 1.5rem);
    background-color: white;
}

@media screen and (max-width: 768px) {
    .bl_card {
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }
}

/* カードと背景画像の白いウェーブとの距離を目安で測ってpadding-bottomを設定。正確に測るなら白ウェーブ背景をインラインにする必要があるかも */
.ly_cont_services>.ly_cont_inner {
    padding-bottom: 134px;
}

@media screen and (max-width: 768px) {
    .ly_cont_services>.ly_cont_inner {
        top: 48%;
        padding-bottom: 0;
    }
}

/* 白い鳥のシルエット画像の配置 */
.bl_servicesImg_bird {
    position: absolute;
    z-index: 0;
    top: clamp(50px, 7.5vw, 137.4px);
    right: 45px;
    width: clamp(136px, 20vw, 379.32px);
}

@media screen and (max-width: 768px) {
    .bl_servicesImg_bird {
        top: 0;
        right: 10px;
    }
}

.ly_cont_services .bl_card_body {
    padding-top: 1.1rem;
}

@media screen and (max-width: 768px) {
    .ly_cont_services .bl_card_body {
        padding-top: 8px;
    }
}

.ly_cont_services .bl_card_ttl {
    width: 30px;
    margin: auto;
    /* 数字と下線の間のスペース */
    padding-bottom: 0.4rem;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-size: clamp(14px, 3vw, 40px);
    border-bottom: 1px solid #1C1C1C;
}

@media screen and (max-width: 768px) {
    .ly_cont_services .bl_card_ttl {
        width: 15px;
        padding-bottom: 2px;
    }
}

.ly_cont_services .bl_card_txt {
    padding-top: 1.75rem;
    line-height: 1.34;
    /* テキストエリアに高さを設定しないとテキスト量の違いによりブロック下部の船の位置がばらばらになってしまう */
    min-height: 150px;
}

@media screen and (max-width: 768px) {
    .ly_cont_services .bl_card_txt {
        min-height: 60px;
        height: 15vw;
        padding-top: 16.6px;
        padding-bottom: 49px;
        line-height: 18px;
    }
}

.ly_cont_services .bl_card_img {
    width: 70%;
    /* position:absoluteとtransformによる中央寄せだと.scrollupのふわっとアニメーションを付与すると何故か位置がずれてしまうのでmargin:autoで中央寄せ */
    margin: auto;
}

@media screen and (max-width: 768px) {
    .ly_cont_services .bl_card_img {
        width: 118px;
    }
}

.ly_cont_services .bl_card_img>img {
    /* 船のイラストをブロック底に吸着させるためのtransform */
    transform: translateY(25%);
}

@media screen and (max-width: 768px) {
    .ly_cont_services .bl_card_img>img {
        transform: translateY(30%);
    }
}

/* カード自体のデザイン・2（ヘッダー背景色＋リンクに下線バージョン：「顧問契約の形態」で利用） */

/* カード3カラムの共通設定の余白を上書き */
.ly_cont_contract .bl_cardUnit.bl_cardUnit__col3,
.ly_cont_contract .bl_cardUnit__col3>.bl_card {
    margin-bottom: 0;
}

.ly_cont_contract .el_lv3Heading {
    font-size: clamp(1.125rem, 4.8vw, 1.875rem);
}

.el_lv3Heading_wrapper>.bl_cont_disc {
    padding-top: 31px;
    font-size: clamp(0.75rem, 3vw, 1.3rem);
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .el_lv3Heading_wrapper>.bl_cont_disc {
        padding-top: 11px;
        font-size: 0.75rem;
        font-size: clamp(0.75rem, 3vw, 1rem);
    }
}

@media screen and (max-width: 768px) {
    .ly_cont_contract .el_lv3Heading_wrapper {
        padding-bottom: 20px;
    }
}

.ly_cont_cases .el_lv2Heading_wrapper {
    max-width: 800px;
    margin: auto;
    padding: 0 0 80.5px 15px;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .ly_cont_cases .ly_cont_inner {
        margin-bottom: 80px;
    }

    .ly_cont_cases .el_lv2Heading_wrapper {
        padding-left: 50px;
        padding-bottom: 17px;
    }
}

.bl_card.bl_card02 {
    border-radius: 20px;
    background-color: white;
}

.bl_card02>.bl_card_ttl {
    width: auto;
    padding: 25px 0 15px;
    border-radius: 20px 20px 0 0;
    font-size: 30px;
    color: white;
}

@media screen and (max-width: 768px) {
    .bl_card02>.bl_card_ttl {
        padding: 11px 0;
        font-size: clamp(1.125rem, 2vw, 1.875rem);
    }
}

.bl_card02>.bl_card_txt {
    padding-bottom: 60px;
    margin: 45px 50px 50px;
}

@media screen and (max-width: 768px) {
    .ly_cont_contract .ly_cont_inner {
        margin-bottom: 190px;
    }

    .ly_cont_contract .bl_cardUnit__col3>.bl_card02 {
        max-width: 450px;
        margin: auto;
        margin-bottom: 24px;
        font-size: clamp(1rem, 2vw, 1.5rem);
    }

    .bl_card02>.bl_card_txt {
        margin: 35px 50px 0px;
        padding-bottom: 86px;
    }
}

/* 各カードで背景色を別に設定 */
.bl_card02:first-of-type>.bl_card_ttl {
    background-color: #385238;
}

.bl_card02:nth-of-type(2)>.bl_card_ttl {
    background-color: #C8782F;
}

.bl_card02:nth-of-type(3)>.bl_card_ttl {
    background-color: #66202A;
}

.ly_cont_contract .bl_card:nth-of-type(2) .el_underLineBtn::after {
    background-color: #C8782F;
}

.ly_cont_contract .bl_card:nth-of-type(3) .el_underLineBtn::after {
    background-color: #66202A;
}


.bl_card_btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

/* ------------------------------------------------------------------------------------------------------------------------モーダルウインドウ */

/* ------------------------------初期値は非表示 */
.fee_economy {
    display: none;
}

.fee_standard {
    display: none;
}

.fee_premium {
    display: none;
}

/* ------------------------------モーダルウインドウの幅 */
.modaal-container:has(.ly_fee_wrapper) {
    max-width: 1320px;
}

.modaal-container:has(.ly_fee_premium) {
    max-width: 1600px;
}

/* ------------------------------クローズボタン */
/* デフォルトがfixedなのでそのままだと画面上の右上に配置されるがabsoluteにするだけでモーダルウインドウの上に配置される */
.modaal-container:has(.ly_fee_wrapper) .modaal-close {
    position: absolute;
    background: transparent;
}

/* エコノミー、スタンダード、プレミアムでアイコン色は変更 */
.modaal-container:has(.ly_fee_economy) .modaal-close::before {
    background: #385238;
}

.modaal-container:has(.ly_fee_economy) .modaal-close::after {
    background: #385238;
}

.modaal-container:has(.ly_fee_standard) .modaal-close::before {
    background: #C8782F;
}

.modaal-container:has(.ly_fee_standard) .modaal-close::after {
    background: #C8782F;
}

.modaal-container:has(.ly_fee_premium) .modaal-close::before {
    background: #66202A;
}

.modaal-container:has(.ly_fee_premium) .modaal-close::after {
    background: #66202A;
}

/* ------------------------------クローズボタンここまで */

/* ------------------------------全体の文字サイズ */
.ly_fee_wrapper {
    max-width: 954px;
    margin: auto;
    margin-bottom: 35px;
    font-size: 1.5rem;
}

.ly_fee_premium {
    max-width: 1457px;
}

@media screen and (max-width: 768px) {
    .ly_fee_wrapper {
        max-width: unset;
        font-size: 0.75rem;
    }
}

/* ------------------------------文字群とその下のテーブルとの余白 */
.bl_fee_body {
    margin-bottom: 36px;
}

@media screen and (max-width: 768px) {
    .bl_fee_body {
        margin-bottom: 0;
    }
}

/* 最下部の文字群の下の余白は消去 */
.bl_fee_body:last-child {
    margin-bottom: 0;
}

/* モーダルウインドウのタイトル */
.bl_fee_tableTtl {
    font-size: 1.875rem;
    margin-top: 42px;
    margin-bottom: 15px;
}

/* モーダルウインドウのテキスト */
.bl_fee_txt {
    margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
    .bl_fee_tableTtl {
        font-size: 1.125rem;
    }

    .bl_fee_txt {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
}

/* ------------------------------モーダルウインドウのタイトルの四角アイコン */
.bl_fee_tableTtl>i {
    padding-right: 16px;
}

.icon::before {
    content: '\f0c8';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* ------------------------------モーダルウインドウ内のテーブルのスタイル */
.fee_table {
    width: 100%;
    border-spacing: 0;
    text-align: center;
}

@media screen and (max-width: 768px) {

    /* ↓ widthを設定しないとウインドウ幅を無視してしまう */
    .modaal-container:has(.ly_fee_wrapper) {
        width: calc(100vw - 20px);
    }

    .modaal-content-container:has(.ly_fee_wrapper) {
        width: calc(100vw - 20px);
    }

    /* paddingが無いと背景のオーバーレイが見えなくなり、かといって横paddingを設定すると中央寄せにならないので縦のみ設定。幅いっぱいでもスマホならレイアウト的には問題なし */
    .modaal-inner-wrapper:has(.ly_fee_wrapper) {
        padding: 80px 0px;
    }

    /* プレミアムタイプのテーブルをスマホ閲覧時は横スクロールを設定 */
    .fee_tableWrapper {
        overflow-x: scroll;
    }

    .fee_tableWrapper .fee_table {
        white-space: nowrap;
    }

    /* ------------------------------プレミアムのスマホでのスクロールバー設定 */

    /* スクロールバーの色を設定する */
    .simplebar-scrollbar::before {
        background-color: #66202A;
    }

    .simplebar-scrollbar.simplebar-visible::before {
        opacity: 1;
    }
}

/* ------------------------------各テーブルの色分け */
.ly_fee_wrapper table th {
    font-weight: 500;
    color: white;
}

.ly_fee_economy table th {
    background-color: #385238;
}

.ly_fee_standard table th {
    background-color: #C8782F;
}

.ly_fee_premium th {
    background-color: #66202A;
}

.ly_fee_economy .bl_fee_tableTtl {
    color: #385238;
}

.ly_fee_standard .bl_fee_tableTtl {
    color: #C8782F;
}

.ly_fee_premium .bl_fee_tableTtl {
    color: #66202A;
}

/* ------------------------------各テーブルの色分けここまで */

.ly_fee_wrapper table td,
.ly_fee_wrapper table th {
    width: 50%;
    padding: 10px;
}

.ly_fee_premium .fee_table td,
.ly_fee_premium .fee_table th {
    width: 20%;
}

.ly_fee_wrapper table tr:nth-child(even) {
    background-color: #EBEBEB;
}

/* プレミアムだけthがぎゅうぎゅうなので文字サイズと余白を調整 */
.ly_fee_wrapper.ly_fee_premium th {
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
    .ly_fee_wrapper.ly_fee_premium th {
        padding-right: 0.3rem;
        padding-left: 0.3rem;
        font-size: 0.75rem;
    }
}

/* モーダルウインドウ下部　業務事例の各リスト */
.el_fee_listItem {
    margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
    .el_fee_listItem {
        margin-bottom: 12px;
    }

    .el_fee_listItem:last-child {
        margin-bottom: 0;
    }
}

/* モーダルウインドウ下部　業務事例の各リストのナンバー */
.el_listNumber {
    padding-right: 12px;
    font-size: 1.75rem;
}

@media screen and (max-width: 768px) {
    .el_listNumber {
        font-size: 0.875rem;
    }
}

/* ------------------------------------------------------------------------------------------------------------------------.ly_cont_strength（強み） */

.ly_cont_strength {
    color: white;
    width: 100vw;
    background-color: #385238;
}

.ly_cont_strength>.ly_cont_inner {
    position: relative;
    z-index: 1;
}

/* .ly_cont_innerのデフォルトのスタイルだと下部の予約が空きすぎるため */
@media screen and (max-width: 768px) {
    .ly_cont_strength>.ly_cont_inner {
        margin-bottom: 0;
    }
}

.bl_strength_body {
    max-width: 876px;
    margin: auto;
    padding-bottom: 0;
    padding-bottom: 200px;
    transform: translateY(calc(15vw - 21vw));
}

@media screen and (max-width: 768px) {
    .bl_strength_body {
        width: 100%;
        transform: unset;
        -webkit-transform: unset;
        -moz-transform: unset;
        -ms-transform: unset;
        -o-transform: unset;
        padding-bottom: clamp(100px, 20vw, 200px);
        margin-bottom: 50px;
    }
}

.bl_strengthImg_greenWave,
.bl_strengthImg_whiteWave {
    min-width: 1500px;
}

.bl_strengthImg_greenWave {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: 100%;
    transform: translateX(-50%) translateY(-99%);
}

.bl_strengthImg_whiteWave {
    /*そのままだと下部にinnerの背景がはみ出るためtransformで少し動かす*/
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(1px);
    width: 100%;
    -webkit-transform: translateX(-50%) translateY(1px);
    -moz-transform: translateX(-50%) translateY(1px);
    -ms-transform: translateX(-50%) translateY(1px);
    -o-transform: translateX(-50%) translateY(1px);
}

@media screen and (max-width: 768px) {

    .bl_strengthImg_greenWave,
    .bl_strengthImg_whiteWave {
        min-width: unset;
    }
}

.ly_cont_strength .el_lv2Heading_wrapper {
    /* ウインドウ幅が狭まると徐々に右によっていくように（左の植物と被らないように）vwで幅を設定 */
    width: 45vw;
    margin: auto;
    text-align: left;
}

.ly_cont_strength .el_lv2Heading {
    transform: translateY(-40%);
    -webkit-transform: translateY(-40%);
    -moz-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
    -o-transform: translateY(-40%);
}

.bl_sentence_subTtl.el_lv3Heading {
    margin-bottom: 19px;
}

@media screen and (max-width: 768px) {
    .ly_cont_strength .el_lv2Heading_wrapper {
        width: 100%;
        padding: 55px 34px 0;
        text-align: right;
    }

    .ly_cont_strength .el_lv2Heading {
        transform: unset;
        -webkit-transform: unset;
        -moz-transform: unset;
        -ms-transform: unset;
        -o-transform: unset;
    }

    .bl_sentence_subTtl.el_lv3Heading {
        margin-top: 20px;
        margin-bottom: 5px;
        text-align: right;
    }
}

.ly_cont_strength .bl_sentence {
    display: block;
    /* width: min(100%, 1150px); */
}

.ly_cont_strength .bl_sentence_body {
    /* width: min(100%, 929px); */
    margin: auto;
    padding-top: 0;
    font-size: clamp(1rem, 2.3vw, 1.5rem);
}

.ly_cont_strength .bl_sentence_img {
    z-index: -1;
    width: calc(30vw - 17vw);
    max-width: 248px;
    min-width: 150px;
    position: absolute;
    top: -208px;
    right: calc(40% - 32vw);
}

.bl_strengthImg_Leaf {
    position: absolute;
    top: calc(-40% - 10vw);
    left: 0;
    left: calc(30% - 50vw);
    width: clamp(280px, 50vw, 952px);
    transform: scale(-1, 1);
}

.bl_strengthImg_birds {
    position: absolute;
    bottom: -85px;
    right: 0;
    width: clamp(400px, 40vw, 608px);
}

@media screen and (max-width: 768px) {
    .ly_cont_strength .bl_sentence_img {
        top: -170px;
        right: 30px;
        width: 97px;
        min-width: unset;
    }

    .bl_strengthImg_Leaf {
        top: -160px;
        left: -118px;
        width: 280px;
    }

    .bl_strengthImg_birds {
        position: absolute;
        bottom: -85px;
        right: 0;
        width: 200px;
    }
}

/* ------------------------------------------------------------------------------------------------------------------------事例（スリック） 
参考URL：https://coco-factory.jp/ugokuweb/move01/6-1-7/
*/

.ly_cont_cases .el_lv3Heading {
    padding-left: 7px;
}

/* ドットを画面の中央に寄せる */
.bl_slider .slick-dots {
    transform: translate(-20px, 10px);
    text-align: center;
}

/* ドットを横並びにする */
.bl_slider .slick-dots li {
    display: inline-block;
}

/* ドット自体のデザイン */
.bl_slider .slick-dots button {
    display: block;
    width: 3px;
    height: 3px;
    margin: 2px;
    font-size: 0;
    padding: 0;
    border: 0;
    outline: none;
    cursor: pointer;
    background: #574527;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

@media screen and (min-width: 769px) {

    /* スライダー3枚の画像の最大幅＋余白を足した幅を設定 */
    .ly_cont_cases {
        margin-top: -450px;
    }

    .ly_cont_cases>.ly_cont_inner {
        max-width: 2493.34px;
        margin-top: -90px;
        margin-bottom: 149.5px;
        padding: 0;
    }

    .bl_slider img {
        /*スライダー内の画像を60vwにしてレスポンシブ化*/
        width: 60vw;
        /* カンプにおける中央画像の幅を最大に設定 */
        max-width: 1000px;
    }

    /* 中央以外のスライドを小さくする */
    .bl_slider .slick-slide {
        transition: all .5s;
        /* 少し小さくして左右の余白を空けるためtransformを指定 */
        transform: scale(0.9);
    }

    /*--------------------
以下は、スリックスライダーをカンプ通りに中央を大きくする場合のスタイル
現状はスリックで有名なガタツキを回避できないため、大きさは全部均一にしている
*--------------------*/


    /* 中央手前のスライド位置調整。translateXで余白を調整している。 */

    /* .bl_slider .slick-center+.slick-active {
        transform: scale(0.666) translateX(-13%) translateY(25%);
        -webkit-transform: scale(0.666) translateX(-13%) translateY(25%);
        -moz-transform: scale(0.666) translateX(-13%) translateY(25%);
        -ms-transform: scale(0.666) translateX(-13%) translateY(25%);
        -o-transform: scale(0.666) translateX(-13%) translateY(25%);
    } */

    /* 中央からひとつ先のスライド位置調整。translateXで余白を調整 */
    /* .bl_slider .slick-active {
        transform: scale(0.666) translateX(13%) translateY(25%);
    } */

    /* 上記の大きさ調整がドットのリストにも効いてしまうため、それを打ち消す措置 */

    .slick-dots .slick-active {
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
    }

    /* 中央のスライドだけ大きさを維持 */
    /* .bl_slider .slick-center {
        transform: scale(1);
    } */

    .bl_slider .slick-dots button {
        width: 10px;
        height: 10px;
        margin: 9px;
    }
}

/* ------------------------------------------------------------------------------------------------------------------------.ly_cont_profile（プロフィール） */

/* 植物の背景下部に白いウェーブ背景を重ねる */
.ly_cont_profile {
    z-index: 0;
    background-image: url(../images/bg_wave02-ivory.svg), url(../images/bg-profile@2x.png);
    background-repeat: no-repeat, no-repeat;
    background-position: center bottom, center bottom;
    background-size: contain, cover;
}

.ly_cont_profile>.ly_cont_inner {
    max-width: 1390px;
    margin-bottom: 90px;
}

@media screen and (max-width: 768px) {
    .ly_cont_profile>.ly_cont_inner {
        margin-bottom: 120px;
    }
}

/* プロフィールのタイトル下余白 */
.ly_cont_profile .el_lv2Heading_wrapper {
    margin-left: 280px;
    padding-bottom: 45px;
}

@media screen and (max-width: 768px) {
    .ly_cont_profile .el_lv2Heading_wrapper {
        margin-left: 150px;
        padding-top: 230px;
    }
}

/* プロフィールメインタイトルと英語サブタイの間に予約を設けるために設定 */
.ly_cont_profile .el_lv2Heading {
    transform: translateY(-40%);
}

@media screen and (max-width: 768px) {
    .ly_cont_profile .el_lv2Heading {
        transform: unset;
        -webkit-transform: unset;
        -moz-transform: unset;
        -ms-transform: unset;
        -o-transform: unset;
    }
}

.ly_cont_profile .bl_media_imgWrapper {
    margin-right: 0;
}

/* ------------------------------プロフィールの人物スライダー */
.bl_media {
    display: flex;
    align-items: center;
}

.bl_media_imgWrapper {
    position: relative;
    flex: 0 1 27.58333%;
    margin-right: 3.33333%;
}

.bl_media_imgWrapper>img {
    position: absolute;
    width: 100%;
    opacity: 0;
    animation: change-img-anim 40s infinite;
    -webkit-animation: change-img-anim 40s infinite;
}

.bl_media_imgWrapper>img:nth-of-type(1) {
    animation: change-img-anim-first 40s infinite;
    animation-delay: 0s;
    -webkit-animation: change-img-anim-first 40s infinite;
}

.bl_media_imgWrapper>img:nth-of-type(2) {
    animation-delay: 10s;
}

.bl_media_imgWrapper>img:nth-of-type(3) {
    animation-delay: 20s;
}

.bl_media_imgWrapper>img:nth-of-type(4) {
    animation-delay: 30s;
}

@keyframes change-img-anim-first {
    0% {
        opacity: １;
    }

    30% {
        opacity: 1;
    }

    36% {
        opacity: 1;
    }

    45% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes change-img-anim {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    36% {
        opacity: 1;
    }

    45% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.bl_media_body {
    flex: 1;
}

.bl_media_body>*:last-child {
    margin-bottom: 0;
}

.bl_media_ttl {
    margin-bottom: 10px;
    font-size: 1.125rem;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .bl_media {
        display: block;
    }

    .bl_header_imgWrapper {
        margin-right: 0;
    }
}

/* ------------------------------プロフィールの人物スライダーここまで */

.ly_cont_profile .bl_cardUnit {
    flex-wrap: nowrap;
}

/* flex-startにしないと左の写真が下に下がりすぎる */
.ly_cont_profile .bl_media {
    align-items: flex-start;
    padding-top: 168.5px;
}

.ly_cont_profile .bl_media_body {
    max-width: 660px;
    transform: translateX(calc(-22% - -18vw));
    -webkit-transform: translateX(calc(-22% - -18vw));
    -moz-transform: translateX(calc(-22% - -18vw));
    -ms-transform: translateX(calc(-22% - -18vw));
    -o-transform: translateX(calc(-22% - -18vw));
}

@media screen and (max-width: 768px) {
    .ly_cont_profile .bl_media {
        padding-top: 0;
    }

    .ly_cont_profile .bl_media_body {
        transform: unset;
    }
}

.ly_cont_profile .bl_media_ttl {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 21px;
}

/* 「Masakazu Marumo」のテキスト */
@media screen and (max-width: 768px) {
    .ly_cont_profile .bl_media_ttl {
        font-size: 1.125rem;
        padding-left: 100px;
        margin-bottom: 15px;
        text-align: center;
    }

    .ly_cont_profile .el_subTxt {
        display: block;
        font-size: 0.75rem;
    }
}

.ly_cont_profile .bl_media_subTtl {
    margin: 18px 0 12px;
    color: white;
}

.ly_cont_profile .bl_media_subTtl span {
    padding: 4px 21.5px 6px 16.5px;
    background-color: #574527;
}

/* プロフィール内容の背景白を幅いっぱいに伸ばすため、親要素にposition:relativeを設定 */
.bl_txtWrapper {
    position: relative;
    padding: 56.5px 0 31.5px;
    font-size: clamp(0.75rem, 2vw, 1.25rem);
    background-color: white;
}

@media screen and (max-width: 768px) {
    .bl_txtWrapper {
        padding-top: 30px;
    }
}

/* プロフィール内容の背景白を疑似要素にも設定して幅いっぱいに広げるための措置。marginとwidthは適当にいっぱいになるように設定。 */
.bl_txtWrapper::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: -100vw;
    width: 200vw;
    height: 100%;
    background-color: #ffffff;
}

.ly_cont_profile .bl_cardUnit_wrapper {
    position: relative;
    margin-top: 32px;
}

/* 丸茂社会保険労務士の写真、大きさ調整 */
.ly_cont_profile .bl_media_imgWrapper img {
    width: clamp(208.5px, 32vw, 610px);
    max-width: none;
}

/* さらに少し左に寄せて調整 */
.ly_cont_profile .bl_media_imgWrapper {
    z-index: 1;
    transform: translateX(calc(40% - 10vw)) translateY(calc(80% - 3vw));
    -webkit-transform: translateX(calc(40% - 10vw)) translateY(calc(80% - 3vw));
    -moz-transform: translateX(calc(40% - 10vw)) translateY(calc(80% - 3vw));
    -ms-transform: translateX(calc(40% - 10vw)) translateY(calc(80% - 3vw));
    -o-transform: translateX(calc(40% - 10vw)) translateY(calc(80% - 3vw));
}

@media screen and (max-width: 768px) {
    .ly_cont_profile .bl_media_imgWrapper {
        transform: unset;
        position: absolute;
        left: 10px;
        top: 30px;
    }
}

.ly_cont_profile .bl_card {
    background-color: transparent;
}

/* 写真3つ並びの右下にある植物の配置 */
.bl_cardUnit_wrapper>.bl_media_img {
    position: absolute;
    right: calc(-20% - 2vw);
    bottom: calc(-100% - 4vw);
    width: clamp(228px, 43vw, 467.68px);
}

@media screen and (max-width: 768px) {
    .bl_cardUnit_wrapper>.bl_media_img {
        right: -60px;
        bottom: -120px;
    }
}

/* プロフィールエリア下部に白いウェーブの背景を重ねる為の設定 */

/* ------------------------------------------------------------------------------------------------------------------------.bl_faq（よくある質問） */

.ly_cont_faq>.ly_cont_inner {
    max-width: 1000px;
    margin-bottom: 190px;
}

@media screen and (max-width: 768px) {
    .ly_cont_faq>.ly_cont_inner {
        margin-bottom: 100px;
    }
}

/* 見出しラッパー上部の余白上書き */
.ly_cont_faq .el_lv2Heading_wrapper {
    padding-top: 70.9px;
    padding-bottom: 67.5px;
}

@media screen and (max-width: 768px) {
    .ly_cont_faq .el_lv2Heading_wrapper {
        padding-top: 36px;
        padding-bottom: 17px;
    }
}

.bl_faq {
    margin-bottom: 50px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

@media screen and (max-width: 768px) {
    .bl_faq {
        margin-bottom: 24px;
    }
}

.bl_faq>*:last-child {
    margin-bottom: 0;
}

.bl_faq_q,
.bl_faq_a {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: content-box;
    min-height: 45px;
    padding-left: 84px;
}

.bl_faq_q {
    padding: 15px 0 13px 84px;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    background-color: #574527;
}

.bl_faq_a {
    background-color: #ffffff;
}

@media screen and (max-width: 768px) {
    .bl_faq_q {
        font-size: 0.875rem;
    }

    .bl_faq_q,
    .bl_faq_a {
        padding: 12px 10px 12px 42px;
        font-size: 0.75rem;
    }
}

.bl_faq_icon {
    position: absolute;
    top: 50%;
    transform: translateY(-45%);
    left: 2rem;
    width: 45px;
    height: 45px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.875rem;
    font-weight: normal;
    line-height: 45px;
    text-align: center;
}

.bl_faq_q .bl_faq_icon {
    color: white;
}

.bl_faq_a .bl_faq_icon {
    color: #574527;
}

@media screen and (max-width: 768px) {
    .bl_faq_icon {
        left: 0;
        font-size: 1.25rem;
    }
}

.bl_faq_a_body {
    padding: 20px 20px 20px 0;
}

@media screen and (max-width: 768px) {
    .bl_faq_a_body {
        padding: 0;
    }
}

.bl_faq_a_body>*:last-child {
    margin-bottom: 0;
}

.bl_faq_a_txt {
    margin-bottom: 20px;
}

.bl_faqImg_wrapper>figure {
    position: absolute;
}

.bl_faqImg_bird {
    top: -100px;
    left: 30px;
    transform: scale(-1, 1);
    width: clamp(160px, 22vw, 400px);
}

@media screen and (max-width: 768px) {
    .bl_faqImg_bird {
        top: -60px;
        left: 10px;
    }
}

/* ------------------------------------------------------------------------------------------------------------------------.bl_horizTable（テーブル） */
.ly_cont_overView>.ly_cont_inner {
    padding-bottom: 69.5px;
}

@media screen and (max-width: 768px) {
    .ly_cont_overView>.ly_cont_inner {
        margin-bottom: 170px;
    }
}

/* グレーの鳥の画像配置 */
.bl_overViewImg_birds {
    position: absolute;
    top: -138px;
    right: 5px;
    width: clamp(187px, 40vw, 600px);
}

@media screen and (max-width: 768px) {
    .bl_overViewImg_birds {
        top: -62px;
        right: -58px;
    }
}

.bl_horizTable {
    border: 1px solid #1C1C1C;
    width: clamp(356px, 100%, 1000px);
    margin: auto;
    /* ↓中央値は16pxをvwに変換した値 */
    font-size: clamp(0.75rem, 2vw, 1.5rem);
}

.bl_horizTable table {
    width: 100%;
    border-spacing: 0;
    border-color: transparent;
}

.bl_horizTable th {
    width: 30%;
    padding: 15px;
    font-weight: 500;
    vertical-align: middle;
    color: white;
    border-bottom: 1px solid #1C1C1C;
    background-color: #385238;
}

.bl_horizTable td {
    padding: 15px;
    border-bottom: 1px solid #1C1C1C;
    background-color: white;
}

@media screen and (max-width: 768px) {
    .bl_horizTable td {
        padding: 10px;
    }
}

.bl_horizTable tr:last-child th,
.bl_horizTable tr:last-child td {
    border-bottom-width: 0;
}

/* ------------------------------------------------------------------------------------------------------------------------お問い合わせ */
.ly_contact {
    padding-top: 300px;
    color: white;
    background-color: #385238;

}

@media screen and (max-width: 768px) {
    .ly_contact {
        padding-top: 360px;

    }
}

.ly_contact>.ly_cont_inner {
    margin-top: -370px;
    margin-bottom: 0;
    padding-bottom: 187px;
}

@media screen and (max-width: 768px) {
    .ly_contact>.ly_cont_inner {
        position: relative;
        z-index: 1;
        padding-bottom: 80px;
    }
}

.ly_contact .el_lv2Heading_wrapper {
    padding-bottom: 32px;
}

.ly_contact form {
    max-width: 630px;
    margin: auto;
    margin-top: 30px;
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
    .ly_contact form {
        font-size: 0.875rem;
    }
}

.bl_cont_desc {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .bl_cont_desc {
        font-size: 0.75rem;
    }
}

input,
textarea {
    width: 100%;
    padding: 0.625rem 1.5rem;
    vertical-align: bottom;
}

::placeholder {
    color: #bbbbbb;
}

@media screen and (max-width: 768px) {

    input,
    textarea {
        padding-left: 12px;
    }
}

input:not(#submit-btn) {
    display: flex;
    padding: 0.7em;
}

@media screen and (max-width: 768px) {
    input {
        height: 38px;
        line-height: 38px;
    }

    input:not(#submit-btn) {
        height: 38px;
    }
}

textarea {
    height: clamp(200px, 40vw, 300px);
    padding: 0.6565rem;
}

.ly_contact .el_lv2Heading {
    color: white;
}

.form-item-label,
.bl_agree_btnWrapper {
    margin-top: 19px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {

    .form-item-label,
    .bl_agree_btnWrapper {
        margin-top: 13px;
        margin-bottom: 4px;
    }
}

.bl_agree_btnWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type='checkbox'] {
    appearance: none;
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
}

input[type='checkbox']::before {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    background-color: white;
}

input[type='checkbox']::after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #1C1C1C;
    border-radius: 10px;
    opacity: 0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.form-item-policy {
    height: 242px;
    overflow: scroll;
    padding: 16px;
    font-size: 1.25rem;
    color: #1C1C1C;
    background-color: white;
}

@media screen and (max-width: 768px) {
    .form-item-policy {
        font-size: 0.625rem;
    }
}

.form-item-policy>h4,
.bl_policy_shomei {
    margin-top: 1.5em;
    margin-bottom: .5em;
}

.form-item-policy li {
    margin-bottom: .5em;
}

.form-item-policy li>ul {
    margin-top: .5em;
}

input[type='checkbox']:checked::after {
    opacity: 1;
}

/* .contact-btn-confirm {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

.contact-btn-confirm {
    overflow: hidden;
    padding: 1.5rem 6rem;
    color: #fff;
    border-radius: 0;
    background: #000;
}

.contact-btn-confirm span {
    position: relative;
}

.contact-btn-confirm:before {
    position: absolute;
    top: 0;
    left: 0;

    width: 150%;
    height: 500%;

    content: "";
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);

    background: #00b7ee;
} */
.bl_submitBtn-wrapper {
    width: 100%;
    text-align: center;
}

.bl_contactBtn-flat input {
    border: none;
    background-color: transparent;
}

a.btn-flat:hover:before {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

.bl_contactBtn {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

.bl_contactBtn-flat {
    overflow: hidden;
    width: 420px;
    margin: auto;
    margin-top: 52px;
    padding: 0;
    color: #fff;
    border-radius: 14px;
    background: white;
}

.bl_contactBtn-flat input {
    position: relative;
    padding: 1.219rem 0;
    color: #1C1C1C;
    font-size: 1.75rem;
    font-weight: 400;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

@media screen and (max-width: 768px) {
    .bl_contactBtn-flat {
        width: 210px;
        padding: 0.176rem 0;
        border-radius: 10px;
        line-height: 1;
    }

    .bl_contactBtn-flat input {
        font-size: 1rem;
        padding: 0;
        line-height: 1;
    }
}

.bl_contactBtn-flat input:hover {
    color: white;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.bl_contactBtn-flat:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 500%;
    content: "";
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translateX(-83%) translateY(-25%) rotate(45deg);
    transform: translateX(-83%) translateY(-25%) rotate(45deg);
    background: #574527;
}

.bl_contactBtn-flat:hover:before {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

.bl_submitBtn-wrapper:has(input:disabled) {
    opacity: 0.5;
}

.bl_contactBtn-flat input:disabled {
    color: #aaaaaa;
}

.bl_submitBtn-wrapper:has(input:disabled) .bl_contactBtn-flat input:hover {
    color: #aaaaaa;
}

.bl_submitBtn-wrapper:has(input:disabled) .bl_contactBtn-flat:before {
    content: none;
}



/* 各画像（丸茂社会保険労務士、葉っぱ、鳥）の配置 */
.bl_contactImg_wrapper>figure {
    position: absolute;
}

.bl_contactImg_person {
    z-index: -1;
    top: -380px;
    left: calc(50% - -10vw);
}

@media screen and (max-width: 768px) {
    .bl_contactImg_person {
        top: calc(-9% - 5vw);
        left: unset;
        right: calc(50% - 10vw);
        transform: translateX (65%);
        -webkit-transform: translateX(65%);
        -moz-transform: translateX(65%);
        -ms-transform: translateX(65%);
        -o-transform: translateX(65%);
        width: 131px;
    }
}

.bl_contactImg_greenWave {
    z-index: -1;
    top: 0;
    left: 50%;
    width: 100%;
    min-width: 1500px;
    transform: translateX(-50%) translateY(-99%);
    -webkit-transform: translateX(-50%) translateY(-99%);
    -moz-transform: translateX(-50%) translateY(-99%);
    -ms-transform: translateX(-50%) translateY(-99%);
    -o-transform: translateX(-50%) translateY(-99%);
}

@media screen and (max-width: 768px) {
    .bl_contactImg_greenWave {
        min-width: unset;
    }
}

.bl_contactImg_leaf {
    transform: scale(-1, 1);
    width: clamp(280px, 50vw, 952px);
    top: calc(-30% - -9vw);
    left: calc(30% - 50vw);
}

@media screen and (max-width: 768px) {
    .bl_contactImg_leaf {
        top: -191px;
        left: -120px;
        width: clamp(280px, 50vw, 952px);
    }
}

.bl_contactImg_ship {
    bottom: -32px;
    right: 11.875vw;
}

@media screen and (max-width: 768px) {
    .bl_contactImg_ship {
        width: 118px;
        bottom: -17px;
        right: 10px;
    }
}

/* ------------------------------------------------------------------------------------------------------------------------フッター */
.ly_footer {
    padding-top: 20px;
    padding-bottom: 70px;
    text-align: center;
    color: white;
    background-color: #213C1F;
}

@media screen and (max-width: 768px) {
    .ly_footer {
        padding-bottom: 10px;
    }
}

.ly_footer-inner {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.bl_footer-logo {
    width: clamp(240px, 70%, 576px);
    margin-top: 64px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 768px) {
    .bl_footer-logo {
        margin-top: 40px;
    }
}

.bl_footer-nav {
    max-width: 920px;
    margin-top: 53px;
    margin-left: auto;
    margin-right: auto;
}

.bl_footer-list {
    display: flex;
}

.bl_footer-list-item {
    flex-grow: 1;
    border-right: 1px solid white;
}

.bl_footer-list-item:last-child {
    border-right: none;
}

.bl_footer-list-item>a {
    color: white;
}

.el_footerCopy {
    display: block;
    margin-top: 79px;
}

@media screen and (max-width: 768px) {
    .el_footerCopy {
        margin-top: 48px;
        font-size: 0.5rem;
    }
}

/* ----------------------------------------------------------------------------------------------------フォーム送信後の確認画面*/
.afterContact_header {
    z-index: 0;
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #385238;
}

@media screen and (max-width: 768px) {
    .afterContact_header {
        height: 171px;
    }

    .afterContact_body .thanks_header {
        height: 231px;
    }
}

/* 問い合わせ後の各ページ・画像の配置 */
.afterContactImg_personWrapper {
    position: absolute;
    z-index: -1;
    top: 120px;
    left: 68%;
    transform: translateX(-50%);
    width: 323px;
}

.afterContactImg_personWrapper .bl_contactImg_person {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
}

.afterContactImg_personWrapper .bl_contactImg_person>img {
    position: absolute;
}

@media screen and (max-width: 768px) {

    /* スマホではエラーページと送信完了ページとで配置が変わる：送信完了以外のページにおける配置 */
    .afterContactImg_personWrapper {
        width: 131px;
        top: 20px;
        left: 55%;
    }

    /* 送信完了ページ（thanks.html）における配置 */
    .thanks_body .afterContactImg_personWrapper {
        top: 80px;
    }
}

/* サンクスページの「THANK YOU」の吹き出し */
.el_fukidashi_pc {
    z-index: -2;
    top: -50px;
    left: 68%;
    width: 189px;
}

.el_fukidashi_sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .el_fukidashi_sp {
        z-index: -1;
        display: block;
        top: -60px;
        left: -40px;
    }

    .el_fukidashi_pc {
        display: none;
    }
}

.bl_afterContactImg_wrapper .bl_contactImg_whiteWave {
    position: absolute;
    left: 50%;
    width: 100%;
    bottom: -10px;
    min-width: 1500px;
    transform: translateX(-50%);
}

@media screen and (max-width: 768px) {
    .bl_afterContactImg_wrapper .bl_contactImg_whiteWave {
        min-width: 520px;
        bottom: -1px;
    }
}

.bl_afterContactImg_wrapper .bl_contactImg_leaf {
    z-index: 1;
    top: calc(23% - -2vw);
}

@media screen and (max-width: 768px) {
    .bl_afterContactImg_wrapper .bl_contactImg_leaf {
        top: -40px;
    }
}

.bl_afterContactImg_wrapper .bl_contactImg_ship {
    right: -15vw;
}

@media screen and (max-width: 768px) {
    .bl_afterContactImg_wrapper .bl_contactImg_ship {
        right: 5%;
    }
}

.bl_afterContact_ttl {
    position: relative;
    z-index: 2;
    max-width: 576px;
    padding-top: 60px;
    padding-left: 100px;
}

@media screen and (max-width: 768px) {
    .bl_afterContact_ttl {
        display: none;
    }
}

.afterContact_body .ly_cont_inner {
    position: relative;
    z-index: 0;
    max-width: 660px;
    padding-bottom: 187px;
    margin-bottom: 0;
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .afterContact_body .ly_cont_inner {
        padding-bottom: 82px;
    }
}

.formTable {
    width: 100%;
    min-width: 375px;
    margin: auto;
    margin-bottom: 50px;
    text-align: left;
}

.thanks_body .formTable {
    margin-bottom: 0;
}

.thanks_body .confirm-txt {
    margin-top: 42px;
    margin-bottom: 94px;
}

@media screen and (max-width: 768px) {
    .thanks_body .confirm-txt {
        margin-top: 12px;
        margin-bottom: 58px;
    }
}

.formTable tr:last-of-type {
    display: none;
}

.formTable th,
.formTable td {
    display: block;
    width: 100%;
}

.formTable th {
    padding-bottom: 0.3em;
}

.formTable td {
    text-indent: 1em;
    padding-bottom: 1.5em;
}

.el_confirmBtn {
    height: auto;
    justify-content: center;
}

.bl_confirmBtn_wrapper {
    display: flex;
    justify-content: center;
}

.contact-btn-confirm {
    width: 100%;
    margin-right: 15px;
    padding: 0;
    max-width: 420px;
    background-color: #574527;
}

@media screen and (max-width: 768px) {
    .bl_confirmBtn_wrapper {
        display: block;
    }

    .afterContact_body .contact-btn-confirm {
        min-width: 210px;
        width: 210px;
        margin-right: 0;
        margin-bottom: 12px;
        padding: 0;
        font-size: 1rem;
    }

    .afterContact_body input:not(#submit-btn) {
        height: auto;
        padding: 0.2rem;
    }
}

.contact-btn-confirm:last-child {
    margin-right: 0;
}

.contact-btn-confirm input {
    display: flex;
    justify-content: center;
    border: none;
    color: white;
    background: transparent;
}

/* 「以下の内容で間違いがなければ、「送信する」を押してください。」の文言 */
.confirm-txt {
    margin-bottom: 32px;
}

/* 入力内容が空欄だった時などにエラー箇所を指摘する文章 */
.error_messe {
    margin-bottom: .5rem;
}

.error_messe:last-of-type {
    margin-bottom: 0;
}

/* エラー箇所を指摘するページ限定の「前画面に戻るボタン」スタイル */
.error_messe+.confirm-contact-btn-area {
    text-align: center;
    margin-top: 32px;
}