/*
Theme Name: 株式会社Refine
Author: T.Kato
Description: 株式会社Refine様のホームページ
Version: 1.0
*/



@charset "utf-8";

:root {
  --main-color: rgb(46, 125, 50);
  --accent-color:rgb(255,130,0);
  --darkgray:rgb(161, 163, 166);
  --gray : #dcdcdc;
  --text-color: #000000;
}
body {
    font-family: "Oswald", "Noto Sans" , sans-serif;
    color: #000;
    font-size: 16px;
    line-height: 1.2; 
    /* background-color: #F0F0F0; */
}
main {
    padding-top: 60px;
}
@media screen and (min-width:960px) {
    body {
        font-size: 16px;
        line-height: 1.4;
    }
    main {
        padding-top: 80px;
    }
}
img {
    max-width: 100%;
}
ul {
    list-style: none;
}
/*全ページ共通*/
/* コンテンツの幅を設定 */
.wrapper {
    width: 100%;
    max-width: 1408px;
    padding: 0 16px;
    margin: 0 auto;
    padding-top: 60px;
}
@media screen and (min-width:960px){
    .wrapper {
        padding: 0 24px;
        padding-top: 100px;
    }
}
/* header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    transition: transform 0.3s ease;

}
.header-sec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    width: 100%;
    height: 60px;
}
.header-nav.wrapper {
    padding: 0px;
}
.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}
.logo {
    width: 150px;
}
.logo a {
    display: block;
    width: 100%;
}
 .logo a svg{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
} 
.nav-sec-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: all .4s;
}
.nav-sec-list-item {
    font-size: 1.2rem;
    transition: all .4s;
}
/* toggleで開いたときのメニューならび */
.open .nav-sec-list {
    gap: 50px;
}
/* ハンバーガーを開いたときの黒い背景 */
.black-area {
    display: none;
}
.open .black-area {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 550;
    background-color: #ffffff;
}
/* ハンバーガーを開いたときのnav画面 */
/* 基本は透明表示 */
.global-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* 画面中央に */
    gap: 60px;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    transform: translateX(-100%);
    opacity: 0;
    transition: all .4s;
}
.gnav-logo {
    display: none;
}
/* jsにより可視化 */
.open .global-nav {
    transform: translateX(0%);
    opacity: 1;
}
.open .gnav-logo {
    display: block;
    width: 50%;
    margin: 0 auto;
}

/* 
ハンバーガーメニュー
close
*/
#hamburger {
    box-sizing: content-box;
    padding: 0;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, #4CAF50, #2e7d32); /* 緑系グラデーション */
    width: 60px;
    height: 60px;
    z-index: 600;
    cursor: pointer;
}
/* hamburgerの三本線（close） */
.hamburger__line {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    display: block;
    content: "";
    width: 30px;
    height: 3px;
   
}
.hamburger__line::before,
.hamburger__line::after {  
    position: absolute;
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    background: #ffffff;
    transition: transform 0.3s;
}  
.hamburger__line::before {
    top: -12px;
}
.hamburger__line::after {
    bottom: -12px;
}
/* 
hamburgerの三本線（open）
*/
.open #hamburger {
    background: #ffffff;
}
.open #hamburger .hamburger__line::before,
.open #hamburger .hamburger__line::after {
    background: var(--main-color);
}
.open #hamburger .hamburger__line{
    background: transparent;
}
.open #hamburger .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
}
.open #hamburger .hamburger__line::after {
    bottom: 0;
    transform: rotate(-45deg);
}
@media screen and (min-width:960px){
    .header-sec {
        height: 80px;
    }
    .header-nav.wrapper {
        padding: 0 40px 0 0;
    }
    .logo {
        width: 210px;
    }
    .nav-sec-list {
        flex-direction: row;
        gap: 100px;
    }
    .nav-sec-list-item {
        font-size: 16px;
        transition: all .4s;
    }
    #hamburger {
        display: none;
    }
    .global-nav {
        position: static;
        opacity: 1;
        transform: translateX(0%);
        width: auto;
        height: auto;
        padding: 0 0 0 0;
    }
    .open .black-area {
        display: none;
    } 
}
/*mv(TOP)*/
.mv-area {
    position: relative;
    z-index: 10;
}
.mv-category-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    width: 80%;
}
.mv-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 1.5%;
}
.mv-category-item {
    width: calc(97% / 3);
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    position: relative;
}
.mv-category-icon {
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
}
.mv-category-icon  img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mv-category-text {
    text-align: center;
    font-size: 0.6rem;
}
.mv-category-link {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.main-visual {
    height: 540px;
    width: 100%;
}
.main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 50%;
}
@media screen and (min-width:960px){
    .main-visual {
        height: calc(100vh - 80px);
    }
    .main-visual img {
        object-position: center;
    }
    .mv-category-wrapper {
        width: 90%;
    }
    .mv-category-list {
        gap: 10px 1%;
    }
    .mv-category-item {
        width: calc(95% / 6);
        border-radius: 8px;
        padding: 1.45%;
    }
    .mv-category-icon {
        height: 68px;
    }
    .mv-category-text {
        text-align: center;
        font-size: .7rem;
    }
}
/* mv(SUB) */
.sub-main-visual {
    height: 18vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.sub-main-visual::before {
    position: absolute;
    content: "";
    background-image: url(images/sub_mv.webp);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    inset: 0;
    filter: blur(2px);
    transform: scale(1.1); /* ぼかしの端切れ防止 */
    z-index: 0;
}
.sub-main-visual::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    inset: 0;
    background-color: rgba(46, 125, 50,0.4); 
    z-index: 1;
}
.sub-mv-title {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    z-index: 2;
    text-align: center;
    font-weight: bold;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 1);

}
@media screen and (min-width:960px){
    .sub-main-visual {
        height: 32vh;
    }
    .sub-mv-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50% , -50%);
        text-align: center;
        font-weight: bold;
        font-size: 2.5rem;
    }
}
/* セクションタイトル */
.section-title {
    line-height: 1;
    margin-bottom: 50px;
}
/* 擬似要素にてバーを追加 */
.section-title::after {
    content: "";
    width: 50px;
    height: 3px;
    background-color: var(--main-color);
    display: block;
}
.section-title-ja {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 24px;
    font-weight: bold;
}
.section-title-en {
    display: block;
    letter-spacing: 0.06em;
    font-style: italic;
    font-size: 1.1rem;
    padding-left: 0.2rem;
    font-weight: bold;
    margin-bottom: 24px;
}
.contact-sec .section-title {
    position: relative;
    color: #ffffff;
    text-align: center;
    margin-bottom: 76px;
}
.contact-sec .section-title::after {
    position: absolute;
    left: 50%;
    bottom: -23px;
    background-color: #ffffff;
    transform: translateX(-50%);
}

@media screen and (min-width:960px){    
    .section-title-ja {
        font-size: 2.2rem;
        margin-bottom: 36px;
    }
    .section-title-en {
        font-size: 1.4rem;
        margin-bottom: 36px;
    }
    .contact-sec .section-title {
        margin-bottom: 89px;
    }
    .contact-sec .section-title::after {
        bottom: -39px;
    }
}
/*footer*/
.footer-sec {
    background-color: #ffffff;
    padding: 40px 0 20px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1408px;
    padding: 0 16px;
    margin: 0 auto 40px;
}
.footer-content-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.footer-logo {
    width: 80%;
    max-width : 200px;
}
.footer-logo img {
    width: 100%;
}
.footer-nav {
    padding-left: 15px;
}
.footer-nav-list {
    display: flex;
    flex-direction : column;
    align-items: flex-start;
}
.footer-nav-item {
    position: relative;
    font-size: .8rem;
    font-weight: bold;
    padding: 10px;
}
.footer-nav-item::before{
    position: absolute;
    left: -13px;
    top: 51%;
    transform: translateY(-50%);
    content: "";
    display: block;
    border-top: transparent 5px solid;
    border-right: transparent 0px solid;
    border-bottom: transparent 5px solid;
    border-left: #000 7px solid;
}
.footer-list {
    width: 50%;
    display: flex;
    flex-direction : column;
    align-items: start;
    gap: 18px;
    font-size: 0.7rem;
}
.footer-item {
    width: 100%;
}
.footer-item-title {
    font-size: .8rem;
    font-weight: bold;
    padding: 10px;
    border-bottom: 2px solid var(--main-color);
}
.footer-item-item {
    width: 100%;
    padding: 10px 0px 10px 14px;
    border-bottom: 1px solid var(--darkgray);
}
.footer-item-list {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.copyright {
    font-size: 10px;
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
    text-align: center;
}
@media screen and (min-width:768px){    
    .footer-sec {
        padding: 60px 0 40px;
    }
    .footer-content-left {
        width: 25%;
    }
    .footer-nav-item {
        padding: 14px;
        font-size: 0.9rem;
    }
    .footer-nav-item::before{
        left: -13px;
    }
    .footer-list {
        width: 50%;
        flex-direction : row;
        gap: 20px;
        font-size: 0.9rem;
    }
    .footer-item {
        width: calc(( 100% - 20px) / 2 );
    }
    .footer-item-title {
        padding: 14px ;
    }
    .footer-item-item {
        width: 100%;
        padding: 10px 0px 10px 18px;
        border-bottom: 1px solid var(--darkgray);
    }
    .footer-item-list {
        display: flex;
        flex-direction: column;
        align-items: start;
    }
    
}  
/*トップページ*/
/*CTA*/
.cta-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}
.cta-area a{
    display: block;
    width: 70%;
    padding: 10px;
    color: #ffffff;
    background-image: linear-gradient(to right, #4CAF50, #2E7D32); /* 緑系グラデーション */
    border-radius: 50px;
    text-align: center;
}
@media screen and (min-width:960px){
    .cta-area {
        margin-bottom : 60px;
    }
    .cta-area a{
        max-width: 600px;
        padding: 15px;
    }

}
/*RECOMMEND*/
#recommend {
    background-color: #f0f0f0;
}
.recommend-sec {
    padding-bottom: 60px;
}
.recommend-list {
    width: 100%;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 30px;
}
.recommend-item {
    width: 100%;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.recommend-img {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
}
.recommend-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.recommend-title {
    background-color: var(--main-color);
    padding : 5px;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.recommend-table {
    width: 100%;
}
.recommend-table-list {
    width: 100%;
}
.recommend-table-item {
    width: 100%;
    border: 1px solid var(--gray);
    display: table;
    font-size: 0.7rem;
    font-weight: normal;
}
.recommend-table-item dt {
    display: table-cell;
    width: 35%;
    border-right: 1px solid var(--gray);
    text-align: center;
    vertical-align: middle;
    padding: 5px 0;
    font-weight: normal;
}
.recommend-table-item dd {
    display: table-cell;
    width: 65%;
    padding: 5px 0px 5px 10px;
    vertical-align: middle;
}
.recommend-price-box1,
.recommend-price-box2, 
.recommend-price-box3 {
    font-size: 12px;
}
.recommend-price {
    color: var(--accent-color);
    font-size: 24px;
}
.recommend-yen1 {
    color: var(--accent-color);
}
.recommend-btn {
    display: block;
    margin: 30px auto;
    width: 85%;
    height: 40px;
    border-radius: 8px;
    background-image: linear-gradient(to right, #4CAF50, #2E7D32); /* 緑系グラデーション */
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 40px;
    text-align: center;
    opacity: 1;
    transition: all .3s;
}
.recommend-btn:hover {
    opacity: .7;
} 
@media screen and (min-width:620px) {
    .recommend-sec {
        padding-bottom: 100px;
    }
    .recommend-item {
        width: calc((100% - 30px) / 2);
    }
    .recommend-img {
        height: 150px;
    }
}
@media screen and (min-width:768px) {
    .recommend-sec {
        padding-bottom: 100px;
    }
    .recommend-item {
        width: calc((100% - 60px) / 3);
    }
    .recommend-img {
        height: 150px;
    }
}
@media screen and (min-width:1200px) {
    .recommend-item {
        width: calc((100% - 90px) / 4);
    }
    .recommend-title {
        font-size: 1rem;
    }
    .recommend-table-item {
        font-size: 0.8rem;
    }
    .recommend-img {
        height: 180px;
    }
}
/* contact */
/* 説明文 */
#contact {
    background-image: linear-gradient(to right, #4CAF50, #2E7D32); /* 緑系グラデーション */
}
.contact-sec {
    padding-bottom: 60px;
}
.contact-intro {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 3em;
    color: #ffffff;
    font-size: 0.88em;
    line-height: 1.6;
}

/* お問い合わせ項目リスト */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    
}

/* 個別項目 */
.contact-item {
    flex: 1 1 100%;
    background-color: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* 項目タイトル */
.contact-item-title {
    font-size: 1.1em;
    margin-bottom: 1em;
}

/* 項目内容 */
.contact-item-content {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 1em;
}

/* リンク */
.contact-item-link {
    font-size: 1.1em;
}
.contact-item-link-telno {
    width: 68%;
    margin: 0 auto;
}
.contact-item-link-telno img {
    width: 100%;
}
.contact-item-link a, .contact-item-link-telno a{
    display: inline-block;
    padding: 0.6em 1.2em;
    background-image: linear-gradient(to right, #4CAF50, #2E7D32); /* 緑系グラデーション */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-image 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item-link a:hover,
.contact-item-link-telno a:hover {
    background-image: linear-gradient(to right, #388E3C, #1B5E20); /* 濃い緑系グラデーション */
    transform: translateY(-2px); /* 浮き上がるような効果 */
}

@media screen and (min-width: 960px) {
    .contact-sec {
        padding-bottom: 100px;
    }
    .contact-intro {
        text-align: center;
    }
    .contact-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2em;
    }

    .contact-item {
        flex: 1 1 300px;
    }
    .contact-item-link-telno {
        width: 33%;
    }
}
/* location */
#location {
    background-image: url(../images/bg_green.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 35%;
}
.location-sec {
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.location-info {
    width: 100%;
    height: auto;
    background-color: transparent;
}
.location-info-detail {
    font-size: 14px;
    line-height: 2.11;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.location-info-detail-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.location-info-detail-term {
    font-weight: normal;
    width: 150px;
}
.location-info-detail-description {
    display: flex;
    flex-direction: column;
}
.location-map {
    width: 100%;
    height: 200px;
}
.location-map iframe {
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 960px) {
    .location-sec {
        padding-bottom: 100px;
        flex-direction: row;
    }
    .location-info {
        height: auto;
        background-color: transparent;
    }
    .location-info-detail {
        font-size: 16px;
        text-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
        gap: 40px 2%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .location-info-detail-wrap {
        width: 49%;
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
    
    .location-address {
        width: 100%;
    }
    .location-map {
        width: 100%;
        height: 300px;
    }
}

/* SubPage */
/* breadcrumb */
.bread-crumb-area {
    padding-top: 20px;
    padding-bottom: 20px;
}
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  font-size: 0.7rem;
}
.breadcrumb span {
    margin-right: 0.3em;
    margin-left : 0.3em;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›";
  padding: 0 8px;
  color: #888;
}

.breadcrumb a {
  text-decoration: none;
  color: #0077cc;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #005999;
}

.breadcrumb li[aria-current="page"] {
  color: #333;
  font-weight: bold;
}
@media (min-width: 768px) {
    .bread-crumb-area {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .breadcrumb {
        font-size: 0.85rem;
    }
}
/* lineup */
/* search */
#lineup-main {
    background-color: #ffffff;
}

.search-sec {
    width: 90%;
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 0 auto 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
}
#search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-label {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #333;
}
.form-select {
    padding: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.search-btn {
    display: block;
    width: 100%;
    max-width: 440px;
    padding: 0.75rem;
    text-align: center;
    font-size: .9rem;
    background-color: #d62828;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 50px auto 0px;

}
.search-btn:hover {
     background-color: #a61c1c;
}

/*Tablet以上のレイアウト調整 */
@media (min-width: 768px) {
    .search-sec {
        width: 94% 
    }
    #search-form {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .search-btn {
        width: calc(100% / 3);
        margin : 0 auto;
    }
}
#lineup {
    background-color: #f0f0f0;
}
.lineup-sec {
    padding-bottom: 60px;
}
.lineup-list {
    width: 100%;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 30px;
}
.lineup-item {
    width: 100%;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.lineup-title {
    background-color: var(--main-color);
    padding : 5px;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.lineup-table {
    width: 100%;
}
.lineup-table-list {
    width: 100%;
}
.lineup-table-item {
    width: 100%;
    border: 1px solid var(--gray);
    display: table;
    font-size: 0.7rem;
    font-weight: normal;
}
.lineup-table-item dt {
    display: table-cell;
    width: 35%;
    border-right: 1px solid var(--gray);
    text-align: center;
    vertical-align: middle;
    padding: 5px 0;
    font-weight: normal;
}
.lineup-table-item dd {
    display: table-cell;
    width: 65%;
    padding: 5px 0px 5px 10px;
    vertical-align: middle;
}
.lineup-price-box1,
.lineup-price-box2 {
    font-size: 12px;
}
.lineup-price {
    color: var(--accent-color);
    font-size: 24px;
}
.lineup-yen1 {
    color: var(--accent-color);
}
.lineup-btn {
    display: block;
    margin: 30px auto;
    width: 85%;
    height: 40px;
    border-radius: 8px;
    background-image: linear-gradient(to right, #4CAF50, #2E7D32); /* 緑系グラデーション */
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 40px;
    text-align: center;
    opacity: 1;
    transition: all .3s;
}
.lineup-btn:hover {
    opacity: .7;
} 
.lineup-no-post {
    font-size: 0.8rem;
}
@media screen and (min-width:620px) {
    .lineup-sec {
        padding-bottom: 100px;
    }
    .lineup-item {
        width: calc((100% - 30px) / 2);
    }
}
@media screen and (min-width:768px) {
    .lineup-sec {
        padding-bottom: 100px;
    }
    .lineup-item {
        width: calc((100% - 60px) / 3);
    }
    
}
@media screen and (min-width:1200px) {
    .lineup-item {
        width: calc((100% - 90px) / 4);
    }
    .lineup-title {
        font-size: 1rem;
    }
    .lineup-table-item {
        font-size: 0.8rem;
    }
}

/* single */
.truck-single-wrapper {
    width: 100%;
    padding-top: 0px;
}
.truck-single-sec {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-bottom: 50px;
}
.truck-single-title {
    background-color: var(--main-color);
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold;
    padding: 10px 8px;
    margin-bottom: 10px;
}
.truck-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    margin-bottom: 10px;
    font-size: 12px;
}
.truck-category-item {
    background-color: #4CAF50;
    color: #fff;
    border-radius: 5px;
    line-height: 1.4;
    padding: 0px 6px;
}
.truck-image {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.truck-img-main {
    width: 100%;
    height: 240px;

}
.truck-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.truck-img-thumbnail {
    width: 100%;
    height: 114px;
    position: relative;
    padding-left: 22px;
    padding-right: 22px;
}
.thumbnail-nav-btn {
    height: 114px;
    background-color: #eee;
    border: none;
    padding: 5px;
    cursor: pointer;
    font-size: 12px;
    position: absolute;
}
.thumbnail-nav-btn.prev {
    top: 50%;
    left: 0;
    transform: translate(0 , -50%);
}
.thumbnail-nav-btn.next {
    top: 50%;
    right: 0;
    transform: translate(0 , -50%);
}


.thumbnail-wrapper {
  width: 100%;
  max-height: 110px;
  overflow: hidden;
  position: relative;
}

/* 横スライド用ラッパー */
.thumbnail-inner {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

/* 各ページ（10枚ずつ） */
.thumbnail-page {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
  align-items: start;
  width: 100%;
  flex-shrink: 0;
}

/* サムネイル1枚分 */
.thumbnail-item {
  width: calc((100% - 20px) / 5);
  height: 50px;
  border: 2px solid transparent;
  opacity: 1;
  transform: scale(1);
  transition: border 0.4s, opacity 0.4s, transform 0.4s;
}

.thumbnail-item.active {
  border: 2px solid red;
}

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

.truck-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}
.truck-info-title {
    margin-bottom: 5px;
}
.comment-content {
    border: 1px solid var(--gray);
    padding: 10px;
    line-height: 2.0;
}
.price-total {
    font-size: 20px;
    line-height: 1.6;
    color: var(--accent-color);
}
.price-main,
.price-option {
    font-size: 14px;
    line-height: 1.6;
}
.truck-details {
    width: 100%;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 10px;
    border: 1px solid var(--gray);
    text-align: left;
}

.spec-table th {
    width: 38%;
    background-color: #fff;
    font-weight: bold;
    color: #333;
}

.spec-table td {
    width: 62%;
    background-color: #fff;
    color: #222;
}
@media screen and (min-width:764px) {
    .truck-single-sec {
        flex-direction: row;
        justify-content: space-between;
    }
    .truck-single-title {
        font-size: 24px;
        padding: 14px 10px;
        margin-bottom: 20px;
    }
    .truck-category-list {
        gap: 10px;
        margin-bottom: 30px;
        font-size: 14px;
    }
    .truck-category-item {
        line-height: 1.4;
        padding: 2px 8px;
    }
    .truck-image {
        width: 54%;
        height: 600px;
    }
    .truck-img-main {
        width: 100%;
        height: 400px;
    }
    .truck-img-thumbnail {
        width: 100%;
        height: 205px;
        padding-left: 28px;
        padding-right: 28px;
    }
    .thumbnail-nav-btn {
        height: 205px;
        padding: 5px;
        font-size: 18px;
    }
    .thumbnail-wrapper {
        max-height: 205px;
    }

    .thumbnail-page {
        gap: 10px;
    }
    .thumbnail-list {
        gap: 10px;
        max-height: 205px;
    }
    .thumbnail-item {
        width: calc((100% - 40px) / 5);
        height: 95px;
    }

    .thumbnail-item {
        width: calc(( 100% - 40px) / 5);
        height: 95px;
    }
    .truck-info {
        width: 44%;
        height: 620px;
        gap: 20px;
        overflow-y: auto;
    }
    .price-total {
        font-size: 24px;
    }
    .price-main,
    .price-option {
        font-size: 14px;
    }
}
/* COMPANY */
.company-main {
    background-color: #f0f0f0;
}
.company-table-wrapper {
    padding-top: 20px;
    padding-bottom: 50px;
}
table.company-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 12px;
    border: 1px solid #CCCCCC;
}

table.company-table th,
table.company-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #CCCCCC;
    font-weight: normal;
}

table.company-table th {
    width: 40%;
}

table.company-table td {
    width: 60%;
}

@media (min-width:764px) {
    .company-table-wrapper {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    table.company-table {
        font-size: 14px;
        max-width: 650px;
        margin: 0 auto;
    }
    table.company-table th,
    table.company-table td {
        padding: 16px 20px;
    }
    table.company-table th {
        width: 30%;
    }
    table.company-table td {
        width: 70%;
    }
}
/* CONTACT */
/* フォーム全体 */
.contact-main {
    background-color: #f0f0f0;
}
.form-area {
    padding-top: 20px;
    padding-bottom: 60px;
}
.form-text {
    font-size: 14px;
    margin: 0 auto;
    margin-bottom: 20px;
    max-width: 800px;
}
.form-text1 {
    display: block;
}
.form-text2 {
    display: none;
}
.form-system {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
/* 表示・非表示を画面の出入りのみで制御 */
.form-wrapper {
    position: relative;
    width: 100%;
}
.input_area {
  /* position: relative; 
  left: 0;
  top: 0; */
  display:block;
 }
.confirm_area {
  /* position: absolute; 
  left: -9999px;
  top: 0; */
  display: none;
  width: 100%;
}

/* 各項目のラッパー */
.form-row {
    margin-bottom: 20px;
}

/* ラベル */
 .required-label {
    margin-left: 6px;
    font-size: 0.6rem;
    padding: 2px 5px;
    color: #fff;
    background-color:red;
    border-radius: 5px;
}

/* 入力欄 */
.wpcf7-radio {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

/* フォーカス時 */
.form-row input:focus,
textarea:focus {
    border-color: #0078d4;
    outline: none;
}

/* メッセージ欄だけ高さ調整 */
textarea {
    resize: vertical;
    min-height: 160px;
} 
/* 戻るボタン */
input[type="button"] {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0px auto;
    margin-top: 60px;
    background-image: linear-gradient(to right, #4CAF50, #2E7D32); /* 緑系グラデーション */
    color: white;
    border: none;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-image 0.4s ease, transform 0.2s ease;
}
input[type="button"]:hover {
    background-image: linear-gradient(to left, #66BB6A, #1B5E20);
    transform: scale(1.02);
}
/* 送信ボタン */
input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0px auto;
    margin-top: 30px;
    background-image: linear-gradient(to right, #4CAF50, #2E7D32); /* 緑系グラデーション */
    color: white;
    border: none;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-image 0.4s ease, transform 0.2s ease;
}
input[type="submit"]:hover {
    background-image: linear-gradient(to left, #66BB6A, #1B5E20);
    transform: scale(1.02);
}



/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-response-output{
    display: none;
}

/* PC表示（768px以上）で横並びに */
@media (min-width: 768px) {
    .form-area {
        padding-bottom: 100px;
    }
    .button-area {
        padding-bottom:50px;
    }
    .form-text {
        margin-bottom: 40px;
    }

    form {
        padding: 40px;
        border-radius: 12px;
    }

    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row textarea {
        flex: 1;
    }
    input[type="button"] {
        width: 50%;
        padding: 20px;
        font-size: 16px;
        margin: 80px auto 0px;
    }
    
    input[type="submit"] {
        width: 50%;
        padding: 20px;
        font-size: 16px;
        margin: 40px auto 0px;
    }
}
