/* ==================================================
   01. 共通設定
================================================== */

html {
  scroll-behavior: smooth;
}

.page {
  font-size: 15px;
  line-height: 1.75;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  overflow: visible;
}

.page *,
.page *::before,
.page *::after {
  box-sizing: inherit;
}

.page main {
  margin: 0;
  background: #fff;
  color: #282828;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

#main3 {
  overflow: visible;
}


/* ==================================================
   02. メインビジュアル
================================================== */

.page .hero {
  position: relative;
  width: 100vw;
  height: 480px;
  /* 親要素が画面より広い場合は、正方向へずらさない */
  margin-left: min(0px, calc(50% - 50vw));
  overflow: hidden;
}

.page .hero img {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 2400px;
  max-width: none;
  height: 480px;
  transform: translateX(-50%);
}

/* ==================================================
   03. ページ内アンカー
================================================== */

.page .anchors {
  width: 100vw;
  min-height: 220px;
  padding-bottom: 27px;
  /* hero と同じ基準で画面左端に合わせる */
  margin-left: min(0px, calc(50% - 50vw));
  padding-top: 27px;
  background: #9dced0;
  color: #fff;
  text-align: center;
}

.anchors > p {
  margin: 0 0 21px;
  font-size: 18px;
  font-weight: 700;
	text-align: center;
}

.anchor-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.anchor-grid a {
  width: 304px;
  min-height: 118px;
  padding: 10px;
  border: 4px solid #fff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  color: #383838;
  text-decoration: none;
}

.anchor-grid small {
  display: block;
  font-size:15px;
}
.anchor-grid span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
}

.anchor-grid b {
  display: block;
  font-family: serif;
  font-size: 26px;
}

.anchor-grid em,
.heading em {
  color: #ef5d4d;
  font-style: normal;
}

/* ==================================================
   04. 各エプロンタイプ紹介
================================================== */

.type-section {
  width: 914px;
  margin: 0 auto;
  padding-top: 36px;
}

.type-section + .type-section {
  padding-top: 72px;
}

/* セクション見出し（共通） */
.heading {
  text-align: center;
}

.heading small {
  font-size: 15px;
  display: block;
  color: #b6ad38;
  font-family: serif;
}

.heading h2 {
  margin: 4px 0 16px;
  font-family: serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

.type-section .heading {
  border-bottom: 1px solid #333;
}

/* セクション導入文 */
.lead {
  margin: 15px -20px 26px;
  font-family: serif;
  font-size:15px;
  line-height: 1.85;
  text-align: center;
}

/* スタッフコメント */
.comment {
  display: grid;
  grid-template-columns: 1fr 402px;
  gap: 26px;
  padding: 20px;
  background: #f2f2f2;
}

.comment > div {
  font-family: serif;
	margin: 5px 15px;
}

.comment img {
  border-radius: 12px;
  object-fit: cover;
}

.comment .staff {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 4px 7px 4px 0;
  overflow: visible;
  background: #cbe7e2;
  color: #178e88;
}

.comment .staff img {
  display: block;
  flex: none;
  width: 52px;
  height: 52px;
  max-width: none;
  margin: -19px 4px -6px -8px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.comment h3 {
  margin: 12px 0 7px;
  font-size: 22px;
}

.comment ul {
  margin: 0;
  padding: 0;
  color: #008e88;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.comment p {
  margin-top: 10px;
  font-size:15px;
  line-height: 1.75;
}


/* ==================================================
   05. 商品一覧・商品カード
================================================== */

.products {
  display: grid;
  gap: 24px;
  margin-top: 52px;
}

/* 3列の商品一覧 */
.products.three {
  grid-template-columns: repeat(3, 1fr);
}

/* 2列の商品一覧 */
.products.two {
  grid-template-columns: repeat(2, 280px);
  justify-content: start;
}

.product {
  min-height: 635px;
  border: 1px solid #d9d9d9;
  background: #fff;
}

.product > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product img {
  display: block;
  width: 100%;
  height: 337px;
  object-fit: cover;
}

.product-text {
  padding: 15px 15px 16px;
}

.product-text > small {
  font-size: 15px;
  display: block;
  text-align: center;
}

.product h3 {
  margin: 3px 0;
  font-size:18px;
}

.code {
  display: block;
  color: #666;
  font-size:13px;
  line-height: 1.5;
}

.product strong {
  display: block;
  margin: 13px 0;
  font-size:17px;
	color: #333;
}

.product strong small {
  font-size: 12px;
  font-weight: 400;
}

.product p {
  min-height: 34px;
  font-size: 15px;
  line-height: 1.75;
}

.product blockquote {
  min-height: 84px;
  margin: 10px 0;
  padding: 10px 13px;
  background: #f5f5f5;
  font-size: 15px;
  line-height: 1.75;
}

.product blockquote h4 {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: #008e88;
}

.button {
  display: block;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #6b001f;
  color: #6b001f;
  font-size:15px;
  text-align: center;
}
.button:hover {
    background: #6b001f;
    color: #fff;
}

/* ==================================================
   06. エプロン関連カテゴリ
================================================== */

.related {
    margin: 84px auto 0;
    padding: 50px;
    background: #f1f2f4;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.related .heading {
  width: 670px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.related .heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  margin: 3px 0 30px;
  padding-right: 70px;
  padding-left: 70px;
  position: relative;
}
.related .heading h2:after {
    content: "";
    width: 49px;
    height: 52px;
    background: url(https://gigaplus.makeshop.jp/thsfood/images/page/hip-apron/icon-search.png) no-repeat center / contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 670px;
  margin-right: auto;
  margin-left: auto;
}

.category-grid a {
  position: relative;
  display: flex;
  align-items: center;
  width: 200px;
  min-height: 100px;
  padding: 12px 78px 12px 12px;
  border: 1px solid #aaa;
  background: #fff;
  color: #222;
  font-weight: 700;
  text-decoration: none;
}

.category-grid img {
  position: absolute;
  right: 5px;
  bottom: 0;
  max-width: 92px;
  max-height: 90px;
}


/* ==================================================
   07. スタッフブログ
================================================== */

.pickup {
  margin: 0 auto;
  padding: 50px;
  background: #e0f2f2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.pickup .heading h2 {
  margin: 3px 0 30px;
  font-size: 25px;
}
.pickup-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    background: #fff;
	width: 900px;
	margin: 0 auto;
}
.pickup-row > div{
	padding: 20px 0;
} 
.pickup-row .pickup-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.pickup-row .pickup-link:focus-visible {
  outline: 2px solid #425785;
  outline-offset: 3px;
}

.pickup-row > img {
  width: 400px;
  object-fit: cover;
}

.pickup-row h3 {
  margin: 0 0 8px;
  font-family: serif;
  font-size: 18px;
}

.pickup-row p {
  margin: 0;
  font-size:15px;
  line-height: 1.6;
}
.pickup-row .readmore {
    margin-top: 10px;
    color: #425785;
	text-decoration: underline;
}
.pickup-row span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-top: 8px;
    padding: 5px 0 5px 5px;
    overflow: visible;
    background: #f1f2f4;
    font-size:15px;
}

.pickup-author img {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  max-width: none;
  margin: -19px 0 -6px 0;
  object-fit: contain;
}



/* ==================================================
   08. 試着サービス案内
================================================== */

.fitting {
  margin: 95px auto 0;
}

.fitting .heading h2 {
  font-size: 30px;
	position: relative;
	margin: 60px 0;
}
.fitting .heading h2:before {
    content: "";
    background: url(https://gigaplus.makeshop.jp/thsfood/images/page/hip-apron/icon-fan1.png) no-repeat 100%;
    position: absolute;
    top: -20%;
    right: 8.5%;
    transform: translate(0, -50%);
    padding: 45px;
}
.fitting .heading h2:after {
    content: "";
    background: url(https://gigaplus.makeshop.jp/thsfood/images/page/hip-apron/icon-fan2.png) no-repeat 100%;
    position: absolute;
    top: 130%;
    left: 10%;
    transform: translate(0, -50%);
    padding: 80px;
}
	
.fitting-row {
  display: grid;
  grid-template-columns: 500px 400px;
  gap: 54px;
  justify-content: center;
}

.fitting-row p {
  font-family: serif;
  font-size:15px;
  line-height: 2.05;
}

.fitting-row a {
  display: block;
  width: 423px;
  margin-top: 55px;
  padding: 20px;
  border-radius: 40px;
  background: linear-gradient(90deg, #ffb133, #f86d62);
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.fitting-row img {
  width: 360px;
  height: 405px;
  object-fit: contain;
}
.fitting strong{
  background: linear-gradient(transparent 40%, #fdf8af 30%);
  font-size: 16px;
  font-weight: bold;
	color: #333;
}

/* ==================================================
   09. よくあるご質問
================================================== */

.faq {
  width: 700px;
  margin: 75px auto 0;
}

.faq .heading h2 {
  font-size: 30px;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid #ccc;
  font-size:15px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
	margin: 10px 0;
    font-weight: bold;
}

.faq summary::after {
  content: "+";
  float: right;
}

.faq-answer {
  background: #f7f7f7;
  padding: 15px;
}

.faq-answer p {
  margin: 0 0 10px;
}
.faq-answer a {
  color: #425785;
  text-decoration: underline;
}

/* FAQ下部の注意書き */
.notes {
    padding: 25px;
    background: #f7f7f7;
    color: #737272;
    line-height: 1.8;
    text-align: center;
    margin: 40px auto;
}
