/* --- フォントの指定 ------------------------------ */

/* ヒラギノ角ゴ：W3 を 400 に */
@font-face {
  font-family: "HiraGoFix";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Hiragino Sans W3"), local("Hiragino Kaku Gothic ProN W3");
}

/* ヒラギノ角ゴ：W6 を 700 に */
@font-face {
  font-family: "HiraGoFix";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("Hiragino Sans W6"), local("Hiragino Kaku Gothic ProN W6");
}

/* フォントをカスタムプロパティ（変数）に */
:root {
  --font-base:  "游ゴシック体","Yu Gothic UI", "YuGothic","游ゴシック", "Noto Sans JP","HiraGoFix", Meiryo;
  --font-accent: "Hiragino Mincho ProN", "Hiragino Mincho", "Yu Mincho", "Noto Serif JP";
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

/* ブラウザが勝手にフォントを合成して表示しない */
html {
  font-synthesis: none;
  overflow-x: hidden;
}

/* --- 全体にかかる設定 ------------------------------ */
body {
  font-family: var(--font-base), var(--font-emoji), sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* 「本文へスキップ」でスクロールしてきた際の上部の余白（固定メニューなどがある場合） */
main {
  scroll-margin-top: 100px;
}

/* 要素の上下に余白を付ける */
p,
hr,
ul,
ol,
dl,
table {
  margin-block-end: 2rem;
}

/* 見出しの上下に余白を付ける */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 2rem;
}

/* リスト項目のインデント */
ul,
ol {
  padding-inline-start: 2rem;
}

/* 表示・非表示 */
.disp-sp {
  display: block;
}
.disp-pc {
  display: none;
}

/* 定義 */
dt {
  font-weight: 700;
}

dd {
  margin-inline-start: 2rem;
}

/* 表 */
th {
  text-align: left;
  padding-right: 10px;
}

/* 強調 */
strong {
  font-weight: 700;
}

a:where(:any-link) {
  text-decoration: none;
  color: #333;
}
a:where(:hover,:active) {
  color: #ef8102;
}

:root {
  --main-font-color: #753f16;
  --bg-pale-color: #efece6;

  --tit-en-font: "PT Serif", serif;

  --first-letter-size: 3em;
  --font-size-message: 1.4rem;
}

h1 {
   font-size: 6vw;
  line-height: 1.2;
  font-style: italic;
  font-family: serif;
  text-align: right;
  margin: 0;
}

h1 small {
  font-size: 0.5em;
}

.visually-hidden {
  width: 0;
  height: 0;
  visibility: hidden;
  position: absolute;
  z-index: -999;
}

/* --- メインコンテンツ ------------------------------ */

.hero-img img {
  display: block;
  width: 100%;
}
/* toytoy logo */
.hero-img div:has(>img):nth-of-type(1) {
  width: 60%;
  margin: 1rem auto;
}

.lead {
  text-align: center;
  font-size: var(--font-size-message);
  margin: 3rem 0 1rem;
  letter-spacing: 0.1em;
}
/* ケーキの種類 */

.secton--cake-sort dt {
  color: var(--main-font-color);
  font-size: 1.7rem;
  font-family: var(--tit-en-font);
  line-height: 1;
  letter-spacing: 0.03em;
}

.secton--cake-sort dt:first-letter {
 font-size: var(--first-letter-size);
}

.secton--cake-sort dd {
  background-color: var(--bg-pale-color);
  margin: -9px 0 0;
  padding: 20px 25px;
}
/* 3つのポイント*/
.section--apeal {
  background: url(images/bg.jpg) no-repeat top / cover;
  padding: 3rem 0;
}

.section--apeal .container {
  padding: 0 15px;
}

.section--apeal ul {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  display: flex;
  gap: 0 20px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
}

.section--apeal li {
  padding: 30px 15px;
  background-color: #fff;
  flex-basis: 43%;
  text-align: center;
  border-radius: 50vh;
  line-height: 1.5;
}
.section--apeal li span {
  display: block;
}

.section--apeal li img {
  max-width: 120px;
  width: 25vw;
  margin: 0 auto;
}
/* メッセージ */
.section--message {
  padding: 2.5rem 0;
}
.section--message p {
  font-size: var(--font-size-message);
  letter-spacing: 0.1em;
  line-height: 2;
  white-space: nowrap;
}

.section--message div:has(>img) {
  width: 80%;
  margin-left: auto;
}
/* お知らせ */
.section--news h2 {
  color:var(--main-font-color);
  font-size: 1.7rem;
  font-family: var(--tit-en-font);
  line-height: 1;
  letter-spacing: 0.03em;
  margin: 0;
}

.section--news h2::first-letter {
  font-size: var(--first-letter-size);
}


.section--news .container {
  position: relative;
}

.news-more {
  margin-top: -1rem;
  font-size: 0.8rem;
  position: absolute;
  right: 2rem;
  top: 3.5rem;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding-right: 1rem;
}

.news-more a::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.news-more a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  position: absolute;
  margin-left: 45px;
  margin-top: 6px;
}

.section--news dl {
  background-color: var(--bg-pale-color);
  padding: 3rem 25px;
  margin-top: -9px;
  margin-inline: -25px;
}

.section--news dt {
  font-size: 0.8rem;
}

.section--news dd {
  margin: 1rem 0 1.5rem 0;
  font-size: 1.1rem;
}

/* instagram */

.instagram-btn {
  margin: 3rem 0 1rem;
}

.instagram-btn a {
  display: block;
  max-width: 450px;
  margin-inline: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15),
  0 2px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.instagram-btn a:hover {
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

/* Access & Contact */
.section--access {
  margin-bottom: 3rem;
}

.section--access h2 {
  font-family: var(--tit-en-font);
  font-size: 1.6rem;
  color: var(--main-font-color);
  text-align: center;
  margin: 2rem 0 1rem;
}

.section--access .box {
  display: grid;
  gap: 1rem;
}

.section--access .box :is(img, iframe) {
  filter: sepia(0.2) grayscale(0.1);
}

.section--access .box div:has(>img) {
  position: relative;
}

.section--access .box div:has(>img)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(214, 196, 156, 0.4), transparent 20%);
}

.section--access .box div:has(iframe) {
  border: 1px solid #d1c3a9;
}

.address h3 {
  text-align: center;
  margin: 2rem 0 -1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .address h3::before,
  .address h3::after {
    content: '';
    width: 40px;
    height: 1px;
    background-color: #999;
  }
  
  .address h3::before {
    margin-right: 20px;
  }
  .address h3::after {
    margin-left: 20px;
  }

.address th {
  font-size: 0.85rem;
  color: var(--main-font-color);
}

.address table {
  margin: 1rem auto 0;
  width: fit-content;
}

.address a {
  color: #333;
}

.address a:hover {
  opacity: 0.7;
}

footer {
  margin-top: auto;
  padding: 1rem 0 2rem 0;
  text-align: center;
  color: #fff;
  background-color: #35291e;
}

address {
  margin: 1rem;
  text-align: center;
}

address img {
  margin: 0 auto;
  width: 200px;
}

.copyright {
  margin: 0;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* --- 位置 ------------------------------ */

.text-center {
  text-align: center;
}

/* --- ボタン共通 ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 25px;
  min-height: 48px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    color 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease;
  cursor: pointer;
}

/* クリックされたときのアニメーションの解除 */
.btn:active {
  transition: none;
}

/* キーボード操作用 */
.btn:focus-visible {
  outline: 3px solid #36f;
  outline-offset: 3px;
}


/* --- お知らせ詳細 ------------------------------ */

img.tit {
  width: 160px;
  margin: 1rem auto 0 auto;
}

h2.news-tit {
  font-size: 1.2rem;
  border-bottom: 1px solid #333;
  padding: 1rem 0;
  letter-spacing: 0.1rem;
}

.news-date {
  text-align: right;
  font-size: 0.8rem;
}

.detailText {
  font-weight: normal;
}

.detailUpfile img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  padding: 1rem 0;
}


/* --- 戻るボタン ------------------------------ */
.back-btn {
  color: #333;
  background-color: var(--bg-pale-color);
  margin: 3rem 0 2rem 0;
}

.back-btn:hover {
  color: #fff;
  background-color: var(--main-font-color);
}

.back-btn:active {
  background-color: #333;
}

/* --- コンテナ --- */
/* sp */
.container {
  margin: 0 auto;
  padding: 0 25px;
  width: 100%;
  max-width: 1024px;
}

/* --- メディアクエリ設定用 ------------------------------ */
/* tb */
@media (min-width: 768px) {
  .container {}


/* 表示・非表示 */
.disp-sp {
  display: none;
}
.disp-pc {
  display: block;
}
/* --- メインコンテンツ ------------------------------ */

.hero-img {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
/* toytoy logo */
.hero-img div:has(>img):nth-of-type(1) {
  grid-column: 2 / 3;
  width: 60%;
  margin: 1rem auto 1rem 8vw;
}
/* top img*/
.hero-img div:has(>img):nth-of-type(2) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.lead {
  margin-top: 6rem;
}

/* 3つのポイント*/

.section--apeal {
  padding: 6rem 0 11rem;
  margin-top: 5.5rem;
}

.section--apeal ul {
  display: flex;
  gap: 0 45px;
  flex-wrap: nowrap;
}

.section--apeal li {
  padding: 60px 15px 55px;
}

.section--apeal li span {
  margin-bottom: 1rem;
}

/* メッセージ */

.section--message .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section--message div:has(>img) {
  margin-top: -7rem;
  width: min(55vw, 820px);
  margin-right: -25px;
}

/* お知らせ */

.section--news dl {
  padding: 3rem 4rem;
  margin-inline: 0;

  display: grid;
  grid-template-columns: 170px 1fr;
  column-gap: 10px;
  row-gap: 20px;
  align-items: center;
  margin-bottom: 6rem;
}

.section--news dt {
  grid-column: 1;
  font-size: 0.8rem;
}

.section--news dd {
  grid-column: 2;
  margin: 0;
}

.section--news dt::after {
  content: '';
  display: inline-block;
  width:3rem;
  height: 1px;
  background-color: #000;
  margin: auto 0 5px 30px;
}

.section--news dd {
  margin: 0;
}

/* instagram */

.instagram-btn {
  margin-bottom: 5rem;
}


   /* Access & Contact */
   .section--access h2 {
  margin-bottom: 2rem;
}

  .section--access .box {
    grid-template-columns: 48% auto;
    gap: 1rem;
  }

  .section--access .box img {
    position: relative;
    height: 100%;
    object-fit: cover;
  }

  .section--access .box iframe {
    vertical-align: bottom;
  }

  .address table {
    margin-top: 2rem;
  }

  .address table {
    pointer-events: none;
  }

  img.tit {
    width: 220px;
  }

}

/* pc */
@media (min-width: 1025px) {

  /* メッセージ */

  .section--apeal {
  padding: 6.5rem 0 13rem;
}
  .section--message div:has(>img) {
  margin-top: -9rem;
  margin-right: calc((-100vw + 1025px) / 2 - 25px);
}
}

/* pc-l */
@media (min-width: 1440px) {

   /* メッセージ */
  .section--message div:has(>img) {
  margin-top: -7rem;
  margin-right: -232px;
}
}
