@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;800&display=swap");

:root {
  --key: #006934;
  --key-dark: #004f29;
  --accent: #f4c133;
  --bg: #f6faf7;
  --text: #1b1f1d;
  --muted: #5f6b63;
  --white: #ffffff;
  --header-height: 60px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}
.rsp_br{
  display: none;
}
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  max-width: 100%;
}

.emphasis {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--key-dark);
  background: #e8f3ec;
  padding: 0 0.3em;
  border-radius: 4px;
}

.site-header {
  background: transparent;
  position: relative;
  top: 0;
  z-index: 100;
  box-shadow: none;
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
}

.logo-group {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.logo-placeholder {
  background: transparent;
  color: var(--key-dark);
  padding: 0;
  border-radius: 0;
  font-weight: 700;
  width: 165px;
}

.logo-placeholder img {
  display: block;
  max-height: 72px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-placeholder.square {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    position: absolute;
    transform: translateY(36px);
    z-index: 101;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
    right: 0;
}

.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 0;
  z-index: 10;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/bg.jpg") center / cover no-repeat;
  animation: heroBgZoom 1.5s ease-out forwards;
}

@keyframes heroBgZoom {
  from {
    transform: scale(1.1);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-inner {
  display: block;
  z-index: 10;
  align-items: center;
  height: 100%;
  align-content: center;
}

.hero-content {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

.hero-content h1 {
  position: relative;
}

.hero-content h1 img {
  position: relative;
  z-index: 50;
  width: 90%;
  max-width: 90%;
  object-fit: contain;
  margin: auto;
  opacity: 0;
  transform: translateY(-30px);
  animation: heroTitleFadeIn 1s ease-out 0.3s forwards;
}
.awasome{
  position: absolute;
  left: 5vw;
  bottom: 10px;
  width:18vw;
}
.awasome img{
  width: 100%;
  opacity: 0;
  transform: scale(0.5) rotate(-10deg);
  animation: awasomeFadeIn 0.8s ease-out 1.2s forwards;
}
@keyframes awasomeFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
.evtruck{
  position: absolute;
  right: 5vw;
  bottom: 15px;
  width: 17vw;
}
.evtruck img{
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  animation: evtruckDrive 1.5s ease-out 0.8s forwards;
}
@keyframes evtruckDrive {
  0% {
    opacity: 0;
    transform: translateX(400px);
  }
  50% {
    opacity: 1;
  }
  85% {
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes heroTitleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.hero-sub {
  position: relative;
  top: clamp(-50px, -6vh, -25px);
}

.hero-sub img {
  width: 100%;
  max-height: 20vh;
  object-fit: contain;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: heroSubFadeIn 0.8s ease-out 0.8s forwards;
}

@keyframes heroSubFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-callout {
  margin: 0;
}

.hero-callout img {
  max-width: 300px;
  max-height: 14vh;
  width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-mascot {
  display: flex;
  justify-content: center;
}

.mascot-placeholder {
  width: 100%;
  position: relative;
  top: -15px;
}

.mascot-placeholder img {
  width: 100%;
  max-height: 50vh;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: translateX(50px) scale(0.5);
  animation: heroMascotBounce 1s ease-out 0.5s forwards;
}
@media (max-width: 2000px) and (max-height: 1350px) {
  .mascot-placeholder {
    width: 85%;
  }
  .hero-content h1 img {
    width: 80%;
  }
}
@media (max-width: 1350px) {
  .mascot-placeholder {
    width: 80%;
  }
  .hero-content h1 img {
    width: 80%;
  }
}
@media (max-height: 720px) {
  .mascot-placeholder {
    width: 70%;
  }
  .hero-content h1 img {
    width: 70%;
  }
}
@keyframes heroMascotBounce {
  0% {
    opacity: 0;
    transform: translateX(50px) scale(0.5);
  }
  40% {
    opacity: 1;
    transform: translateX(0) scale(1.08);
  }
  60% {
    transform: translateX(0) scale(0.96);
  }
  80% {
    transform: translateX(0) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

section {
  padding: 72px 0;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 24px;
  color: var(--key-dark);
  text-align: center;
}

.recommend-title {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--key-dark);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.recommend-title-top {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  top: 15px;
}

.recommend-title-top::before {
  content: "";
  position: absolute;
  left: -35px;
  top: -15px;
  width: 75px;
  height: 34px;
  transform: translateY(-50%);
  background: url("../img/housha.png") center / contain no-repeat;
}

.recommend-title-badge {
  background: #0a6b3a;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
}

.recommend-title-line {
  flex: 1;
  height: 4px;
  background: #d5c2a1;
  border-radius: 999px;
}

.recommend-title-main {
  font-weight: 800;
  line-height: 1.3;
}

.recommend-title-main::after {
  content: "";
  display: block;
  height: 4px;
  background: #d5c2a1;
  border-radius: 999px;
  margin-top: 10px;
}

/* Inline image used for GREEN in catalog title */
.recommend-title-main img.inline-green {
  display: inline-block;
  height: 1.05em;
  vertical-align: -0.12em;
  margin: 0 0.3ch;
}

.recommend {
  background: var(--white);
}

.recommend-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.recommend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 65px;
  font-size: 1.02rem;
}

.recommend-item {
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
  align-items: start;
}

.recommend-item p {
  margin: 0;
  position: relative;
}
.recommend-item p img {
  max-width: 100%;
}

.recommend-illustration {
  width: 100%;
  position: relative;
  height: 150px;
}
.recommend-illustration img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.recommend-conclusion {
  justify-self: center;
  width: min(100%, 480px);
  text-align: center;
  transform: scale(1.2);
  margin: 20px 0;
}

.conclusion-text {
  font-size: 1.4rem;
  font-weight: 700;
}

/* Special animation for conclusion */
.rotate-scale-in {
  opacity: 0;
  transform: scale(0.5) rotate(-180deg);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.rotate-scale-in.is-visible {
  opacity: 1;
  transform: scale(1.2) rotate(0deg);
}

.gift {
  background: transparent;
}

/* Gift and Catalog combined container for side-by-side layout on PC */
.gift-catalog-wrapper {
  background: linear-gradient(45deg, #efefef 0%, #f0f7f2 100%);
  padding: 72px 0;
}

.gift-catalog-container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Remove default section padding for gift and catalog when in wrapper */
.gift-catalog-wrapper .gift,
.gift-catalog-wrapper .catalog {
  padding: 0;
}

/* Dotted divider between catalog and gift */
.gift-catalog-wrapper .gift {
  border-left: 5px dotted #d1b288;
  padding-left: 24px;
}

.gift-catalog-wrapper .gift {
  padding-left: 24px;
}

.gift-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}
/* Stack and center the inner content (heading, subheading, image, notes) on desktop */
.gift-inner > div {
  display: grid;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.gift-inner .image-placeholder {
  width: min(420px, 100%);
  margin: auto;
  padding: 0;
}
.gift h3{
  color:#e2721b;
  font-size: 32px;
  margin: auto;
}
.ribbon {
  display: block;
  font-weight: 700;
  font-size: 1.1em;
  background: url("../img/ribbon.png") no-repeat center;
  background-size: contain;
  background-position: 0px 7px;
  padding: 10px 0 35px;
  border-radius: 4px;
  width: 100%;
  max-width: 447px;
}
.image-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  padding: 16px;
  width: 290px;
  margin: auto;
}

/* Catalog image and text side-by-side */
.catalog .image-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  width: 100%;
  max-width: 600px;
  text-align: left;
}

.catalog .image-placeholder img {
  width: 100%;
  max-width: 100%;
}
.catalog h3{
  color:#006934;
  font-size: 24px;
  margin: auto;
  text-align: center;
}
.catalog .image-placeholder p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--key);
}

.image-placeholder img{
  width: 100%;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.notes {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  padding-left: 0;
  text-align: left;
  list-style-position: outside;
}

.notes li{
  list-style: none;
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.5em;
}

.notes li::before {
  content: "※";
  position: absolute;
  left: 0;
}
.catalog {
  background: transparent;
}

.catalog-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.product-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border: 3px solid var(--key);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

@media (max-width: 768px) {
  .product-examples {
    grid-template-columns: 1fr;
  }
  
  .product-card {
    border-right: none;
    border-bottom: 2px solid var(--key);
  }
  
  .product-card:last-child {
    border-bottom: none;
  }
}

.product-card {
  background: var(--white);
  border-radius: 0;
  padding: 20px 16px;
  text-align: center;
  box-shadow: none;
  border-right: 2px solid var(--key);
}

.product-card:last-child {
  border-right: none;
}

.icon-placeholder {
    height: 125px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    position: relative;
}
.icon-placeholder a{
    height: 75px;
    width: 75px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    position: relative;
}
.icon-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
}
.flow {
  background: var(--bg);
}

.flow-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  counter-reset: flow;
  border: 3px solid var(--key);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.flow-card {
  background: var(--white);
  border-radius: 0;
  padding: 20px 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  align-content: start;
  box-shadow: none;
  border-right: 3px solid var(--key);
  border-bottom: 3px solid var(--key);
  height: 100%;
}

.flow-card > div > *:last-child {
  margin-top: auto;
}

.flow-list li:nth-child(4n) .flow-card {
  border-right: none;
}

.flow-list li:nth-last-child(-n+4) .flow-card {
  border-bottom: none;
}

.flow-card .icon-placeholder {
  height: 85px;
  margin: 0 auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
}

.flow-card h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.4;
  color: var(--key-dark);
}

/* Number badges for flow steps */
.flow-list li {
  counter-increment: flow;
  height: 100%;
  position: relative;
}

/* Z-index decreases for later items so arrows appear on top */
.flow-list li:nth-child(1) { z-index: 40; }
.flow-list li:nth-child(2) { z-index: 30; }
.flow-list li:nth-child(3) { z-index: 20; }
.flow-list li:nth-child(4) { z-index: 10; }

/* Arrow between flow cards */
.flow-list li::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 120px;
  width: 35px;
  height: 35px;
  background: url("../img/right_arrow.png") center / contain no-repeat;
  z-index: 5;
  pointer-events: none;
}

/* Remove arrow from last item in each row (4n) */
.flow-list li:nth-child(4n)::after {
  display: none;
}

@media (max-width: 900px) {
  .flow-list li:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .flow-list li::after {
    display: none;
  }
}

.flow-card h3::before {
  content: counter(flow);
  display: inline-grid;
  place-items: center;
  min-width: 60px;
  height: 56px;
  padding: 0 0 4px 0;
  background: var(--key-dark);
  color: var(--white);
  border-radius: 30px;
  font-weight: 900;
  font-size: 2rem;
}
.flow-list small{
  font-size: 14px;
  font-weight: bold;
}
.tel {
  font-weight: 700;
  color: var(--key-dark);
  margin: 0;
  position: relative;
  width: 100%;
}
.tel img{
  width: 100%;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-inline {
  margin-top: 32px;
  text-align: center;
}

.apply {
  background: linear-gradient(135deg, #0c6e3b 0%, #0b6236 60%, #0a5a31 100%);
  color: var(--white);
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 72px;
}

.apply-sun-accent {
  margin-bottom: 3px;
}

.apply-sun-accent img {
  width: 80px;
  height: auto;
  display: inline-block;
}

.apply h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
  color: #ffffff;
  margin-top: 0;
}

.apply .btn {
  margin-top: 16px;
}

.apply-cta-link {
  display: inline-block;
  margin-top: 16px;
}

.apply-cta-image {
  max-width: 225px;
  width: 100%;
  height: auto;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ランダム配置用 */
.recommend-item.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.recommend-item.fade-in.is-visible {
  opacity: 1;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay for grid items */
.recommend-item:nth-child(1) { transition-delay: 0.1s; }
.recommend-item:nth-child(2) { transition-delay: 0.2s; }
.recommend-item:nth-child(3) { transition-delay: 0.3s; }
.recommend-item:nth-child(4) { transition-delay: 0.4s; }
.recommend-item:nth-child(5) { transition-delay: 0.5s; }
.recommend-item:nth-child(6) { transition-delay: 0.6s; }
.recommend-item:nth-child(7) { transition-delay: 0.7s; }
.recommend-item:nth-child(8) { transition-delay: 0.8s; }
.recommend-item:nth-child(9) { transition-delay: 0.9s; }

.flow-list li:nth-child(1) { transition-delay: 0.1s; }
.flow-list li:nth-child(2) { transition-delay: 0.2s; }
.flow-list li:nth-child(3) { transition-delay: 0.3s; }
.flow-list li:nth-child(4) { transition-delay: 0.4s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--key-dark);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #4b3200;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.site-footer {
  background: #0b3f21;
  color: var(--white);
  padding: 40px 0;
  margin: 0;
  position: relative;
}

.footer-inner {
  display: grid;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer-inner .logo-placeholder{
  margin: auto;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 80px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 20;
  opacity: 0;
  transform: translateY(50px);
  animation: floatingCtaSlideIn 0.6s ease-out 2s forwards;
}

.floating-cta.is-loaded {
  animation: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  z-index: 999;
}

@keyframes floatingCtaSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-cta img {
  display: block;
  width: 13vw;
  height: auto;
}

.floating-cta.is-loaded.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (max-width: 900px) {
  .recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
  
  /* ランダムな上下のズレを追加 */
  .recommend-item:nth-child(odd) { transform: translateY(-12px); }
  .recommend-item:nth-child(even) { transform: translateY(12px); }
  
  /* アニメーション時のズレを保持 */
  .recommend-item.fade-in.is-visible:nth-child(odd) { transform: translateY(-12px); }
  .recommend-item.fade-in.is-visible:nth-child(even) { transform: translateY(12px); }

  .recommend-conclusion {
    grid-column: 1 / -1;
    transform: scale(1.1);
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list li:nth-child(4n) .flow-card {
    border-right: 2px solid var(--key);
  }

  .flow-list li:nth-child(2n) .flow-card {
    border-right: none;
  }

  .flow-list li:nth-last-child(-n+4) .flow-card {
    border-bottom: 2px solid var(--key);
  }

  .flow-list li:nth-last-child(-n+1) .flow-card {
    border-bottom: none;
  }

  .hero-inner {
    padding: clamp(12px, 3vh, 28px) 0;
  }

  /*.mascot-placeholder {
    width: min(360px, 32vh, 75vw);
    height: min(360px, 32vh, 75vw);
  }*/

  .flow-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flow-card .icon-placeholder {
    width: 100px;
    margin: 0 auto 12px;
  }

  .floating-cta {
    right: 12px;
    left: 12px;
    bottom: 20px;
    text-align: center;
  }
  
  .floating-cta img {
    width: 100%;
    max-width: 150px;
    margin: 0 0 0 auto;
  }

  /* Stack gift and catalog vertically on tablet */
  .gift-catalog-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gift-catalog-wrapper {
    padding: 56px 0;
  }

  .gift-catalog-wrapper .gift,
  .gift-catalog-wrapper .catalog {
    padding: 28px 0;
  }
  
  .gift-catalog-wrapper .gift {
    border-left: none;
    border-top: 5px dotted #d1b288;
    padding-left: 0;
    padding-top: 36px;
  }
  
  .product-examples {
    grid-template-columns: 1fr;
  }
  
  .product-card {
    border-right: none;
    border-bottom: 2px solid var(--key);
  }
  
  .product-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .recommend-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 5px;
  }
  .recommend-item {
    padding: 0;
  }
  .recommend-illustration {
    height: 100px;
}
  .recommend-item p img {
    top: 25px;
    position: relative;
  }
  /* ランダムな上下のズレを追加 */
  .recommend-item:nth-child(1) { transform: translateY(0); }
  .recommend-item:nth-child(2) { transform: translateY(20px); }
  .recommend-item:nth-child(3) { transform: translateY(15px); }
  .recommend-item:nth-child(4) { transform: translateY(-10px); }
  .recommend-item:nth-child(5) { transform: translateY(-5px); }
  .recommend-item:nth-child(6) { transform: translateY(-25px); }
  .recommend-item:nth-child(7) { transform: translateY(0px); }
  .recommend-item:nth-child(8) { transform: translateY(-35px); }
  .recommend-item:nth-child(9) { transform: translateY(-45px)translateX(150px); }
  
  /* アニメーション時のズレを保持 */
  .recommend-item.fade-in.is-visible:nth-child(1) { transform: translateY(0); }
  .recommend-item.fade-in.is-visible:nth-child(2) { transform: translateY(20px); }
  .recommend-item.fade-in.is-visible:nth-child(3) { transform: translateY(15px); }
  .recommend-item.fade-in.is-visible:nth-child(4) { transform: translateY(-10px); }
  .recommend-item.fade-in.is-visible:nth-child(5) { transform: translateY(-5px); }
  .recommend-item.fade-in.is-visible:nth-child(6) { transform: translateY(25px); }
  .recommend-item.fade-in.is-visible:nth-child(7) { transform: translateY(10px); }
  .recommend-item.fade-in.is-visible:nth-child(8) { transform: translateY(-15px); }
  .recommend-item.fade-in.is-visible:nth-child(9) { transform: translateY(5px); }
  
  .recommend-conclusion {
    grid-column: 1 / -1;
    transform: scale(1);
    margin: 0;
    position: relative;
    top: -50px;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list li .flow-card {
    border-right: none;
    border-bottom: 2px solid var(--key);
  }

  .flow-list li:last-child .flow-card {
    border-bottom: none;
  }

  section {
    padding: 56px 0;
    margin: 0;
  }
  
  .apply {
    padding-bottom: 56px;
    margin-bottom: 0;
  }

  .gift-catalog-wrapper {
    padding: 48px 0;
  }

  .gift-catalog-wrapper .gift,
  .gift-catalog-wrapper .catalog {
    padding: 24px 0;
  }
  
  .gift-catalog-wrapper .gift {
    border-left: none;
    border-top: 5px dotted #d1b288;
    padding-left: 0;
    padding-top: 36px;
  }
  
  .catalog .image-placeholder {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  
  .catalog .image-placeholder p {
    text-align: center;
  }

  .hero-inner {
    padding: 48px 0 56px;
  }
  
  .hero-content h1 img {
    width: 100%;
    max-width: 100%;
  }
  
  .awasome {
    width: 26vw;
    left: 3vw;
  }
  
  .evtruck {
    width: 24vw;
    right: 3vw;
  }

  .logo-placeholder.square {
    width: 64px;
    height: 64px;
    transform: translateY(10px);
  }
  
  .recommend-title-top::before {
    left: -20px;
    width: 50px;
    height: 25px;
  }
  
  .recommend-title-badge {
    font-size: 0.95rem;
    padding: 6px 12px;
  }
  
  .tel {
    font-size: 28px;
  }
  
  .tel img {
    width: 80%;
  }
}
/* PCではリンクを無効化 */
@media (min-width: 769px) {
  .tel-link {
    pointer-events: none;
    cursor: default;
  }
}

/* スマホではクリック可能に */
@media (max-width: 768px) {
  .tel-link {
    cursor: pointer;
  }
}
@media (max-height: 800px) {
  .hero-inner {
    padding: 0;
  }
  .hero-content h1 {
    height: auto;
    width: 75%;
    margin: 15px auto 0;
  }
  .hero-sub {
    position: relative;
  }
  .hero-sub img {
    max-height: 20vh;
  }
}
@media (max-width: 764px) {
  .logo-placeholder img {
    width: 72%;
    object-fit: cover;
  }
  .hero {
    position: relative;
    height: calc(93vh - var(--header-height));
  }
  .hero-content h1 {
    width: 100%;
    margin: 15px auto 0;
  }
  .rsp_br{
    display: block;
  }
  .recommend-title-top {
    top: 7px;
  }
  .mascot-placeholder {
    width: 100%;
    top: -20px;
    position: relative;
  }
.hero-sub img {
    width: 80%;
    max-height: none;}
  .floating-cta img {
    width: 33%;
    margin:0 0 0 auto;
  }
  .awasome{
    width: 33vw;
  }
  .evtruck {
    width: 28vw;
    right: 0;
    left: 0;
    top: 5vh;
    margin: auto;
  }
  .gift h3 {
    font-size: 24px;
  }
  .icon-placeholder img {
    width: auto;
    object-fit: cover;
  }
}