/* ===================================================================
CSS information
 file name  :sp.css
 author     :pcbrain
 style info :スマートフォン用
=================================================================== */
/*縦向き・横向きの文字サイズ自動調整機能を停止*/
* {
    -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;
    font-size: 15px;
}

.mr20 {
    margin-right: 0;
}
.floatL, .floatR {
    float: none;
}
img.alignleft, img.alignright, 
.imgL20,.imgR20,.imgL , .imgR {
    float: none;
    margin: 0 auto 10px;
    display: block;
}
.btnNml {
    margin: auto;
    display: block;
}
#main ul.photoList img{
    margin: 0 auto;
    display: block;
}
#main ul.photoList li {
    float: none;
    width: auto;
    margin: 0 0 10px;
    text-align: center;
}
#main ul.photoList > li > ul{
    display: flex;
    gap: 10px;
    justify-content: center;
}
#main form table > tbody > tr > th,
#main form table > tbody > tr > td{
    display: block;
    padding: 3px 3px 0 3px;
    border-bottom: none;
}
#main form table > tbody > tr > th{
    padding-left: 22px;
    padding-bottom: 0;
    background-position: 5px 12px;
}
#main form table > tbody > tr > td{
    padding-top: 0;
}
#main table th .required{
	margin-left:10px;
	float: none;
}

#main form table td input, #main form table td select, #main form table td textarea {
    margin-right: 0;
    width: 100%;
    height: 2em;
}
#main form table td textarea[name="your-message"] {
    height: 4em;
}

#main form table td input[type="text"][name="your-postalcode"],
#main form table td input[type="text"][name="your-postalcode02"] {
    width: 5em;
    margin-right: 5px;
}

.wp-pagenavi a, .wp-pagenavi span {
    padding: 1px 2px;
    margin: 2px;

    font-size: 0.85rem;
}

/* -----------------------------------------------------------
	#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: 100vh;
    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% 80px 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 .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;
}

/* 言語切り替え（details要素） */
#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.6;
    margin: 0;
    font-family: 'Sawarabi Mincho', serif;
    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 .footerLogo {
    text-align: center;
    padding: 20px 0;
}
#footer .footerLogo img{
    max-width: 50%;
    height: auto;
}

/* SNSアイコン */
.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: 50px;
}
/* -----------------------------------------------------------
#common
共通
----------------------------------------------------------- */
.inner {
  width: auto;
  padding: 0 5%;
}
#main h3 {
    margin-bottom: 15px;
    width: auto;
    font-size: 1.25rem;
    line-height: 1.5;
}
#main h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    line-height: 1.5;
}
/* -----------------------------------------------------------
#top
----------------------------------------------------------- */
#top #main .container .floatL {
    width: auto;
}
#main .pickup dl {
    float: none;
    margin: 0 0 20px;
    width: auto;
}
#main .pickup dl dt>a{
    display: block;
    width: 100%;
    text-align: center;
}
#main .pickup dl dt>a img{
    width: 100%;
    height: auto;
}
#main .pickup dl dd {
    background:none;
    padding: 10px 0;
    text-align: center;
    font-size: 1rem;
    border: none;
}
#main .pickup dl dd span {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    line-height: 1;
    margin-bottom: 10px;
}
#main .pickup dl dd span::after {
    background: url(../img/common/arrow_glay.png) no-repeat;
    width: 20px;
    height: 21px;
    content: "";
    display: inline-block;
}
#top #main .container .floatR {
    width: auto;
    margin-left: 0;
    margin-bottom: 50px;
}
#top #main .container .floatR p .imgR{
}
#top #main .container .catch {
    font-size: 1.375rem;
}
#main .topics dl dt,
#main .press dl dt{
	float:none;
	color:#999;
}

#main .topics dl dd,
#main .press dl dd{
	padding-left:0;
	margin-bottom:15px;
}

#main .topics dl dd span,
#main .press dl dd span{
	display:block;
    font-size: 0.875rem;
    text-decoration: underline;
}
#main .topics h3 a, #main .press h3 a {
    display: none;
}

#top .bnrBox{
	margin-bottom:50px;
    display: flex;
    flex-direction: column;;
    align-items: center;
    gap: 30px;
}

#top .bnrBox li{
    width: 80%;
}
#top .bnrBox li a{
    display: block;
	border:#d4d4d4 solid 1px;
}

#top .bnrBox li a img{
    width: 100%;
    height: auto;
}

#top .bnrBox li .textArea{
	display:block;
	font-size: 0.75rem;
	line-height:1.5;
	padding:10px ;
    text-align: center;
    margin: 0;
}
#top .bnrBox li .textArea span{
    font-size: 1.125rem;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
#top .bnrBox li .textArea span::after {
    content: "";
    width: 1em;
    height: 1em;
    background-color: #ccc;
    mask: url("../img/common/arrow.svg") no-repeat center / contain;
    -webkit-mask: url("../img/common/arrow.svg") no-repeat center / contain;
}

  /* 商品横スクロール */
.horizontalMenuBox {
    background: #ececec;
    padding: 30px 0 0;
    margin: 0 -5% 30px;
}
#main .horizontalMenuBox h4 {
    margin: 0 10px 10px;
    font-size: 1.125rem;
    font-weight: normal;
}
.horizontal-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS */
    padding-bottom: 30px;
}
.horizontal-nav ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    height: calc(2 * 35vw + 20px);
    gap: 10px;
    padding: 0 10px;
    margin: 0;
    list-style: none;
    width: max-content;
}

.horizontal-nav li {
    width: 35vw;
    max-width: 200px;
    flex-shrink: 0;
}

.horizontal-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 35vw;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.horizontal-nav a img{
    width: 100% !important;
    height: auto    !important;
}
.horizontal-nav a p{
    font-size: 0.75rem;
    margin: 0 !important;
}
#main .topics, #main .press {
    margin-bottom: 50px;
}

/* -----------------------------------------------------------
#product
----------------------------------------------------------- */
#main ul.itemList,
#main ul.singleItemlist {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: auto;
}
#main ul.itemList li, #main ul.singleItemlist li {
    float: none;
    margin: 0;
    width: calc(50% - 5px);
}
#main ul.itemList li img, #main .singleBox img {
    width: 100%;
    display: block;
}
#main .container ul.productList {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: auto;
}
#main .container ul.productList li{
    width: calc(50% - 5px);
}
#main .container ul.productList li a {
    float: none;
    margin: 0;
    width: auto;
    height: 100%;
}
#main .container ul.productList li a img{
    width: 100%;
    display: block;
}
#main .container ul.productList li span {
    padding-right: 15px;
}
.lb-outerContainer,
.lb-dataContainer {
max-width: 95vw !important;
}

.lb-image {
max-width: 100% !important;
height: auto !important;
}

#main .singleBox .singleDetail {
    width: auto;
    float: none;
}
#product #main .singleBox .singleDetail table > tbody > tr > th,
#product #main .singleBox .singleDetail table > tbody > tr > td{
    display: block;
}
/* -----------------------------------------------------------
#corporate
----------------------------------------------------------- */

#main .companyTable.companyTable{
}
#main table.companyTable > tbody > tr > th,
#main table.companyTable > tbody > tr > td{
    display: block;
}
#bizcal .biz_calendar {
    float: none;
    margin-right: 0;
    max-width: 100%;
}
#main ul.history img{
    margin: 0 auto;
    display: block;
}
#main ul.history li {
    float: none;
    margin: 0 0 10px;
    text-align: center;
}
#main ul.history > li > ul{
    display: flex;
    gap: 10px;
    justify-content: center;
}
#main ul.history li br{
    display: none;
}

/* -----------------------------------------------------------
#point
----------------------------------------------------------- */
#point #main .container h4 img {
    display: block;
    margin:0 0 5px;
}

dl.merit dt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
}

dl.merit dt::before {
    background-color: #b72f00;
    padding: 5px 6px 3px;
    margin-right: 10px;
    counter-increment: number;
    content: "0" counter(number);
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: normal;
    color: #fff;
}

dl.merit dt span {
  display: inline-block;
  line-height: 1.3;
}

dl.merit dt img {
    order: 2;
    margin-top: 10px;
    display: block;
    width: 50%;
    margin: 0 25% 0;
}
dl.merit dd {
    padding: 0;
    margin-bottom: 20px;
}

/* -----------------------------------------------------------
#cases
----------------------------------------------------------- */
#main .lineup dl {
    float: none;
    margin: 0 0 25px 0;
    width: auto;
}
#main .lineup dl dt img {
    width: 100%;
}
#main .lineup dl dd a {
    padding: 10px 5px;
    font-size: 1.125rem;
    width: auto;
    background-position: right 10px center;
}

#cases #main ul.photoList li br{
    display: none;
}
#cases #main ul.imgR{
    display: flex;
    gap: 10px;
    justify-content: center;
}


/* -----------------------------------------------------------
#showroom
----------------------------------------------------------- */
#main .shopinfo table > tbody > tr > th,
#main .shopinfo table > tbody > tr > td{
    display: block;
}

/* -----------------------------------------------------------
#download
----------------------------------------------------------- */
#main ul.catalogList {
}
#main ul.catalogList li {
    float: none;
    margin: 0 0 10px 0;
    width: auto;
}
#main ul.catalogList li img{
    margin: 0 auto 10px;
    display: block;
    max-width: 80%;
}
#main ul.catalogList li span {
    background: url(../img/download/arrow_gray.png) no-repeat center bottom;
    padding: 5px 0 20px; 
}