#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top {
    font-size: 1.5em;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: orange;
    color: white;
    border-radius: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    display: none;
}

a:link#back-to-top {
    text-decoration: none;
}

.pickup-news-text {
    margin: 5px 0px 5px 20px;
    font-size: 1em !important;
    font-weight: 700;
}

.pickup-news-text {
    font-family: 'Zen Kaku Gothic New', sans-serif !important;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 200%;
    font-size: 1.1em;
}

.main-content p {
    line-height: 170%;
}

a:link,
a:active,
a:visited {
    font-weight: 700;
    color: #ff9200;
}

a:hover {
    text-decoration: underline;
}

.logo img {
    width: 250px;
}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 背景画像を中央に設定 */
    color: white;
}

.hero h1 {
    font-size: 4em;
    font-weight: 900;
    margin: 50px 0 50px 0;
    line-height: 110%;
}

@media screen and (max-width: 768px) {
    .hero h1 {
        margin: 0px 0 50px 0;
    }
}

.hero p {
    font-family: "Zen Old Mincho", serif;
    font-weight: 900;
    font-size: 1.5em;
}

.about-container {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5sease-out, transform 0.5s ease-out;
}

.business-container {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.news-container {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.products-container {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.recruit-container {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: white;
}

.container ul {
    margin: 0;
    padding: 30px 0px 30px 0px;
    list-style: none;
    text-align: right;
    float: right;
}

.container ul li {
    display: inline;
    margin-right: 30px;
}

.container ul li a {
    text-decoration: none;
    color: black;
}

.mail-button {
    float: right;
    margin-right: 30px;
    margin-top: 20px;
}

.cart-button {
    float: right;
    margin-right: 30px;
    margin-top: 20px;
}

.sp-btn {
    margin: 25px 0px;
}

.menu {
    font-weight: 700;
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.footer-menu li {
    margin: 0 0 0px 0 !important;
    display: block !important;
    line-height: 160%;
}

.footer-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
}

.footer-menu li a:hover {
    text-decoration: underline;
}

.logo {
    height: 60px;
    /* ロゴの高さを設定 */
    width: auto;
    /* ロゴの幅を自動調整 */
    margin: 8px 30px 0px 50px;
    /* ロゴのマージンを設定 */
    font-size: 2em;
    font-weight: 900;
    width: 300px;
    float: left;
}

.button {
    background-color: orange;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
}

a:link.button,
a:active.button,
a:visited.button {
    color: white;
}

a:hover.button {
    color: white;
    background-color: rgb(255, 191, 72)
    /* マウスオーバー時に背景色を少し薄くする */
}

.section-button {
    text-align: center;
    background-color: black;
    color: white;
    padding: 10px 20px;
    margin: 30px auto 0px auto;
    border-radius: 5px;
    width: 200px;
    text-transform: uppercase;
    display: block;
    font-family: 700;
    text-decoration: none;
    font-weight: 700;
}

a:link.section-button,
a:active.section-button,
a:visited.section-button {
    color: white;
}

a:hover.section-button {
    color: white;
    background-color: rgb(49, 49, 49)
    /* マウスオーバー時に背景色を少し薄くする */
}

.section-button2 {
    text-align: center;
    background-color: black;
    color: white;
    padding: 10px 20px;
    margin: 30px auto 0px auto;
    border-radius: 5px;
    width: 400px;
    text-transform: uppercase;
    display: block;
    font-family: 700;
    text-decoration: none;
    font-weight: 700;
}

a:link.section-button2,
a:active.section-button2,
a:visited.section-button2 {
    color: white;
}

a:hover.section-button2 {
    color: white;
    background-color: rgb(49, 49, 49)
    /* マウスオーバー時に背景色を少し薄くする */
}

.about-btn {
    margin: 50px 0px 0px 0px;
}

.container ul {
    margin: 0;
    padding: 30px 0px 30px 0px;
    list-style: none;
    text-align: right;
    float: right;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0 !important;
    border-radius: 5px;
    z-index: 1000;
    width: 250px;
}

.dropdown li {
    margin-bottom: 10px;
    text-align: left;
    margin-right: 0px !important;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.dropdown li a:hover {
    background-color: #f2f2f2;
}

.about {
    padding: 200px 0px 200px 0px;
    text-align: left;
    background-size: cover;
    background-color: #f7f7f7;
    background-repeat: no-repeat;
}

.recruitpage {
    padding: 100px 0px 100px 0px;
    text-align: left;
    background-color: white;
}

.recruitpage02 {
    padding: 100px 0px 100px 0px;
    text-align: left;
    background-color: #f7f7f7;
}

.business {
    padding: 200px 0px 200px 0px;
    text-align: center;
    background-image: url('https://www.iflora.co.jp/wp-content/themes/iflora/images/section-business-background.png');
    background-position: center;
    background-size: cover;
}

.business .section-button {
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    margin: 30px auto 0px auto;
    width: 150px;
    border-radius: 5px;
    text-transform: uppercase;
    display: block;
    font-family: 700;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid white;
}

.business a:link.section-button,
.business a:active.section-button,
.business a:visited.section-button {
    color: white;
}

.business a:hover.section-button {
    color: white;
    /* マウスオーバー時に背景色を少し薄くする */
    background-color: transparent;
}

.business p {
    color: white;
}

.business .caption {
    color: white;
}

.business h2 {
    color: white;
}

.news {
    padding: 120px 0px 120px 0px;
    text-align: center;
    background-color: #f0f0f0;
    background-size: cover;
    background-repeat: no-repeat;
}

.products {
    padding: 120px 0px 120px 0px;
    text-align: center;
    background-color: #FFF;
    background-size: cover;
    background-repeat: no-repeat;
}

h2 {
    font-weight: 900;
    font-size: 3em;
}

.section-about-p {
    width: 100%;
    margin: 0px auto;
    text-align: left;
}

.sectionp {
    max-width: 800px;
    margin: 0px auto;
    text-align: left;
}

section h2 {
    margin: 0px 0px 20px 0px;
}

.caption {
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 250%;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 100px;
    /* コンテンツのマージンを設定 のちほで画面サイズに応じてメディアクエリを設定する */
}

.recruitpage-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 100px;
    /* コンテンツのマージンを設定 のちほで画面サイズに応じてメディアクエリを設定する */
}

.recruitpage02-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 100px;
    /* コンテンツのマージンを設定 のちほで画面サイズに応じてメディアクエリを設定する */
}

.left-box02 {
    flex: 1;
    margin-left: 100px;
}

.right-box02 {
    flex: 1;
}

.left-box {
    flex: 1;
    margin-right: 100px;
}

.right-box {
    flex: 1;
}

ul.news-list {
    max-width: 800px;
    margin: 0px auto;
    padding: 80px 150px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    float: none;
}

.news-list li {
    border-bottom: 2px solid gray;
    margin-bottom: 30px;
    margin-right: 0px !important;
}

.news-list li .date {
    margin-bottom: 10px;
}


/* ニュースページ専用スタイル */

.page-news .main-content h2 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: 900;
    color: #333;
}

.page-news .news-list-page {
    max-width: 100%;
    margin: 30px 0;
    padding: 0;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    float: none;
    list-style: none;
}

.page-news .news-list-page li {
    border-bottom: 2px solid gray;
    margin-bottom: 30px;
    margin-right: 0px !important;
    padding-bottom: 20px;
}

.page-news .news-list-page li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-news .news-list-page li .date {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #666;
}

.page-news .news-list-page li a {
    color: #333;
    text-decoration: none;
    font-size: 1em;
    font-weight: 700;
    display: block;
    line-height: 1.6;
}

.page-news .news-list-page li a:hover {
    color: #ff9200;
    text-decoration: underline;
}

.news-hr {
    height: 1px;
    background-color: #ddd;
    border: none;
    margin: 20px 0px 20px 0px;
}

.news-list li .category {
    background-color: #339b5f;
    color: white;
    padding: 0px 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.8em;
    margin-left: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding: 0 20px;
}

.product-item {
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.product-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.product-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    margin-top: 15px;
    padding: 0 10px;
    line-height: 1.5;
}

.recruit {
    padding: 200px 0px 200px 0px;
    text-align: center;
    background-image: url('../images/section-recruit-background.png');
    background-position: center;
    background-size: cover;
    /* 背景を画像に設定 */
    background-size: cover;
    /* 背景画像をカバーするように設定 */
    background-position: center;
    /* 背景画像を中央に設定 */
}

.recruit .section-button {
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    margin: 30px auto 0px auto;
    width: 150px;
    border-radius: 5px;
    text-transform: uppercase;
    display: block;
    font-family: 700;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid white;
}

.recruit a:link.section-button,
.recruit a:active.section-button,
.recruit a:visited.section-button {
    color: white;
}

.recruit a:hover.section-button {
    color: white;
    /* マウスオーバー時に背景色を少し薄くする */
    background-color: transparent;
}

.recruit p {
    color: white;
}

.recruit .caption {
    color: white;
}

.recruit h2 {
    color: white;
}

footer {
    padding: 0px 0px 0px 0px;
    background-color: #fff;
    color: #000;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column-left {
    text-align: left;
}

.footer-column-center {
    text-align: left;
}

.footer-column-right {
    text-align: left;
}

.footer-logo {
    font-size: 1.5em;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-logo img {
    width: auto;
    max-width: 200px;
    height: auto;
}

.footer-mission {
    margin-top: 20px;
    line-height: 1.8;
    font-size: 0.9em;
}

.footer-address {
    margin-bottom: 30px;
}

.footer-address p {
    margin: 0px 0px 5px 0px;
    line-height: 1.5;
}

.footer-freedial {
    margin-top: 30px;
}

.footer-freedial p {
    margin: 5px 0;
    line-height: 1.8;
    font-size: 0.9em;
}

.sp {
    display: none;
}

.footer-linkbox {
    padding: 0px 0;
    font-size: 0.85em;
}

.footer-linkbox a {
    color: #333;
    text-decoration: none;
}

.footer-linkbox a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.8em;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
    margin-top: 20px;
}


/* 求人ページ */

.hero-recruit {
    width: 100%;
    height: 600px;
    padding: 160px 0px 0px 0px;
    text-align: center;
    background-image: url('../images/recurit-header.png');
    /* 背景を画像に設定 */
    background-size: cover;
    /* 背景画像をカバーするように設定 */
    background-position: center;
    /* 背景画像を中央に設定 */
    box-sizing: border-box;
}

.recruit_tbl {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.recruit_tbl td {
    padding: 8px;
    border: 1px solid #ccc;
}

.recruit_td01 {
    background-color: #f2f2f2;
    font-weight: bold;
    width: 20%;
}

.recruit_td02 {
    text-align: left;
    width: 80%;
}


/* サブページ */

.footer-sub {
    background-color: #f8f9fa;
    color: #000;
}

.footer-menu ul li {
    display: block;
}

.sub {
    background-color: white;
}

.hero-sub {
    width: 100%;
    height: 350px;
    padding: 160px 0px 0px 0px;
    text-align: center;
    background-image: url('https://www.iflora.co.jp/wp-content/themes/iflora/images/background-sample.jpg');
    /* 背景を画像に設定 */
    background-size: cover;
    /* 背景画像をカバーするように設定 */
    background-position: center;
    /* 背景画像を中央に設定 */
    box-sizing: border-box;
}

.sub-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0px auto;
}

.breadcrumb-box {
    max-width: 1200px;
    margin: 0px auto;
    padding: 10px 40px;
    font-size: 1em;
}

.breadcrumb-box a {
    color: #ff8a00;
    text-decoration: none;
    font-size: 0.9em;
}

.breadcrumb-box span {
    margin: 0px 3px;
    font-size: 0.9em;
}

.breadcrumb-nav {
    background-color: #f8f9fa;
}

.breadcrumb {
    padding: 10px 15px;
    border-radius: 0.25rem;
    list-style: none;
    display: flex;
    margin-bottom: 1rem;
    margin-top: 0px;
    font-size: 0.9em;
}

.breadcrumb-item {
    color: #007bff;
    font-size: 0.9em;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    padding: 0 5px;
    color: #6c757d;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumba:hover {
    text-decoration: underline;
}

.breadcrumb.active {
    color: #6c757d;
    pointer-events: none;
    cursor: default;
}

.main-content {
    flex: 3;
    padding: 20px;
}

.main-content h2 {
    margin-top: 0px;
}

.sidebar {
    flex: 1;
    padding: 20px;
}

.sidebar a {
    color: #ff8a00;
    font-weight: bold;
    text-decoration: none;
}

.sidebar a:hover {
    color: #de8300;
    text-decoration: underline;
}

.sidebar a:active {
    color: #de8300;
}

.sidebar a:visited {
    color: #ff8a00;
}

.sidebar h3 {
    margin-top: 0px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 0px;
}

.sidebar ul {
    margin: 0px 0px 30px 0px;
    padding: 0px;
    list-style: none;
}

.sidebar ul li {
    list-style-type: none;
    position: relative;
    padding: 8px 0px 8px 20px;
    border-bottom: 1px solid #ddd;
}

.sidebar ul li::before {
    content: "\f105";
    /* FontAwesomeのアイコンコード */
    font-family: "Font Awesome 5 Free";
    /* FontAwesomeのフォントファミリー */
    font-weight: 900;
    /* アイコンの太さ */
    /* 特定商取引法に基づく表記ページのスタイル */
    .tokusyo-page-contents-box {
        margin-top: 30px;
    }
    .tokusyo-table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        background-color: #fff;
    }
    .tokusyo-table th {
        background-color: #f5f5f5;
        border: 1px solid #ddd;
        padding: 15px;
        text-align: left;
        font-weight: 700;
        width: 30%;
        vertical-align: top;
    }
    .tokusyo-table td {
        border: 1px solid #ddd;
        padding: 15px;
        line-height: 1.8;
    }
    .tokusyo-table tr:nth-child(even) {
        background-color: #fafafa;
    }
    .tokusyo-table a {
        color: #ff8a00;
        text-decoration: none;
    }
    .tokusyo-table a:hover {
        text-decoration: underline;
    }
    .tokusyo-note {
        margin-top: 30px;
        padding: 15px;
        background-color: #f9f9f9;
        border-left: 4px solid #ff8a00;
        font-size: 0.9em;
        line-height: 1.8;
    }
    position: absolute;
    left: 3px;
    /* アイコンの位置調整 */
    top: 52%;
    /* アイコンの位置調整 */
    transform: translateY(-50%);
    /* アイコンを中央に配置 */
    color: #ff8a00;
}

.hero-sub h1 {
    margin-bottom: 10px;
}

.hero-sub p {
    margin: 0px;
}

.main-content h2 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: 900;
    color: #333;
}

ul.footer-menu {
    float: none;
    padding: 0px;
}

.copyright {
    font-size: 12px;
}

.strengh-h3 {
    padding: 0.5em;
    /*文字周りの余白*/
    color: #010101;
    /*文字色*/
    background: #fffae2;
    /*背景色*/
    border-bottom: solid 3px #ffad1d;
    /*下線*/
    margin-bottom: 50px;
    margin-top: 50px;
}

.strengh-h4 {
    color: #ff9000;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 0px;
}


/* テーブル全体の枠線と間隔調整 */

.ShowAddUserInfo {
    border-collapse: collapse;
    width: 100%;
    margin: 20px auto;
}


/* 各セルのデフォルトの枠線とパディング */

.ShowAddUserInfo td {
    border: 1px solid #FFA500;
    padding: 10px 15px;
    vertical-align: top;
}


/* 左側の見出しセル */

.AddUserInfoCode {
    background-color: #FFE4B5;
    color: #8B4513;
    font-weight: bold;
    width: 30%;
    white-space: nowrap;
}


/* 事業概要内の段落ごとの調整 */

.AddUserInfoName p {
    margin: 5px 0;
}

.leader-name {
    margin: 40px 0px;
    font-weight: bold;
    color: #00793e;
}

ul.item-ul {
    padding: 0;
}

ul.item-ul li {
    color: #404040;
    background: whitesmoke;
    margin-bottom: 10px;
    /*下のバーとの余白*/
    line-height: 1.5;
    padding: 0.8em;
    list-style-type: none!important;
    /*ポチ消す*/
    font-weight: bold;
    max-width: 100%;
}

.businesstitletxt,
.businessmidtxt,
.businessmidtxt1 {
    line-height: 1.8;
    color: #333;
}


/* セクションタイトル（例：■会員資格） */

.businesstitletxt>.businesstitletxt,
.businessmidtxt {
    font-weight: bold;
    color: #d35400;
    margin-top: 25px;
    margin-bottom: 10px;
}


/* 本文エリア（リストなど） */

.businessmidtxt1 {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}


/* 質問部分（Q） */

.faq-q {
    font-weight: bold;
    color: #d35400;
    font-size: 21px;
}


/* 区切り線 */

.faqhr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0.5em 0 1em;
}

.faq-a {
    margin-bottom: 100px;
}

.businesstitletxt {
    color: #d35400;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}


/* 説明文（普通の段落） */

.businessmidtxt1,
.businessmidtxt2,
.micfmidtxt1,
.complimidtxt1,
.complimidtxt2,
.complimidtxt3,
.complimidtxt4,
.complimidtxt5 {
    margin-bottom: 1em;
}


/* 小見出し風の強調タイトル（例：complimidtxt5など） */

.complimidtxt1,
.complimidtxt5 {
    font-weight: bold;
    color: #8b4513;
    margin-top: 1em;
}


/* 箇条書きのインデント調整 */

.complimidtxt2,
.complimidtxt3 {
    padding-left: 1em;
}


/* 補足説明など（グレー寄りのトーン） */

.complimidtxt4,
.businessmidtxt2 {
    color: #444;
}


/* セクション分けの視認性向上（オプション） */

.businesshigrow {
    border-top: 1px solid #eee;
    margin-top: 2em;
    padding-top: 1em;
}


/* メディアクエリでスマホ対応 */

@media screen and (max-width: 600px) {
    .businesstitletxt,
    .complimidtxt1,
    .complimidtxt5 {
        margin-top: 1.2em;
    }
    .businessmidtxt1,
    .complimidtxt4 {
        margin-bottom: 0.8em;
    }
}


/* スマホ対応：文字サイズを調整 */

@media screen and (max-width: 600px) {
    .businessmidtxt1 {
        padding: 8px 12px;
    }
}


/* ▼ スマホ用：縦並びに切り替え */

@media screen and (max-width: 600px) {
    .ShowAddUserInfo tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #FFA500;
        border-radius: 6px;
        overflow: hidden;
    }
    .ShowAddUserInfo td {
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid #FFA500;
        padding: 10px;
        box-sizing: border-box;
    }
    .ShowAddUserInfo td:last-child {
        border-bottom: none;
    }
}

@media only screen and (max-width: 1221px) {
    header,
    header.sub {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    header .container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 0 10px;
    }
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    .cart-button {
        display: none;
    }
    .mail-button {
        display: none;
    }
    ul.sp-menu {
        padding: 30px;
    }
    ul.sp-menu li {
        margin: 0px;
    }
    .hamberger-button {
        background-color: transparent;
        border: none;
        float: right;
        margin: 10px 5px 0px 25px;
        /* ボタンを右寄せにする */
    }
    .hamburger-menu {
        display: block !important;
        cursor: pointer;
        padding: 10px;
        border: none;
        background: transparent;
        float: right;
        /* メニューを右寄せにする */
    }
    .hamburger-menu.sp {
        display: block !important;
    }
    .hamburger-menu .fas {
        color: black;
        font-size: 1.5em;
    }
    header.sub .hamburger-menu {
        display: block !important;
    }
    /* オーバーレイ（背景の暗い部分） */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    /* サイドメニュー */
    .side-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        max-width: 80%;
        height: 100%;
        background-color: #fff;
        box-shadow: none;
        z-index: 9999;
        transition: right 0.3s ease, box-shadow 0.3s ease;
        overflow-y: auto;
    }
    .side-menu.active {
        right: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }
    .side-menu-header {
        padding: 15px;
        border-bottom: 1px solid #ddd;
        display: flex;
        justify-content: flex-end;
    }
    .close-button {
        margin: 0 !important;
        float: none !important;
    }
    .side-menu .sp-menu {
        padding: 20px 0;
        margin: 0;
        list-style: none;
    }
    .side-menu .sp-menu li {
        margin: 0;
        border-bottom: 1px solid #eee;
        text-align: left;
    }
    .side-menu .sp-menu li.menu-button {
        margin-top: 15px;
        margin-bottom: 15px;
        border-bottom: none;
    }
    .side-menu .sp-menu li.menu-button a {
        border-bottom: none;
    }
    .side-menu .sp-menu li a {
        display: block;
        padding: 3px 20px;
        color: #333;
        text-decoration: none;
        font-size: 0.9em;
        border-bottom: 1px #d9d9d9 solid;
        margin-right: 15px;
    }
    .side-menu .sp-menu li a:hover {
        background-color: #f5f5f5;
    }
    /* 重要でないメニュー項目を小さく目立たなく */
    .side-menu .sp-menu li.menu-minor {
        border-top: 1px solid #eee;
        margin-top: 5px;
        padding-top: 5px;
    }
    .side-menu .sp-menu li.menu-minor a {
        font-size: 0.7em;
        padding: 0px 20px;
        color: #666;
    }
    .side-menu .sp-menu li.menu-minor a:hover {
        opacity: 1;
        background-color: #f5f5f5;
    }
    .side-menu .sp-menu li.has-submenu>a {
        position: relative;
    }
    /* スマホではサブメニューを常に表示 */
    .side-menu .submenu {
        display: block !important;
        background-color: #f9f9f9;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .side-menu .submenu li {
        border-bottom: 1px solid #e5e5e5;
    }
    .side-menu .submenu li a {
        padding: 12px 20px 12px 40px;
        font-size: 0.9em;
    }
    p {
        font-size: 0.8em;
        line-height: 220%;
        margin: 0px;
    }
    li {
        font-size: 0.8em;
        line-height: 220%;
        margin: 0px;
    }
    .logo {
        font-size: 1.2em;
        height: 45px;
        width: auto;
        margin: 15px 30px 0px 25px;
    }
    .pickup-news {
        padding: 10px 0px;
    }
    .pickup-news-text {
        font-size: 0.6em !important;
    }
    .hero h1 {
        font-size: 2em;
        margin: 0px 0px 15px 0px;
        line-height: 150%;
    }
    .hero p {
        font-size: 0.8em;
        margin: 0px 20px;
        line-height: 180%;
    }
    .about {
        background-image: none;
    }
    .about-container,
    .business-container,
    .products-container,
    .recruit-container {
        margin: 0px 20px;
        display: block;
    }
    section h2 {
        line-height: 100%;
    }
    ul.news-list {
        padding: 20px 20px;
        font-size: 0.8em;
        line-height: 180%;
    }
    /* ニュースページ専用スタイル（スマホ） */
    .page-news .news-list-page {
        padding: 20px 10px;
        font-size: 0.9em;
        line-height: 180%;
        margin: 20px 0;
    }
    .page-news .news-list-page li {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    .page-news .news-list-page li .date {
        font-size: 0.85em;
    }
    .page-news .news-list-page li a {
        font-size: 0.95em;
    }
    .page-news .main-content {
        padding: 15px;
    }
    .page-news .main-content h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .recruit {
        padding: 100px 0px 100px 0px;
    }
    .left-box {
        margin-right: 0px;
        width: 100%;
    }
    .right-box {
        margin-top: 100px;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .recruit .section-button {
        padding: 8px 16px;
        width: 120px;
        margin: 20px auto;
    }
    .footer-logo {
        font-size: 1.2em;
    }
    .logo img {
        width: 110px;
    }
    footer {
        padding: 50px 10px;
    }
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }
    .footer-column {
        width: 100%;
    }
    .footer-mission {
        font-size: 0.8em;
    }
    .footer-address {
        margin: 0px;
    }
    .footer-column-left,
    .footer-column-center,
    .footer-column-right {}
    .footer-logo img {
        max-width: 150px;
    }
    .about,
    .business,
    .products,
    .news {
        padding: 100px 10px;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    .footer-menu {
        font-size: 0.8em;
    }
    ul.footer-menu {
        padding: 30px;
    }
    /* サブページ */
    .sub-container {
        display: block;
    }
    .main-content h2 {
        margin-top: 0px;
        line-height: 100%;
        font-size: 25px;
    }
    .tokusyo-table {
        font-size: 0.9em;
    }
    .tokusyo-table th,
    .tokusyo-table td {
        padding: 10px;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .tokusyo-table th {
        background-color: #f5f5f5;
        border-bottom: none;
        font-weight: 700;
    }
    .tokusyo-table td {
        border-top: none;
        margin-bottom: 15px;
    }
    .tokusyo-table tr {
        display: block;
        margin-bottom: 0;
        border: 1px solid #ddd;
    }
    .footer-address p {
        margin: 5px 0px 5px 0px;
    }
}


/* CSS（他に影響しないように xq9p- でスコープ） */

.xq9p-pricewrap {
    margin: 16px 0;
}

.xq9p-pricetable {
    display: grid;
    gap: 10px;
}

.xq9p-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    background: rgba(0, 0, 0, .02);
}

.xq9p-label {
    font-weight: 700;
    line-height: 1.4;
    padding-top: 2px;
}

.xq9p-cell {
    min-width: 0;
}

.xq9p-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
    padding: 6px 0;
}

.xq9p-line+.xq9p-line {
    border-top: 1px dashed rgba(0, 0, 0, .14);
}

.xq9p-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    white-space: nowrap;
}

.xq9p-price {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .02em;
}

.xq9p-sub {
    font-size: 12px;
    opacity: .75;
    white-space: nowrap;
}


/* スマホ最適化 */

@media (max-width: 640px) {
    .xq9p-row {
        grid-template-columns: 1fr;
    }
    .xq9p-label {
        padding-top: 0;
    }
}

.sp {
    display: none;
}

@media (max-width: 640px) {
    .sp {
        display: inline;
    }
}

.pc {
    display: inline;
}

@media (max-width: 640px) {
    .pc {
        display: none;
    }
}