@charset "UTF-8";

html {
    background-color: #f2f5f9;
    color: #3a4f6d;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
}

h2 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    border-radius: 348px;
    font-size: 40px;
    margin-bottom: 40px;
    /* color: #1E3A5F; */
    color: #ffffff;
    letter-spacing: 10%;

}

h2 span {
    background: #9ee3f5;
    border-radius: 348px;
    padding: 16px 40px;
}

ul {
    list-style: none;
}

.ml_none {
    display: none;
}

.ml_phone_only {
    display: none;
}

.ml_mobile_only {
    display: none;
}

/*----------------------------------------
header
----------------------------------------*/
/*  */
/* ハンバーガーメニュー */
/*  */
.menu-toggle {
    display: none;
}

/* チェックボックスは隠す */
.menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon span,
.menu-icon span::before,
.menu-icon span::after {
    display: block;
    width: 25px;
    height: 3px;
    background: #3a4f6d;
    position: relative;
}

.menu-icon span::before {
    content: "";
    top: -8px;
}

.menu-icon span::after {
    content: "";
    top: 5px;
}

/*  */
/* 通常 */
/*  */
.ml_header {
    width: 100%;
    position: fixed;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 32px 32px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.ml_header_logo {
    width: 88px;
}

.ml_header_nav {
    display: flex;
}

.ml_header_nav li {
    font-size: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
}

.ml_header_nav li {
    margin: 0 20px;
}

.ml_header_nav a {
    text-decoration: none;
    color: #1E3A5F;
}

.ml_header_nav a:hover {
    color: #8de1ee;
}

#contact {
    padding: 8px 32px;
    background: #9ee3f5;
    border-radius: 40px;
    color: #ffffff;
    /* font-weight: 400; */
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    /* text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1); */
}

#contact:hover {
    filter: brightness(105%);
    /* 全体を少し明るくする */

    transition: all 0.3s ease;
    /* 滑らかに変化させる */
}

#contact:active {
    filter: brightness(90%);
    /* 少し暗くする */
    box-shadow: none;
}

/*----------------------------------------
トップ画面
----------------------------------------*/
.ml_top {
    width: 100%;
    height: 100vh;
    background: linear-gradient(-225deg, #97e6e9ff 0%, #e2daf6ff 56%, #f8d7e3ff);
}

.ml_top_img {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    /* 2列にする */
    gap: 5px;
    /* 隙間の幅（ここが隙間になる） */
    width: 65%;
    position: absolute;
    top: 150px;
    left: 500px;
}

.ml_top_item {
    width: 100%;
    height: auto;
    /* 枠の高さ */
    overflow: hidden;
    /* ★ここが重要：枠からはみ出た画像は隠れる */
    position: relative;
}

.ml_top_item img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    /* 画像を枠に合わせていい感じにトリミングする */
}

.ml_top_text {
    position: absolute;
    top: 50%;
    left: 100px;
}

.ml_top_text h1 {
    padding: 20px 40px 20px 20px;
    font-size: 96px;
    background: #ffffff;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    text-align: center;
    /* display: inline-block; */
}

.ml_top_text h2 {
    margin-left: 32px;
    font-size: 36px;
    font-style: italic;
    background: none;
    color: #3a4f6d;
}

.ml_top_text p {
    font-size: 20px;
    letter-spacing: 0.1em;
    text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}

/*----------------------------------------
事業概要
----------------------------------------*/
.ml_overview {
    /* width: 1140px; */
    margin: 0 auto;
}

.ml_overview_contents {
    padding: 100px 200px;
}

.ml_overview_contents p {
    margin-top: 40px;
    margin-bottom: 60px;
    font-size: 18px;
    line-height: 1.7;
}

.ml_overview_grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.ml_maru {
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 32px;
    padding: 20px 50px 40px 50px;
}

.ml_overview_maru_1 {
    display: flex;
}

.ml_maru img {
    width: 200px;
}

.ml_maru_title {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
}

.ml_maru h3 {
    /* width: 100%; */
    /* margin: 0 auto; */
    text-align: center;
    font-size: 48px;
    background: linear-gradient(125deg, #92ffff 0%, #c7aaff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ml_maru h4 {
    /* padding: 15px 10px 10px 10px; */
    padding-top: 5px;
    padding-left: 10px;
    font-size: 20px;
    /* width: 100%; */
    /* height: 50px; */
    /* text-align: center; */
    font-weight: 600;
}

.ml_maru p {
    /* padding-top: 10px; */
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    padding-top: 5px;
}

.ml_overview_contents .ml_view-more-btn {
    margin: 50px 0;
}

.ml_product_contents .ml_view-more-btn {
    margin: 50px 0;
}

/*----------------------------------------
取扱製品
----------------------------------------*/
.ml_product {
    background: linear-gradient(125deg, #c8f7f7 0%, #e5d8fc 100%);
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
}

.ml_product_contents {
    padding: 100px 200px;
}

.ml_product_contents p {
    font-size: 18px;
    line-height: 1.7;
}

.ml_product h2 {
    padding: 100px 0px;
    margin: 0 auto;
    color: #86d8e4;
}

.ml_product h2 span {
    background: #fff
}

.ml_product_container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.ml_product_container h3 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.ml_product_container span {
    font-size: 16px;
    font-weight: 500;
    color: #999999;
}

.ml_product_main {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ml_product_main_pic {
    width: 40%;
    /* height: auto; は不要（widthで比率を保つため） */
    display: inline-block;
    position: relative;
    /* ここが重要です：基準位置をここに固定します */
}

.ml_product_main_pic::after {
    content: "";
    position: absolute;
    top: 10px;
    /* 下に5px移動 */
    left: 10px;
    /* 右に5px移動 */
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9aebff 0%, rgb(209, 188, 250) 100%);
    /* 箱の色 */
    z-index: 1;
    /* 写真の背後 */
}

.ml_product_menu {
    width: 1300px;
    /* margin: 0 auto; */
    padding: 20px 0 100px 0;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, 375px);
    gap: 120px 40px;
    /* flex-wrap: wrap; */
    /* justify-content: space-between; */
}

.ml_product_menu_1 {
    width: 375px;
    /* height: 380px; */
    padding: 160px 30px 40px 30px;
    background: #fff;
    position: relative;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ml_product_menu_1:hover {
    transform: translateY(-50px);
    box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.12);
}

.ml_product_menu_pic {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}



.ml_product_menu_pic img {
    width: 315px;
    border-radius: 20px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
}

.ml_product_tag {
    display: inline-block;
    padding: 5px 10px;
    background: #c8f0f7;
    color: #0398d4;
    font-weight: 500;
    border-radius: 5px;
    margin: 5px;
    letter-spacing: 8%;
}

.ml_product_menu_text {
    letter-spacing: 4%;
    line-height: 1.6;

}


/*----------------------------------------
新着情報
----------------------------------------*/
.ml_news_home {
    background: #ffffff;
    margin: 100px auto;
    /* padding: 100px 0; */
    border-radius: 48px;
}

.ml_news_contents {
    padding: 100px 200px;
    text-align: center;
    margin: 0 auto;
}

.ml_news_article {
    margin: 50px 100px;
    text-align: left;
}

.ml_news_article li {
    font-size: 18px;
}

.ml_news_article hr {
    height: 1px;
    margin: 16px 0;
    background-color: #ccc;
    border: none;
}

.ml_view-more-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dad9d9;
    border-radius: 50px;
    padding: 10px 30px 10px 10px;
    text-decoration: none;
    color: #3a4f6d;
    gap: 15px;
    position: relative;
    /* アイコン移動の基準点 */
    overflow: hidden;
    /* はみ出した背景を隠す */
    transition: color 0.3s;

    /* 背景の塗りつぶし用：左から右に色が動く設定 */
    background: linear-gradient(to right, #9ee3f5 50%, white 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s ease, color 0.3s;
}

.ml_view-more-btn span {
    font-size: 18px;
    font-weight: 500;
}

/* ホバー時の背景変化 */
.ml_view-more-btn:hover {
    background-position: 0 0;
    color: white;
    border: 1px solid #9ee3f5;
}

.ml_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #9ee3f5;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    /* アイコン移動用の設定 */
    position: relative;
    transition: transform 0.4s ease;
}

.ml_view-more-btn:hover .ml_icon {
    background-color: white;
    /* 必要に応じてアイコン色も白くする */
    color: #8de1ee;
}

/*----------------------------------------
採用情報
----------------------------------------*/
.ml_recruit_home {
    margin: 0 auto;
}

.ml_recruit_contents {
    padding: 100px 200px;
}

.ml_recruit_contents p {
    margin-bottom: 60px;
    font-size: 18px;
}

.ml_recruit_banner {
    background: #ffffff;
    padding: 60px 40px;
    text-align: center;
    border-radius: 48px;
}

.ml_recruit_banner h3 {
    text-align: center;
    font-size: 48px;
    margin: 40px 0;
}

/*----------------------------------------
footer
----------------------------------------*/
.ml_footer_1 {
    width: 100%;
    background: #ffffff;
    /* padding-top: 80px; */
    /* padding-bottom: 80px; */
}

.ml_footer_1_contents {
    padding: 100px 180px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.ml_footer_logo img {
    width: 80px;
    margin: 0 20px;
}

.ml_footer_address {
    border-right: 1px solid #ccc;
    padding: 0 20px;
}

.ml_footer_address dl {
    margin-bottom: 20px;
}

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

.ml_footer_address dt {
    font-size: 16px;
    font-weight: 600;
}

.ml_footer_address dd {
    font-size: 14px;
    letter-spacing: 0.1em;
}

.ml_footer_bar {
    display: none;
}

.ml_footer_nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 20px;
}

.ml_footer_nav_list_1 {
    margin-right: 48px;
}

.ml_footer_nav_list_1:last-of-type {
    margin-right: 0;
}

.ml_footer_nav_list_1 h3 {
    font-size: 16px;
}

.ml_footer_nav_list_1 a {
    color: #3a4f6d;
    text-decoration: none;
}

.ml_footer_nav_list_2 {
    margin-top: 8px;
    font-size: 14px;
}

.ml_footer_nav_list_2 a {
    color: #3a4f6d;
    text-decoration: none;
}

.ml_footer_2 {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #3a4f6d;
}

.ml_footer_2 p {
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
}

/*----------------------------------------
各ページトップ
----------------------------------------*/



.ml_page_top {
    padding: 0 200px;
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: start;
    align-items: center;
    background: #80c3cd;
    background-image: url(../images/page_about.jpg);
    background-blend-mode: soft-light;
    background-size: cover;
}

/* about */
.ml_page_top_1 {
    background-image: url(../images/page_about.jpg);
}

/* service */
.ml_page_top_2 {
    background-image: url(../images/page_service.jpg);
}

/* products */
.ml_page_top_3 {
    background-image: url(../images/page_products.jpg);
}

/* information */
.ml_page_top_4 {
    background-image: url(../images/page_info.jpg);
}

/* contact */
.ml_page_top_6 {
    background-image: url(../images/page_contact.jpg);
}

/* recruit */
.ml_page_top_5 {
    background-image: url(../images/page_recruit.jpg);
}

/* recruit_form */
.ml_page_top_7 {
    background-image: url(../images/page_recruit.jpg);
}


.ml_page_top h1 {
    margin-top: 50px;
    color: #fff;
    font-size: 56px;
    letter-spacing: 5%;
    /* color: #fff; */
    font-weight: 500;
    /* text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
}

.ml_page_top.ml_page_top_dynamic_title {
    height: auto;
    min-height: 50vh;
    padding-top: 80px;
    padding-bottom: 80px;
}

/*----------------------------------------
企業理念
----------------------------------------*/
.ml_philosophy {
    padding: 200px 200px 100px 200px;
    /* margin: 100px 200px; */
}

.ml_philosophy dt {
    /* width: auto; */
    padding: 10px;
    font-weight: 600;
    font-size: 52px;
    border-radius: 32px;
    background: #ffffff;
    padding: 20px 40px 40px 40px;
}

.ml_philosophy_imi {
    padding: 0 20px;
    font-size: 32px;
}

.ml_philosophy_kana {
    line-height: 10%;
    font-size: 24px;
}

.ml_philosophy dd {
    font-size: 24px;
    padding: 20px;
}

/*----------------------------------------
会長メッセージ
----------------------------------------*/
.ml_message {
    padding: 100px 200px;
}

.ml_message_box p {
    font-size: 18px;
}

.ml_message_box {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 100px;
    border-radius: 32px;
}

.ml_message_box_text {
    padding-left: 32px;
    /* letter-spacing: 0.1em; */
    line-height: 2;
}

.ml_text_right {
    text-align: right;
    padding-top: 40px;
    letter-spacing: 0.05em;
}

/*----------------------------------------
会社概要
----------------------------------------*/
.ml_profile {
    padding: 100px 200px;
}

.ml_profile {
    font-size: 18px;
}

.ml_profile table {
    /* width: 100%; */
    margin: 0 auto;
    border-collapse: collapse;
}

.ml_profile tr {
    border-bottom: 1px solid #ceccd3;
    /* 線の色や太さは調整してください */
}

.ml_profile_row {
    text-align: left;
    padding: 10px;
}

.ml_profile th {
    text-align: center;
}

.ml_profile_row a {
    color: #1E3A5F;
    /* text-decoration: none; */
}

/*----------------------------------------
アクセス
----------------------------------------*/
.ml_map {
    padding: 100px 200px;
}


.ml_map_item {
    margin-bottom: 40px;
}

.ml_map_item h3 {
    padding: 10px;
    font-size: 20px;
    letter-spacing: 0.1em;
}

.ml_map_inner {
    width: 100%;
}


/*----------------------------------------
採用ページ
----------------------------------------*/
.ml_recruit_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50vh;
    padding: 100px;
    background: #ffffff;
    /* background: linear-gradient(rgb(121, 213, 253) 0%, rgb(193, 253, 255) 50%, #b9c1f7 100%); */
}

.ml_recruit_pic_group {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    align-content: center;
    width: 25%;
}

.ml_recruit_top h1 {
    font-size: 30px;
    color: #85dff5;
    letter-spacing: 5%;
    width: 50%;
    text-align: center;
}

.ml_recruit_pic3 {
    width: 25%;
}

.ml_recruit_pic1 img {
    border-radius: 10px;
    width: 60%;
    /* padding-right: 20px; */
    margin-bottom: 10px;
}

.ml_recruit_pic2 img {
    border-radius: 10px;
    width: 70%;
    margin-top: 10px;
    margin-left: 20px;
    /* padding-top: 20px; */
    /* padding-left: 20px; */
}

.ml_recruit_pic3 img {
    border-radius: 10px;
    width: 100%;
}

.ml_recruit_category {
    /* background: #F3F5F8; */
    padding: 100px 200px;
}


.ml_recruit_category_item {
    padding: 40px 60px;
    margin: 20px 0;
    border-radius: 20px;
    background: #ffffff;
}

.ml_recruit_item1 {
    border-left: 8px solid #94e9fe;
    padding-left: 8px;
    font-size: 28px;
    font-weight: 600;
}

.ml_recruit_item2 {
    border-left: 8px solid #c8adff;
    padding-left: 8px;
    font-size: 28px;
    font-weight: 600;
}

.ml_recruit_category_item dd {
    font-size: 18px;
    margin-top: 16px;
    letter-spacing: 1%;
    line-height: 1.6;
}

.ml_recruit_table {
    padding: 200px 300px 100px 300px;
}

.ml_recruit_table table {
    display: flex;
    justify-content: center;
    /* margin: 0 auto; */
    border-radius: 20px;
    background: #fff;
    padding: 80px 30px;
    font-size: 18px;
}

.ml_recruit_table th {
    border-bottom: 1px solid #ceccd3;
    padding: 15px;
    letter-spacing: 1%;
}

.ml_recruit_table td {
    border-bottom: 1px solid #ceccd3;
    padding: 15px;
    letter-spacing: 1%;
}

.ml_recruit_table h3 {
    display: inline;
    text-align: center;
    padding: 20px 40px;
    font-size: 32px;
    font-weight: 500;
    background: #b9c1f7;
    color: #fff;
    border-radius: 50px;
}

/*----------------------------------------
採用の流れ
----------------------------------------*/
.ml_recruit_flow {
    padding-bottom: 100px;
}

/*----------------------------------------
新着情報詳細: 前後記事ナビ
----------------------------------------*/
.ml_news_single_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.ml_news_single_nav_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 45%;
    color: #3a4f6d;
    text-decoration: none;
    font-size: 14px;
}

.ml_news_single_nav_link .ml_icon {
    flex-shrink: 0;
}

.ml_news_single_nav_link span:not(.ml_icon) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ml_news_single_nav_next {
    margin-left: auto;
    text-align: right;
}

.ml_recruit_flow h3 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.ml_recruit_flow_inner {
    /* height: 720px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: space-between;
}

.ml_recruit_flow_inner dl {
    color: #333333;
    width: 300px;
    height: 380px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    /* margin: 20px 20px 0 20px; */
    /* margin-top: 20px; */
    /* border: 3px solid #7ccdff; */
}

.ml_recruit_flow_inner dt {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    padding: 10px;
    border-bottom: 1px solid #ceccd3;
    letter-spacing: 10%;
}

.ml_recruit_flow_inner dd {
    line-height: 1.6;
    margin-top: 10px;
    font-size: 18px;
}

.ml_recruit_flow_inner span {
    color: #e94949;
    font-size: 16px;
}

.ml_recruit_flow_icon {
    text-align: center;
}

.ml_recruit_flow_icon img {
    width: 80px;
}

.ml_recruit_flow_arrow {
    padding: 0 10px;
}

.ml_recruit_flow_arrow img {
    width: 18px;
}

.ml_recruit_btn {
    display: flex;
    justify-content: center;
    margin-bottom: 200px;
}

.ml_recruit_btn_inner {
    color: #1E3A5F;
    text-decoration: none;
    letter-spacing: 5%;
    font-size: 28px;
    background: #b9c1f7;
    color: #fff;
    font-weight: 600;
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}

.ml_recruit_btn_inner:hover {
    background: #6b7df2;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.ml_recruit_btn_inner:active {
    box-shadow: none;
    background: #5869d2;
}

/*----------------------------------------
事業案内ページ
----------------------------------------*/
.ml_service {
    padding: 100px 200px;
}

.ml_service p {
    font-size: 18px;
    margin-bottom: 50px;
}

.ml_service .ml_overview_grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
}

.ml_service_grop {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.ml_service_grop img {
    width: 100px;
    padding-right: 20px;
}

.ml_service h5 {
    font-size: 20px;
    /* margin-top: 20px; */
}

.ml_service .ml_overview_grid p {
    margin: 0;
}

.ml_service .ml_overview_grid dl {
    display: flex;
    font-size: 18px;
}

.ml_service .ml_overview_grid dt {
    padding: 10px 10px 10px 0;
    width: 150px;
    font-weight: 600;
    font-size: 20px;
}

.ml_service .ml_overview_grid a {
    color: #3a4f6d;
}

.ml_service .ml_overview_grid dd {
    padding: 10px 0;
}

/*----------------------------------------
WYSIWYG本文の太字（strong）をマーカー表示にする
（編集画面のBボタン＝蛍光マーカー）
----------------------------------------*/
.ml_top_text strong,
.ml_overview_contents strong,
.ml_product_contents strong,
.ml_product_menu_text strong,
.ml_recruit_contents strong,
.ml_philosophy strong,
.ml_message_box_text strong,
.ml_profile strong,
.ml_service strong,
.ml_recruit_category strong,
.ml_recruit_table strong,
.ml_footer_address strong {
    background: linear-gradient(transparent 70%, #8de1ee 70%);
    font-weight: normal;
}

/* スタイルドロップダウンで選択するマーカー色
   （editor-style.css にも同じ定義あり。色を変える場合は両方更新） */
.ml_marker_blue {
    background: linear-gradient(transparent 70%, #8de1ee 70%);
}

.ml_marker_yellow {
    background: linear-gradient(transparent 70%, #ffe38a 70%);
}

.ml_marker_pink {
    background: linear-gradient(transparent 70%, #f9c4d2 70%);
}

.ml_marker_green {
    background: linear-gradient(transparent 70%, #b3ecc4 70%);
}

/* WYSIWYG出力が生成する段落（dd/td内）の余白リセット */
.ml_philosophy dd p,
.ml_profile td p,
.ml_recruit_category dd p,
.ml_recruit_table td p,
.ml_footer_address dd p {
    margin: 0;
}

/*----------------------------------------
新着情報 一覧・詳細
----------------------------------------*/


.ml_news_archive,
.ml_news_single {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px 120px;
}

.ml_news_archive_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.ml_news_archive_item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ml_news_archive_item:hover {
    transform: translateY(-4px);
    box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.12);
}

.ml_news_archive_link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ml_news_archive_thumb {
    aspect-ratio: 4 / 3;
    background: #e8f6f9;
}

.ml_news_archive_thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ml_news_archive_thumb_none {
    background: linear-gradient(125deg, #c8f7f7 0%, #e5d8fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.ml_news_archive_thumb_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #3a4f6d;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ml_news_archive_body {
    padding: 24px;
}

.ml_news_archive_date {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: #c8f0f7;
    color: #11cced;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ml_news_archive_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: #3a4f6d;
    transition: color 0.2s ease;
}

.ml_news_archive_item:hover .ml_news_archive_title {
    color: #11cced;
}

.ml_news_empty {
    text-align: center;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 20px;
    color: #999999;
    margin-top: 40px;
}

.ml_news_pagination {
    margin-top: 60px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ml_news_pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 50px;
    background: #ffffff;
    color: #3a4f6d;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, color 0.2s ease;
}

.ml_news_pagination .page-numbers:hover,
.ml_news_pagination .page-numbers.current {
    background: #9ee3f5;
    color: #ffffff;
}

.ml_news_single_meta {
    margin-bottom: 24px;
}

.ml_news_single_date {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: #c8f0f7;
    color: #11cced;
    font-size: 13px;
    font-weight: 600;
}

.ml_news_single_thumb {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.ml_news_single_thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.ml_news_single_content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    color: #3a4f6d;
}

.ml_news_single_content p {
    margin: 0 0 1.5em;
}

.ml_news_single_content h2,
.ml_news_single_content h3 {
    margin: 1.5em 0 0.8em;
}

.ml_news_single_content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.ml_news_back {
    margin-top: 60px;
}

/*----------------------------------------
取扱製品ページ
----------------------------------------*/
.ml_products_lead {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 40px;
    line-height: 1.7;
}

.ml_product_page .ml_product_container {
    justify-content: center;
}

/*----------------------------------------
取扱製品ページ 一覧アイテム
（画像とテキストを横並び。フロントの ml_product_menu とは別デザイン。配色トークンは共通のものを流用）
----------------------------------------*/
.ml_products_page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 40px 120px;
}

.ml_products_page_label {
    display: block;
    font-family: "Caveat", cursive;
    font-size: 28px;
    color: #55c2d6;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
}

.ml_products_list {
    display: flex;
    flex-direction: column;
    gap: 140px;
}

.ml_products_item_title_row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.ml_products_item_number {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(125deg, #92ffff 0%, #c7aaff 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.ml_products_item_title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.ml_products_item_subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #999999;
}

.ml_products_item_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.ml_products_item_tags li {
    padding: 5px 14px;
    border: 1px solid #9ee3f5;
    color: #3a4f6d;
    border-radius: 50px;
    font-size: 13px;
}

.ml_products_item_overview {
    margin-top: 20px;
    line-height: 1.8;
    color: #3a4f6d;
}

.ml_products_item_row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ml_products_item:nth-child(even) .ml_products_item_row {
    flex-direction: row-reverse;
}

.ml_products_item_body {
    flex: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.06);
}

.ml_products_item_images {
    flex: 0 0 52%;
    max-width: 560px;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.12);
}

.ml_products_item_images img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ml_products_item_detail {
    flex: 1;
    line-height: 1.8;
    color: #3a4f6d;
}

.ml_products_item_overview p,
.ml_products_item_detail p {
    margin: 0 0 1em;
}

/*----------------------------------------
モバイル版
----------------------------------------*/
@media (max-width: 1205px) {

    .ml_mobile_only {
        display: block;
    }

    /*----------------------------------------
事業概要
----------------------------------------*/

    h2 {
        font-size: 36px;
        margin-bottom: 60px;
    }

    h2 span {
        padding: 10px 30px;
    }

    .menu-icon {
        display: block;
    }

    /* スマホでボタンを表示 */
    .ml_header_nav_wrapper {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: 60vw;
        height: 100vh;
        background: rgba(255, 255, 255, 1);
        padding: 60px 0;
    }

    .ml_header_nav {
        flex-direction: column;
        /* 縦並びに */
        align-items: center;
        gap: 24px;
    }

    .ml_header_nav li {
        font-size: 16px;
        margin: 0;
    }

    /* チェックボックスがONの時にメニューを表示 */
    #menu-toggle:checked~.ml_header_nav_wrapper {
        display: block;
    }

    /* 背景オーバーレイの初期設定 */
    .ml_header_overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.3);
        /* 暗さの調整 */
        z-index: 99;
        /* ナビよりは後ろ、コンテンツよりは前に */
        cursor: pointer;
    }

    /* チェックボックスがONの時にオーバーレイを表示 */
    #menu-toggle:checked~.ml_header_overlay {
        display: block;
    }

    /* 既存のナビゲーションの重なりを調整 */
    .ml_header_nav_wrapper {
        z-index: 100;
        /* オーバーレイより手前に表示 */
        /* 他の既存スタイルはそのまま */
    }

    .ml_top {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .ml_top_img {
        position: static;
        /* 絶対配置を解除 */
        top: auto;
        left: auto;
        width: 80%;
    }

    .ml_top_text {
        position: static
    }

    .ml_overview_contents {
        padding: 100px 60px;
    }

    .ml_product_contents {
        padding: 100px 60px;
    }

    .ml_news_contents {
        padding: 100px 60px;
    }

    .ml_products_page {
        padding: 60px 24px 80px;
    }

    .ml_products_page_label {
        margin-bottom: 32px;
    }

    .ml_products_list {
        gap: 80px;
    }

    .ml_products_item_number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ml_products_item_row,
    .ml_products_item:nth-child(even) .ml_products_item_row {
        flex-direction: column;
        gap: 24px;
    }

    .ml_products_item_body {
        padding: 24px;
    }

    .ml_products_item_images {
        max-width: 480px;
        margin: 0 auto;
        aspect-ratio: 16 / 10;
    }

    .ml_news_article {
        margin: 40px 20px;
    }

    .ml_overview_grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
    }

    .ml_product h2 {
        padding: 100px 60px;
    }

    .ml_product_menu {
        gap: 120px 20px;
        width: 100%;
    }

    .ml_recruit_contents {
        padding: 100px 60px;
    }

    .ml_recruit_flow_inner {
        justify-content: start;
    }

    .ml_footer_1_contents {
        padding: 60px;
        /* justify-content: start; */
    }

    .ml_footer_address {
        display: flex;
        border-right: none;
    }

    .ml_footer_address dl {
        margin: 0 20px;
    }

    .ml_footer_nav {
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
        border-top: 1px solid #ccc;
    }

    .ml_footer_nav_list_1 {
        margin-top: 20px;
        margin-right: 20px;
    }

    .ml_page_top {
        height: 40vh;
        padding: 0 60px;
    }

    .ml_page_top.ml_page_top_dynamic_title {
        height: auto;
        min-height: 40vh;
        padding: 60px;
    }


    .ml_philosophy {
        padding: 100px 60px;
    }

    .ml_philosophy_imi {
        padding: 0;
    }

    .ml_message {
        padding: 100px 60px;
    }

    .ml_message_box {
        flex-direction: column;
        padding: 60px;
    }

    .ml_message_box_text {
        padding: 20px 0;
    }

    .ml_none {
        display: block;
    }

    .ml_profile {
        padding: 100px 60px;
        font-size: 16px;
    }

    .ml_profile table {
        width: 100%;
        /* display: flex; */
        /* justify-content: space-between; */
    }

    .ml_profile_row {
        font-size: 14px;
    }

    .ml_map {
        padding: 100px 60px;
    }

    .ml_recruit_category {
        padding: 100px 60px;
    }


    /*----------------------------------------
採用ページ
----------------------------------------*/
    .ml_recruit_top {
        padding: 30px;
        height: 60vh;
    }

    .ml_recruit_pic1 img {
        width: 80%;
    }

    .ml_recruit_pic2 img {
        width: 90%;
    }

    .ml_recruit_table {
        padding: 100px 60px 100px 60px;
    }

    .ml_recruit_flow {
        padding: 60px;
    }

    .ml_recruit_flow_inner {
        flex-direction: column;
        /* grid-template-rows: repeat(4, 1fr); */
    }

    .ml_recruit_flow_inner dl {
        width: 100%;
        height: 300px;
        /* margin: 20px 0; */
    }

    .ml_recruit_flow_arrow {
        /* width: 10%; */
        transform: rotate(90deg);
        /* padding-left: 20px; */
    }



    /*----------------------------------------
事業概要
----------------------------------------*/
    .ml_service {
        padding: 100px 60px;
    }

    .ml_service .ml_overview_grid dl {
        flex-direction: column;
    }

    .ml_service .ml_overview_grid dt {
        padding-bottom: 0;
    }

    .ml_service .ml_overview_grid dd {
        padding-top: 0;
    }
}


/* スマートフォン向け */
@media (max-width: 600px) {

    h1 {
        margin: 0 auto;
        font-size: 2.5rem;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 32px;
    }

    h2 span {
        padding: 10px 20px;
    }

    .ml_header {
        /* flex-direction: column; */
        padding: 15px 30px;
    }

    .ml_header_logo {
        width: 60px;
    }

    .ml_phone_only {
        display: block;
    }


    /*----------------------------------------
ヘッダー
----------------------------------------*/
    .ml_top {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .ml_top_img {
        gap: 5px;
        width: 80%;
        position: static;
        top: auto;
        /* 念のため指定していた値をリセット */
        right: auto;
        padding-bottom: 100px;
    }

    .ml_top_text {
        width: 100%;
        position: static;
        align-items: center;
        justify-content: center;
    }

    .ml_top_text h1 {
        width: 100%;
        /* margin: 0 auto; */
        font-size: 60px;
        padding: 20px 40px 20px 20px;
    }

    .ml_top_text h2 {
        margin: 0;
        padding: 4px 30px 20px 10px;
        font-size: 28px;
        font-weight: 500;
        text-align: center;
    }

    .ml_top_text p {
        /* padding: 0 30px 20px 30px; */
        font-size: 16px;
        padding: 0 30px 100px 30px;

    }

    /*----------------------------------------
事業内容
----------------------------------------*/
    .ml_overview_contents {
        padding: 30px 15px;
    }

    .ml_overview_contents p {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 0;
        font-size: 16px;
    }

    .ml_overview_grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
        /* grid-template-rows: 350px 350px 350px 350px 350px; */
    }

    .ml_maru {
        padding: 20px 30px 30px 30px;
    }

    .ml_maru h3 {
        font-size: 44px;
    }

    .ml_maru h4 {
        padding-top: 5px;
        padding-left: 9px;
        font-size: 18px;
    }

    .ml_maru p {
        font-size: 16px;
        padding: 5px 0 0 0;
    }

    /*----------------------------------------
取扱製品
----------------------------------------*/
    .ml_product {
        padding: 60px 0px;
        margin: 0 auto;
    }

    .ml_product_contents {
        padding: 30px 15px;
    }

    .ml_product_container {
        flex-direction: column;
        margin-top: 20px;
    }

    .ml_product h2 {
        padding: 0 15px;
    }

    .ml_product_main {
        flex-direction: column;
        width: 100%;
    }

    .ml_product_main_pic {
        width: 100%;
        margin-bottom: 40px;
    }

    .ml_product_main_text {
        width: 100%;
        margin: 0;
        padding: 20px;
    }

    .ml_product_main_text p {
        font-size: 16px;
        letter-spacing: 0.1em;
    }


    .ml_product_select_item {
        margin: 10px 0 0 0;
    }

    .ml_product_select_item h3 {
        margin-bottom: 0;
    }

    .ml_product_select_item label {
        padding: 10px 20px;
        margin-bottom: 10px;
    }

    .ml_product_menu {
        width: 100%;
        justify-content: center;
        padding-top: 100px;
        gap: 120px 0;
    }

    .ml_product_menu_text h3 {
        font-size: 22px;
    }

    .ml_product_menu_text span {
        font-size: 14px;
    }

    .ml_product_tag {
        font-size: 16px;
    }

    .ml_product_menu_text p {
        font-size: 16px;
    }

    /*----------------------------------------
採用情報
----------------------------------------*/
    .ml_recruit_contents {
        padding: 15px;
    }

    .ml_recruit_contents p {
        font-size: 16px;
    }

    /*----------------------------------------
新着情報
----------------------------------------*/
    .ml_news_home {
        padding: 30px 30px;
        margin: 0;
    }

    .ml_news_contents {
        padding: 0;
        margin: 30px 0;
        /* width: 300px; */
    }

    .ml_news_article {
        margin: 0;
    }

    /*----------------------------------------
採用情報
----------------------------------------*/
    .ml_recruit_contents {
        padding: 60px 30px;
    }

    .ml_recruit_banner h3 {
        font-size: 24px;
    }


    /*----------------------------------------
フッター
----------------------------------------*/
    .ml_footer_1_contents {
        flex-direction: column;
        padding: 40px 70px;
        margin: 0 auto;
    }

    .ml_footer_logo {
        margin: 0 auto;
    }

    .ml_footer_address {
        padding-right: 0;
        padding-bottom: 16px;
        border-right: 0;
        padding-left: 0;
        justify-content: space-between;
        flex-direction: column;
        /* border-bottom: 1px solid #333333; */
    }

    .ml_footer_address dl {
        /* width: 120px; */
        margin: 0;
        padding-bottom: 20px;
    }

    .ml_footer_address dl:last-of-type {
        margin: 0;
        padding-bottom: 0;
    }

    .ml_footer_address dt {
        font-size: 14px;
    }

    .ml_footer_address dd {
        font-size: 12px;
    }

    .ml_footer_bar {
        display: block;
        height: 1px;
        margin: 16px 0;
        background-color: #5d7596;
        border: none;
    }

    .ml_footer_nav {
        padding-top: 16px;
        /* justify-content: center; */
    }

    .ml_footer_nav a {
        text-decoration: none;
        color: #1E3A5F;
    }

    .ml_footer_nav_list_1 {
        margin-right: 0;
        margin-bottom: 16px;
    }

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

    .ml_footer_nav_list_2 {
        margin-top: 4px;
        font-size: 14px;
        letter-spacing: 0;
    }

    .ml_footer_nav_list_2 li {
        font-size: 12px;
        letter-spacing: 0;
    }

    /*----------------------------------------
会社案内
----------------------------------------*/
    .ml_page_top {
        height: 30vh;
        padding: 0 30px;
    }

    .ml_page_top h1 {
        font-size: 40px;
        margin: 20px 0 0 0;
    }

    .ml_page_top.ml_page_top_dynamic_title {
        height: auto;
        min-height: 30vh;
        padding: 40px 24px;
    }

    .ml_page_top.ml_page_top_dynamic_title h1 {
        font-size: 28px;
        line-height: 1.4;
        margin: 0;
    }

    /*----------------------------------------
企業理念
----------------------------------------*/
    .ml_philosophy {
        padding: 100px 30px 60px 30px;
    }

    .ml_philosophy dt {
        line-height: 1.2;
        text-align: center;
    }

    .ml_philosophy_kana {
        font-size: 24px;
    }

    .ml_philosophy_imi {
        padding: 0;
        font-size: 24px;
    }

    .ml_philosophy dd {
        font-size: 20px;
    }

    /*----------------------------------------
会長メッセージ
----------------------------------------*/
    .ml_message {
        padding: 60px 30px;
    }

    .ml_message_box {
        flex-direction: column;
        padding: 40px 30px;
    }

    .ml_message_box_text {
        padding-left: 0;
        padding-top: 20px;
    }

    .ml_message_box_text p {
        font-size: 16px;
        line-height: 1.7;
    }

    /*----------------------------------------
会社概要
----------------------------------------*/
    .ml_profile {
        padding: 60px 30px;
        font-size: 16px;
    }

    .ml_profile table {
        width: 100%;
    }

    .ml_profile th {
        /* color: #333333; */
        font-weight: 700;
        text-align: left;
    }

    .ml_profile td {
        font-size: 16px;
        font-weight: 500;
    }

    .ml_profile_row {
        display: block;
        font-size: 18px;
        padding: 8px;
    }

    /*----------------------------------------
アクセス
----------------------------------------*/
    .ml_map {
        padding: 60px 30px;
    }

    .ml_map_box {
        flex-direction: column;
    }

    /*----------------------------------------
採用ページ
----------------------------------------*/
    .ml_recruit_top {
        height: 70vh;
        padding: 60px 30px;
        flex-direction: column;
        justify-content: center;
    }

    .ml_recruit_top h1 {
        font-size: 28px;
        margin: 10px 0;
        width: 100%;
        text-align: left;
    }

    .ml_recruit_pic_group {
        width: 100%;
        justify-content: center;
        margin: 0 auto;
        /* align-items: center; */
    }

    .ml_recruit_pic2 {
        display: flex;
        justify-content: end;
    }

    .ml_recruit_pic1 img {
        width: 140px;
        margin: 0;
    }

    .ml_recruit_pic2 img {
        width: 120px;
        margin: 0;
    }

    .ml_recruit_pic3 {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .ml_recruit_pic3 img {
        width: 180px;
    }

    .ml_recruit_category_item {
        padding: 30px 30px;
    }

    .ml_recruit_flow_inner {
        height: auto;
    }

    .ml_recruit_flow_inner dl {
        min-height: 380px;
    }

    /*----------------------------------------
募集職種
----------------------------------------*/
    .ml_recruit_category {
        padding: 60px 30px;
    }

    .ml_recruit_item1 {
        font-size: 24px;
    }

    .ml_recruit_item2 {
        font-size: 24px;
    }

    .ml_recruit_category_item dd {
        font-size: 16px;
    }

    /*----------------------------------------
待遇
----------------------------------------*/
    .ml_recruit_table {
        padding: 60px 30px;
    }

    .ml_recruit_table h3 {
        font-size: 24px;
    }

    .ml_recruit_table table {
        padding: 30px 30px 40px 30px;
    }

    .ml_recruit_table th {
        font-size: 18px;
        border-bottom: none;
        padding: 8px;
        text-align: left;
    }

    .ml_recruit_table td {
        font-size: 14px;
        padding: 8px;
    }

    .ml_recruit_row {
        display: block;
    }

    /*----------------------------------------
採用までの流れ
----------------------------------------*/
    .ml_recruit_flow {
        padding: 60px 30px;
    }

    .ml_recruit_flow_inner {
        flex-direction: column;
    }

    .ml_recruit_flow_inner dl {
        width: 100%;
        height: 350px;
        /* margin:  0 auto; */

    }

    .ml_recruit_flow_arrow {
        transform: rotate(90deg);
        padding-left: 20px;
    }

    /*----------------------------------------
事業概要
----------------------------------------*/
    .ml_service {
        padding: 100px 30px;
    }

    .ml_service_grop {
        flex-direction: column;
    }

    .ml_service_grop img {
        padding-right: 0;
        padding-top: 10px;
    }

    .ml_service .ml_overview_grid dd {
        font-size: 16px;
        line-height: 1.5;
    }

    .ml_products_page {
        padding: 60px 24px 80px;
    }

    .ml_products_page_label {
        margin-bottom: 32px;
    }

    .ml_products_list {
        gap: 80px;
    }

    .ml_products_item_number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ml_products_item_row,
    .ml_products_item:nth-child(even) .ml_products_item_row {
        flex-direction: column;
        gap: 24px;
    }

    .ml_products_item_body {
        padding: 24px;
    }

    .ml_products_item_images {
        max-width: 360px;
        margin: 0 auto;
        aspect-ratio: 16 / 10;
    }

}

/*----------------------------------------
お問い合わせ・採用エントリー フォーム
----------------------------------------*/

.ml_contact_lead {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 40px;
    line-height: 1.7;
}

.ml_contact_form {
    max-width: 800px;
    margin: 100px auto 120px;
    padding: 40px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.06);
}

.ml_contact_field {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
}

.ml_contact_label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 0 0 230px;
    gap: 8px;
    padding-top: 12px;
    font-weight: 600;
    margin-bottom: 0;
    color: #3a4f6d;
}

.ml_contact_control {
    flex: 1;
    min-width: 0;
}

.ml_contact_hint {
    margin: 6px 0 0;
    font-size: 13px;
    color: #999999;
}

.ml_contact_required {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 2px 10px;
    background: #c7243a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
}

.ml_contact_input,
.ml_contact_form input[type="text"],
.ml_contact_form input[type="email"],
.ml_contact_form input[type="tel"],
.ml_contact_form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dad9d9;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    color: #3a4f6d;
    box-sizing: border-box;
}

.ml_contact_form textarea {
    min-height: 160px;
    resize: vertical;
}

.ml_contact_form input:focus,
.ml_contact_form textarea:focus {
    outline: none;
    border-color: #9ee3f5;
    box-shadow: 0 0 0 3px rgba(158, 227, 245, 0.3);
}

.ml_contact_checkbox_group label,
.ml_contact_form .mwform-checkbox-field label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.ml_contact_privacy_box {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #dad9d9;
    border-radius: 12px;
    padding: 20px;
    margin: 32px 0 16px;
    font-size: 14px;
    line-height: 1.7;
}

.ml_privacy_policy h3 {
    font-size: 16px;
    margin: 1.2em 0 0.6em;
}

.ml_privacy_policy h4 {
    font-size: 15px;
    margin: 1em 0 0.5em;
}

.ml_contact_agree {
    text-align: center;
    margin-bottom: 32px;
}

.ml_contact_actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.ml_contact_confirm_btn,
.ml_contact_submit_btn {
    border: none;
    cursor: pointer;
    padding: 10px 30px 10px 30px;
    border: 1px solid #9ee3f5;
    background-color: #9ee3f5;
    transition: background-color 0.3s ease;
}

.privacyBox {
    margin-left: auto;
    margin-right: auto;
    height: 180px;
    overflow: scroll;
    border: 1px solid #ddd;
    padding: 20px;
}

.privacyBox h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.privacyBox .mb40 {
    margin-bottom: 20px;
}

button.btnSubmit {
    display: block;
    width: 380px;
    background: #2cb4ad url(./img/icon_arw_w.png) no-repeat 94% 52%;
    -webkit-background-size: 7px;
    background-size: 7px;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 0 14px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

button.btnSubmit i {
    margin-right: 10px;
}

button.btnSubmit:hover {
    background: #83ccd2 url(./img/icon_arw_w.png) no-repeat 94% 52%;
    -webkit-background-size: 7px;
    background-size: 7px;
    -webkit-transition: all .7s;
    transition: all .7s;
}

.table03 {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.table03 th {
    width: 32%;
    text-align: right;
    padding: 10px 30px 10px 0;
}

.table03 td {
    padding: 10px 0;
}

.table03 tr:nth-child(4) th,
.table03 tr:last-child th {
    vertical-align: top;
}

span.hissu {
    display: inline-block;
    background: #c7243a;
    color: #fff;
    margin: 0 0 0 5px;
    padding: 3px 5px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2em;
    vertical-align: text-top;
}

/*----------------------------------------
入力・確認・完了 ステップ表示
----------------------------------------*/
.ml_flow_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 8px;
    column-gap: 0;
    margin: 0 0 40px;
    font-weight: 600;
}

.ml_flow_list li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    color: #a6a6a6;
}

.ml_flow_list li span {
    display: inline-block;
    padding: 8px 28px;
    border-radius: 50px;
    background: #f2f5f9;
    white-space: nowrap;
}

.ml_flow_list li.ml_flow_current {
    color: #151515;
}

.ml_flow_list li.ml_flow_current span {
    background: #9ee3f5;
    color: #ffffff;
}

.ml_flow_list li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0 12px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #dad9d9;
}

/*----------------------------------------
MW WP Form 確認画面での非表示制御
（MW WP Formが確認画面表示時に自動付与する .mw_wp_form_confirm を起点に、
    入力専用の要素を隠す。旧テーマの .mw_wp_form_confirm ルールに相当）
----------------------------------------*/
.mw_wp_form_confirm .ml_contact_privacy_box,
.mw_wp_form_confirm .ml_contact_agree,
.mw_wp_form_confirm .ml_contact_field_mail_confirm,
.mw_wp_form_confirm .ml_contact_hint {
    display: none !important;
}

/*----------------------------------------
flowList: 確認画面での見た目切り替え（CSSのみ）
入力・確認は同一コンテンツのため、current の位置はJSやPHPで
切り替えられない。.mw_wp_form_confirm を起点に「入力」の強調を戻し、
「確認」(2番目のli)へ強調を移す。
----------------------------------------*/
.mw_wp_form_confirm .ml_flow_list li.ml_flow_current {
    color: #a6a6a6;
}

.mw_wp_form_confirm .ml_flow_list li.ml_flow_current span {
    background: #f2f5f9;
    color: inherit;
}

.mw_wp_form_confirm .ml_flow_list li:nth-child(2) {
    color: #151515;
}

.mw_wp_form_confirm .ml_flow_list li:nth-child(2) span {
    background: #9ee3f5;
    color: #ffffff;
}

/*----------------------------------------
ステップ表示: 狭い画面ではパディング/余白を詰めて1行に収まりやすくする
----------------------------------------*/
@media (max-width: 480px) {
    .ml_flow_list li span {
        padding: 6px 16px;
        font-size: 13px;
    }

    .ml_flow_list li:not(:last-child)::after {
        margin: 0 6px;
    }
}

/*----------------------------------------
お問い合わせフォーム: スマホでは1カラムに戻す
----------------------------------------*/
@media (max-width: 700px) {
    .ml_contact_field {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .ml_contact_label {
        flex: 0 0 30px;
    }
}

/*----------------------------------------
取扱製品カード: タイトル/タグ/説明の行をカード間で自動的に揃える（PCのみ）
CSS Grid の subgrid を使用。カードは3行分（タイトル・タグ・説明）を
親グリッドの行トラックとして共有するため、内容量に関わらず自動で揃う。
----------------------------------------*/
@media (min-width: 1206px) {
    .ml_product_menu_1 {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 3;
        row-gap: 12px;
    }

    .ml_product_menu_text {
        display: contents;
    }

    /*
    .ml_contact_label {
        flex: 0 0 auto;
        padding-top: 0;
        margin-bottom: 4px;
    }
    */
}

.disabled-color {
    color: #939393
}

/*----------------------------------------
取扱製品ページ: 詳細下のボタン配置
（1個の場合はそのまま、2個の場合はgapで等間隔に並ぶ）
----------------------------------------*/
.ml_products_item_buttons {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    margin-top: 16px;
}

.ml_products_item_buttons:has(> :nth-child(2)) {
    grid-template-columns: 1fr 1fr;
}

/*----------------------------------------
新着情報一覧: 最小2列を維持
----------------------------------------*/
@media (max-width: 700px) {
    .ml_news_archive_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ml_news_archive_body {
        padding: 12px;
    }

    .ml_news_archive_date {
        font-size: 11px;
    }

    .ml_news_archive_title {
        font-size: 14px;
    }

    .ml_products_item_buttons:has(> :nth-child(2)) {
        grid-template-columns: none;
    }

}