/* ===================================================================
CSS information
 file name  :sp.css
 author     :pcbrain
 style info :for smartphone
=================================================================== */

* {
    -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: border-box;
}

.spcut {
    display: none !important;
}

.spblock {
    display: block !important;
}
.spinline {
    display: inline !important;
}
img {
    max-width: 100%;
    height: auto;
}
html {
  font-size: 16px;
}
body {
    font-size: 1rem;
    min-width: 0px;
}
.floatL, .floatR {
    float: none;
}
img.alignleft, img.alignright, 
.imgL20,.imgR20,.imgL , .imgR {
    float: none;
    margin: 0 auto 10px;
    display: block;
}

#main form table > tbody > tr > th,
#main form table > tbody > tr > td{
    display: block;
    padding: 0;
    border-bottom: none;
}
#main form table > tbody > tr > th{
    padding-left: 22px;
    background-position: left center;
}
#contact_form input[type="text"], input[type="email"], input[type="url"], input[type="tel"], textarea,#type-dd {
    width: 100%;
    height: 2.5em;
    margin: 2px 0px;
}
#main form table td textarea[name="message"] {
    height: 5em;
}
#contact_form input[type="checkbox"] {
    margin-left: 0px;
    margin-right: auto;
    margin-top: 15px;
}
#contact_form .req {
    float: none;
}

/* -----------------------------------------------------------
	#header
----------------------------------------------------------- */
#header {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    margin-bottom: 0;
}

#header .header-sp-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 15px;
    gap: 10px;
    position: relative;
}
#header .header-sp-inner {
    width: 100%;
}

.hamburger-menu {
    position: relative;
    width: 26px;
    height: 21px;
    z-index: 99;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 10px; }
.hamburger-line:nth-child(3) { top: 20px; }


.hamburger-toggle-input:checked~ .hamburger-menu
.hamburger-line:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.hamburger-toggle-input:checked~ .hamburger-menu
.hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-toggle-input:checked~ .hamburger-menu
.hamburger-line:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}
#header .hamburger-toggle-input {
    display: none;
}

#header .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background-color: #fff;
    z-index: 98;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#header .hamburger-toggle-input:checked ~ .nav-menu {
    display: block;
    transform: translateY(0);
    padding: 40px 20% ;
}

#header .nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

#header .nav-menu li {
    border-bottom: 1px solid #999;
}

#header .nav-menu ul li a {
    display: block;
    padding: 20px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: background-color 0.2s;
    float: none;
    text-indent: 0;
    width: auto;
    height: auto;
}

#header .nav-menu a:active,
#header .nav-menu a:hover {
    background-color: #f5f5f5;
}

#header .nav-menu .contact-icons {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#header .nav-menu .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12vw;
    height: 12vw;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

#header .nav-menu .contact-icon:active,
#header .nav-menu .contact-icon:hover {
    opacity: 0.8;
}

#header .nav-menu .mail-icon {
    background-color: #b72f00;
}

#header .nav-menu .tel-icon {
    background-color: #333333;
}
#header .nav-menu .other-icon {
    height: 12vw;
}
#header .nav-menu .other-icon img{
    height: 100%;
}

#header .nav-menu .contact-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}



#header .logo-wrapper {
    flex-grow: 1;
    text-align: center;
    min-width: 0;
}

#header .logo-wrapper h1 {
    display: none;
}

#header .logo-wrapper .logo {
    display: inline-block;
    text-decoration: none;
}

#header .logo-wrapper img {
    max-width: 200px;
    height: auto;
}

#header .language-menu {
    position: relative;
}

#header .language-toggle {
    list-style: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    background: #b72f00;
    padding: 0 24px 0 10px;
    color: #fff;
    position: relative;
}
#header .language-toggle::after {
  content: "";
  width: 10px;
  height: 10px;
  background: url("/img/common/arrow.svg") no-repeat center / contain;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}
#header .language-menu[open] .language-toggle::after {
  transform: translateY(-50%) rotate(270deg);
  transition: transform .3s ease;
}
#header .language-toggle::-webkit-details-marker {
    display: none;
}

#header .language-menu[open] .language-dropdown {
    display: block;
}

#header .language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

#header .lang-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    transition: background-color 0.2s;
}

#header .lang-item:last-child {
    border-bottom: none;
}

#header .lang-item:hover {
    background-color: #f5f5f5;
}

/* -----------------------------------------------------------
	#mainV-sp
----------------------------------------------------------- */
#mainV-sp.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#mainV-sp .slider-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

#mainV-sp .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#mainV-sp .slide.active {
    opacity: 1;
}

#mainV-sp .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#mainV-sp .slider-text {
    position: absolute;
    bottom: 20px;
    left: 0;
    z-index: 10;
}

#mainV-sp .slider-text p {
    font-size: clamp(18px, 6vw, 36px);
    line-height: 1.7;
    margin: 0;
    color: #fff;

    display: inline;
    background: #000;
    padding: 0.25em 0.6em;

    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* -----------------------------------------------------------
	#footer
		フッター
----------------------------------------------------------- */
#footer {
	padding-bottom:50px;
}
#footer .floatL.footerLogo {
    text-align: center;
    padding: 20px 0;
}
#footer .floatL.footerLogo img{
    max-width: 50%;
    height: auto;
}
.sns-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.sns-icons a {
    display: inline-block;
}

.sns-icons img {
    width: 11vw;
    height: auto;
    max-width: 50px;
}
.ftrMenuSp {
    padding: 30px 0;
    margin-bottom: 20px;
}

/* フッターメニュー（左右交互） */
.ftrMenuSp .inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ftrMenuSp .inner ul li {
    width: calc(50% - 5px);
    border-bottom: 1px solid #999999;
}

.ftrMenuSp .inner ul li:odd-child {
    text-align: right;
    padding-right: 10px;
}

.ftrMenuSp .inner ul li:even-child {
    text-align: left;
    padding-left: 10px;
}

.ftrMenuSp .inner ul li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #333;
}
#footer .copyRight {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 20px;
    float: none;
}
#topcontrol img {
    margin-right: 5px !important;
}

/* -----------------------------------------------------------
.side
----------------------------------------------------------- */
#side {
    display: none;
}
/* -----------------------------------------------------------
    contents
----------------------------------------------------------- */
#contents {
  position: relative;
  width: auto;
}

/* -----------------------------------------------------------
    main
----------------------------------------------------------- */
#contents #main {
  float: none;
  width: auto;
  margin-top: 40px;
}
.container {
    margin-bottom: 30px;
}
.fs1{
    font-size: 1.6rem;
	line-height:1.3;
}


/* -----------------------------------------------------------
#common
----------------------------------------------------------- */
.inner {
  width: auto;
  padding: 0 5%;
}

#main h3 {
    padding: 0 0 10px 0;
    margin-bottom: 15px;
    width: auto;
    font-size: 1.375rem;
    line-height: 1.5;
}
#main h4 {
    margin-bottom: 15px;
    font-size: 1.375rem;
    line-height: 1.5;
}
.section-middle {
    font-family: arial, helvetica, sans-serif;
	font-size: 0.8125rem;
    line-height: 1.5;
}
#post-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.post-content {
    width: calc(50% - 5px);
}
.post-content a {
    display: block;
    margin:0;
}
#main h1.catTtl {
    margin-bottom: 30px;
}
/* -----------------------------------------------------------
#top
----------------------------------------------------------- */
#main h3 .large {
    font-size: 1.5rem;
}
/* -----------------------------------------------------------
#feature
----------------------------------------------------------- */
#feature #main dl.feature img,
#feature #main dl.merit img{
    float: none !important;
    margin: 0 auto 10px !important;
    display: block !important;
}
#feature #main dl.feature dt{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#feature dl.feature dt:before {
    padding: 0 5px;
    margin-right: 0;
}

/* -----------------------------------------------------------
#product
----------------------------------------------------------- */
#main .container ul.productList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
#main .container ul.productList li{
    width: calc(50% - 5px);
}
#main .container ul.productList li a {
    display: block;
    float: none;
    margin: 0;
    border: #d6d6d6 solid 1px;
    font-size: 0.9375rem;
    width: auto;
}
#main .container ul.productList li a img{
    width: 100%;
    height: auto;
}
#main .container ul.productList li span {
    background-position: right center;
}
#specs .specs-table-wrap {
overflow-x: auto;
-webkit-overflow-scrolling: touch;

}
#specs table {
border-collapse: collapse;
}

#specs thead th {
}
#specs h3 {
    width: auto;
}

#main .categoryBox .floatL {
    width: auto;
}
#main .categoryBox h3.productTitle {
    font-size: 1.375rem;
    width: auto;
    height: auto;
    background-size: contain;
    aspect-ratio: 200 / 33;
}
#main .categoryBox h4 {
    font-size: 1.25rem;
}
.lb-outerContainer,
.lb-dataContainer {
max-width: 95vw !important;
}

.lb-image {
max-width: 100% !important;
height: auto !important;
}
.lb-nav a.lb-next {
    position: absolute;
    width: 64%;
    right: -50px;
    opacity: 1;
}
.lb-nav a.lb-prev {
    position: absolute;
    width: 64%;
    left: -50px;
    opacity: 1;
}
#main .singleBox .singleDetail {
    width: auto;
    float: none;
}
#main .singleBox .floatL >a {
    display: block;
    margin: 0 0 10px;
}
#main ul.itemList li img,
#main .singleBox img{
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}
#main ul.itemList,
#main ul.singleItemlist {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: auto;
    margin-bottom: 20px;
}
#main ul.itemList li, 
#main ul.singleItemlist li {
    width: calc(50% - 5px);
    margin: 0;
}
#main table.summary {
    width: 100%;
}
#main table.summary > tbody > tr > th,
#main table.summary > tbody > tr > td {
    display: block;
}

/* -----------------------------------------------------------
#gallery
----------------------------------------------------------- */
.gallery_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
#gal_thumbs .gallery_list a {
    display: block;
    width: calc(50% - 5px);
    margin: 0;
}
#gal_thumbs img {
    float: none;
    margin-right: 0;
    margin-top: 0;
}
/* -----------------------------------------------------------
#Showroom
----------------------------------------------------------- */
#showroom .container img {
    float: none !important;
    display: block;
    margin: 0 auto 10px !important;
}
#showroom iframe {
    width: 100% !important;
}
#bizcal li.tit h4 {
    padding: 0px 10px;
    margin: 0 0 10px 0;
    display: block;
}
#bizcal .biz_calendar {
    float: none;
    margin-right: 0;
    display: block;
    width: 100%;
    max-width: none;
}
#bcal2 {
    height: auto;
}
#showroom .ct {
    width: auto;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}
#showroom .ct img{
    width: auto;
    display: block;
    margin: 0 auto;
}
/* -----------------------------------------------------------
#Downloads
----------------------------------------------------------- */
#main ul.catalogList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#main ul.catalogList li {
    width: calc(50% - 5px);
    margin: 0;
    padding: 10px;
}
#main ul.catalogList li a{
    display: flex;
    flex-direction: column;
    height: 100%;
}
#main ul.catalogList li a p{
    margin: 0;
}
#main ul.catalogList li span {
    background-position: right center;
    padding-right: 20px;
    line-height: 1.4;
}
/* -----------------------------------------------------------
#Tips
----------------------------------------------------------- */
#topics #main img:first-of-type {
    margin-bottom: 20px;
}

/* -----------------------------------------------------------
#Retail
----------------------------------------------------------- */
#main table td a.more_info_link{
	font-size: 11px;
	padding: 2px 4px 2px 20px;
}
