/* ======================================================
* layout_sp.css
* ------------------------------------------------------
* @media print, screen and (max-width: 767px)
* - Header
* - Main
* - Footer

*** Inherit "layout_pc.css" as a reference!! **
====================================================== */
@media print,
screen and (max-width: 767px) {

  /* ------------------------------------------------------
* Header
------------------------------------------------------ */
  .brand-logo a {
    height: 30px;
    width: 126px;
  }

  .brand-logo a img {
    width: 96px;
  }

  #header {
    height: 64px;
    position: relative;
    z-index: 30;
  }

  body.lock #header::after {
    background-color: var(--gray1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
    content: "";
    height: 64px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .header-logo {
    padding-left: 15px;
    z-index: 1;
  }

  .header-logo a {
    display: block;
    width: 230px;
  }

  #header .trigger {
    background-color: var(--main);
    border-radius: 0 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    width: 64px;
    z-index: 1;
  }

  #header .trigger span {
    background-color: #FFF;
    display: block;
    height: 2px;
    width: 40px;
    position: relative;
  }

  #header .trigger span::before,
  #header .trigger span::after {
    background-color: #FFF;
    content: "";
    height: 2px;
    width: 40px;
    position: absolute;
    left: 0;
  }

  #header .trigger span::before {
    top: -6px;
  }

  #header .trigger span::after {
    top: 6px;
  }

  #header .close span {
    background-color: transparent;
  }

  #header .close span::before,
  #header .close span::after {
    content: "";
  }

  #header .close span::before {
    transform: rotate(-45deg);
    top: 0;
  }

  #header .close span::after {
    transform: rotate(45deg);
    top: 0;
  }

  .gnav-area {
    background-color: var(--gray1);
    display: none;
    height: calc(100vh - 30px);
    height: calc(100dvh - 30px);
    overflow-y: auto;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  #drawer .gnav-area {
    height: 100vh;
    height: 100dvh;
  }

  #gnav {
    padding: calc(64px + 16px) 20px 120px;
    position: relative;
  }

  .gnav_lv1 {
    margin-bottom: 16px;
  }

  .gnav_lv1>li>a,
  .gnav_lv1>li>span {
    border-bottom: 1px solid var(--gray2);
    display: flex;
    align-items: flex-end;
    font-size: 2.0rem;
    line-height: 1.6;
    height: 53px;
    padding-bottom: 8px;
  }

  .gnav_lv1>li>a span,
  .gnav_lv1>li>span span {
    margin-left: .3em;
  }

  .gnav_lv2 {
    padding: 12px 0 10px;
  }

  .gnav_lv2 li a {
    display: block;
    font-size: 1.8rem;
    line-height: 1.44;
    padding: 12px 0 12px 24px;
    text-decoration: none;
  }

  #gnav li.contact>span {
    display: none;
  }

  #gnav li.contact li a::before {
    display: none;
  }

  #gnav li.contact li:nth-of-type(1) a {
    background-color: var(--main);
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(2rem, 5.64vw, 2.2rem);
    font-weight: var(--fw-mid);
    margin: 0 auto;
    padding: 0;
    height: 70px;
    width: 100%;
    max-width: 350px;
  }

  #gnav li.contact li:nth-of-type(2) {
    margin: 16px auto 0;
    height: 118px;
    width: 100%;
    max-width: 350px;
  }

  #gnav li.contact li:nth-of-type(2) a {
    background-color: var(--main);
    color: #FFF;
    display: flex;
    align-items: center;
    font-size: clamp(1.8rem, 5.12vw, 2.0rem);
    font-weight: var(--fw-bold);
    letter-spacing: .04em;
    line-height: 1.6;
    height: 100%;
    width: 100%;
    padding: 0 50px 0 clamp(18px, 6.15vw, 24px);
    position: relative;
  }

  #gnav li.contact li:nth-of-type(2) a::after {
    background-image: url("../img/icon/ic_arrow.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    content: "";
    height: 20px;
    width: 30px;
    position: absolute;
    top: 50%;
    right: clamp(15px, 5.15vw, 24px);
    transform: translateY(-50%);
  }

  #gnav li.contact li:nth-of-type(2) a span {
    border-left: 4px solid var(--main);
    padding-left: 20px;
  }

  #gnav li.gnav_contact span {
    margin-left: 0;
  }

  #gnav .lang {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

  #gnav .lang a ul {
    border-radius: 24px;
    gap: 41px;
    font-size: 2.0rem;
    height: 48px;
    width: 140px;
  }

  /* ------------------------------------------------------
* Main
------------------------------------------------------ */
  /* ----- page title ----- */
  #page-title {
    padding: 18px 0 17px;
  }

  #page-title h1 {
    font-size: 2.4rem;
    min-height: 70px;
  }

  /* ----- inner ----- */
  .inner {}

  /* ----- breadcrumb ----- */
  #breadcrumb {
    margin: 17px 0 40px 0;
  }

  #breadcrumb ol li {
    padding: 0 12px 0 18px;
  }

  #campingcar {
    width: 100%;
    background-color: var(--main);
    color: #ffffff;
    margin-top: -150px;
    position: relative;
    z-index: 10;
    padding-top: 130px;
    padding-bottom: 60px;
    -webkit-clip-path: url(#wave-clip-sp);
    clip-path: url(#wave-clip-sp);
    z-index: 1;
  }

  .pattern1-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    row-gap: 1.5em;
    margin-bottom: 2em;
  }

  .right-col {
    text-align: center;
  }

  .product-link {
    display: block;
    justify-content: space-between;
  }

  .product-link img {
    width: 80%;
    display: flex;
    margin: 0 auto;
    margin-bottom: 30px;
  }

  #content-area {
    margin-top: 0;
    flex: 1;
}

  /* ------------------------------------------------------
* Footer Contact
------------------------------------------------------ */
  .footer-contact h2 {
    font-size: 2.6rem;
    margin-bottom: 40px;
    text-align: center;
  }

  .footer-contact .link-btn {
    max-width: 308px;
    width: calc(100% - 40px);
  }

  /* ------------------------------------------------------
* Footer
------------------------------------------------------ */
  .footer-nav-wrap {
    flex-direction: column;
    height: auto;
    padding: 60px 20px 45px;
  }

  .footer-logo img {
    width: 89px;
  }

  #footer-nav {
    row-gap: 30px;
    margin-top: 36px;
  }

  #footer-nav,
  #footer-nav ul {
    flex-direction: column;
  }

  #footer-nav ul {
    row-gap: 22px;
  }

  #footer-nav ul li a {
    font-size: 1.5rem;
    line-height: 1.46;
  }

  #pagetop {
    transform: scale(.85);
    bottom: 50px;
    right: 10px;
  }
}

/* ------------------------------------------------------
* footer 420px
------------------------------------------------------ */
@media print,
screen and (max-width: 420px) {}























/* ======================================================
* parts_sp.css
* ------------------------------------------------------
* @media print, screen and (max-width: 767px)
* - headline
* - headline2
* - headline3
* - headline4
* - layout pattern
* - link
* - link-btn
* - Back
* - ul list
* - ol list
* - dl
* - table
* - news list
* - accordion
* - contact-form
* - Blogs & Topics
* - about us
* - facility
* - service
* - request-catalog
*** Inherit "parts_pc.css" as a reference ! ! **
====================================================== */
@media print,
screen and (max-width: 767px) {

  /* ---------------------------------------
* lead
--------------------------------------- */
  .lead {
    font-size: 1.8rem;
    text-align: left;
  }

  /* ------------------------------------------------------
* headline
------------------------------------------------------ */
  .headline {
    font-size: 2.6rem;
    margin-bottom: 30px;
    text-align: left;
  }

  .headline::after {
    left: 0%;
    transform: translateX(0%);
  }

  /* ------------------------------------------------------
* headline2
------------------------------------------------------ */
  .headline2 {
    font-size: 2.0rem;
    line-height: 1.6;
  }

  *:not(.headline)+.headline2 {
    margin-top: 25px;
  }

  /* ------------------------------------------------------
* headline3
------------------------------------------------------ */
  .headline3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  *:not(.headline):not(.headline2)+.headline3 {
    margin-top: 25px;
  }

  .headline2+.headline3 {
    margin-top: 15px;
  }

  /* ------------------------------------------------------
* headline4
------------------------------------------------------ */
  .headline4 {
    margin: 20px 0 10px 0;
  }

  /* ------------------------------------------------------
* layout pattern
------------------------------------------------------ */
  .right-col,
  .left-col {
    float: none;
  }

  [class*="pattern1-"],
  [class*="pattern2-"],
  [class*="pattern3-"],
  [class*="pattern4-"] {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.5em;
    margin-bottom: 2em;
  }

  [class*="pattern"] [class*="col"] {
    width: 85%;
  }

  [class*="col"] figure {
    text-align: center;
  }

  [class*="col"] figure img {
    width: 100%;
  }

  [class*="pattern"].sp-2col [class*="col"] {
    width: calc((100% - 20px) / 2);
    margin-right: 0;
  }

  .sp-2col .col:nth-of-type(2n+1) {
    margin-right: 20px;
  }

  /* ------------------------------------------------------
* link
------------------------------------------------------ */
  .link-wrap {
    margin-top: 30px;
  }

  .link-inner::after {
    background-size: 15.3px;
  }

  /* ------------------------------------------------------
* link-btn
------------------------------------------------------ */
  .link-btn a {
    min-height: 40px;
    min-width: 184px;
  }

  /* ------------------------------------------------------
* ul list
------------------------------------------------------ */

  /* ------------------------------------------------------
* ol list
------------------------------------------------------ */

  /* ------------------------------------------------------
* dl
------------------------------------------------------ */
  dl dt {}

  /* ------------------------------------------------------
* table
------------------------------------------------------ */
  table.table th,
  table.table td {
    padding: .7em;
  }

  .table-wrapper {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    margin-bottom: 15px;
  }

  /* テーブル構造を解除してブロック要素にする */
  .company-table, .history-table {
    display: block;
    width: 100%;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
  }

  /* 行要素を縦に並べるブロックにする */
  .company-table tbody, .history-table tbody {
    display: block;
    width: 100%;
  }

  /* 各行をブロック化 */
  .company-table tr, .history-table tr {
    display: block;
    width: 100%;
    border: none;
    margin-bottom: 12px; /* 行と行の間にスペース */
    background: #ffffff;
    border-radius: 4px; /* 各行もわずかに角丸に */
  }

  /* 項目（上段）のデザインを調整 */
  .company-table th, .history-table th {
    display: block;
    width: 100% !important; /* 幅を100%に */
    padding: 15px 20px 5px 20px; /* 余白調整：下を詰める */
    background: #fafafa; /* うっすらグレーを敷いて項目を強調 */
    color: #111111;
    font-weight: 700;
    vertical-align: middle;
    border: none; /* 既存の線を排す */
    border-left: 4px solid var(--main); /* 赤線を継承 */
    border-radius: 4px 4px 0 0; /* 上部だけ角丸 */
  }

  /* 詳細（下段）のデザインを調整 */
  .company-table td, .history-table td {
    display: block;
    width: 100% !important;
    padding: 5px 20px 18px 20px; /* 余白調整：上を詰め、下を空ける */
    border: none;
    border-left: 4px solid var(--main); /* 詳細の左側にも赤線を引くことで項目との一体感を出す */
    color: #444444;
    border-radius: 0 0 4px 4px; /* 下部だけ角丸 */
  }

  /* 最終行の不要な境界線を排除（このケースでは各trで制御してるので念のため） */
  .company-table tr:last-child, .history-table tr:last-child {
    margin-bottom: 0;
  }
  
  /* 住所のラベル */
  .sub-label {
    display: inline; /* スマホでは横に並べる */
    color: var(--main);
    font-weight: 700;
    margin-right: 5px;
  }

  /* 沿革の年月を赤く */
  .history-table th {
    color: var(--main);
  }
}

  /* ------------------------------------------------------
* news list
------------------------------------------------------ */
  .info-area ul li:not(#pagination ul li) {
    flex-wrap: wrap;
    padding: 1.3em .7em 1.8em;
  }

  .info-area .date-cate {
    align-items: center;
  }

  .info-area ul li>div {
    margin: 10px 0 0 0;
    padding: 0;
    width: 100%;
    top: 0;
  }

  .info-area ul li .title {
    line-height: 1.64;
    padding: 0;
    width: 100%;
    top: 0;
  }

  /* ------------------------------------------------------
* news detail
------------------------------------------------------ */
  .news-detail-area {
    margin-bottom: 45px;
  }

  .news-detail-area h2 {
    font-size: 2.6rem;
    line-height: 1.38;
    margin-bottom: 1.3em;
    padding: 22px 0 24px;
  }

  .news-detail-area *:not(.link):not(.link-inner) a {
    color: #00A1E0;
    text-decoration: underline;
  }

  .news-detail-area p {
    line-height: 1.65;
  }

  .news-detail-area h3 {
    font-size: 1.8rem;
  }

  .news-detail-area :not(h2)+h3 {
    margin-top: 1.8em;
  }

  .news-detail-area h4 {
    font-size: 1.6rem;
  }

  .news-detail-area table.table th {
    padding: .7em 1em;
  }

  #service .accordion .scroll-box table {
    white-space: inherit;
    width: 190%;
  }

  /* ------------------------------------------------------
* contact-form
------------------------------------------------------ */
  .form-area div.row {
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100vw;
  }

  .form-area div.cell1,
  .form-area div.cell2 {
    width: 100%;
    min-height: auto;
  }

  .form-area div.cell1 {
    background-color: transparent;
    font-weight: var(--fw-bold);
    padding: 1.4em 0 0;
    font-size: 15px;
  }

  .form-area div.cell2 {
    padding: 1.4em 0;
  }

  .form-area div.cell1 br {
    display: none;
  }

  .form-area div.cell1 .required {
    font-size: var(--fz-sp);
    font-weight: var(--fw-normal);
    line-height: 23px;
    margin-left: 1em;
    width: 52px;
    position: relative;
    top: -1px;
    right: auto;
  }

  .form-area input[type="text"],
  .form-area input[type="email"],
  .form-area input[type="tel"],
  .form-area textarea {
    width: 100%;
    font-size: 14px;
    padding: .2em .9em 0;
  }

  .form-area textarea {
    min-height: 118px;
  }

  .form-area ul.form-checkbox li,
  .form-area ul.form-list li {
    min-width: calc(100% / 2);
  }

  .form-area select {
    border-radius: 0;
    min-width: inherit;
    max-width: inherit;
    width: 100%;
  }

  .form-area input.text-s {
    width: calc((100% - 15px) / 2);
  }

  .form-area p.caution {
    font-size: 14px !important;
  }

  .form-btn button {
    font-size: 15px;
  }

  .form-btn.btn-confirm {
    height: 70px;
    width: 100%;
    max-width: 300px;
  }

  .form-btn.btn-confirm button {
    font-size: 17px;
  }

  .form-btn.btn-confirm button span {
    font-size: 12px;
  }

  .form-btn-area .form-btn {
    height: 50px;
    margin: 0 10px 0 0;
    width: calc((100% - 10px) / 2);
    max-width: 325px;
  }

  .form-btn button::before {
    height: 26px;
    width: 26px;
    right: 15px;
  }

  .form-btn button::after {
    right: 26px;
  }

  .form-btn button.btn-send {
    padding: 0 10px 0 0;
  }

  .form-btn button.btn-back {
    padding: 0 0 0 10px;
  }

  .form-btn button.btn-back::before {
    left: 15px;
  }

  .form-btn button.btn-back::after {
    left: 26px;
  }

  .form-area .error-box p {
    font-size: 16px;
    text-align: left;
    line-height: 1.8;
    padding: 1.1em 1.3em;
  }

  .form-area span#file-name {
    display: block;
    width: 100%;
    margin: .5em 0 0;
  }

  /* ------------------------------------------------------
* accordion
------------------------------------------------------ */
  dl.accordion dt {
    font-size: 2.0rem;
    padding-right: 30px;
  }

  dl.accordion dt .icon {
    top: 27px;
    right: 0;
  }

  dl.accordion dd {
    margin-top: -4px;
    padding: 0 0 24px;
  }

  dl.accordion .box.bgc-gray {
    padding: 10px;
  }

  /* ------------------------------------------------------
* anchor-link
------------------------------------------------------ */
  .anchor-link ul {
    grid-template-columns: 1fr;
  }

  .anchor-link li a {
    text-align: left;
    justify-content: left;
    padding: 1em 45px 1em 2em;
  }

  /* ---------------------------------------
* indexList
--------------------------------------- */
  .indexList figure img {
    height: 150px;
  }

  /* ---------------------------------------
* fv
--------------------------------------- */
  .fv-content {
    position: relative;
    z-index: 1;
    padding: 0 2%;
    margin: 0 auto;
    max-width: 96%;
  }

  .fv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/top/fv_left.png') center/cover no-repeat;
  }

  .fv::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/top/fv_right.jpg') center/cover no-repeat;
    clip-path: polygon(0 20%, 100% 0%, 100% 100%, 0 100%);
  }


  /* ---------------------------------------
* home
--------------------------------------- */
  .home .inner_w {
    padding: 80px 10px 40px;
    margin: 80px 10px;
  }

  .home #WhoWeAre .inner_w {
    margin: 0 10px 80px;
  }

  .home #Infomation .inner_w,
  .home #Form .inner_w {
    margin: 0;
    padding: 80px 10px;
  }

  .home #WhoWeAre .pattern1-1-1 figure img,
  .aboutus #WhoWeAre .pattern1-1-1 figure img {
    width: 50%;
  }

  .animate-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* ---------------------------------------
* mission
--------------------------------------- */
  .mission .flow {
    gap: 12px;
  }

  .mission .flow .step {
    flex: 1 1 100%;
    min-width: 0;
  }

  /* ---------------------------------------
* pagination
--------------------------------------- */
  #pagination {
    width: 100%;
  }

  #pagination ul {
    display: flex;
    gap: 0;
    list-style: none;
  }

  /* ---------------------------------------
* contact
--------------------------------------- */
  .form_area {
    width: 100%;
    margin: 0 auto;
    font-size: 1.6rem;
  }

  .contact_text h1 {
    font-size: 2rem;
  }

  .form_area dt {
    width: 100%;
    padding: 0 1rem;
    margin-bottom: 1rem;
  }

  .form_area dd input {
    padding: 10px 1rem;
    font-size: 1.6rem;
  }

  .form_area dd {
    width: 100% !important;
    padding: 0 1rem;
  }

  .form_area .center-position {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  /* ---------------------------------------
* info
--------------------------------------- */
  .news_next table {
    width: 100%;
    font-size: 1.5em;
  }

  .news_title {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 6rem;
    text-align: left;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.5em;
    color: var(--main);
    border-bottom: var(--main) solid 1px;
    margin-bottom: 10px;
    clear: both;
  }

  .news_img {
    width: 100%;
    margin-bottom: 2rem;
    display: block;
  }
