@charset "utf-8";

*,
::before,
::after{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol{
  list-style: none;
}

a{
  color: inherit;
  text-decoration: none;
}

hr {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

body{
  font-family: sans-serif;
  font-size: 16px;
  color: black;
  line-height: 1;
  background-color: white;
  width:100%;
  margin:0 auto;
}

img{
  max-width: 100%;
}

.header-inner{
  max-width: 1200px;
  height: 110px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.site-menu ul{
  display: flex;
}

.site-menu ul li{
  margin-left: 20px;
  margin-right: 20px;
}

/*スマホのみ出現ロゴ*/



/* hero_topページ写真 */
.specialist{
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 30px;
}
@media(max-width:768px){
  .specialist{
    width:100%;
  }
}

.item_name{
  font-size: 0.9em;
  margin-top:10px;
  text-align: center;
}
/* /hero */


/*活用別紹介*/

.f-container{
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.f-item{
  width: 50%;
}

/*アイテムショウケース*/

.box-flexbox{
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
  width: 80%;
  margin: 30px auto ;
}

.flexbox-item{
  width: 30%;
  margin-bottom: 30px;

}

/*　製作例〜製作・納品*/

.box-flexbox1{
  display: flex;
  justify-content:space-between;
  width: 80%;
  margin: 30px auto ;
}

.flexbox-item1{
  width:24%;
}

@media(max-width:700px) {
  .box-flexbox1{
    flex-wrap: wrap;
    justify-content: space-around;
  
}

.flexbox-item1{
  width:45%;
}
}

/* 種類別ページ＿例えばTシャツ一覧ページ*/
.container_wear{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  width:85%;
  gap:15px;
  margin:30px auto;
}
@media(max-width:768px){
  .container_wear{
    grid-template-columns: repeat(2,1fr)
  }
}
@media(max-width:576px){
  .container_wear{
    grid-template-columns: repeat(1,1fr)
  }
}

.item_wear{
  border: 1px solid black;
  border-radius: 10px;
  padding:10px;
  text-align: left;
}

.hinmei{
  line-height: 1.5em;
  font-size:0.8em;
}
@media(max-width:768px){
  .hinmei{
    font-size:0.7em;
  }
}
@media(max-width:576px){
  .hinmei{
    font-size:1.0em;
    padding:10px 30px
  }
}

/*種類別一覧ページでジュニアサイズ・4L以上サイズを掲示*/
.jr{
  background-color: yellow;
  padding:2px 4px;
  border: 1px solid gray;
  border-radius: 5px;
  margin-left: 5px;
}

/*商品カードレイアウト〜始め*/

.item-list{
  width: 960px;
  max-width:90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, 240px);
  column-gap: 35px;
  row-gap: 70px;
  justify-content: center;
  }

  .item-list img{
    height: 200px;
  }

.item-list dl{
  margin-top: 20px;
}

.item-list dt{
  font-weight: bold;
  font-size:14px;
  color: darkblue;
}

.item-list dd{
  font-size: 13px;
  line-height: 20px;
  margin-top: 10px;
}

.item-list .price{
  margin-top: 10px;
  font-size:13px;
}
/*商品カードレイアウト〜終わり*/

/*商品名見出し*/
.product_title {
  font-size: 20px;
  font-weight: bold;
  text-align: center; /* PC用：中央揃え */
  line-height: 1.5;
  margin: 20px auto;
}

.product_code {
  color: #007BFF; /* 品番を青で目立たせる */
  font-weight: bold;
  font-size: 22px;
}

.product_separator {
  margin: 0 6px;
  color: #888;
}

.product_name {
  word-break: keep-all;
  white-space: normal;
}

.product_subname {
  font-size: 16px;
  color: #666;
  margin-left: 6px;
}

/* スマホ対応：縦に分割し、中央揃え */
@media (max-width: 768px) {
  .product_code,
  .product_separator,
  .product_name,
  .product_subname {
    display: block;
  }

  @media (max-width: 768px) {
    .product_title {
      text-align: left; /* スマホ時：左揃え */
      padding: 0 16px;   /* 画面端にくっつかないよう余白追加 */
    }
  }

  .product_separator {
    display: none; /* スマホではセパレーターは非表示 */
  }

  .product_title {
    font-size: 18px;
    line-height: 1.6;
  }

  .product_code {
    font-size: 20px;
  }

  .product_subname {
    font-size: 15px;
  }
}

  /*各商品ページ*/
.item-page {
  text-align: center;
  margin-top: 30px;
}

/*パンくずリスト*/
.breadcrumb-005 {
  display: flex;
  gap: 0 20px;
  list-style: none;
  padding: 0;
  font-size: .9em;
}

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

.breadcrumb-005 li:first-child::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23333333'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  content: '';
}

.breadcrumb-005 li:not(:last-child)::after {
  display: inline-block;
  width: .3em;
  height: .6em;
  margin-left: 12px;
  background-color: #333333;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: '';
}

.breadcrumb-005 a {
  color: #333333;
  text-decoration: none;
}

/*パンくずリスト終わり*/

.company{
  text-align: center;
  margin-top:100px;
}

.happi1{
  margin-top:50px;
  margin-left:50px;
  margin-bottom:30px;
}
.happi2 {
  margin-left: 50px;
  margin-top: 30px;
  margin-bottom: 40px;
}
.happi3{
  width:80%;
  margin-left:auto;
  margin-right: auto;
}

.happi4{
  margin-top:60px;
}

/* トップページの取扱商品　*/

.class_container{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: repeat(3,1fr);
  gap:10px;
  margin:20px auto 30px auto;
  width:95%;
}
@media(max-width:768px){
  .class_container{
    width:85%;
    grid-template-columns: repeat(3,1fr);
    gap:15px;
  }
}
@media(max-width:576px){
  .class_container{
    width:85%;
    grid-template-columns: repeat(2,1fr);
    gap:15px;
  }
}

.class-item{
  border: 1px solid gray;
  padding:10px;
  border-radius: 10px;
}

.item_name{
  background-color: orange;
  padding:5px 10px;
  border-radius: 5px;
  color:white;
}

/* トップページのサブメニュー　*/

.features-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
  padding: 0 15px;
  max-width: 1200px; /* コンテナの最大幅を設定 */
  margin-left: auto;
  margin-right: auto;
}

/* デスクトップ中サイズ */
@media (max-width: 1200px) {
  .features-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 10px;
  }
}

/* タブレットサイズ */
@media (max-width: 1024px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 700px; /* タブレット用に最大幅を制限 */
  }
  
  .feature-card {
    max-width: 320px; /* カード自体の最大幅を制限 */
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-image {
    padding-top: 65%; /* アスペクト比を少し調整 */
  }
  
  .feature-card h3 {
    font-size: 16px; /* フォントサイズを少し小さく */
  }
  
  .feature-card p {
    font-size: 13px;
  }
}

/* スマホサイズ */
@media (max-width: 576px) {
  .features-container {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .feature-card {
    max-width: 100%;
  }
  
  .feature-image {
    padding-top: 60%; /* スマホ用にさらにアスペクト比を調整 */
  }
}

.feature-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* 幅を100%に設定 */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.feature-image {
  position: relative;
  overflow: hidden;
  padding-top: 75%; /* 4:3のアスペクト比を維持 */
}

.feature-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-card h3 {
  padding: 15px 15px 5px;
  margin: 0;
  font-size: 18px;
  color: #333;
  text-align: center;
}

.feature-card p {
  padding: 0 15px 15px;
  margin: 0;
  font-size: 14px;
  color: #666;
  text-align: center;
}

/*終わり*/

/*プリント方法のページ：タイトル・文章*/

.printing-header {
  max-width: 800px;
  margin: 40px auto 20px auto; /* 全体を中央に配置 */
  padding: 0 20px;
  text-align: left; /* 中の文章は左揃え */
}

.section-title-line {
  font-size: 1.8em;
  color: #0275d8;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.section-title-line::after {
  content: "";
  flex-grow: 1;
  height: 3px;
  background-color: #0275d8;
  margin-left: 15px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background-color: #0275d8;
  margin: 8px auto 0 auto;
  opacity: 0.5;
}

.printing-header p {
  font-size: 1em;
  line-height: 1.7;
  color: #444;
  margin: 10px 0;
}

/*終わり*/


/*プリント方法のページ*/

.printing-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.printing-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.printing-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.printing-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.printing-card h3 {
  min-height: 1.5em; /* 高さを統一（2行分くらい） */
  font-size: 1.4em;
  color: #0275d8;
  margin-top: 15px;
  margin-bottom: 10px;
}

.printing-card p {
  font-size: 0.95em;
  line-height: 1.6;
  margin: 8px 0;
  color: #333;
}

.printing-card strong {
  color: #555;
}

/*プリント方法のページ終わり*/

table{
  margin: 20px auto;
}
.tbl_r02 th{
background:#857f7f;
border:solid 1px rgb(241, 228, 228);
color:#fff;
padding:10px;
}
.tbl_r02 td{
  border: solid 1px #ccc;
  padding:10px;
}

.a_container{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(4,1fr);
  gap: 40px;
  margin:30px auto 10px auto;
  width:85%;
}
@media(max-width:800px){
  .a_container{
    grid-template-columns:repeat(2,1fr);
    width:90%;
  }
}

.setumei1{
  font-size: 0.9em;
  width:65%;
  margin:30px auto 20px auto;
  line-height: 1.4em;
}
@media(max-width:600px){
  .setumei1{
    width:90%;
  }
}

/*トップページ＿イントロ*/

.top_intro{
  width:80%;
  margin:20px auto 30px auto;
font-size: 0.9em;
line-height: 1.5em;
}
@media(max-width:700px){
  .top_intro{
  font-size:0.8em;
  line-height: 1.3em;
  width:90%;
  }
}

/*関連商品*/
.kanren_container{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap:20px;
  width:60%;
  margin:30px auto;
}
@media(max-width:700px){
  .kanren_container{
    width:85%;
  }
}

.kanren_midashi{
  margin:50px 1px 20px 100px;
  font-size: 1.3em;
  text-align: center;
  font-weight: bold;
  color: rgb(100, 8, 0);
}
@media(max-width:700px){
  .kanren_midashi{
    font-size:1em;
  }
}

.kanren_name{
  font-size: 0.7em;
}

/*お客様の声ページの見出しと案内文*/
.comment-section {
  padding: 40px 20px;
  background-color: #fdfdfd;
}

.section-title {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.4;
}

.section-title span {
  display: inline-block;
  border-bottom: 3px solid #007bff;
  padding-bottom: 5px;
}

.comment-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.0;
  color: #333;
}

.comment-text p {
  margin-bottom: 16px;
}

/* ▼ スマホ対応（画面幅600px以下） */
@media screen and (max-width: 600px) {
  .section-title {
    font-size: 1.4em;
  }

  .comment-text {
    font-size: 1em;
    padding: 0 10px;
  }
}

/*終わり*/


/*ページネーション*/
.pagination-001 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  list-style-type: none;
  padding: 0;
}

.pagination-001 a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  border: 1px solid #0042aa;
  border-radius: 1px;
  color: #0042aa;
}

.pagination-001 a:not(:hover) {
  text-decoration: none;
}

.pagination-001 .current a {
  background-color: #0042aa;
  color: #fff;
  pointer-events: none;
}

.pagination-001 .prev a,
.pagination-001 .next a {
  gap: 0 4px;
  width: auto;
  padding: .5em .8em;
  line-height: 1;
}

.pagination-001 .prev a::before,
.pagination-001 .next a::after {
  display: inline-block;
  transform: rotate(45deg);
  width: .3em;
  height: .3em;
  content: '';
}

.pagination-001 .prev a::before {
  border-bottom: 1px solid #0042aa;
  border-left: 1px solid #0042aa;
}

.pagination-001 .next a::after {
  border-top: 1px solid #0042aa;
  border-right: 1px solid #0042aa;
}

.page{
  margin-top: 80px;
}

/*FAQページ＿改修070515*/
.faq-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 30px;
  font-weight: bold;
}

.faq-item {
  background: #fff;
  border-left: 5px solid #007bff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
  font-weight: bold;
  font-size: 1.1em;
  color: #007bff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.faq-answer {
  font-size: 1em;
  line-height: 1.8;
  color: #333;
  display: flex;
  align-items: flex-start;
}

.faq-question i,
.faq-answer i {
  margin-right: 10px;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .faq-title {
    font-size: 1.4em;
  }

  .faq-item {
    padding: 15px;
  }

  .faq-question, .faq-answer {
    font-size: 1em;
  }
}
/*終わり*/


/*商品概要コメント*/
.gaiyou1{
  text-align: center;
  margin-bottom: 30px;
  font-size:1.2em;
}
@media(max-width:768px){
  .gaiyou1{
   font-size:1.0em;
  }
}

.gaiyou2{
  width:65%;
  line-height:1.5em;
  margin:10px auto 10px auto;
  font-size:0.9em;
}
@media(max-width:768px){
  .gaiyou2{
    width:85%;
  }
}

.container_athle{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap:15px;
  margin: 30px auto 40px auto;
  width:85%;
}
@media(max-width:768px){
  .container_athle{
    grid-template-columns: repeat(2,1fr);
    gap:20px;
    width:88%;
  }
}

.athle1{
  text-align: center;
  font-size: 0.8em;
}


/**/

header {
  background-color: #ffffff;
  padding: 10px 20px;
}
header .wrapper {
  max-width: 1000px;
  margin: 10px auto;
  display: flex;
  flex-wrap: nowrap; /* 折り返し禁止！（これが重要） */
  align-items: center;
  justify-content: space-between;
}


header .logo img {
  height: 40px;
  display: block;
}
@media (max-width: 430px) {
  header .logo img {
    height: 30px; /* 小さくする */
    width: auto; /* 高さに合わせて自動で縮む */
    display: block; /* blockでOK */
    max-width: 150px; /* 幅に上限を設ける！ */
    flex-shrink: 1; /* スペースが狭くなったら縮んでいいよ */
  }

  .menu-bar {
    flex-shrink: 0; /* ハンバーガーメニューは絶対縮めない */
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 100%;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  padding: 20px;
  transition: left 0.3s;
}

.navbar.show {
  left: 0 !important;
}

.hide-scroll {
  overflow: hidden;
}

.navbar ul {
  all: unset;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.navbar ul a {
  all: unset;
  color: #444444;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: bold;
  font-size: 28px;
}
.navbar ul a:hover {
  color: #111111;
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.close-nav {
  text-align: right;
  margin-bottom: 20px;
}
.close-nav button {
  all: unset;
  background: #f7f7f7;
  font-size: 42px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 3px;
  color: #444444;
}
.close-nav button:hover {
  color: #222222;
  background: white;
}

.menu-bar button {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f7;
  height: 60px;
  width: 50px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 3px;
}
.menu-bar i {
  display: block;
  border-top: 3px solid #444444;
  border-bottom: 3px solid #444444;
}
.menu-bar i::after {
  display: block;
  content: "";
  border-top: 3px solid #444444;
  margin: 6px 0;
}
.menu-bar button:hover {
  background: white;
}
.menu-bar button:hover i {
  border-color: #222222;
}

/**/

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
}

@media (min-width: 750px) {
  .navbar {
      all: unset;
      display: block;
  }
  .navbar ul {
      flex-direction: row;
      gap: 20px;
  }
  .navbar ul a {
      font-size: inherit;
  }
  .close-nav,
  .menu-bar {
      display: none;
  }
}

.side{
  width:20%;
}
.main_page{
  width:80%;
}
.flex_layout{
  display: flex;
}
.deco1{
  padding:8px;
  background-color: rgb(179, 166, 166);
  border-radius: 3px;
  font-weight: bold;
  width:85%;
}
.deco2{
  padding:10px;
  background-color: rgb(42, 152, 60);
  margin-top:8px;
  border-radius: 3px;
  color: white;
  font-weight: bold;
  width:85%;
}

.heading-3 {
  padding:0 .4em .2em;
  border-bottom: 3px dotted #2589d0;
  background-color: #ffffff;
  color: #333333;
  margin:30px 0 35px 20px;
}


/*支払方法*/

.payment-section {
  margin: 60px auto;
  padding: 0 20px;
  max-width: 800px;
}
.payment-title {
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}
.payment-desc {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #333;
}
.payment-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-left: 5px solid #007bff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
}
.payment-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #007bff;
}
.payment-card i {
  margin-right: 10px;
}
.payment-images img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}

/*支払方法終わり*/


/* フォントページ　*/

 /* フォントセクション共通スタイル */
    .font-section {
      margin-bottom: 60px;
    }
    
    .section-title {
      background-color: #f0f0f0;
      padding: 10px 15px;
      border-left: 5px solid #007bff;
      font-size: 1.2em;
      margin-bottom: 30px;
      margin-top: 30px;
    }
    
    /* フォントリストのレイアウト */
    .font-list {
      display: flex;
      flex-direction: column;
      gap: 30px;
      margin-top: 20px;
    }
    
    .font-item {
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .font-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .font-name {
      background-color: #f8f8f8;
      padding: 10px 15px;
      font-size: 0.95em;
      border-bottom: 1px solid #eee;
      font-weight: bold;
    }
    
    .font-image {
      padding: 20px;
      text-align: center;
    }
    
    .font-image img {
      width: 100%;
      max-width: 800px;
      height: auto;
      display: block;
      margin: 0 auto;
    }

/*オンスとサイズ表記についてのボックス*/

.box-017 {
  max-width: 500px;
  margin: 30px auto;
  padding: .5em 1.5em 1em;
  border-top: 5px solid #2589d0;
  border-radius: 3px;
  background-color: #f2f2f2;
}

.box-017 > div {
  margin-bottom: .5em;
  color: #2589d0;
  font-weight: 500;
  font-size: 1.05em;
}

.box-017 {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  max-width: 600px;
}

.box-017-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 8px;
}

.box-017 p {
  margin: 0 0 15px 0;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

.box-017 p:last-child {
  margin-bottom: 0;
}

/*オンスとサイズ表記についてのボックス＿終わり*/

.footer {
  background: #ffffff;
  padding: 40px 20px;
  font-size: 14px;
  color: #555; /* ←ここを薄グレー系に戻す */
}

.footer_menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer_menu_group {
  background: rgb(243, 242, 242);
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px; /* 下にスペースを追加！ */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.footer_menu_group h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333; /* ←ここを黒系に変更 */
  display: flex;
  align-items: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 6px;
}

.footer_menu_group h4 i {
  margin-right: 8px;
  font-size: 18px;
  color: #666; /* ←ここも落ち着いたグレーに */
  transition: color 0.3s, transform 0.5s;
}

.footer_menu_group:hover h4 i {
  color: #007BFF;
  transform: rotate(360deg);
}

.footer_menu_group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_menu_group li {
  margin-bottom: 8px;
}

.footer_menu_group a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s;
}

.footer_menu_group a:hover {
  color: #007BFF;
  text-decoration: underline;
}

.footer_info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
  margin-top: 20px;
  text-align: center;
}

.footer_logo {
  width: 250px;      /* ロゴ画像の最大幅を固定 */
  height: auto;      /* アスペクト比を維持して縮小 */
}

.footer_contact {
  display: flex;
  flex-direction: row; /* PCでは横並び */
  gap: 10px;
  font-size: 20px;
  color: #333;
}

/* スマホだけ縦に切り替え */
@media (max-width: 768px) {
  .footer_info {
    flex-direction: column;   /* ロゴと電話番号を縦並びに */
  }

  .footer_contact {
    flex-direction: column;   /* 電話番号だけでも縦にしておくと汎用性UP */
    gap: 4px;
  }
}

/*工事中ページの吹き出し*/
.under_construction{
  padding:20px 25px;
  background: #637289;
  border-radius: 10px;
  margin:100px auto;
  text-align: center;
  color: white;
  width:80%;
  line-height: 1.7em;
}

.zaikokagiri{
  color: red;
  text-align: center;
  font-size: 0.9em;
  margin-top: 5px;
}

/*ネックウォーマー*/
.container_neckwarmer{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap:15px;
  margin:20px auto;
}
@media(max-width:768px){
  .container_neckwarmer{
    grid-template-columns: repeat(3,1fr);
  }
}

.neck_1{
  text-align: center;
  font-size: 0.9rem;
}
@media(max-width:768px){
  .neck_1{
    font-size: 0.8rem;
  }
}

.neck_2{
  font-size: 0.9rem;
  margin:25px auto;
  width:75%;
  line-height: 1.3rem;
}
@media(max-width:576px){
  .neck_2{
    font-size: 0.8rem;
  }
}

/*廃番予定の注意マーク*/
.warning-icon {
  color: red;
}

.warning-icon-blue {
  color: blue;
}

.warning-text{
  text-align: center;
  margin-top: 50px;
}

/*終わり*/

/*限定商品マーク*/
.stock-warning{
  text-align: center;
}
.stock-icon{
  color: purple;
}

/*終わり*/

/*NEWボタン*/
.new-badge {
  display: inline-block;
  background: red;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: bold;
}

/*終わり*/

/*赤丸ボタン*/
.red-circle {
  color: red;
}

/*終わり*/


 /* トップページ：商品一覧セクション */
 .products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.class_container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px auto;
  width: 100%;
}

.class-item {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background-color: white;
}

.class-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.class-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.5s ease;
}

.class-item:hover img {
  transform: scale(1.05);
}

.item_name {
  background: linear-gradient(90deg, #ff7e00, #ff9a44);
  color: white;
  padding: 12px 15px;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  margin: 0;
}

.class-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

 /* トップページ：商品一覧セクション＿終わり */

/* トップページ：加工例セクション */
.processing-section {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 20px;
}

.kakourei {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  color: #333;
}

.kakourei::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff7e00, #ff9a44);
  border-radius: 2px;
}

.container_kakou {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  width: 100%;
}

.item_kakou {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: white;
}

.item_kakou:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.item_kakou img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.5s ease;
}

.item_kakou:hover img {
  transform: scale(1.05);
}

.kakoumei {
  font-size: 1rem;
  text-align: center;
  padding: 15px 10px;
  font-weight: 500;
  color: #444;
  background-color: white;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .class_container, .container_kakou {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
  }
}

@media (max-width: 768px) {
  .class_container, .container_kakou {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      width: 90%;
  }
  
  .section-title, .kakourei {
      font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .class_container, .container_kakou {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      width: 95%;
  }
  
  .section-title, .kakourei {
      font-size: 1.3rem;
  }
  
  .item_name, .kakoumei {
      font-size: 0.9rem;
      padding: 10px;
  }
}

/* トップページ：加工例セクション＿終わり */


/*キャップページの「※マークのみ**サイズ有り」表記*/

.junior-size-note {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-top: 10px;
  flex-wrap: wrap;
}

.mark-icon {
  color: red;  /* ※マークを赤に */
  margin-right: 0.5em;
  font-size: 1.2em;
}

.note-text {
  color: #333;
}

/* モバイル対応調整（小さな画面で文字サイズを下げるなど） */
@media (max-width: 480px) {
  .junior-size-note {
    font-size: 0.9rem;
  }
}



/* 見出しスタイル */
.kobetsu_midashi {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 2rem 0 0.5rem;
  padding-left: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

.hr1 {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  margin-bottom: 1rem;
}

/* 商品グリッドレイアウト */
.container_wear {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  height: 100%; /* 高さを揃える */
}

/* 商品カードスタイル */
.item_wear {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.item_wear:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.item_wear a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.item_wear img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  aspect-ratio: 1 / 1;
}

/* 商品情報スタイル */
.hinmei {
  line-height: 1.5;
  font-size: 0.9rem;
  margin-top: auto;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
}

.product-code {
  font-weight: bold;
  margin-bottom: 0.25rem;
  text-indent: 0;/*スペースインデントを削除*/
  white-space: nowrap;/*折り返しを防止*/
  padding:0;
  margin:0 0 0.25rem 0;
  height: 1.5em;
  line-height: 1.5em;
  display: block;
}

.product-name {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  min-height: 2.7rem; /* 2行分の高さを確保 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* サイズ表示バッジ */
.jr {
  display: inline-block;
  background-color: var(--accent-color);
  color: #333;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  margin: 0.25rem 0.25rem 0.25rem 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  white-space: nowrap; /* 改行を防止 */
}

/* バッジを含む親コンテナ */
.hinmei > div:nth-child(4) {
  min-height: 2.5rem; /* バッジを含む領域の最小の高さを固定 */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 価格表示 */
.price-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.price-maker {
  color: var(--text-color); /* メーカー単価は黒色に */
  font-weight: normal;
}

.price-our {
  color: #d32f2f; /* 弊社単価は赤色に */
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .container_wear {
    grid-template-columns: repeat(3, 1fr);
    width: 95%;
  }
}

@media (max-width: 768px) {
  .container_wear {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .kobetsu_midashi {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .container_wear {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hinmei {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }
  
  .kobetsu_midashi {
    font-size: 1.2rem;
    text-align: center;
    border-left: none;
    border-bottom: 2px solid var(--primary-color);
    padding-left: 0;
    padding-bottom: 0.5rem;
  }
}

/*会社案内ページ＿改修070515*/

.company-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
  max-width: 900px;
  margin: 0 auto;
}

.company-title {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 30px;
  font-weight: bold;
}

.company-title i {
  margin-right: 10px;
  color: #007bff;
}

.company-info dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 15px;
  column-gap: 20px;
  font-size: 1.05em;
  color: #333;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.company-info dt {
  font-weight: bold;
  color: #010b16;
}

.company-info dd {
  margin: 0;
}

.company-map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

/* ▼ スマホ対応 */
@media screen and (max-width: 600px) {
  .company-info dl {
    grid-template-columns: 1fr;
  }

  .company-info dt {
    margin-top: 10px;
  }
}

/*終わり*/

.video-slider {
  position: relative;
}
.video-slide {
  position: relative;
}
.video-slider video {
  width: 100%;
  height: 364.5px; /* 243px × 1.5 */
  object-fit: cover;
  display: block;
  background: #000;
}
@media (max-width: 600px) {
  .video-slider video {
    height: 202.5px; /* 135px × 1.5 */
  }
}
.video-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 2;
  pointer-events: none;
  letter-spacing: 0.08em;
}
@media (max-width: 600px) {
  .video-caption {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s;
    padding: 20px;
  }
  .navbar.show {
    left: 0 !important;
  }
}

.slider-video {
  width: 90%;
  margin: 0 auto;
  display: block;
}