/* EC-CUBE商品ページCSS改変 */

.product__detail__main__item__content p{
    font-size:clamp(120%, 3vw, 110%);
    line-height: 1.8;
}

.product__detail__main__item__content p a {
    line-height: 1.7;
    font-size: 105%;
}

.product__detail__main__item__content p a:hover{
    opacity:0.8;
}

/* H3 メイン見出し*/

h3.item-title{
    color: #ffffff;
    background-color:#1E1E1E;
    font-size:140%;
    font-weight:bold;
    line-height: 1.4;
    letter-spacing: 0.2em;
    margin: 0px -10px 30px;
    padding: 5px 10px;
    text-align: center;
}

h3.item-title-redbg{
    color: #ffffff;
    background-color:#ff0000;
    font-size:140%;
    font-weight:bold;
    line-height: 1.4;
    letter-spacing: 0.2em;
    margin: 0px -10px 30px;
    padding: 5px 10px;
    text-align: center;
}

/* H4（サブ見出し）　*/

h4.item-subtitle {
    border-bottom: solid 3px #666666;
    position: relative;
    font-size:140%;
    font-weight:bold;
    line-height: 1.4;
    margin: 0px -10px 30px;
    padding: 5px 10px;
    font-size: clamp(120%, 3vw, 110%)!important;
}

h4.item-subtitle:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #ff5000;
    bottom: -3px;
    width: 30%;
}

/* 本文 */
p.item-info{
    line-height: 1.8;
    display: block;
/* ベースのフォントサイズから最大130%（ブラウザ）、最小（スマホ）110%に設定 */
    font-size: clamp(120%, 3vw, 110%);
    font-feature-settings: "pkna";
    word-break: break-all;
}

p.item-info a{
    line-height: 1.7;
    font-size: 105%;
}

p.inactive{
    background:#666666;
    color:#ffffff;
    font-weight:bold;
    font-size: clamp(150%, 3vw, 120%);
    padding:20px;
    text-align:center;
}

/* ボタン */

button {
    padding:10px;
}

button a:hover{
    opacity:0.6;
}

/* 簡易アコーディオン */

details{
/* ベースのフォントサイズから最大130%（ブラウザ）、最小（スマホ）110%に設定 */
    font-size: clamp(120%, 3vw, 110%);
    margin-bottom:20px;
}

summary{
    line-height: 1.6;
    font-size: 105%;
    font-weight:bold;
    padding:5px;
    display:block;
    margin-bottom:3px;
}

ul.modellist {
    margin-top: 0;
    margin-bottom: 10px;
    column-count: 2;
    column-gap: 30px;
    padding-left: 30px;
}

summary:hover{
    background:#eeeeee;
}

details.item-info p{
    padding:5px;
    font-size:100%;
}

details summary{
    list-style:inside;
}

table.item-info{
    line-height: 1.7;
    /* ベースのフォントサイズから最大130%（ブラウザ）、最小（スマホ）110%に設定 */
    font-size: clamp(120%, 3vw, 110%);
}

ul.item-info{
    padding-bottom:20px;
}

ul.item-info li{
    padding-left: 15px;
    font-size: clamp(120%, 3vw, 110%)!important;
}


/* アコーディオンメニューカスタマイズ用CSS */
.accordion-compatible {
    position: relative;
}
.accordion-compatible label {
    height: 140px; /* グラデーションの高さ */
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    width: 100%;

    /* グラデーションは「背景が白」 */ 
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 90%);
}
.accordion-compatible input:checked + label {
    background: inherit; /* 開いた時には背景グラデーションを消す */
}
.accordion-compatible label:after {
    font-size: 1.2em;
    content: "詳細を確認する"; /* ラベルの文字 */
    letter-spacing: .1em;
    line-height: 3rem;
    position: absolute;
    bottom: 20px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    color: #fff;
    background-color: #00101d;
    width: 18.75rem;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.accordion-compatible label:before {
    font-weight: 700;
    position: absolute;
    bottom: 30px;
    left: 50%;
    -webkit-transform: translate(-140px, 0);
    transform: translate(-140px, 0);
    background-color: #fff;
    z-index: 1;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    line-height: 20px;
}
.accordion-compatible input {
    display: none;
}
.accordion-compatible .accordion-compatible-container {
    overflow: hidden;
    height: 200px; /* 開く前に見えている部分の高さ */
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -ms-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}

.accordion-compatible input:checked + label:after {
    content: "閉じる";
}

.accordion-compatible input:checked ~ .accordion-compatible-container {
    height: auto;
    padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -ms-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}

.accordion-compatible:hover label:after {
    opacity: 0.7;
}


/* スマホ閲覧時のTEL番号の色 */
.tel-link {
    color: #AAAAAB;
}


/* 求人募集ページボタン用 */

.recruit-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.recruit1,.recruit2 {
    text-align: center;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    background: #ffe600;
    padding: 4px 20px;
    margin-left: 5px;
    margin-right: 5px;
    border: 3px solid #ffe600;
    border-radius: 6px;
    position: relative;
    transition: .3s;
}

.recruit1:hover {
    background: #fff;
    color: #333;
}

.recruit2:hover {
    background: #fff;
    color: #333;
}

@media (min-width: 768px) {
    .recruit1,.recruit2 {
        font-size: 20px;
        padding: 18px 50px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .brmb {
        display: none;
    }
}


/* ポラリスＬＰ誘導ボタン用 */
.p-button:hover {
    opacity: 0.7;
    transition: 0.5s;
}

.dlist dl{
    line-height: 1.8;
    display: block;
    font-size: clamp(120%, 3vw, 110%);
}

.dlist dt {
    background:#ffe4c3;
    padding:4px 8px;
    display:inline-block;
}

@media screen and (max-width: 480px) {
    .dlist dt {
       display:block;
    }
}

.dlist dd {
    padding:4px 0;
    margin:4px 20px 10px;
}

button.btn{
    padding:10px;
    text-decoration:none;
    border:1px solid #666666;
    border-radius:20px;
    margin-bottom:5px;
    font-weight:bold;
}

.btn a:link{
    text-decoration:none;
}

.btn a:hover {
    opacity: 0.7;
    transition: 0.5s;
}

/* 限定コンテンツ用 */

#gentei{
    width:900px;
}

#gentei h2,h3,h4{
    font-weight:bold;
}

#gentei h2{
    border-bottom:thick double #525263;
    margin:30px 0 20px 0;
    padding: 10px;
}

#gentei h3{
    margin:0 0 10px;
    padding: 5px 0;
}

#gentei p{
    font-size: 1.8rem;
    line-height:1.8;
    margin: 10px 10px 20px 20px;
}

#gentei details{
    margin:20px 0;
    padding:10px;
    font-size:1.8rem;
    border:1px solid #ccc;
}

#gentei summary{
    background:#ccc;
    list-style:none;
    font-size:1.6rem;
    padding: 10px;
    margin-bottom:10px;
    font-weight: bold;
}

#gentei summary:before{
    font-family:"Font Awesome 6 Free";
    content:"\f13e";
    font-weight:900;
    margin-right:8px;
    color:#ff6a00;
}

#gentei .check:before{
    font-family:"Font Awesome 6 Free";
    content:"\f14a";
    font-weight:900;
    margin-right:8px;
    color: #32cd32;
}

#gentei ul {
  display: flex;
  flex-direction: column; /* PCでは縦並び */
  gap: 8px;
  padding: 0;
  margin: 0 20px 20px;
  list-style: none;
}

#gentei li:before {
    content:"●";
    color:#bebebe;
    margin-right:8px;
}

#gentei .notice{
    border:1px solid #bebebe;
    padding:10px;
    margin:10px 0;
    font-size:1.6rem
}

#gentei .mokuji {
    list-style-type: none;
    padding: 1em;
    margin:1em 0;
    border-top: 2px solid #bababa;
    border-bottom: 2px solid #bababa;
}

#gentei .mokuji li {
    display: flex;
    align-items: center;
    gap: 0 10px;
    padding: .3em;
}

#gentei .mokuji li::before {
    transform: rotate(-45deg);
    width: .4em;
    height: .4em;
    border-bottom: 3px solid #32cd32;
    border-right: 3px solid #32cd32;
    content: '';
}

@media screen and (max-width: 480px) {
  #gentei ul {
    flex-direction: row;  /* スマホでは横並び */
    flex-wrap: wrap;      /* 折り返し許可 */
    margin:0 0 20px;
  }
  #gentei li {
     background:#efefef;
     padding:4px 8px;
  }
  #gentei li:before {
     content:"";
     margin-right:0px;
  }
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 30px;
}

.button-container .button {
  width: calc(300px - 5px); /* 2列（PC表示） */
}

.button-container .wide{
      width: calc(600px - 5px); /* 1列（PC表示） */
}

@media (max-width: 767px) {
  .button-container {
    flex-direction: column; /* スマホでは1列 */
  }

  .button-container .button {
    flex: none;
    width: 100%;
    font-size:2rem;
  }
  #gentei{
      width:100%;
  }
  #gentei p{
     font-size:1.7rem;
  }
  #gentei h2{
     font-size:24px;
  }
  #gentei h3{
     font-size:22px;
  }
  #gentei details{
    width:100%;
  }
  #gentei h2{
    width:100%;
  }
}

  .button-container .button{
     background:#ff8c00;
     font-size:2.3rem;
     margin:0px;
     font-weight:bold;
     color:#fff;
     border:0px;
     cursor: pointer;
     box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     padding: 14px 10px;
     }
     
  .button-container .button:hover {
    transform: translateY(3px); /* 3px下に移動 */
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2); /* 影を少し弱くする */
    text-decoration:underline;
}

  .button-container .button:active {
    transform: translateY(5px); /* さらに押し込む */
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* 影をさらに弱く */
}

 .button-container .download:before{
    font-family:"Font Awesome 6 Free";
    content:"\f1c1";
    font-weight:900;
    margin-right:8px;
}

 .button-container .large{
     font-size:2rem;
 }
 
 .item-table table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border:1px solid #1e1e1e;
  font-size: clamp(1.4rem, 3vw, 1.6rem);
}
.item-table th,
.item-table td {
  vertical-align: middle;
  padding: 7px 15px;
  border: 1px solid #1e1e1e;
  color: #1e1e1e;
  text-align: center;
  /* white-space: nowrap; */
}
.item-table th {
  color: #1e1e1e;
  font-weight:700;
  background:#ccc;
  line-height:2;
}
.item-table td {
    line-height:1.5;
}

.linkmark a:after {
    font-family:"Font Awesome 6 Free";
    content:"\f105";
    font-weight:900;
    margin-left:8px;
    color:#ff8c00;
}

/* text-align:justify回避 */

.product__detail__main__item__content p,
.modal-header p {
    text-align: start;
    word-break: break-all;
}

.link-button a{
    display: inline-block;
    padding: 3px 6px;
    min-width: 80px;
    border: 1px solid #da5300;
    border-radius: 6px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 16px!important;;
    line-height: 1.5!important;
    text-align: center;
}

.link-button a:link{
    text-decoration:none!important;
}

.link-button a:hover{
    text-decoration:none;
    background:#efefef;
}