/* 華の会メールLP（縁のたより）のデザイン。ChatGPT Sites版から内容を変えずに移しています。 */
* {
  box-sizing: border-box
}

html {
  background: #faf8f2;
  color: #333f38;
  font-family: "Yu Gothic", Meiryo, sans-serif
}

body {
  margin: 0
}

header,
main,
footer {
  max-width: 960px;
  margin: auto
}

header {
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d8d4c9
}

header strong,
h1,
h2,
h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif
}

header strong {
  font-size: 22px;
  letter-spacing: .1em
}

small {
  font-size: 13px
}

main {
  padding: 0 5%
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(46px, 9vw, 88px) 0 44px
}

.flower {
  color: #a74c56;
  position: absolute;
  z-index: -1;
  font: clamp(160px, 31vw, 350px)/1 Georgia, serif;
  right: -.06em;
  top: .06em;
  opacity: .13;
  transform: rotate(-17deg)
}

h1 {
  font-size: clamp(37px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .035em;
  margin: 14px 0 18px
}

h2 {
  font-size: clamp(26px, 4vw, 37px);
  font-weight: 500;
  margin: 0 0 16px
}

h3 {
  font-size: 21px;
  margin: 0 0 8px
}

p {
  line-height: 1.9;
  margin: 10px 0 18px
}

.tag {
  font-size: 14px;
  color: #85444d;
  font-weight: bold
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: white;
  background: #813e48;
  padding: 16px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold
}

.cta:hover {
  background: #692d36
}

nav {
  display: flex;
  gap: 26px;
  padding: 14px 0;
  border-block: 1px solid #d8d4c9
}

a {
  color: inherit;
  text-underline-offset: 4px
}

section {
  padding: 40px 0 12px
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

article {
  background: #f2eee4;
  border-radius: 4px;
  padding: 24px
}

article p {
  margin-bottom: 0
}

table {
  border-collapse: collapse;
  width: 100%;
  line-height: 1.65;
  font-size: 15px
}

th,
td {
  text-align: left;
  border-bottom: 1px solid #d8d4c9;
  padding: 12px 7px
}

thead {
  background: #e8ede6
}

.end {
  padding: 30px 0 44px
}

footer {
  border-top: 1px solid #d8d4c9;
  padding: 18px 5%;
  font-size: 13px
}

@media(max-width:600px) {
  .cards {
    grid-template-columns: 1fr
  }

  .cta {
    width: 100%
  }

  .flower {
    right: -26px;
    top: 40px
  }

  .hero {
    padding-bottom: 32px
  }

  article {
    padding: 20px
  }
}

figure {
  margin: 18px 0 0
}

figure img {
  display: block;
  width: 100%;
  height: auto
}

figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: #565e58
}

.hero>p {
  max-width: 39em
}

.hero .terms {
  border-left: 3px solid #a5626d;
  padding: 4px 14px;
  background: #f3eee5;
  width: fit-content
}

.terms small {
  font-size: 14px
}

details {
  margin-top: 18px
}

summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #67363e;
  padding: 10px 0
}

article p {
  line-height: 1.85
}

.cards {
  align-items: start
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #23584e;
  outline-offset: 3px
}

@media(max-width:390px) {
  h1 {
    font-size: 32px
  }

  header {
    gap: 6px
  }

  .cta {
    gap: 10px
  }
}

header strong {
  color: #673840;
  letter-spacing: .16em
}

.hero {
  padding: 46px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(120px, .85fr);
  align-items: center;
  gap: 30px
}

.intro {
  grid-column: 1;
  grid-row: 1
}

.intro>p {
  max-width: 36em
}

.letter {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  aspect-ratio: 1.45;
  background: #ded3ba;
  border: 1px solid #cec2a8;
  transform: rotate(-8deg);
  box-shadow: 4px 8px 0 #e6e1d5
}

.letter i {
  position: absolute;
  inset: 0;
  background: #ede4ce;
  clip-path: polygon(0 0, 100% 0, 50% 72%)
}

.letter b {
  position: absolute;
  left: 43%;
  top: 53%;
  border-radius: 50%;
  width: 1.8em;
  height: 1.8em;
  display: grid;
  place-items: center;
  color: #fff7e3;
  background: #894654;
  font: 22px serif
}

.steps {
  padding-left: 1.6em
}

.steps li {
  padding: 10px 0 7px 8px
}

.steps li::marker {
  color: #813e48;
  font-weight: bold
}

.steps p {
  margin: 3px 0
}

nav {
  flex-wrap: wrap;
  gap: 8px 22px
}

nav a {
  padding: 8px 0
}

.terms {
  font-size: 15px
}

th,
td {
  font-variant-numeric: tabular-nums
}

@media(max-width:600px) {
  .hero {
    display: block;
    padding: 32px 0
  }

  .letter {
    position: absolute;
    width: 19%;
    top: 72px;
    right: 5px;
    z-index: -1
  }

  .letter b {
    font-size: 11px
  }

  .intro h1 {
    font-size: clamp(32px, 8.4vw, 46px)
  }

  nav {
    gap: 0 14px;
    font-size: 14px
  }

  .hero .terms {
    margin: 12px 0
  }

  .hero p {
    line-height: 1.75
  }

  article {
    background: #f3efe7
  }
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 24px;
  align-items: center;
  padding: 26px 0
}

.weekend {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  margin: 0
}

.weekend img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  border-radius: 4px
}

.weekend figcaption {
  position: absolute;
  bottom: 4px;
  right: 7px;
  color: white;
  background: #3d342baf;
  padding: 1px 5px;
  font-size: 10px
}

.intro h1 {
  font-size: clamp(25px, 3.3vw, 42px);
  line-height: 1.5;
  letter-spacing: 0
}

.cost {
  display: block;
  margin: 9px 0 0;
  font-size: 13px
}

.intro p {
  margin: 12px 0 16px
}

@media(max-width:650px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 0 0 20px
  }

  .weekend {
    margin: 0 -5.56%
  }

  .weekend img {
    aspect-ratio: 2.05;
    object-position: center 40%;
    border-radius: 0
  }

  .intro h1 {
    font-size: clamp(26px, 6.5vw, 36px);
    margin: 7px 0
  }

  .intro p {
    font-size: 15px;
    margin: 8px 0 13px
  }

  .intro .cta {
    width: 100%
  }
}
