@charset "utf-8";
/* CSS Document */
	
.sp_br{
    display: none;
	    display: block;
}	

/* 矢印共通スタイル */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(128, 128, 128, 0.4); /* 半透明グレー */
  border: none;
  cursor: pointer;
  z-index: 10;
}

.arrow::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
}


/* テキストボックス*/
.textbox_01 {
	margin: 20px 0;
	  line-height: 1.4em;
}
.pc-only-br {
  display: none;
}
/* PCサイズ設定（タブレット以上：2カラム） */
@media (min-width: 768px) {
  .textbox_01 {
text-align: center;
	  line-height: 1.4em;
  }
	.pc-only-br {
    display: inline; /* ここで改行を有効化 */
  }

}



.contents_box{
margin: 0 0 80px 0;
		}	
		.contents_box h2	 {
font-size: 1.6em;
		margin: 60px 0 40px;
    font-weight: bold;
			text-align: center;
		}
@media (max-width: 768px) {
	.contents_box h2	 {
font-size: 1.4em;
		margin: auto;
		}
.item-title-wrap1{
    padding-top: 0;
	
}
}

/* ★ボタン関連★ */

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center; 
			background-color: #344d90;
			padding: 20px;
}

.button-container a {
  width: calc(24% - 10px); /* PCでは4つ並び */
  min-width: 100px;
	      background-color: #c33; /* 赤色 */
      border: none;
      border-radius: 10px;
      padding: 20px 5px;
      position: relative;
      text-align: center;
      cursor: pointer;
}

/* スマホ対応（2つ並び、中央寄せ） */
@media screen and (max-width: 768px) {
  .button-container a {
    width: calc(45%); /* 2つ並び（左右に余白） */
	  padding: 10px 5px;
  }
	
}

/* ★カルーセル連★ */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

/* トラック用ラッパー（切り取り） */
.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

/* トラック */
.carousel-track {
  display: flex;
	display: -webkit-flex;
  transition: transform 0.3s ease;
	gap: 0px;
}

/* 画像 */
.carousel-track img {
  width: 100%;
  flex: 0 0 auto;
  object-fit: cover;
}

/* SP時（1枚表示） */
@media screen and (max-width: 768px) {
  .carousel-track img {
    width: 100%;
  }
}

/* PC時（3枚表示） */
@media screen and (min-width: 601px) {
  .carousel-track img {
    width: calc(100% / 3);
  }
}

/* 左矢印 */
.arrow.left {
  left: 10px;
}

.arrow.left::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

/* 右矢印 */
.arrow.right {
  right: 10px;
}

.arrow.right::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 非表示クラス */
.arrow.hidden {
  display: none;
}
/* スライド全体（画像＋キャプション） */
.slide {
  width: 100%;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
	box-sizing: border-box;
}

/* SP時（1枚表示） */
@media screen and (max-width: 768px) {
  .slide {
    width: 100%;
  }
}

/* PC時（3枚表示） */
@media screen and (min-width: 768px) {
  .slide {
    width: calc(100% / 3);
  }
}

/* 画像 */
.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* キャプション */


		.caption{
  margin-top: 8px;
  font-size: 1em;
  color: #333;
	line-height: 1.5em;
	text-align: left;
    margin: 0 5px;
}
	.link-button {
      display: inline-flex;
      align-items: center;
      color: #d33; /* 赤系の色 */
      text-decoration: none;
      font-size: 16px;
      font-weight: bold;
		margin: 10px 0;
    }

    .link-button::after {
      content: '';
      display: inline-block;
      margin-left: 6px;
      width: 16px;
      height: 16px;
      background-color: #d33;
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M10 17l5-5-5-5v10z"/></svg>') no-repeat center;
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M10 17l5-5-5-5v10z"/></svg>') no-repeat center;
      mask-size: contain;
      -webkit-mask-size: contain;
    }

  
	.link-button a:hover{text-decoration: none;    }
		.explanation {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 16px;
      padding: 16px;
			text-align: left;
			line-height: 1.4em;
    }

    .explanationimg {
      width: 400px;
		display: flex;
    }

    .explanationimg img {
     width: 100%;
      height: auto;
      display: block;
    }

    .explanationtxt {
      flex: 1;
		text-align: left;
		line-height: 1.8em;
    }


    @media (max-width: 768px) {

      .explanation {
        flex-direction: column;
        align-items: flex-start;
      }

      .explanationimg {
        width: 100%;
        text-align: center;
      }

      .explanationtxt {
        width: 100%;
        text-align: left;
      }
		 
    }
		
	 .btmarrow {
    background-color: #c33;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    }
		.btmarrow a{
      color: #fff;
    }

    .btmarrow::after {
      content: "▼";
      display: block;
      font-size: 12px;
      margin-top: 8px;
      color: #fff;
    }	
		
	 @media (max-width: 768px) {
      .btmarrow {
      padding: 5px;
		  font-size: 0.9em;
    }
		 
    }	
		.h3ebm{
      padding: 10px;
			color: #fff;
			background-color: #344d90;
			text-align: left;
			font-size: 1.8em;
			margin: 0 0 20px 0;
    }
	.contents-section1 .linkbtn01 {
    text-align: center;
		margin: 40px 0 0 0;
}

.contents-section h3 {
    font-size: 20px;
    padding: 0px;
    color: #fff;
    width: 80%;
}

		.contents-section1 .linkbtn01 a {
    background: #d33;
    border-radius: 10px;
    position: relative;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 10px 20%;
    color: #fff;
    transition: 0.3s ease-in-out;
    border: none;
    font-weight: normal;
    font-size: 18px;
}
		.contents-section1 .linkbtn01 a:after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 45%;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
		@media screen and (max-width: 768px) 
		{
		.contents-section1 .linkbtn01 a {
    padding: 10px 5%;
    font-size: 0.8em;

}
		.contents-section1 .linkbtn01 a:after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
}
		}
		:target {
  scroll-margin-top: 200px;
}








/* 1-1. 1列スライダー */
    .slider-outer {
      max-width: 1060px; /* 960px + 矢印用のスペース(50px * 2) */
      margin: 0 auto;
      position: relative;
      padding: 0 50px; /* 矢印を置くための左右の余白 */
      box-sizing: border-box;
    }

    /* 2. 商品が見えるエリア（ここは960px相当） */
    .slider-container {
      width: 100%;
      overflow: hidden;
    }

    .slider-wrapper {
      display: flex;
      transition: none;
    }

    .slide {
      flex: 0 0 100%;
      padding: 10px;
      box-sizing: border-box;
      text-align: center;
    }

    @media (min-width: 768px) {
      .slide {
        flex: 0 0 33.333%;
		  width: 33.333%;
      }
    }

    /* --- 装飾 --- */
    .product-img {
      background: #444;
      color: #fff;
      aspect-ratio: 4 / 3;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
      border-radius: 4px;
      transition: opacity 0.3s ease;
      cursor: pointer;
      text-decoration: none;
    }
		.product-img img {
			width: 100%;
    }

    .btn-detail {
      display: block;
      background-color: #dd3333;
      color: #fff;
      text-decoration: none;
      padding: 12px;
      border-radius: 5px;
      font-weight: bold;
		width: 100%;
    }

    .product-img:hover, .btn-detail:hover {
      opacity: 0.7;
    }

    /* --- 矢印ボタンの配置修正 --- */
    .nav-btn {
      position: absolute;
      /* 矢印を「画像の高さ」の中央に合わせる計算 */
      /* calc(画像の高さ半分 + 上の余白) */
      top: calc((100% - 60px) / 2); /* ボタンや余白を除いた画像エリアの中央 */
      transform: translateY(-50%);
      
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid #ddd;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* 矢印を外側に飛び出させる */
    .prev { left: 0; }
    .next { right: 0; }

    .nav-btn:hover {
      background-color: #e33;
      border-color: #e33;
    }

    .nav-btn::after {
      content: "";
      display: block;
      width: 10px;
      height: 10px;
      border-top: 3px solid #333;
      border-right: 3px solid #333;
    }

    .nav-btn:hover::after { border-color: #fff; }

    .prev::after { transform: rotate(-135deg); margin-left: 4px; }
    .next::after { transform: rotate(45deg); margin-right: 4px; }

    /* スマホでは矢印を少し内側に入れる */
    @media (max-width: 767px) {
      .slider-outer { padding: 0 30px; }
      .nav-btn { width: 36px; height: 36px; }
		 .btn-detail {
		width: 100%;
    }
			
    }
		
	/* リボン */
	.ribbon-headline {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #3b5193; /* メインの紺色 */
  color: #f6c344;      /* 文字の黄色 */
  padding: 15px 0;
  margin: 60px 20px 20px; 
  font-weight: bold;
  font-size: 1.4em;
		text-align: center
}

/* 両端の折り返し部分の共通設定 */
.ribbon-headline::before,
.ribbon-headline::after {
  content: "";
  position: absolute;
  top: 20px;           /* 上に少しずらして立体感を出す */
  z-index: -1;         /* 本体の後ろに配置 */
  border: 20px solid #2a3a6b; /* 本体の色より少し濃い色にするのがコツ */
}

/* 左側の折り返し（リボンの端） */
.ribbon-headline::before {
  left: -30px;
  border-left-color: transparent; /* 三角形に切り抜く */
}

/* 右側の折り返し（リボンの端） */
.ribbon-headline::after {
  right: -30px;
  border-right-color: transparent; /* 三角形に切り抜く */
}
		
/* 業態別 */
.tob_container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* カード同士の隙間 */
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* カードの基本設定（スマホ：1カラム） */
.card {
  width: 100%; /* スマホでは全幅 */
  box-sizing: border-box;
}

/* ヘッダー部分（アイコンと見出し） */
.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.header-icon {
  width: 40px; /* アイコンのサイズ */
  height: 40px;
  margin-right: 10px;
}

.tob_header-title {
  color: #dd3333;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

/* 商品画像エリア */
.tob_product-image {
  background-color: #000;
  aspect-ratio: 16 / 9; /* 画像のアスペクト比を固定 */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.tob_product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tob_btn {
  display: block;
  background-color: #dd3333;
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

.tob_btn:hover {
  opacity: 0.8;
}

/* PCサイズ設定（タブレット以上：2カラム） */
@media (min-width: 768px) {
  .card {
    width: calc(50% - 10px); /* 50%から隙間(gap)の半分を引く */
  }
	

}
