/* ページ全体のベース */
:root {
  color-scheme: light;
  color: #545454;
  background-color: white;
  font-family: "BIZ UDPMincho";
  line-height: 1.8;
  --heading-size: 48px;
  --heading-weight: 700;
  --heading-letter-spacing: 0.1em;
  --heading-color: #3f362f;
  --heading-line-height: 1.1;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-title,
.hero-copy h1,
.order-section h1,
.lesson-section h1,
.access-section h1,
.product-section h1 {
  font-size: var(--heading-size);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: var(--heading-line-height);
  color: var(--heading-color);
}

.hero-section {
  position: relative;
  padding: 0;
  display: block;
}

.hero-section.order-header {
  height: 240px !important;
  background-image: url("../images/header-1.png");
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-section.order-header .hero-image {
  display: none !important;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.12) 24%, rgba(0,0,0,0) 55%);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
}

.site-header {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  z-index: 2;
}

.site-title {
  font-size: var(--heading-size);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-letter-spacing);
  color: white;
  margin: 0;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 120px;
  justify-content: center;
}

.site-nav a {
  color: white;
  font-size: 26px;
  font-weight: 500;
  opacity: 0.96;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.9);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
  border-color: rgba(255,255,255,1);
}

.site-nav a.active {
  border-bottom: 2px solid rgba(255,255,255,1);
  padding-bottom: 1px;
}

.hero-copy {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  display: block;
  max-width: min(420px, calc(100% - 64px));
  width: auto;
  z-index: 2;
  text-align: right;
}

.hero-copy h1,
.hero-copy p {
  display: inline-block;
  background: rgba(255, 244, 223, 0.74);
  padding: 0px 0px;
  border-radius: 8px;
  border: 1px solid rgba(230, 216, 195, 0.9);
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: var(--heading-size);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-letter-spacing);
  color: var(--heading-color);
  line-height: var(--heading-line-height);
  white-space: nowrap;
  max-width: calc(100vw - 112px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-copy p {
  margin: 0;
  font-size: 30.8px;
  line-height: 1.3;
  color: #3f3a33;
  text-align: left;
  letter-spacing: 0.1em;
  max-width: calc(100vw - 112px);
}

.flower-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100vw;
  max-width: 100vw;
  margin: 48px 0 32px;
  position: relative;
  z-index: 2;
}

.gallery-item {
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-section {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto 40px;
  padding: 40px 0;
}

.product-section {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 40px;
  padding: 40px 0;
  text-align: center;
}

.order-section {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 34px;
  padding: 24px 0 0;
  text-align: center;
}

.order-section h1 {
  display: inline-block;
  margin: 0 auto 32px;
  font-size: 48px;
  letter-spacing: 0.1em;
  color: #3f362f;
  padding-bottom: 8px;
  border-bottom: 2px solid #3f362f;
  text-align: center;
}

.order-visual {
  width: min(920px, 100%);
  min-height: 555px;
  margin: 0 auto;
  padding: 20px 30px 34px;
  background:
    linear-gradient(rgba(252, 252, 252, 0.8), rgba(252, 252, 252, 0.8)),
    url("../images/order-21.png") center / cover no-repeat;
}

.custom-order-visual {
  width: min(920px, 100%);
  min-height: 0;
  padding: 18px 30px 66px;
  background:
    linear-gradient(rgba(252, 252, 252, 0.8), rgba(252, 252, 252, 0.8)),
    url("../images/custom-1.png") center / cover no-repeat;
}

.custom-order-copy {
  margin: 0 0 34px;
  color: #111;
  text-align: left;
}

.custom-order-copy h2 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
  color: #555;
}

.custom-order-copy p {
  margin: 0;
  font-size: 22px;
  line-height: 1.8;
}

.order-form {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 22px 24px 40px;
  background: rgba(88, 88, 88, 0.72);
  border-radius: 36px;
  color: white;
  text-align: left;
}

.order-form h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.product-order-form {
  width: min(790px, 100%);
  padding: 22px 14px 10px;
}

.product-order-form h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.order-product-summary {
  margin: 0 0 10px;
  color: white;
}

.order-product-summary p {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.25;
}

.order-product-summary span {
  margin-left: 2px;
}

.product-order-form label,
.product-order-form legend {
  margin: 4px 0 1px;
  font-size: 16px;
}

.product-order-form input[type="text"],
.product-order-form input[type="tel"],
.product-order-form input[type="email"] {
  height: 31px;
  padding: 2px 8px;
}

.order-form label,
.order-form legend {
  display: block;
  margin: 6px 0 2px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.order-form input[type="text"],
.order-form input[type="tel"],
.order-form input[type="email"],
.order-form textarea {
  display: block;
  width: 100%;
  padding: 4px 10px;
  border: 3px solid #9fcda2;
  border-radius: 8px;
  background: white;
  color: #333;
  font: inherit;
  line-height: 1.2;
}

.order-form input[type="text"],
.order-form input[type="tel"],
.order-form input[type="email"] {
  height: 48px;
}

.order-form textarea {
  min-height: 150px;
  resize: vertical;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: 2px solid #0bb653;
  outline-offset: 1px;
}

.order-form fieldset {
  margin: 6px 0 2px;
  padding: 0;
  border: 0;
}

.custom-order-form {
  width: min(820px, 100%);
  padding: 14px 14px 20px;
  border-radius: 32px;
}

.checkbox-list {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0 28px;
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  align-items: center;
  background: white;
  border: 3px solid #9fcda2;
  border-radius: 8px;
  color: #333;
}

.checkbox-list label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.checkbox-list input {
  width: 14px;
  height: 14px;
  margin: 0 4px 0 0;
}

.form-actions {
  margin-top: 20px;
  text-align: center;
}

.order-submit {
  min-width: 120px;
  padding: 8px 32px;
  border: 0;
  border-radius: 999px;
  background: #08b853;
  color: white;
  font: inherit;
  font-size: 20px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.order-submit:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.lesson-section {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 34px;
  padding: 24px 0 0;
  color: #111;
}

.lesson-section h1 {
  margin: 0 auto 32px;
  display: table;
  font-size: 48px;
  letter-spacing: 0.1em;
  color: #3f362f;
  padding-bottom: 8px;
  border-bottom: 2px solid #3f362f;
  text-align: center;
}

.lesson-intro,
.lesson-feature {
  width: min(760px, 100%);
  margin: 0 auto;
  font-size: 21px;
  line-height: 1.8;
}

.lesson-intro p {
  margin: 0 0 34px;
}

.lesson-intro dl {
  margin: 0 0 50px;
}

.lesson-intro dl div {
  display: flex;
}

.lesson-intro dt,
.lesson-intro dd {
  margin: 0;
  font-weight: 400;
}

.lesson-month {
  margin: 0 0 2px;
  color: #f43c55;
  font-weight: 700;
}

.lesson-feature p {
  margin: 0 0 28px;
}

.lesson-image-wrap {
  position: relative;
  width: min(620px, 100%);
  margin: 48px auto 90px;
}

.lesson-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.lesson-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #efb972;
  transform: rotate(-10deg) translate(-10px, 14px);
  filter: blur(20px);
  z-index: -1; /* ← 影を画像の後ろへ確実に配置 */
  opacity: 0.55;
}

.lesson-form {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 12px 14px 24px;
  background: #fff3dd;
  border: 2px solid #bee5bf;
  border-radius: 32px;
  color: #111;
  text-align: left;
}

.lesson-form h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.lesson-form label,
.lesson-form legend {
  display: block;
  margin: 8px 0 4px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.lesson-form input[type="text"],
.lesson-form input[type="tel"],
.lesson-form input[type="email"] {
  display: block;
  width: 100%;
  height: 48px;
  padding: 4px 10px;
  border: 3px solid #aee4b7;
  border-radius: 8px;
  background: white;
  color: #333;
  font: inherit;
  line-height: 1.2;
}

.lesson-form fieldset {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}

.lesson-date-list {
  display: grid;
  gap: 14px;
  min-height: 206px;
  padding: 10px;
  background: white;
  border: 3px solid #aee4b7;
  border-radius: 8px;
}

.lesson-date-list label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.lesson-date-list input {
  width: 14px;
  height: 14px;
  margin: 0 3px 0 0;
}

.lesson-form input:focus {
  outline: 2px solid #f43c55;
  outline-offset: 1px;
}

.lesson-submit {
  min-width: 126px;
  padding: 8px 28px;
  border: 0;
  border-radius: 999px;
  background: #f43c55;
  color: white;
  font: inherit;
  font-size: 20px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.lesson-submit:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

input[type="radio"] {
  transform: scale(1.3); /* ← 数字を変えると大きさ調整できる */
  margin-right: 16px;     /* 拡大でズレるので余白を調整 */
}

.access-section {
  margin: 0 auto 34px;
  padding: 24px 0 0;
  color: #555;
  text-align: center;
}

.access-section h1 {
  margin: 0 auto 32px;
  display: inline-block;
  font-size: 48px;
  letter-spacing: 0.1em;
  color: #3f362f;
  padding-bottom: 8px;
  border-bottom: 2px solid #3f362f;
  text-align: center;
}

.access-shop-image {
  width: 100%;
  margin: 0 auto 28px;
  overflow: hidden;
}

.access-shop-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.access-map {
  width: 80%;
  height: 990px;
  margin: 48px auto 48px;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.access-info {
  width: 70%;
  margin: 0 auto;
  padding: 28px 20px 26px;
  background: #f9e8e8;
  border-radius: 28px;
  color: #555;
  text-align: left;
  font-size:28px;
  line-height: 1.65;
}

.access-info p {
  margin: 0 0 22px;
}

.access-info p:last-child {
  margin-bottom: 0;
}

.product-section h1 {
  margin: 0 auto 32px;
  display: inline-block;
  font-size: 48px;
  letter-spacing: 0.1em;
  color: #3f362f;
  padding-bottom: 8px;
  border-bottom: 2px solid #3f362f;
  text-align: center;
}

.product-intro {
  width: min(840px, 100%);
  margin: 0 auto 40px;
  color: #555;
  font-size: 24px;
  line-height: 1.8;
  text-align: left;
}

.product-intro p {
  margin: 0 0 28px;
}

.product-intro p:last-child {
  margin-bottom: 0;
}

.product-section h2 {
  font-size: 36px;
}

.category-group {
  margin-bottom: 48px;
}

.category-title {
  margin: 0 0 24px;
  font-size: 1.7rem;
  color: #3f362f;
  border-bottom: 1px solid #e9dcc8;
  padding-bottom: 12px;
  text-align: left;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.product-card {
  background: white;
  border: none;
  display: flex;
  flex-direction: column;
}

.product-image-wrap {
  position: relative;
  width: 100%;
  padding: 0; 
}

.product-image-wrap::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: rgba(255, 117, 31, 0.4);
  filter: blur(15px);
  z-index: 0;
  border-radius: 3px;
}

.product-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.product-card.portrait img {
  aspect-ratio: 3 / 4;
}

.product-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1
}

.product-card h3 {
  margin: 0;
  font-size: 20px;
  color: #c72d46;
  letter-spacing: 1px;
}

.product-card p {
  margin: 0 auto 20px auto;
  color: #555;
  line-height: 1.7;
  font-size: 18px;
  text-align: left;
  max-width: 100%;
}

.product-card .price {
  margin-top: auto;
  color: #3f362f;
  margin-bottom: 16px;
  font-size: 20px;
}

.custom-order-wrap {
  text-align: center;
  margin: 30px 0;
}

.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background-color: #bee5bf; 
  color: #000000; 
  border: none;
  border-radius: 999px; 
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  line-height:1.6;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.25);
  opacity: 0.95;
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  opacity: 0.9;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-visual {
    padding: 20px 24px 34px;
  }

  .custom-order-visual {
    padding: 18px 24px 48px;
  }

  .custom-order-copy p {
    font-size: 20px;
  }

  .lesson-intro,
  .lesson-feature,
  .lesson-form {
    width: min(760px, 100%);
  }

  .access-map {
    height: 300px;
  }

  .flower-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -40px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-section.order-header {
    height: 178px;
  }

  .order-section {
    width: min(100% - 20px, 980px);
    padding-top: 18px;
  }

  .order-section h1 {
    font-size: 48px;
  }

  .order-visual {
    min-height: auto;
    padding: 18px 12px 30px;
  }

  .custom-order-visual {
    padding: 18px 12px 34px;
  }

  .custom-order-copy {
    margin-bottom: 24px;
  }

  .custom-order-copy h2 {
    font-size: 23px;
    margin-bottom: 18px;
  }

  .custom-order-copy p {
    font-size: 17px;
    line-height: 1.75;
  }

  .lesson-section {
    width: min(100% - 20px, 980px);
    padding-top: 18px;
  }

  .lesson-section h1 {
    font-size: 48px;
  }

  .lesson-intro,
  .lesson-feature {
    font-size: 17px;
  }

  .lesson-intro p {
    margin-bottom: 24px;
  }

  .lesson-intro dl {
    margin-bottom: 36px;
  }

  .lesson-image-wrap {
    margin-bottom: 42px;
  }

  .lesson-form {
    padding: 14px 10px 24px;
    border-radius: 24px;
  }

  .lesson-form h2 {
    font-size: 22px;
  }

  .lesson-form label,
  .lesson-form legend {
    font-size: 17px;
  }

  .lesson-date-list {
    gap: 12px;
  }

  .access-section {
    width: min(100% - 20px, 980px);
    padding-top: 18px;
  }

  .access-section h1 {
    font-size: 48px;
  }

  .access-shop-image img {
    aspect-ratio: 4 / 3;
  }

  .access-map {
    height: 260px;
  }

  .access-info {
    border-radius: 22px;
    font-size: 15px;
  }

  .order-form {
    padding: 20px 12px 32px;
    border-radius: 24px;
  }

  .custom-order-form {
    padding: 18px 10px 24px;
  }

  .order-form h2 {
    font-size: 22px;
  }

  .order-form label,
  .order-form legend {
    font-size: 17px;
  }

  .checkbox-list {
    grid-template-columns: repeat(2, max-content);
    gap: 2px 18px;
  }

  .order-form textarea {
    min-height: 120px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    top: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-copy {
    margin: 0 0 40px auto;
    padding: 20px;
  }

  .flower-gallery {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}

.news-card {
  background: white;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 16px 48px rgba(17, 17, 17, 0.06);
}

.news-card h2 {
  margin: 0 auto 8px;
  font-size: 1.45rem;
  letter-spacing: 0.1em;
  text-align: center;
  color: #555;
  position: relative;
  display: table;
}

.news-card h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: whitesmoke;
  margin: 4px auto 0;
}

.news-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-card li {
  padding: 14px 0;
  font-size:30px;
  border-bottom: 1px solid #f0ebe4;
  color: #555;
}

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

.site-footer {
  background: #fbf1dd;
  padding: 42px 40px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.footer-brand h2 {
  margin: 0 0 8px;
  font-size: 38.8px;
}

.footer-brand p {
  margin: 0;
  color: #6f5d43;
  font-size: 25px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 120px;
  justify-content: center;
  align-items: center;
}

.footer-links a {
  color: #5f4c3d;
  font-size: 25px;
}

.footer-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  width: 100%;
  min-height: 170px;
  border-radius: 20px;
  background: repeating-linear-gradient(45deg, #e9dcc8 0 16px, #f7eddf 16px 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a6751;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@media (max-width: 960px) {
  .flower-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -40px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    top: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-copy {
    margin: 0 0 40px auto;
    padding: 20px;
  }

  .flower-gallery {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}
