
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Meiryo", sans-serif;
  background-color: #f8d0d3;
  color: #333;
  line-height: 1.7;
}
a {
  color: #333;
  text-decoration: none;
}
a:link {border-bottom:dotted #000 1px;
}
#tablet-scale-container {
  width: 100%;
  position: relative;
}


.wrapper {
  width: 960px;
  margin: 0 auto;
  background-color: #f8d0d3;font-size:16px;
}

/* ===== フェードインエフェクト ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 視覚的に隠すが、スクリーンリーダーには読ませる ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.header .logo img {
  display: block;
}
.header .header-link a {
  background: #ac8dba;
  border-radius: 100%;
  width: 79px;
  height: 79px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
font-weight:700;
	color:#fff;
  text-align: center;line-height: 1.2;
}
.header .header-link a:hover {  background:#957297;}

/* メインビジュアル（動画・元画像エリアサイズに固定） */
.main-visual {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  width: 960px;
  height: 450px;
  overflow: hidden;
}
.main-video {
  display: block;
  width: 960px;
  height: 450px;
  object-fit: cover;
  background: #000;
}
.main-video-end {
  display: none;
  width: 960px;
  height: 450px;
  object-fit: cover;
  background: #000;
}
.main-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

/* 縦書きテキストエリア */

.vertical-text-area {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  width: 960px;
  height: 380px;
  margin: 0 auto 20px;
  padding: 5px 0;
	gap: 3.3em;font-size:20px;
}
.vtext-col {margin:0 5px 0 0;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -1px;
  flex: 1;
  height: 100%;
}
.vtext-noscript {
  width: 960px;
  margin: 0 auto 30px;
  font-size: 16px;
}

/* ショートカットボタン（nav > ul > li 構造） */
.shortcut-buttons {
  width: 960px;
  margin: 0 auto 60px;
  background-image: linear-gradient(178deg, #6caaf0, #fac8f4);
  border: #000 solid 1px;
  box-shadow: 4px 4px;
}
.shortcut-buttons a:link {border:none;}

.shortcut-buttons ul {
  display: flex;
  justify-content: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.shortcut-buttons li {
  flex: 0 0 299px;
  margin: 0;
  padding: 0;
}

.shortcut-btn {
  display: block;
  text-align: center;
}

.shortcut-btn img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* TVアニメ『あかね噺』と五木食品の紹介 */
.intro-images {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}
.intro-col {width: 367px;padding:0;margin:0 0 20px 0;
}
.intro-col.sub {padding:0;margin:0;
}
.intro-col img {
  display: block;
}
.intro-text {width:345px;
  font-size: 1.2em;
  margin-top: 10px;
  text-align: justify;
}
.intro-text div{
  text-align:left;
}
.intro-text .cap{
  font-size: 14px;
}
.intro-text .sml{
  font-size: 14px;line-height:1.5 ;padding:0;margin:5px 0;
}
/* 項目セクション共通 */
.item-section {
  margin-bottom: 30px;
}
.item-heading {
  width: 960px;height: 80px;
  margin:0px;padding: 0;
  background-image: linear-gradient(178deg, #6caaf0, #fac8f4);
  border: #000 solid 1px;
  box-shadow: 4px 4px;
}
.item-heading img {
  margin:8px 9px;padding: 0;
}
.item-desc {
  margin:20px 10px 10px 10px;font-size:18px;text-align: justify;
}

/* 商品画像3カラム */
.product-3col {
  width: 960px;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0 10px;
}

.product-col {
  width: 300px;
  margin: 0 15px;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.product-col img {
  width: 274px;
  height: auto;
  display: block;
}

.product-text {
  margin: 10px;text-align: justify;font-size:16px;
}

/* 商品画像単体 */
.product-single img {
  display: block;
  margin: 0;
}

/* スペック表（DIV2カラム） */
.spec-table {
  background: #fff;
  border: 1px solid #999;
  display: flex;
  justify-content: space-around;padding-bottom:10px;
  margin-bottom: 20px;
}


.spec-col {
  padding: 10px 20px 0px 0px;
}

/* CTAボタン */
.cta-button {
  text-align: center;
  margin-bottom: 30px;
}
.cta-button a:link{border:none;}
.cta-link {
  display: inline-block;
  padding: 0;
}

/* 補足説明文 */
.footer-text {
  background: #fff;
  border: 1px solid #999;
  padding: 10px;
  margin-bottom: 30px;
}
.footer-text p{padding:0;margin:0; }

/* フッター */
.footer {
  text-align: center;
  padding: 5px 0 10px 0;
  font-size: 15px;
}
/* ===== ページトップへ戻るボタン ===== */
.page-top-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 100px;
  height: 100px;
  padding: 0;
  border: 1px solid #999;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 30px;
  line-height: 2;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

.page-top-button.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top-button:hover {
  background: #f0f0f0;
}

.page-top-button:focus-visible {
  outline: 2px solid #333;
  outline-offset: 3px;
}
