/* --- Reset & Basic Settings --- */
:root {
    --text-color: #292929;
    --accent-color: #f3941e; /* アクセントカラー */
    --bg-light-gray: #dcdcd9;
    --font-family-base: 'Zen Kaku Gothic New', sans-serif;
    --font-family-menu: 'Manrope', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    color: var(--text-color);
    /* 上からのグラデーション */
    background-image: linear-gradient(to bottom, #f6f6f6 0px, #FFFFFF 1000px);
    background-repeat: no-repeat;
    background-color: #fff; /* グラデーション以下の背景色 */
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.1em;
}
/* ヘッダー固定時にコンテンツが上にずれるのを防ぐ */
body.is_fixed {
    padding-top: 90px; /* ヘッダーの高さに合わせて調整 */
}
body.is_open {
    overflow: hidden;
}
*, *::before, *::after {
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
h1, h2, h3, h4, p {
    margin: 0;
}
.mb_40 {margin-bottom: 40px;}
.mb_60 {margin-bottom: 60px;}
.mb_100 {margin-bottom: 100px;}
.mb_200 {margin-bottom: 200px;}
.tac {text-align: center;}
.btn_viewmore {
    font-family: var(--font-family-menu);
    font-size: 15px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--accent-color);
    background: url(../img/btn_view.svg);
    background-size: cover;
    text-align: center;
    padding: 12px 40px;
    display: inline-block;
    width: 180px;    height: 50px;
    border: none;
    cursor: pointer;
}
.btn_viewmore:hover {
    color: #FFF;
    background: url(../img/btn_view_hover.svg);
    transition: transform 0.3s ease;
}
.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 50px;
    padding-right: 50px;
}
.section_title {
    text-align: center;
    font-family: var(--font-family-menu);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
}
.section_title_small {
    text-align: center;
    font-family: var(--font-family-menu);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}
.section_title_small span {
    display: block;
    font-size: 60%;
    
}
/* --- Header --- */
.header {
    padding: 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}
.header.is_fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.95);
}
body.is_open .header {
    z-index: 101;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 90px;
}
.header_logo img {
    width: 120px;
    vertical-align: middle;
}
.global_nav ul {
    display: flex;
    gap: 40px;
    font-size: 15px;
    font-weight: 500;
}
.nav_item {
    padding: 34px 0;
}

.nav_item a {
    font-family: var(--font-family-menu);
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 5px;
}

/* --- Underline Animation --- */
.nav_item a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 1px; /* 線の太さ */
    background-color: var(--accent-color);
    transform: scaleX(0); /* 初期状態では非表示 */
    transform-origin: left; /* 左からアニメーション */
    transition: transform 0.3s ease; /* アニメーション速度 */
}
.nav_item a:hover::after {
    transform: scaleX(1); /* ホバー時に表示 */
}
/* --- Submenu --- */
.nav_item.has_submenu {
    position: relative;
}

.submenu {
    position: fixed;
    top: 90px;
    left: 50%;
    right: 50%;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 24px 0;
    
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 3;
}
.nav_item.has_submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0); /* Y方向の移動をリセット */
    pointer-events: auto;
}

.submenu_inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    width: 1200px;
}

.submenu_columns {
    display: flex;
    gap: 80px;
    text-align: left;
    height: inherit;
}

.submenu_title {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 13px;
    color: #292929;
}

.submenu_list {
    display: flex;
    flex-direction: column;
    gap: 3px !important;
}

.submenu_list a {
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

.submenu_list a:hover {
    color: var(--accent-color);
}

.submenu_column .submenu_title + .submenu_title {
    margin-top: 30px;
}

.submenu_mb {
    margin-bottom: 20px;
}

/* --- Hamburger Menu --- */
.hamburger_menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 101;
}

.hamburger_menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger_menu.is_open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger_menu.is_open span:nth-child(2) {
    opacity: 0;
}
.hamburger_menu.is_open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Navigation --- */
.mobile_nav_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.98);
    overflow-y: auto;
    
    /* 表示/非表示の方法を変更し、アニメーションを追加 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile_nav_wrapper.is_open {
    opacity: 1;
    visibility: visible;
}

.mobile_nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    padding-top: 90px;
    padding-bottom: 40px;
}

.mobile_nav_wrapper .header_logo {
    position: absolute;
    top: 18px;
    /* 中央揃えは mobile_nav が担当 */
    left: 50%;
    transform: translateX(-50%);
}

.ul_wrap {
    border-top: 1px solid var(--bg-light-gray);
}
.mobile_nav ul {
    display: block;
    width: 100%;
    padding-bottom: 0; /* mobile_nav側で余白を管理 */
}

.mobile_nav_item {
    padding: 13px 0;
    text-align: center;
    border-bottom: 1px solid var(--bg-light-gray);
}

.mobile_nav_item a {
    font-family: var(--font-family-menu);
    font-size: 16px;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow_down {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--text-color);
    border-right: 1px solid var(--text-color);
    transform: rotate(135deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
    position: relative;
    top: -2px;
}

.has_mobile_submenu.is_open > a {
    padding-bottom: 10px;
}

.has_mobile_submenu.is_open {
    padding-bottom: 0;
    border: none;
}

.has_mobile_submenu.is_open .arrow_down {
    transform: rotate(-45deg);
    top: 0;
}

.has_mobile_submenu > .mobile_submenu_list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #f9f9f9;
}

.mobile_submenu_list .mobile_submenu_item {
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.mobile_submenu_list .mobile_submenu_item a {
    display: block;
}

.mobile_submenu_list .mobile_submenu_title {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    background-color: #f0f0f0;
    padding: 5px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* --- Main Content --- */
main {
    position: relative; /* 疑似要素配置のため */
    z-index: 1; /* グラデーションの上にコンテンツが来るように */
    overflow: hidden; /* はみ出し要素を隠す */
}
main.subpage {
    padding-top: 60px;
}

/* mainの最下部にグラデーションを追加するための疑似要素 */
main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px; /* グラデーションの高さ */
    background-image: linear-gradient(to top, #f6f6f6, #FFFFFF);
    z-index: -1; /* コンテンツの背面に配置 */
    pointer-events: none; /* クリック等のイベントを透過させる */
}

/* --- Hero Section --- */
.hero {
    position: relative; /* ドットインジケーター配置の基準 */
    max-width: 1400px;
    height: 700px;
    margin: auto;
    margin-bottom: 240px;
    border: solid 8px #FFFFFF;
}

.hero_slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* フェードの時間 */
    z-index: 1;
}

.hero_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_slide.is_active {
    opacity: 1;
    z-index: 2;
}

.hero_dots {
    position: absolute;
    bottom: -50px; /* 枠の外に配置するためにマイナスの値を設定 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.hero_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-light-gray);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero_dot.is_active {
    background-color: var(--accent-color);
}


/* --- Product Intro Section --- */
.product_intro {
    margin-bottom: 200px;
}
.product_intro .container {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 1080px;
}
.product_intro_text {
    flex-basis: 1080px;
}
.product_intro_text h2 {
    font-size: 34px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.product_intro_text p {
    font-size: 16px;
    letter-spacing: 2px;
}
.product_intro_image {
    position: relative;
    width: 680px;
}
.product_intro_image img {
    position: absolute;
    bottom: 0;
}


/* --- Movie Section --- */
.movie {
    margin-bottom: 200px;
}
.movie_inner {
    position: relative;
    width: 1080px;
    margin: 0 auto;
}

.movie_inner iframe {
    display: block;
    border-radius: 5px;
}

.movie_kado{
    width: 106px;
    position: absolute;
    bottom: -30px;
    right: -30px;
}


/* --- Item Section --- */
.item {
    margin-bottom: 200px;
}
.item_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 1080px;
    margin-right: auto;
    margin-left: auto;
}

.item_card:hover {
    opacity: 0.8;
}
.item_card:hover .item_card_image img {
    transform: scale(1.05);
}

.item_card_image {
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #eee;
}

.item_card_image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}


/* --- Brand Section --- */
.brand {
    margin-bottom: 200px;
}
.brand_inner {
    text-align: center;
}
.brand_inner a:hover{
    opacity: .8;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.brand_main_image {
    margin-bottom: 15px;
}
.brand_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 1080px;
    margin: auto;
}
.brand_logo {
    display: block;
    width: 150px;
    height: 80px;
    margin: 0 auto;
    padding: 10px 0;
}
.brand a p {
    font-weight: 500;
    margin-bottom: 30px;
}

/* --- News Section --- */
.news {
    margin-bottom: 200px;
}
.news hr {
    border-top: solid 1px #292929;
    width: 100%;
    height: 1px;
    margin-bottom: 40px;
}
.news .container {
    width: 810px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.news_row {
    display: flex;
    width: 100%; /* 親要素の幅に合わせて調整 */
    margin-bottom: 60px;
}
.news_row_item {
    flex: 1;
    letter-spacing: 0.2em;
}
.news_row_item.large {
    flex: 4.5; /* 比率を調整 */
}
.news_row_item.large:hover {
    opacity: 0.8;
}
.news_row_item p.news_date {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
}
.news_row_item p.news_title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.news_row_item p.news_article {
    font-size: 14px;
    font-weight: 500;
}

/* --- instagram Section --- */
.instagram {
    margin-bottom: 200px;
}
.instagram_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}


/* --------------- TOP PAGE END --------------- */



/* --------------- CONCEPT PAGE START --------------- */

.main_concept {
    margin-bottom: 200px;
}
.main_concept_text {
    text-align: center;   
}
.main_concept_text h2 {
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 40px;
}
.main_concept_text p {
    font-weight: 500;
}
.detail_concept {
    margin-bottom: 200px;
}
.detail_concept_inner {
    display: flex;
    width: 1080px;
    margin: 0 auto 200px;
}
.detail_concept_text01 {
    width: 50%;
    margin-left: 5%;
}
.detail_concept_text01 h2 {
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 2.0em;
}
.detail_concept_text01 p {
    font-weight: 500;
    line-height: 2.0em;
}
.detail_concept_text02 {
    width: 50%;
    margin-right: 5%;
}
.detail_concept_text02 h2 {
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 2.0em;
}
.detail_concept_text02 p {
    font-weight: 500;
    line-height: 2.0em;
}

/* --------------- CONCEPT PAGE END --------------- */


/* --------------- ITEM DETAIL PAGE START --------------- */

.item_detail .container {
    max-width: 1080px;
    padding: 0;
}

.product_section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 200px;
    margin-left: auto;
    margin-right: auto;
}

.image_gallery {
    display: flex;
    flex-direction: column;
}

.main_image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.thumbnail_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--bg-light-gray);
    transition: border-color 0.3s;
}

.thumbnail:hover {
    border-color: var(--accent-color);
}

.product_info {
    padding: 0;
}

.detail_brand_name {
    font-size: 15px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.product_title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
    letter-spacing: 2px;
}

.price {
    font-family: var(--font-family-menu);
    font-size: 28px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.price .tax_included {
    font-size: 18px;
    color: #666;
    margin-left: 15px;
    font-weight: 500;
}

.tags {
    display: flex;
    gap: 5px 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--bg-light-gray);
}

.tags .tag {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.details_section {
    margin-bottom: 40px;
}

.details_section .section_title {
    font-family: var(--font-family-menu);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
    letter-spacing: 0.1em;
}

.detail_row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail_label {
    width: 160px;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.detail_value {
    flex: 1;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2em;
}

.color_options {
    margin-top: 10px;
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* --------------- ITEM DETAIL PAGE END --------------- */


/* --------------- BRAND DETAIL PAGE START --------------- */

.brand_detail {
    margin-bottom: 100px;
}

.brand_detail_inner {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}
.brand_concept {
    margin-bottom: 100px;
    text-align: center; 
}
.brand_concept p {
    font-weight: 500;
}

/* --------------- BRAND DETAIL PAGE END --------------- */


/* --- NEWS ARCHIVE PAGE --- */

.news_archive .container {
    max-width: 1080px;
    margin-bottom: 200px;
}

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

.news_card {
    display: block;
    color: inherit;
    text-decoration: none;
}
.news_card_body {
    transition: transform 0.4s ease;
}

.news_card:hover .news_card_image img {
    transform: scale(1.05);
}
.news_card:hover .news_card_body {
    opacity: 0.8;
}

.news_card_image {
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #eee;
}

.news_card_image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news_card_date {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.news_card_title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 8px;
}

.news_card_excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}


/* --------------- NEWS ARCHIVE END --------------- */

/* --------------- NEWS DETAIL PAGE START --------------- */
.news_post .container {
    max-width: 810px;
    padding: 0;
}
.news_post_header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--bg-light-gray);
}
.news_post_title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}
.news_post_date {
    font-size: 15px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.15em;
}
.news_post_content {
    font-size: 15px;
    line-height: 2;
    padding-bottom: 100px;
}
.news_post_content img {
    margin-bottom: 60px;
}
.news_post_content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    background: #f3941e38;
    border-radius: 3px;
    padding: 5px 20px;
}
.related_news {
    padding-top: 100px;
    border-top: 1px solid var(--bg-light-gray);
    margin-bottom: 100px;
}
.related_news .container {
    max-width: 1080px;
}
/* --------------- NEWS DETAIL PAGE END --------------- */


/* --------------- COMPANY PAGE START --------------- */
.company_info .container {
    max-width: 810px;
    margin-bottom: 200px;
    padding: 0;
}
.company_info .section_title {
    border-bottom: 1px solid var(--bg-light-gray);
    margin-bottom: 40px;
    padding-bottom: 60px;
}
.company_info_title {
    color: var(--accent-color);
    border-left: 5px solid var(--accent-color);
    padding-left: 25px;
    font-size: 20px;
    font-weight: 500;
    line-height: 2em;
    margin-bottom: 30px;
}
.company_table {
    margin-bottom: 100px;
}
.company_table dl {
    font-size: 15px;
    display: flex;
    border-bottom: 1px solid var(--bg-light-gray);
    margin: 0;
}
.company_table dt {
    color: var(--accent-color);
    width: 30%;
    padding: 15px 0;
    font-weight: 700;
}
.company_table dd {
    width: 70%;
    padding: 15px 0;
    margin: 0;
    line-height: 1.8;
}
.company_history {
    margin-bottom: 100px;
}
.map_container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}
.map_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --------------- COMPANY PAGE END --------------- */


/* --------------- OEM PAGE START --------------- */
.oem_about_inner {
    display: flex;
    justify-content: space-between;
    width: 1080px;
    margin: 0 auto 200px;
}
.oem_about_text {
    width: 56%;
    margin-right: 5%;
}
.oem_about_text h2 {
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.7em;
    font-size: 34px;
    letter-spacing: 0.1em;
}
.oem_about_text p {
    font-weight: 500;
    line-height: 1.7em;
    font-size: 15px;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}
.oem_works p {
    font-size: 16px;
    font-weight: 500;
}
.oem_works_preview {
    text-align: center;
    margin-bottom: 100px;
}
.oem_works_preview h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.oem_works_preview p {
    font-size: 15px;
    margin-bottom: 40px;
}
.oem_works_preview .works_grid {
    margin-bottom: 60px;
}

.oem_page .container {
    width: 1080px;
    padding: 0;
}
.oem_features {
    text-align: center;
    margin-bottom: 200px;
}
.oem_features p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
}
.oem_features_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.feature_card {
    position: relative;
    display: block;
    overflow: hidden;
}
.feature_card:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.feature_card img {
    width: 100%;
}
.feature_card p {
    position: absolute;
    bottom: 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, .9);
    margin: 0;
}
.feature_card img {
    object-fit: cover;
    transition: transform 0.4s ease;
}
.feature_card:hover img {
    transform: scale(1.05);
}


/* --------------- OEM PAGE END --------------- */


/* --------------- OEM FEATURE PAGE START --------------- */

.oem_feature_page .oem_about_inner,
.oem_feature_page .oem_features {
    margin-bottom: 140px;
}
.oem_feature_page .works_grid {
    margin-bottom: 60px;
}

/* --------------- OEM FEATURE PAGE END --------------- */


/* --------------- OEM WORKS PAGE START --------------- */
.oem_works .container {
    max-width: 1080px;
    margin-bottom: 200px;
    padding: 0;
}
.works_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    margin-bottom: 100px;
}
.works_card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}
.works_card:hover {
    opacity: 0.8;
}
.works_card:hover .works_card_image img {
    transform: scale(1.05);
}
.works_card_image {
    margin-bottom: 20px;
    border: 1px solid #eee;
    overflow: hidden;
}
.works_card_image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.works_card_text {
    font-size: 14px;
    line-height: 1.8;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light-gray);
    color: #fff;
    font-weight: 700;
    transition: background-color 0.3s;
}
.pagination a:hover {
    background-color: #ccc;
}
.pagination a.current {
    background-color: var(--accent-color);
    color: #fff;
}
.pagination a.prev,
.pagination a.next {
    background-color: transparent;
    border: 2px solid var(--bg-light-gray);
    color: var(--bg-light-gray);
}
.pagination a.prev:hover,
.pagination a.next:hover {
    background-color: var(--bg-light-gray);
    color: #fff;
}
/* --------------- OEM WORKS PAGE END --------------- */


/* --------------- OEM DETAIL PAGE START --------------- */
.oem_detail .container {
    max-width: 1080px;
    margin-bottom: 200px;
    padding: 0;
}
.oem_detail_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.oem_detail_title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 40px;
}
.oem_detail_section {
    margin-bottom: 40px;
}
.oem_detail_subtitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 20px;
}
.oem_detail_content p {
    font-size: 15px;
    line-height: 2;
}

/* --------------- OEM DETAIL PAGE END --------------- */


/* --------------- OEM FLOW PAGE START --------------- */
.oem_flow {
    margin-bottom: 200px;
}
.oem_flow .container {
    max-width: 810px;
    padding: 0;
}
.oem_flow .border {
    border-bottom: solid 1px var(--bg-light-gray);
    border-top: solid 1px var(--bg-light-gray);
    margin-bottom: 40px;
    padding: 40px 0 50px;
}
.oem_flow_timeline {
    position: relative;
}
.oem_flow_timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 200px;
    bottom: 200px;
    width: 2px;
    background-color: #292929;
    transform: translateX(-50%);
    z-index: 99;
}
.flow_item {
    position: relative;
    margin-bottom: 80px;
}
.flow_item:last-child {
    margin-bottom: 0;
}
.flow_content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 150px);
    position: relative;
    left: -75px;
}
.flow_content.reverse {
    flex-direction: row-reverse;
}
.flow_image, .flow_text {
    width: 405px;
    box-sizing: border-box;
}
.flow_text {
    padding: 20px 50px 20px 0;
}
.reverse .flow_text {
    padding: 20px 0 20px 50px;
}
.flow_text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.flow_text p {
    font-size: 15px;
    text-align: justify;
    line-height: 1.8;
}
.flow_item01,
.flow_item02,
.flow_item03,
.flow_item04,
.flow_item05,
.flow_item06 {
    position: relative;
}
.flow_item01::after,
.flow_item02::after,
.flow_item03::after,
.flow_item04::after,
.flow_item05::after,
.flow_item06::after {
    content: '';
    position: absolute;
    top: 175px;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #292929;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #FFF;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding: 7px 16px;
}
.flow_item01::after {
    content: '01';
}
.flow_item02::after {
    content: '02';
}
.flow_item03::after {
    content: '03';
}
.flow_item04::after {
    content: '04';
}
.flow_item05::after {
    content: '05';
}
.flow_item06::after {
    content: '06';
}
/* --------------- OEM FLOW PAGE END --------------- */


/* --------------- FAQ PAGE START --------------- */
.faq_section .container {
    max-width: 810px;
    margin-bottom: 200px;
    padding: 0;
}

.faq_section .border {
    border-top: solid 1px var(--bg-light-gray);
    padding-top: 40px;
}
.faq_category {
    padding-bottom: 60px;
    margin-bottom: 80px;
    border-bottom: 1px solid #e0e0e0;
}

.faq_category_title {
color: var(--accent-color);
    border-left: 5px solid var(--accent-color);
    padding-left: 25px;
    font-size: 20px;
    font-weight: 500;
    line-height: 2em;
    margin-bottom: 30px;
}

.faq_item {
}

.faq_question {
    padding: 25px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 700;
}
.faq_question p {
    padding-left: 40px;
}
.faq_question p::before {
    content: 'Q';
    margin-right: 15px;
    font-size: 20px;
    font-weight: 700;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #292929;
    color: #FFF;
    padding: 2px 12px;
    position: absolute;
    left: 0;
    top: 20px;
}

.faq_question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq_item.is_open .faq_question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq_answer_inner {
    border-top: 1px solid #e0e0e0;
    padding: 15px 25px 20px 0;
    line-height: 1.8;
}

.faq_answer_inner p {
    position: relative;
    padding-left: 60px;
    padding-top: 5px;
}

.faq_answer_inner p::before {
    content: 'A';
    margin-right: 15px;
    position: absolute;
    font-size: 20px;
    font-weight: 700;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    padding: 1px 14px;
    left: 0;
    top: 0;
    text-align: center;
}

/* --------------- FAQ PAGE END --------------- */


/* --------------- QUALITY MANAGEMENT PAGE START --------------- */
.quality_management .container {
    max-width: 1080px;
    margin-bottom: 200px;
    padding: 0;
}

.quality_intro {
    display: flex;
    gap: 40px;
    margin-bottom: 140px;
}

.quality_intro_text {
    flex: 1;
}

.quality_intro_text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.quality_intro_image {
    flex: 1;
}

.quality_point {
    margin-bottom: 140px;
}

.quality_point h4 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.quality_point p {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* --------------- QUALITY MANAGEMENT PAGE END --------------- */


/* --------------- CONTACT PAGE START --------------- */
.contact_section .section_title {
    border-bottom: 1px solid var(--bg-light-gray);
    margin-bottom: 40px;
    padding-bottom: 60px;
}
.contact_section .container {
    max-width: 810px;
    margin-bottom: 200px;
    padding: 0;
}
.contact_info {
    margin-bottom: 80px;
}
.contact_title {
    color: var(--accent-color);
    border-left: 5px solid var(--accent-color);
    padding-left: 25px;
    font-size: 20px;
    font-weight: 500;
    line-height: 2em;
    margin-bottom: 30px;
}
.contact_info dl {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    margin: 0;
    letter-spacing: 0.1em;
}
.contact_info dt {
    color: var(--accent-color);
    width: 150px;
    font-weight: 700;
}
.contact_info dd {
    margin: 0;
}
.contact_info dd span {
    font-size: 14px;
    color: #888;
    display: block;
    margin-top: 5px;
}
.contact_form {
    margin-bottom: 80px;
}
.form_group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}
.form_group label {
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    letter-spacing: 0.1em;
    width: 20%;
}

.form_group .required {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    height: fit-content;
}

.form_group input[type="text"],
.form_group input[type="email"],
.form_group input[type="tel"],
.form_group textarea {
    width: 68%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-family-base);
}

.form_group textarea {
    resize: vertical;
    width: 76%;
}

.checkbox_group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.checkbox_group input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox_group label {
    margin-bottom: 0;
    font-weight: normal;
}
.checkbox_group .agree {
    margin-bottom: 0;
    font-weight: normal;
    width: 63%;
}

.checkbox_group .required {
    margin-left: auto;
    width: 5%;
}

.form_submit {
    text-align: center;
}
.form_submit button {
    border: none;
}

/* --------------- CONTACT PAGE END --------------- */













/* --- Footer --- */
.footer {
    background-color: var(--bg-light-gray);
    padding: 80px 0;
    text-align: center;
}
.footer_sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.footer_sns img {
    width: 30px; /* SNSアイコンのサイズを調整 */
}
#footer_menu ul {
    display: flex;
    gap: 40px;
    font-size: 15px;
    font-weight: 500;
    justify-content: center;
}
.footer_item {
    padding: 34px 0; /* aタグのクリック範囲を広げるため */
}
.footer_item a {
    font-family: var(--font-family-menu);
    letter-spacing: 0.1em;
}
.footer a:hover {
    opacity: .6;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.copyright {
    font-size: 12px;
    color: #888;
}

/* --- Floating Button --- */
.floating_wrapper {
    position: fixed;
    right: 0;
    top: 150px;
    z-index: 99;
}
.floating_button01 {
    background-color: var(--accent-color);
    color: white;
    padding: 20px 10px;
    margin-bottom: 10px;
    writing-mode: vertical-rl;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    cursor: pointer;
    z-index: 99;
}
.floating_button02 {
    background-color: #37321e;
    color: white;
    padding: 20px 10px;
    writing-mode: sideways-rl;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    cursor: pointer;
    z-index: 100;
}
.floating_button01:hover,
.floating_button02:hover {
    opacity: .8;
    transition: opacity 0.3s ease, visibility 0.3s;
}





/* --- Responsive Styles --- */
/* Tablet */
@media (max-width: 1420px) {
    .header .container {
        max-width: 96%;
    }
}
/* Tablet */
@media (max-width: 1024px) {
    .header .container {
        max-width: 100%;
        height: 70px;
        background-color: #FFF;
    }
    .header_logo {
        width: 100%;
    }
    .header_logo a {
        width: 100px; /* ロゴのサイズを調整してください */
        margin: 0 auto;
        display: block;
    }
    .header_logo img {
        width: 100%; /* ロゴのサイズを調整してください */
        vertical-align: middle;
            vertical-align: sub;
    }
    .hamburger_menu {
        display: block;
        position: absolute;
        right: 0px;
    }
    .global_nav {
        display: none;
    }
    .hamburger_menu {
        display: block;
    }
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .hero {
        margin-bottom: 160px;
        border: none;
    }
    .product_intro .container,
    .item_grid,
    .brand_grid,
    .news .container {
        width: 100%;
    }
    
    .product_intro .container {
        flex-direction: column;
        align-items: center;
    }
    .product_intro .container {
        gap: 0;
        padding: 0 6%;
    }   
    .product_intro {
        margin-bottom: 100px;
        
    }
    .product_intro_text {
        flex-basis: auto;
    }
    .product_intro_text p.mb_100 {
        margin-bottom: 60px;
    }
    .product_intro_image img {
        display: none;
    }
    
    .movie_inner {
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
        position: relative;
    }
    
    .movie_inner iframe {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
    .movie_kado {
        display: none;
    }
    
    .item_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instagram_grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer_item {
        padding: 15px 0;
    }
    

    /* --- 別窓アイコン --- */
    .dli-external-link {
      display: inline-block;
      vertical-align: middle;
      color: #555;
      line-height: 1;
      width: 0.7em;
      height: 0.7em;
      border: 0.1em solid currentColor;
      border-radius: 0.1em;
      background: #fff;
      box-sizing: content-box;
      position: relative;
        margin: 0px 0 4px 7px;
    }

    .dli-external-link > span {
      position: absolute;
      top: -0.2em;
      right: -0.2em;
      width: 45%;
      height: 45%;
      border: 0.1em solid currentColor;
      border-bottom: 0;
      border-left: 0;
      background: #fff;
      box-shadow: -0.1em 0.1em 0 0.1em #fff;
      box-sizing: border-box;
    }

    .dli-external-link > span::before {
      content: '';
      position: absolute;
      top: -0.05em;
      right: -0.1em;
      width: 0.1em;
      height: 0.9em;
      background: currentColor;
      transform: rotate(45deg);
      transform-origin: top center;
    }
    
    /* --------------- OEM PAGES (Tablet) START --------------- */
    .subpage .works_grid {
        grid-template-columns: repeat(2, 1fr); /* 実績一覧を2カラムに */
        gap: 40px 30px;
    }
    .subpage .oem_flow_timeline::before {
        left: 20px; /* タイムラインの基準線を左寄せに */
        transform: translateX(0);
    }
    .subpage .flow_item::after {
        left: 20px;
        transform: translate(-50%, -50%);
    }
    .subpage .flow_content {
        width: 100%;
        left: 0;
        padding-left: 60px; /* タイムラインとの余白を確保 */
    }
    .subpage .flow_content.reverse {
        flex-direction: row; /* PC版の逆順レイアウトを解除 */
    }
    .reverse .flow_text {
        padding: 20px 0 20px 30px;
    }
    /* --------------- OEM PAGES (Tablet) END --------------- */
    
}
/* Mobile */
@media (max-width: 768px) {
    .header .container {
        height: 70px;
        background-color: #FFF;
    }
    .header_logo {
        width: 100%;
    }
    .header_logo a {
        width: 85px;
        margin: 0 0 0 10px;
        display: block;
        line-height: 0;
    }
    .header_logo img {
        width: 100%; /* ロゴのサイズを調整してください */
    }
    .hamburger_menu {
        display: block;
        position: absolute;
        right: 0px;
    }
    .global_nav {
        display: none;
    }
    .hamburger_menu {
        display: block;
    }
    .container {
        padding-left: 4%;
        padding-right: 4%;
    }
    .section_title {
        font-size: 20px;
        margin-bottom: 30px;
        font-weight: 500;
        letter-spacing: 0.2em;
    }
    .hero {
        height: auto;
        aspect-ratio: 12 / 16;
        margin-bottom: 100px;
        border: none;
    }
    .hero_dots {
        bottom: -30px;
        gap: 10px;
    }
    .hero_dot {
        width: 7px;
        height: 7px;
    }
    .product_intro .container {
        gap: 0;
        padding: 0 6%;
    }
    .product_intro_text h2 {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 30px;
    }    
    .product_intro {
        margin-bottom: 100px;
    }
    .product_intro_text p {
        font-size: 14px;
        font-weight: 500;
    }
    .product_intro_text p.mb_100 {
        margin-bottom: 60px;
    }
    .product_intro_image img {
        display: none;
    }
    .movie {
        margin-bottom: 100px;
    }
    .item, .brand, .news, .instagram {
        margin-bottom: 100px;
    }
    .btn_viewmore {
        margin: 0 auto;
        display: block;
    }
    .item_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1% 2%;
    }
    .brand_grid {
        display: block;
    }
    .brand_inner a {
        position: relative;
        display: block;
        margin-bottom: 10px;
    }
    .brand_inner a div {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background-color: rgba(255,255,255,.9);
    }
    .brand_logo {
        width: 100px;
        margin: 0px 20px;
        padding: 15px 0 5px;
        height: 55px;
    }
    .brand a p {
        margin-bottom: 10px;
        font-size: 12px;
    }
    .news {
        
    }
    .news_row {
        flex-direction: column;
        gap: 15px;
    }
    .instagram_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    /* --------------- CONCEPT PAGE START --------------- */
    .main_concept {
        margin-bottom: 100px;
    }
    .main_concept_text {
        text-align: left;
    }
    .main_concept_text h2 {
        font-size: 22px;
        font-weight: 500;
        margin-bottom: 30px;
    }
    .main_concept_text p {
        font-size: 14px;
        font-weight: 500;
    }
    .detail_concept {
        margin-bottom: 100px;
    }
    .detail_concept_inner {
        display: block;
        width: auto;
        padding: 0 2%;
        margin-bottom: 100px;
    }
    .detail_concept_image01 {
        margin-bottom: 30px;
    }
    .detail_concept_text01,
    .detail_concept_text02 {
        width: 100%;
        margin-bottom: 30px;
        margin-left: 0;
    }
    .detail_concept_text01 h2,
    .detail_concept_text02 h2 {
        font-weight: 500;
        font-size: 22px;
        letter-spacing: 0.1em;
        margin-bottom: 30px;
    }
    .detail_concept_image02 {
    }
    .detail_concept_text02 {
     }
    .detail_concept_text02 h2 {
    }
    
    /* --------------- CONCEPT PAGE END --------------- */
    
    /* --------------- BRAND DETAIL PAGE START --------------- */
    .subpage .brand_detail .container {
        padding: 0;
    }
    .subpage .brand_detail {
        margin-bottom: 80px;
    }

    .subpage .brand_detail_inner {
        margin-bottom: 40px;
    }

    .subpage .brand_detail_inner .brand_logo {
        height: 50px;
        width: 140px;
        margin: 20px auto 10px;
    }

    .subpage .brand_detail_inner p {
        font-size: 14px;
        font-weight: 500;
    }

    .subpage .brand_concept {
        text-align: center; 
        margin-bottom: 0;
        padding-left: 4%;
        padding-right: 4%;
    }

    .subpage .brand_concept p {
        font-size: 14px;
        line-height: 1.9;
    }

    .subpage .brand_detail + .item .item_grid.mb_60 {
        margin-bottom: 80px;
    }

    .subpage .brand_detail + .item .tac.mb_200 {
        margin-bottom: 10px;
    }

    /* --------------- BRAND DETAIL PAGE END --------------- */
    
    
    /* --------------- COMPANY PAGE START --------------- */
    .subpage .company_info .container {
        margin-bottom: 100px;
        padding-left: 4%;
        padding-right: 4%;
    }

    .subpage .company_info .section_title {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .subpage .company_info_title {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .subpage .company_table {
        margin-bottom: 60px;
    }

    .subpage .company_table dl {
        display: block;
        padding: 20px 0;
    }

    .subpage .company_table dt {
        width: auto;
        padding: 0;
        margin-bottom: 8px;
    }

    .subpage .company_table dd {
        width: auto;
        padding: 0;
        font-size: 14px;
    }

    /* --------------- COMPANY PAGE END --------------- */
    
    
    /* --------------- NEWS ARCHIVE PAGE (news.html) START --------------- */
    .subpage .news_archive .container {
        margin-bottom: 100px;
    }
    .subpage .news_archive_grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .subpage .news_card_title {
        font-size: 15px;
    }
    /* --------------- NEWS ARCHIVE PAGE END --------------- */


    /* --------------- NEWS DETAIL PAGE (news_detail.html) START --------------- */
    .subpage .news_post .container {
        padding: 0 4%;
    }
    .subpage .news_post_header {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    .subpage .news_post_title {
        font-size: 20px;
        line-height: 1.6;
    }
    .subpage .news_post_date {
        font-size: 14px;
    }
    .subpage .news_post_content {
        font-size: 15px;
        line-height: 1.9; 
        padding-bottom: 80px;
    }
    .subpage .news_post_content img {
        margin-bottom: 30px;
    }
    .subpage .related_news {
        padding-top: 60px;
        margin-bottom: 80px;
    }
    /* --------------- NEWS DETAIL PAGE END --------------- */


    /* --------------- ITEM ALL PAGE (item_all.html) START --------------- */
    .subpage .section_title_small {
        font-size: 18px; /* 小見出しのフォントサイズを調整 */
        margin-bottom: 30px;
    }
    .subpage .oem_about_inner {
        display: block;
        margin-bottom: 100px;
        width: fit-content;
    }
    .subpage .oem_about_text,
    .subpage .oem_about_image {
        width: 100%;
        margin-right: 0;
    }
    .subpage .oem_about_text {
        margin-bottom: 30px;
        text-align: left;
    }
    .subpage .oem_about_text h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .subpage .oem_about_text p {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .subpage .item_grid + .tac.mb_200 {
        margin-bottom: 80px;
    }
    /* --------------- ITEM ALL PAGE END --------------- */


    /* --------------- ITEM DETAIL PAGE (item_detail.html) START --------------- */
    .subpage .item_detail .container {
        margin-bottom: 100px;
        padding-left: 4%;
        padding-right: 4%;
    }
    .subpage .product_section {
        grid-template-columns: 1fr; 
        gap: 40px;
        margin-bottom: 100px;
    }
    .subpage .product_title {
        font-size: 18px;
    }
    .subpage .price {
        font-size: 22px;
    }
    .subpage .price .tax_included {
        font-size: 14px;
    }
    .subpage .details_section .section_title {
        font-size: 16px;
        text-align: left;
    }
    .subpage .detail_row {
        display: block;
        padding: 12px 0;
    }
    .subpage .detail_label {
        width: auto;
        font-weight: 700;
        margin-bottom: 5px;
    }
    /* --------------- ITEM DETAIL PAGE END --------------- */


    /* --------------- CONTACT PAGE (contact.html) START --------------- */
    .contact_section .section_title {
        padding-bottom: 40px;
    }
    .subpage .contact_section .container {
        margin-bottom: 100px;
        padding-left: 4%;
        padding-right: 4%;
    }
    .subpage .contact_info dl {
        display: block; /* 電話番号情報などを縦積みに */
        padding: 15px 0;
    }
    .subpage .contact_info dt {
        width: auto;
        margin-bottom: 5px;
    }
    .subpage .contact_form .form_group {
        display: block; /* フォームのラベルと入力を縦積みに */
        padding: 15px 0;
        margin-bottom: 0;
    }
    .subpage .contact_form .form_group label {
        width: auto;
        margin-bottom: 10px;
        display: inline-block;
    }
    .subpage .contact_form .form_group .required {
        /* 「必須」マークをラベルの横に配置 */
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
    }
    .subpage .contact_form .form_group input[type="text"],
    .subpage .contact_form .form_group input[type="email"],
    .subpage .contact_form .form_group input[type="tel"],
    .subpage .contact_form .form_group textarea {
        width: 100%;
    }
    .subpage .contact_form .checkbox_group {
        display: block;
        margin-bottom: 40px;
    }
    .subpage .contact_form .checkbox_group .agree {
        width: auto;
        display: block;
        margin-top: 10px;
    }
    .subpage .contact_form .checkbox_group .required {
        display: none; /* モバイルでは不要なため非表示 */
    }
    /* --------------- CONTACT PAGE END --------------- */
    
    
    /* --------------- OEM PAGES (oem.html, oem_feature.html etc.) START --------------- */
    .subpage .oem_page .container,
    .subpage .oem_works .container,
    .subpage .oem_flow .container,
    .subpage .faq_section .container,
    .subpage .quality_management .container {
        width: auto;
        padding: 0 4%;
        margin-bottom: 100px;
    }
    .oem_features {
        margin-bottom: 100px;
    }
    .subpage .oem_features_grid {
        grid-template-columns: 1fr; /* OEM特徴のグリッドを1カラムに */
        gap: 20px;
    }
    .subpage .works_grid {
        grid-template-columns: repeat(2, 1fr); /* 実績一覧を2カラムに */
        gap: 20px;
    }
    .subpage .works_card_text {
        font-size: 13px;
        line-height: 1.7;
    }
    .subpage .oem_works .pagination {
        margin-top: 40px;
    }
    /* --------------- OEM PAGES END --------------- */


    /* --------------- OEM DETAIL PAGE (oem_detail.html) START --------------- */
    .subpage .oem_detail_container {
        grid-template-columns: 1fr; /* 画像と説明を縦積みに */
        gap: 40px;
    }
    .subpage .oem_detail_title {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .subpage .oem_detail_subtitle {
        font-size: 15px;
        padding-left: 12px;
        margin-bottom: 15px;
    }
    .subpage .oem_detail_content p {
        font-size: 14px;
        line-height: 1.9;
    }
    /* --------------- OEM DETAIL PAGE END --------------- */


    /* --------------- OEM FLOW PAGE (oem_flow.html) START --------------- */
    .subpage .oem_flow .border {
        padding: 30px 0;
        margin-bottom: 60px;
    }
    .subpage .oem_flow .border p {
        text-align: left;
    }
    .subpage .oem_flow_timeline::before {
        /* タイムライン縦線の表示をモバイルでは非表示に */
        display: none;
    }
    .flow_item01,
    .flow_item02,
    .flow_item03,
    .flow_item04,
    .flow_item05 {
        margin-bottom: 80px;
    }
    .flow_item01::after, .flow_item02::after, .flow_item03::after, .flow_item04::after, .flow_item05::after, .flow_item06::after {
        top: 0;
    }
    .subpage .flow_content,
    .subpage .flow_content.reverse {
        display: block; /* 画像とテキストを縦積みに */
        padding-left: 0;
    }
    .subpage .flow_image,
    .subpage .flow_text {
        width: 100%;
        margin-bottom: 20px;
    }
    .subpage .flow_text {
        padding: 50px 0 0 0;
    }
    .subpage .flow_text h3 {
        text-align: center;
    }
    .subpage .flow_item::after {
        /* 番号表示の位置を調整 */
        position: relative;
        display: block;
        left: 0;
        top: 0;
        transform: none;
        margin-bottom: 15px;
    }
    /* --------------- OEM FLOW PAGE END --------------- */


    /* --------------- OEM QUALITY PAGE (oem_quality.html) START --------------- */
    .subpage .quality_management .container {
        padding: 0 4%;
    }
    .subpage .quality_intro {
        display: block; /* テキストと画像を縦積みに */
        margin-bottom: 80px;
    }
    .subpage .quality_intro_text {
        margin-bottom: 20px;
    }
    .subpage .quality_intro_text h3 {
        font-size: 18px;
    }
    .subpage .quality_point {
        margin-bottom: 60px;
    }
    .subpage .quality_point h4 {
        font-size: 16px;
        text-align: left;
    }
    .subpage .quality_point p {
        text-align: left;
        font-size: 14px;
    }
    /* --------------- OEM QUALITY PAGE END --------------- */


    /* --------------- FAQ PAGE (oem_faq.html) START --------------- */

    .subpage .faq_section .section_title {;
        margin-bottom: 40px;
    }
    .subpage .faq_section .border {
        padding-top: 40px;
    }
    .subpage .faq_category {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
    .subpage .faq_category_title {
        font-size: 16px;
    }
    .subpage .faq_question {
        padding: 20px 0;
    }
    .subpage .faq_question p {
        font-size: 14px;
        padding-right: 20px; /* プラスマイナス記号との余白 */
        padding-left: 45px;
    }
    .subpage .faq_answer_inner p {
        font-size: 14px;
        padding-left: 45px;
    }
    .faq_question p::before {
        content: 'Q';
        margin-right: 15px;
        font-size: 14px;
        font-weight: 700;
        display: block;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #292929;
        color: #FFF;
        padding: 2px 10px;
        position: absolute;
        left: 0;
        top: 18px;
    }
    .faq_question::after {
        content: '+';
        position: absolute;
        right: 0px;
        top: 30px;
        transform: translateY(-50%);
        font-size: 18px;
        color: var(--accent-color);
        transition: transform 0.3s ease;
    }
    .faq_answer_inner p::before {
        content: 'A';
        margin-right: 15px;
        position: absolute;
        font-size: 14px;
        font-weight: 700;
        display: block;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: var(--accent-color);
        color: white;
        padding: 2px 11px;
        left: 0;
        top: 3px;
        text-align: center;
    }

    /* --------------- FAQ PAGE END --------------- */
    
    .footer_sns {
        margin-bottom: 60px;
    }
    #footer_menu ul {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }
    .floating_button01, .floating_button02 {
        display: none;
    }
}



/* --- Formidable Forms カスタムHTML 最終調整CSS --- */

.frm_form_fields fieldset{
    padding: 0;
    border: none;
}
/* [input] が生成する .frm_control_container に 68% の幅を適用 */
.contact_form .frm_control_container {
    width: 68%;
}
/* 入力欄本体のスタイル */
.contact_form .frm_control_container input[type="text"],
.contact_form .frm_control_container input[type="email"],
.contact_form .frm_control_container input[type="tel"],
.contact_form .frm_control_container textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-family-base);
    box-sizing: border-box;
}
/* --- 「必須」ボタンのスタイル調整 --- */
/* [required_label]（*）を囲む .required の設定 */
.contact_form .form_group .required {
    /* 元の .required のスタイルを適用 */
    background-color: var(--accent-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    height: fit-content;

    /* Formidableの "*" を隠す */
    width: 32px; /* 「必須」の文字幅を確保 */
    text-align: center;
    position: relative;
    line-height: 1.5; /* ボタンの高さ調整 */
}
/* 疑似要素で「必須」の文字を生成 */
.contact_form .form_group .required::before {
    content: '必須';
    font-size: 12px; /* 文字を再表示 */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
/* 必須でないフィールドの .required を隠す */
.contact_form .form_group:not(.frm_required_field) .required {
    display: none;
}


/* --- チェックボックスのスタイル調整 --- */
/* [input] が .frm_control_container なしで直接配置されるため、
   .checkbox_group の直下の .frm_checkbox にスタイルを適用 */
.contact_form .checkbox_group .frm_checkbox {
    width: auto; /* 68% を解除 */
    flex-grow: 1; /* 残りのスペースを埋める */
    display: flex;
    align-items: center;
    margin: 0; /* Formidableのデフォルトマージンをリセット */
}
/* チェックボックスのラベル「上記内容に同意します」 */
.contact_form .checkbox_group .frm_opt_label {
    font-weight: normal;
    margin-left: 10px;
    line-height: 1.5;
}
.contact_form #frm_checkbox_17-0 label {
    width:auto;
}

/* --- 送信ボタンのスタイル調整 --- */
.contact_form .frm_submit {
    margin: 0;
    padding: 0;
}
.contact_form .form_submit {
    text-align: center;
    margin-top: 20px; /* .form_group の border-bottom との余白 */
}

/* --- エラーメッセージのスタイル調整 --- */
.contact_form .frm_error {
    color: red;
    font-size: 14px;
    order: 3;
    width: 100%;
    flex-basis: 100%; /* 改行させる */
    margin-top: 5px;
}

#frm_field_18_container {
    display: none;
}

/* --- レスポンシブ (PC) 調整 --- */
@media (min-width: 769px) {
    .contact_form .form_group {
        display: flex;
        flex-wrap: wrap; 
        align-items: center;
        gap: 10px;
        padding: 20px 0;
        margin-bottom: 0;
    }
    .contact_form .form_group label {
        width: 20%;
        margin-bottom: 0;
    }
    .contact_form .frm_control_container {
        order: 2; /* 順序変更: 入力欄 */
        width: 68%;
    }
    .contact_form .frm_error {
        padding-left: calc(20% + 20px); /* インデント */
    }
    
    /* チェックボックスのPCレイアウト調整 */
    .contact_form .checkbox_group .required {
        order: 0; /* 順序を戻す */
        margin-left: 10px;
    }
    .contact_form .checkbox_group .frm_checkbox {
        order: 1;
        width: auto;
        flex-grow: 1;
    }
    .contact_form input {
        height: 50px;
        border-radius: 5px !important;
    }
}

/* --- レスポンシブ (Mobile) 調整 --- */
@media (max-width: 768px) {
    .contact_form .form_group {
        display: block;
        padding: 15px 0;
        margin-bottom: 0;
    }
    .contact_form .form_group label {
        width: auto;
        margin-bottom: 10px;
        display: inline-block;
    }
    .contact_form .form_group .required {
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
    }
    .contact_form .frm_control_container {
        width: 100%;
    }
    .contact_form .checkbox_group .required {
        display: none;
    }
    .contact_form .checkbox_group .frm_checkbox {
        width: 100%;
    }
    .contact_form .frm_error {
        padding-left: 0;
    }
}
