@CHARSET "UTF-8";

/* PC用スタイル */

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');

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

html {
  scroll-padding-top: 60px;
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  line-height: 1.6rem;
  font-family: "Noto Sans JP", "Noto Sans Japanese", "メイリオ", sans-serif;
  color: #000000;
  background: url(pic/back1.jpg) top left repeat;
  background-size: 30% auto;
  min-height: 100vh;
}

/* back1の上に余白をあけてback2エリア */
.back2-area {
  margin: 32px auto;
  padding: 32px;
  max-width: 1200px;
  background: url(pic/back2.jpg) top left repeat;
  background-size: 35% auto;
  border-radius: 16px;
  min-height: 60vh;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
}

/* 内容エリア：白背景 */
#allbox {
  display: block;
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  padding: 32px 24px 48px;
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

a[href] {
  text-decoration: none;
  color: #DB4600;
}

a[href]:hover {
  color: #FF9462;
}

.titlepicture {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto;
}

/* 読み込み中表示 */
#loadingbox {
  z-index: 1000;
  background-color: #ffffff;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
}

.screencenter {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* スマホ用ハンバーガーは非表示 */
.nav-toggle {
  display: none !important;
}

#topnav {
  display: block;
}

#topbuttonbox {
  display: flex;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

a.topbutton {
  flex: 1;
  display: block;
  text-align: center;
  background-color: #e73278;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 10px 8px;
  font-size: 0.95em;
  font-family: "Noto Sans JP", "Noto Sans Japanese", "メイリオ", sans-serif;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

a.topbutton:hover {
  background-color: #f39800;
  color: #ffffff;
  border-color: #ffffff;
}

#bottom {
  position: relative;
  left: 0;
  background-color: #f5f5f5;
  width: 100%;
  font-size: 0.8rem;
  line-height: 1.4rem;
  text-align: center;
  padding: 12px;
  margin-top: 24px;
  border-radius: 0 0 12px 12px;
}

.expandfont {
  font-weight: 700;
}

.redfont {
  color: #ff3322;
}

a.linkbutton {
  display: inline-block;
  background-color: #FF6E0E;
  padding: 10px 20px;
  margin: 8px;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
}

a.linkbutton:hover {
  background-color: #e65c00;
}

.pagetitlebox {
  margin-bottom: 24px;
}

.wordbox {
  margin: 24px 0;
  border: 4px solid #e73278;
  padding: 0 20px 20px;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.subtitlebox {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background-color: #e73278;
  color: #ffffff;
  padding: 18px 20px 14px 20px;
  font-size: 1.3rem;
  font-weight: 700;
  /* 枠線(4px)+padding(20px)分はみ出して角の隙間を解消 */
  margin: -4px -24px 16px -24px;
  border-radius: 8px 8px 0 0;
  box-sizing: content-box;
}

.chapter {
  display: table;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background-color: #f39800;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  margin: 12px 0 16px 0;
}

.detailbox {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.centering {
  text-align: center;
}

.goodspicbox {
  padding: 8px;
}

.goodspicbox img {
  max-width: 500px;
  width: 100%;
  display: block;
  margin: 16px auto;
  border: 2px solid #9999ff;
  border-radius: 8px;
}

.goodspicbox:hover img {
  border-color: #FFB336;
}

.goodscom {
  border: 3px solid #FFA81B;
  border-radius: 12px;
  padding: 16px 24px;
  max-width: 700px;
  margin: 16px auto;
  background: #fffef5;
}

.goodsprice {
  display: table;
  padding: 8px 16px;
  font-weight: 600;
  background-color: #5960F7;
  color: #ffffff;
  border-radius: 8px;
  margin-top: 12px;
}

.clickandtap {
  font-size: 0.9em;
  text-align: center;
  margin-bottom: 8px;
  color: #666;
}
