@charset "utf-8";

.path-frontpage #block-maiken-breadcrumbs {
    display: none;
}

/*==============================================================================
	header
============================================================================= */

ul.navbar-nav.m-auto {
    display: flex;
    align-items: center;
}

.header-nav {
    height: 100%;
}

.region-header-nav {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

ul.navbar-nav.m-auto li a {
  color: #17202a;
  font-size:14px;
  letter-spacing: 0.5px;
}

.header-area {
    height: 80px;
    background-color: #fff;
    position: relative;
    z-index: 999;
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
}

ul.navbar-nav.m-auto li {
    margin-right: 25px;
    padding-bottom: 5px;
    position: relative;
}

/*ヘッダーの追従*/
.header-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: sticky 1s;
    background: #fff;
    box-shadow: rgb(50 50 93/25%) 0px 6px 12px -2px, rgb(0 0 0/30%) 0px 3px 7px -3px;
    height: 80px;
    z-index: 999;
}

@media screen and (max-width: 991px) {
    .header-nav.sticky {
        padding: 0;
        margin: 0;
    }
}


@media screen and (max-width:570px) {
    .header-nav.sticky {
        height: 50px;
    }
}

@keyframes sticky {
    0% {
        top: -200px;
    }

    100% {
        top: 0;
    }
}

/*線ホバー*/
ul.navbar-nav.m-auto li::before {
    background: #333;
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

ul.navbar-nav.m-auto li:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}


#block-maiken-site-branding .site-logo {
    margin-left: 10px;
}
.site-logo img {
    width: 220px;
  height:auto;
  object-fit: contain;
}

@media screen and (min-width:992px) and (max-width:1160px) {
    .site-logo img {
        width: 200px;
    }
}

nav#block-maiken-main-menu {
    margin-left: auto;
}

/*ヘッダーお問い合わせ・エントリーボタン*/
.header_btn ul {
    display: flex;
    padding-left: 5px;
    margin: 0;
}

.header_btn .contact,
.header_btn .entry {
    height: 80px;
    display: block;
    text-align: center;
    line-height: 80px;
    width: 140px;
    margin-left: auto;
    position: relative;
}

.header_btn .contact {
    background-color: #343434;
}

.header_btn .contact a,
.header_btn .entry a {
    color: #fff;
    padding-top: 7px;
    display: block;
    text-decoration: none;
  font-size:13px;
}


.header_btn .entry {
    background: linear-gradient(to right, #0083ED 0%, #02BBFE 100%);
}


/* お問い合わせ（Contact）を上に表示 */
.header_btn .contact a::after,
.header_btn .entry a::after {
    display: block;
    font-size: 10px;
    /* 文字サイズ */
    color: #fff;
    /* 文字色 */
    text-align: center;
    position: absolute;
    top: -14px;
    /* ボタンの上に配置 */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    letter-spacing: 1.5px;
}

.header_btn .contact a::after {
    content: "CONTACT";
}

.header_btn .entry a::after {
    content: "ENTRY";
}


/*きらんホバー*/
.header_btn .contact,
.header_btn .entry {
    opacity: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.header_btn .contact::before,
.header_btn .entry::before {
    background-color: #fff;
    content: "";
    display: block;
    position: absolute;
    top: -100px;
    left: 0;
    width: 30px;
    height: 100%;
    opacity: 0;
    transition: cubic-bezier(0.32, 0, 0.67, 0);
}

.header_btn .contact:hover::before,
.header_btn .entry:hover::before {
    animation: kiran 0.5s linear;
}

@keyframes kiran {
    0% {
        transform: scale(2) rotate(45deg);
        opacity: 0;
    }

    20% {
        transform: scale(20) rotate(45deg);
        opacity: 0.6;
    }

    40% {
        transform: scale(30) rotate(45deg);
        opacity: 0.4;
    }

    80% {
        transform: scale(45) rotate(45deg);
        opacity: 0.2;
    }

    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

@media screen and (max-width:1060px) {

    ul.navbar-nav.m-auto li:nth-child(-n+5) {
        margin-right: 10px;
    }
}


/* ハンバーガーメニューのスタイル */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}


@media screen and (max-width:992px) {

    ul.navbar-nav.m-auto {
        display: none;
    }


    /* メニューが開いたときの設定 */
    .hamburger-menu-active ul.navbar-nav.m-auto {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        margin: 0;
        padding-top: 20px;
        animation: slideDown 0.5s ease-out;
        /* 背景が降りてくるアニメーション */
    }

    /* 半円を作るための設定 */
    .hamburger-menu-active ul.navbar-nav.m-auto::before {
        content: "";
        position: absolute;
        bottom: -32px;
        left: 50%;
        width: 100%;
        height: 70px;
        background: #fff;
        transform: translateX(-50%);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
    }

    /* アニメーション */
    @keyframes slideDown {
        0% {
            transform: translateY(-20px);
            opacity: 0;
        }

        100% {
            transform: translateY(0);
            /* 最終位置 */
            opacity: 1;
        }
    }


    .hamburger-menu-active ul.navbar-nav.m-auto li a {
        font-size: 14px;
    }

    .hamburger-menu-active ul.navbar-nav.m-auto li {
        margin: 0 auto 20px;
        width: fit-content;
    }

    .hamburger-menu-active ul.navbar-nav.m-auto li:last-child {
        padding-bottom: 0;
    }



    /* 初期状態で非表示にする */
    .navbar-nav .nav-item {
        opacity: 0;
        transform: translateY(-20px);
    }

    .hamburger-menu-active .navbar-nav .nav-item {
        animation: slideIn 0.5s ease forwards;
    }

    /* 各アイテムが順番に出てくるようにする */
    .navbar-nav .nav-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .navbar-nav .nav-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .navbar-nav .nav-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .navbar-nav .nav-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .navbar-nav .nav-item:nth-child(5) {
        animation-delay: 0.5s;
    }

    /* アニメーションの定義 */
    @keyframes slideIn {
        0% {
            opacity: 0;
            transform: translateY(-20px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }


    div#block-maiken-site-branding {
        order: 1;
    }

    nav#block-maiken-main-menu {
        order: 3;
        margin: 0;
    }

    #block-front-headerbtn {
        order: 2;
        margin-left: auto;
    }


    .hamburger {
        display: block;
        position: relative;
        width: 80px;
        height: 80px;
        cursor: pointer;
        background-color: #fff;
        border: 2px solid #000;
    }

    .hamburger span {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        height: 2px;
        background-color: #000;
        transition: all .3s;
        width: 35%;
    }

    .hamburger,
    .hamburger span {
        transition: all .5s;
        box-sizing: border-box;
    }

    .hamburger span:nth-of-type(1) {
        top: 37%;
    }

    .hamburger span:nth-of-type(2) {
        top: 49%;
    }

    .hamburger span:nth-of-type(3) {
        top: 62%;
    }

    /*メニュー開く*/
    .hamburger-menu-active .hamburger span:first-child {
        top: 52%;
        transform: translate(-50%) rotate(45deg);
    }

    .hamburger-menu-active .hamburger span:nth-of-type(2) {
        opacity: 0;
    }

    .hamburger-menu-active .hamburger span:nth-child(3) {
        top: 52%;
        transform: translate(-50%) rotate(-45deg);
    }
}

@media screen and (max-width:570px) {

    .header-area {
        height: 50px;
    }

    .site-logo img {
        width: 130px;
    }

    .header_btn .contact,
    .header_btn .entry {
        width: 90px;
        height: 50px;
        line-height: 70px;
    }

    .header_btn .contact a,
    .header_btn .entry a {
        font-size: 11px;
        padding-top: 0;
    }

    .hamburger {
        width: 50px;
        height: 50px;
    }

    .header_btn .contact a::after,
    .header_btn .entry a::after {
        font-size: 10px;
        top: -19px;
    }

    .hamburger-menu-active ul.navbar-nav.m-auto {
        top: 50px;
    }
}



/****************************
mv
*****************************/


.mv_flex {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 100vw;
}

.mv_flex div:not(.mv_txtbox_inner) {
    flex: 1;
    max-width: calc(100% / 3);
    /* 3つ並びを維持 */
}

.mv_flex img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mv_txtbox {
    background: linear-gradient(to right, #0083ED 0%, #02BBFE 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    min-height: 100%;
    /* 画像の高さと揃える */
    text-align: center;
}

.mv_txtbox_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mv_txtbox h2 {
    font-size: 2vw;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px #003c63;
    padding-top: 20px;
    padding-left:15px;
    padding-right:15px;
}

.mv_txtbox p {
    font-size: 1.3vw;
    text-align: center;
    line-height: 240%;
    text-shadow: 1px 1px 5px #003c63;
  padding-left:15px;
    padding-right:15px;
}

.mv_txtbox::before {
    content: "";
    display: inline-block;
    width: 19vw;
    height: 8vw;
    background-image: url(/themes/custom/maiken/images/front/joinus.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -2vw;
    left: -4vw;
}

.mv_sp {
    display: none;
}
@media screen and (min-width:601px) and (max-width:991.9px) {
    .mv_txtbox h2 {
        font-size: 2vw;
        padding-top: 20px;
        margin-top: 0px;
    }

    .mv_txtbox p {
        
    }
}

@media screen and (max-width:600px) {
    .mv_pc {
        display: none;
    }

    .mv_sp {
        display: block;
    }

    .mv_flex div:not(.mv_txtbox_inner) {
        flex: 1;
        max-width: calc(100% / 2);
    }

    .mv_txtbox::before {
        width: 42vw;
        height: 18vw;
        background-size: 100%;
        top: -5vw;
        left: -11vw;
    }

    .mv_txtbox h2 {
        font-size: 2.5vw;
        padding-top: 0px;
        margin-top: 0px;
    }

    .mv_txtbox p {
        font-size: 2vw;
        line-height: 130%;
    }
}

/*==============================================================================
	footer
============================================================================= */

.flex {
    display: flex;
}

footer {
    background-color: #000;
    color: #fff;
}

footer h3 {
    font-size: 13px;
}

footer h3 a {
    text-decoration: none;
    color: #fff;
}

.footer-category-wrap h3:before {
    content: "";
    border: solid 1px;
    margin-right: 10px;
}

.footer-category-wrap.flex {
    gap: 40px;
}

.footer-wrap.flex {
    justify-content: center;
    padding: 30px;
}

.footer-nav-wrap {
    margin-left: 100px;
}

.footer-category-wrap ul {
    padding-left: 10px;
}

.footer-category-wrap ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.footer-category-wrap div:first-of-type h3:nth-of-type(2) {
    margin-top: 30px;
}

.footer-category-wrap div:first-of-type h3:nth-of-type(3) {
    margin-top: 30px;
}


.footer-nav-wrap h3:first-of-type:before {
    content: "";
    background-image: url("/themes/custom/maiken/images/icons/job-description.png");
    width: 30px;
    height: 30px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.footer-nav-wrap h3:nth-of-type(2):before {
    content: "";
    background-image: url("/themes/custom/maiken/images/icons/entry.png");
    width: 30px;
    height: 30px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.footer-nav-wrap h3 {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

/* .footer-nav-wrap h3:first-of-type {
    border-bottom: solid 1px;
} */

.footer-nav-wrap a {
    margin-left: 10px;
}

p.copyright {
    text-align: center;
    font-size: 11px;
    letter-spacing: 3px;
    padding: 20px;
    margin: 0;
}

.footer-category-wrap ul li {
    margin-bottom: 10px;
}
.footerkeywords{
  text-align: center;
  margin-left:auto;
  margin-right:auto;
  padding:0px 15px;
  max-width: 980px;
}
.footerkeywords a{
  background:#007aff;
  color:#fff;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  text-align: center;
  height:40px;
  line-height: 40px;
  padding:0px 15px;
  font-size:15px;
  font-weight: 600;
}
#block-toppageservice{
  padding:30px;
  background:#FEF9E7;
  color:#9A7D0A;
  font-weight: 600;
}

@media (hover: hover) {
    .footer-category-wrap a {
        display: inline-block;
        color: #ffffff;
        font-size: 120%;
        text-decoration: none;
        position: relative;
        transition: .3s;
    }

    .footer-category-wrap a::after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: '';
        width: 0;
        height: 1px;
        background-color: #ffffff;
        transition: .3s;
    }

    .footer-category-wrap a:hover::after {
        width: 100%;
    }

    .footer-nav-wrap h3{
        color: #ffffff;
        text-decoration: none;
        transition: .3s;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    .footer-nav-wrap h3:hover{
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

}

@media only screen and (max-width: 768px) {
    .footer-category-wrap.flex {
        gap: 30px;
        flex-direction: column;
    }

    .footer-wrap.flex {
        flex-direction: column;
    }

    .footer-nav-wrap {
        display: flex;
        gap: 40px;
        margin: 30px 0px 0px 0px;
    }

    .footer-nav-wrap h3 {
        border-bottom: solid 1px;
        width: calc((100% - 40px) / 2);
    }

    .footer-category-wrap ul {
        margin-bottom: 0px;
    }

    .footer-nav-wrap hr{
        display: none;
    }
}


@media only screen and (max-width: 500px) {
    p.copyright {
        font-size: 10px;
    }
}


/*==============================================================================
	about us と　JOBS
============================================================================= */
#block-maiken-front-about-us-jobs {
    /* overflow: hidden; */
    width: 100%;
}

.about-content-warp {
    position: relative;
    /* overflow: hidden; */
    width: 100%;
    min-height: 600px;
    margin-top: 70px;
    /* width: 100%; */
    /* max-width: 1200px;
    margin: 0 auto; */
}

.item-ttl h3 {
    /* font-size: 32px; */
    font-size: clamp(18px, 5vw, 21px);
    margin-bottom: 20px;
}

.item-ttl span.itemsub-ttl {
    font-size: 16px;
    display: block;
    width: 100%;
    font-weight: normal;
}

.item-ttl span.itemsub-ttl:before {
    content: "";
    width: 16px;
    height: 16px;
    background: linear-gradient(to right, #0083ED 0%, #02BBFE 100%);
    display: inline-block;
    margin: auto;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 10px;
}


/* 背景 */
.gr-item {
    /* 回転位置の設定 */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;

    /* 回転アニメーション */
    transform-origin: 0 0;
    animation-name: rotate-item;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.item-01 {
    z-index: -3;
    /* 円の重ね順の設定 */
    animation-duration: 45s;
    /* 15秒かけて回転 */
}

.item-02 {
    z-index: -2;
    left: 45%;
    animation-duration: 50s;
    animation-direction: reverse;
    /* 回転アニメーション反転 */
}

.item-03 {
    z-index: -4;
    left: 40%;
    animation-duration: 8s;
}

.item-04 {
    z-index: -5;
    animation-duration: 10s;
}

/* 円の設定 */
.round {
    position: relative;
    border-radius: 50%;
}

.round-01 {
    z-index: -3;
    top: 0%;
    left: 10%;
    width: 18vw;
    height: 18vw;
    background: #0083ED;
    filter: blur(80px);
    /* ぼかし具合 */
    animation: flash 5s linear infinite;
    /* 5秒かけて点滅 */
}

.round-02 {
    top: -20%;
    right: -20%;
    width: 25vw;
    height: 25vw;
    background-color: #0083ED;
    filter: blur(50px);
    animation: flash 8s linear infinite;
}

.round-03 {
    top: 60%;
    width: 3vw;
    height: 3vw;
    background-color: #02BBFE;
    filter: blur(20px);
    animation: flash 3s linear infinite;
}

.round-04 {
    top: -70%;
    left: -60%;
    width: 40vw;
    height: 40vw;
    /* background-color: #eee6ff30; */
    /* background-color: #e6f7ff;
        filter: blur(20px); */
    /* filter: blur(150px); */
    animation: flash 10s linear infinite;
}

/* 回転アニメーション */
@keyframes rotate-item {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 点滅アニメーション */
@keyframes flash {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.5;
    }
}

/*矢印ボタン*/
.about-content-warp .desc a {
    position: relative;
    display: block;
}



.yazirushi {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.yazirushi::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 8px;
    height: 8px;
    background-color: #343434;
    border-radius: 50%;
    /* 位置を中央に */
    transform: translate(50%, -50%) scale(1);
    transform-origin: center center;
    /* 中心から拡大 */
    transition:
        transform 0.4s ease,
        background-color 0.4s ease,
        opacity 0.3s ease 0.2s;
    z-index: 1;
    opacity: 1;
}

.yazirushi::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 20px;
    height: 15px;
    opacity: 0;
    /* background-image: url(../images/icons/arrow_right.svg); */
    background-image: url(/themes/custom/maiken/images/icons/arrow_right.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: opacity 0.3s ease 0.2s;
    z-index: 2;
    /* 矢印は中央に */
    transform: translate(50%, -50%);
}

@media (hover: hover) {
    .about-content-warp .desc a:hover .yazirushi::before {
        background-color: #343434;
        transform: translate(50%, -50%) scale(8);
        /* 拡大 */
        border-radius: 50%;
        opacity: 1;
    }

    .about-content-warp .desc a:hover .yazirushi::after {
        opacity: 1;
    }
}

/* 
.sp .grow_container.column2 .grow {
    flex-basis: 100%;
    width: 100%
} */

.about-content-warp .contents {
    width: calc(100% - 58px);
    margin: 0 auto;
    padding: 50px 0 130px;
    /* border: 1px solid; */
    justify-content: space-between;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1280px;
}

.about-content-warp .contents-box {
    flex-basis: 34.6%;
    width: calc((100% - 24px) / 2);
}

.about-content-warp .contents-box .desc img {
    height: 22.25vw;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
}

.about-content-warp .contents-box {
    animation-name: hover;
    /*ホバーした側*/
    animation-duration: .5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    flex-grow: 1;
}

@keyframes hover {
    0% {
        flex-grow: .06
    }

    33.33% {
        flex-grow: 1
    }

    66.67% {
        flex-grow: .9
    }

    100.00% {
        flex-grow: 1
    }
}


.about-content-warp .contents-box.not_hover {
    animation-name: not_hover;
    /*ホバーされてない側*/
    animation-duration: .5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    flex-grow: .16;
}


@keyframes not_hover {
    0% {
        flex-grow: 1
    }

    33.33% {
        flex-grow: 0
    }

    66.67% {
        flex-grow: .09
    }

    100.00% {
        flex-grow: .06
    }
}

@media only screen and (max-width: 1440px) {
    #block-maiken-front-about-us-jobs {
        overflow: hidden;
    }
}

@media only screen and (max-width: 992px) {
    .about-content-warp {
        min-height: 450px;
        margin-top: 50px;
        margin-bottom: 30px;
    }

    .about-content-warp .contents {
        padding: 20px 0 0;
    }

    .about-content-warp .contents-box .desc img {
        border-radius: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .about-content-warp .contents {
        display: block;
    }

    .about-content-warp .contents-box,
    .about-content-warp .contents {
        width: 100%;
    }

    .about-content-warp .contents {
        padding: 0 20px;
    }

    .about-content-warp .contents-box .desc img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 20px;
    }

    .about-content-warp {
        height: auto;
        padding-bottom: 50px;
    }

    /*グラデーション*/
    .round-01 {
        width: 21.6vw;
        height: 21.6vw;
    }

    .round-02 {
        width: 30vw;
        height: 30vw;
    }

    .round-04 {
        top: -90%;
        width: 48vw;
        height: 48vw;
        background-color: #e6f7ff;
        filter: blur(20px);
    }

    .item-04 {
        animation-duration: 30s;
    }
}

@media only screen and (max-width: 500px) {
    .yazirushi {
        width: 40px;
        height: 40px;
    }

    .yazirushi::before {
        width: 5px;
        height: 5px;
    }

    .about-content-warp {
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/*==============================================================================
	福利厚生
============================================================================= */
#block-maiken-front-benefit {
    position: relative;
    background-color: #F5F5F5;
    z-index: 0;
    /* margin: 80px 0 50px; */
    margin: -10px 0 50px;
    padding: 0 20px 80px;
}

#block-maiken-front-benefit::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    /* ぼかす範囲 */
    z-index: -1;
    pointer-events: none;
}

#block-maiken-front-benefit::before {
    top: -75px;
    background: linear-gradient(to top, rgba(245, 245, 245, 1), rgba(245, 245, 245, 0));
}

.benefits-section {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#block-maiken-front-benefit .benefits-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefits-header h3 {
    font-size: clamp(20px, 5vw, 36px);
}

/*画像側*/
.benefits-image {
    width: 40%;
    position: relative;
    padding-left: 30px;
    padding-top: 30px;
}

.benefits-image:after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 80px;
    background-image: url(/themes/custom/maiken/images/front/about/welfare.webp);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    position: absolute;
    top: -30px;
    left: -20px;
    z-index: -1;
}

/*テキスト側*/
.benefits-content::before {
    content: "";
    background-color: #fff;
    display: inline-block;
    width: 70%;
    height: calc(100% + 10%);
    position: absolute;
    left: 0;
    top: -5%;
    z-index: -1;
}

.benefits-header {
    margin-left: 5%;
}


/* 一覧に戻るボタン → もっとみるボタン */
.read-more-button-wrap {
    width: fit-content;
    margin: 40px auto 50px;
}

.read-more-button {
    position: relative;
    display: inline-block;
    padding: 10px 50px 10px 40px;
    font-size: 16px;
    color: #343434;
    text-decoration: none;
    border: 1px solid #343434;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* 丸ぽち（右） */
.read-more-button::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.2em;
    transform: translate(50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #343434;
    border-radius: 50%;
    transition:
        width 0.4s ease,
        height 0.4s ease,
        right 0.4s ease,
        background-color 0.4s ease;
    z-index: 1;
}

/* テキスト前面に */
.read-more-button span {
    position: relative;
    z-index: 2;
}

/* 矢印（右） */
.read-more-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.2em;
    transform: translate(50%, -50%);
    width: 20px;
    height: 15px;
    opacity: 0;
    background-image: url(/themes/custom/maiken/images/icons/arrow_right.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease 0.2s;
    z-index: 2;
}

/* ホバー時：背景が塗りつぶし → 矢印出現 */
@media (hover: hover) {
    .read-more-button:hover::before {
        width: 100%;
        height: 100%;
        right: 50%;
        border-radius: 0;
        background-color: #343434;
    }

    .read-more-button:hover {
        color: #fff;
    }

    .read-more-button:hover::after {
        opacity: 1;
    }
}

@media only screen and (max-width: 992px) {
    .benefits-image {
        width: 50%;
        padding-left: 20px;
    }

    .benefits-image:after {
        height: 60px;
        top: -20px;
        left: -10px;
    }

    .benefits-header {
        margin-left: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .benefits-section {
        padding-bottom: 30px
    }

    #block-maiken-front-benefit {
        padding: 0 20px 0px;
        margin: 0px 0 30px;
    }

    #block-maiken-front-benefit .benefits-content {
        flex-direction: column-reverse;
    }

    .benefits-image {
        width: 100%;
        padding-left: 20px;
    }

    .benefits-image img {
        width: 80%;
        height: auto;
        display: block;
        margin-left: auto;
    }

    .benefits-image:after {
        height: 80px;
        top: -30px;
        left: -10px;
    }

    .benefits-content::before {
        content: none;
    }


    .benefits-header {
        width: 100%;
        margin: 0;
        padding: 20px;
        position: relative;
    }

    .benefits-header::before {
        content: "";
        background-color: #fff;
        display: inline-block;
        width: 100%;
        height: calc(100% + 10%);
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: -1;
    }
}

@media only screen and (max-width: 500px) {
    .benefits-image:after {
        height: 60px;
        top: -20px;
        left: 0px;
    }

    #block-maiken-front-benefit {
        margin: 80px 0 30px;
    }
}


/*==============================================================================
	information
============================================================================= */


#block-maiken-front-infomation {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.information-section .contents {
    display: flex;
    flex-wrap: wrap;
}

.information-section .information-title {
    width: 100%;
    text-align: center;
}

.information-section .information-title h3 {
    font-size: clamp(30px, 1vw, 60px);
    font-family: "Oswald";
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.information-section .information-title h3:before,
.information-section .information-title h3:after {
    content: "";
    width: 190px;
    height: 1px;
    background: #000000;
    position: absolute;
    top: calc(50% - 1px);
}

.information-section .information-title h3:before {
    left: -230px;
}

.information-section .information-title h3:after {
    right: -210px;
}


.information-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.information-links .information-link {
    width: calc(100% / 3 - 30px);
    text-align: center;
    border: solid 1px #d5d8dc;
    /* padding: 20px; */
    border-radius: 10px;
    margin: 30px 0 30px;
}

.information-links .information-link a {
    width: 100%;
    color: #212f3d;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 30px 0 10px;
    font-size: clamp(16px, 2.5vw, 28px);
    letter-spacing: 3.52px;
}

.information-links .information-link a::after {
    content: "";
    background-image: url(/themes/custom/maiken/images/icons/yazirusi.svg);
    display: inline-block;
    width: 50px;
    height: 50px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    transform: rotate(270deg) scale(1);
}

.link-subtext {
    font-size: 14px;
    display: block;
    background: linear-gradient(to right, #0083ED 0%, #02BBFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: 2.2px;
}

@media only screen and (max-width: 992px) {
    .information-links {
        gap: 0;
    }

    .information-section .information-title h3:before,
    .information-section .information-title h3:after {
        width: 120px;
    }

    .information-section .information-title h3:after {
        right: -150px;
    }

    .information-section .information-title h3:before {
        left: -150px;
    }

    .information-links .information-link {
        width: calc(100% / 3 - 10px);
    }
}

@media only screen and (max-width: 768px) {
    .information-links {
        flex-direction: column;
    }

    .information-links .information-link {
        width: 100%;
        margin: 0 0 20px;
        height: 8.4rem !important;

        position: relative;
    }

    .information-links .information-link a {
        text-align: left;
        padding: 0 3rem;
        display: block;
        height: 8.4rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .information-links .information-link a::after {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 60px;
        height: 60px;
    }

    .information-section .information-title h3:before,
    .information-section .information-title h3:after {
        width: 10%;
    }

    .information-section .information-title h3:before {
        left: calc(-10% + -20px);
    }

    .information-section .information-title h3:after {
        right: calc(-10% + -20px);
    }

    .information-section .information-title h3 {
        margin: 0 auto 30px;
    }

}

@media only screen and (max-width: 500px) {
    .information-links .information-link a {
        padding: 0 20px;
    }
}

@media (hover: hover) {
    .information-links .information-link a:hover::after {
        transform: rotate(270deg) scale(1.3);
    }

    .information-links .information-link a:hover {
        background: linear-gradient(to right, #0083ED 0%, #02BBFE 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }
}