*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
html,
body {
  color: #222;
  font-family: sans-serif;
  font-size: 1rem; /* 16px */
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  overflow-x: hidden;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  height: auto;
  max-width: 100%;
}

p {
  font-size: 0.875rem;
  font-weight: bold;
  font-feature-settings: "palt" 1;
  -webkit-font-feature-settings: "palt" 1;
  -moz-font-feature-settings: "palt" 1;
  line-height: 1.75;
}

.wrap {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  background-color: #ffd972;
  background-image: url("../images/index/bkg-pattern.png");
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 1.125rem;

  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

.sidebar > div {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  max-height: 770px;
  row-gap: 1rem;
}

.sidebar.right > div {
  justify-content: flex-end;
}

.sidebar .logo {
  margin: 0 auto;
  margin-bottom: 3rem;
  max-width: 266px;
  width: 100%;
}

.content {
  width: 390px;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: #f6f6f6;
}

/* スマホ対応：画面が390px未満なら中央だけ表示し可変にする */
@media screen and (max-width: 769px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .content {
    width: 100%;
    flex: 1;
  }
}

section + section:not(.cover) {
  margin-top: 3.75rem;
  padding: 1.75rem;
}

section + section:not(.cover) img {
  margin-left: auto;
  margin-right: auto;
}

section + section:not(.cover) > * + * {
  margin-top: 1.75rem;
}

h2 {
  font-size: 2.5rem;
  font-feature-settings: "palt" 1;
  -webkit-font-feature-settings: "palt" 1;
  -moz-font-feature-settings: "palt" 1;
  line-height: 1.25;
}

.section01,
.section02,
.section04 {
  background-color: #ff9fb0;
  border-radius: 195px 0 195px 0;
}

.section01 {
  background-image: url("../images/index/bkg-tool.png");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 40% auto;
}

.section02 {
  background-color: #ffcf49;
  background-image: url("../images/index/kodomoshita.png?202505301449");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 33% auto;
}

.section04 {
  background-color: #2c2c2c;
  border-radius: 0 195px 0 0;
  padding-bottom: 0.75rem;
  padding-top: 0;
}

.marquee {
  overflow: hidden;
}

.marquee.right.recipe {
  margin-left: -1.75rem;
  width: calc(100% + 3.5rem);
}

.marquee ul {
  display: flex;
  margin: 0;
  padding: 0;
  width: max-content;
}

.marquee.right ul {
  animation: marquee-right 20s linear infinite;
}

.marquee.left ul {
  animation: marquee-left 20s linear infinite;
}

.marquee.right.recipe ul {
  animation: marquee-right 20s linear infinite;
}

.marquee ul li {
  list-style: none;
  padding: 0 10px;
}

.marquee.right.recipe ul li {
  padding: 0 5px;
  position: relative;
}

.marquee.right.recipe ul li::after {
  background-color: #222;
  border-radius: 999em;
  color: #fff;
  content: "✨ 似た嗜好";
  display: inline-block;
  font-size: 10px;
  font-weight: bold;
  margin-left: 0.5em;
  margin-top: -2.5em;
  padding: 0.5em 1em;
  position: absolute;
  z-index: 1;
}

@keyframes marquee-right {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-left {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}

.cover {
  aspect-ratio: 390/872;
  background-image: url("../images/index/bkg-cover.png?202505301449");
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.cover .logo {
  margin: 0 auto;
  margin-top: 4rem;
  max-width: 245px;
  width: 100%;
}

.cover .copy span {
  display: block;
  font-size: 0.75rem;
  margin-top: 1em;
}

.cover .marquee + .marquee {
  margin-top: 0.75rem;
}

.cover .message {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 1em;
}

.cover .message span {
  position: relative;
}

.cover .message span::after {
  background-image: url("../images/index/wave.png?202505301449");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  height: 10px;
  width: 100%;
}

.balloon {
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  text-align: center;
}

.balloon span {
  font-size: 1.625rem;
}

.balloon::before,
.balloon::after {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  display: block;
  width: 100%;
}

.balloon::before {
  background-image: url("../images/index/balloon_top.png?202505301449");
  margin-bottom: 0.875rem;
  height: 3px;
}

.balloon::after {
  background-image: url("../images/index/balloon_bottom.png?202505301449");
  margin-top: 0.875rem;
  height: 18px;
}

.service-logo {
  background-color: #fff;
}

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

.attention-body {
  color: #6b6b6b;
  font-size: 10px;
  font-weight: normal;
  margin-top: 1rem;
}

.footer {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.footer > div {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  row-gap: 10px;
}

.footer > div:first-child {
  max-width: 156px;
  padding-bottom: 1rem;
}

.footer-logo {
  padding: 2rem 0 1rem 0;
}

.footer-logo span {
  display: block;
  font-weight: normal;
  margin-bottom: 10px;
}

.footer .copy {
  color: #fff;
  display: block;
  font-size: 10px;
  line-height: 1.25;
}

.footer .phone {
  max-width: 160px;
}

.attention {
  padding: 1.75rem;
}

.attention * {
  font-size: 0.875rem;
  font-weight: normal;
  font-feature-settings: normal;
  -webkit-font-feature-settings: normal;
  -moz-font-feature-settings: normal;
  line-height: 1.75;
}

.attention > * + * {
  margin-top: 1.75rem;
}

.attention > * + h2 {
  margin-top: 3.75rem;
}

.attention h2 {
  font-size: 1.5rem;
  font-feature-settings: "palt" 1;
  -webkit-font-feature-settings: "palt" 1;
  -moz-font-feature-settings: "palt" 1;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

.attention h2 span {
  display: block;
  font-size: 0.875rem;
}

.attention h3 {
  font-size: 1.25rem;
  font-feature-settings: "palt" 1;
  -webkit-font-feature-settings: "palt" 1;
  -moz-font-feature-settings: "palt" 1;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

.attention ul li {
  font-weight: bold;
}

.attention ul li + li {
  margin-top: 1.75rem;
}

.attention ul li span {
  font-weight: normal;
  display: block;
}

.attention ul li span.note {
  font-size: 10px;
}

.attention .center {
  text-align: center;
  font-weight: bold;
}
