* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background: #fff;
  font-size: 16.5px;
  line-height: 1.85;
}

a {
  color: inherit;
}

.article a,
.post-list a,
.link-list a,
.back-link a,
.breadcrumb a {
  color: #0066cc;
}

.article a:hover,
.post-list a:hover,
.link-list a:hover,
.back-link a:hover,
.breadcrumb a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 36px;
}

.site-header {
  margin-bottom: 42px;
}

.site-title {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: .03em;
}

.site-title a {
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: underline;
}

.site-description {
  margin: 0;
  color: #666;
  font-size: 15px;
}

.site-nav {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  color: #666;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.section-title {
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
  font-size: 22px;
  line-height: 1.4;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #eee;
}

.post-list time {
  color: #777;
  font-size: 14px;
  white-space: nowrap;
}

.post-list a {
  text-decoration: none;
  font-weight: 600;
}

.post-list a:hover {
  text-decoration: underline;
}

.breadcrumb {
  margin-bottom: 28px;
  color: #777;
  font-size: 13px;
}

.breadcrumb a {
  color: #555;
}

.article {
  margin-bottom: 44px;
}

.article-header {
  margin-bottom: 34px;
}

.article-meta {
  margin-bottom: 10px;
  color: #777;
  font-size: 14px;
}

.article h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.35;
  letter-spacing: .03em;
}


.article h2,
.related h2 {
  margin: 44px 0 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid #ddd;
  font-size: 24px;
  line-height: 1.45;
}

.article h3 {
  margin: 32px 0 10px;
  font-size: 20px;
  line-height: 1.5;
}

.article p {
  margin: 0 0 18px;
}

.article ul,
.article ol {
  margin: 0 0 24px;
  padding-left: 1.4em;
}

.article li {
  margin-bottom: 7px;
}

.note {
  margin: 28px 0;
  padding: 16px 18px;
  border-left: 4px solid #ddd;
  background: #f7f7f7;
  color: #444;
}

.related {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid #ddd;
}

.related h2 {
  margin-top: 0;
  font-size: 20px;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  margin-bottom: 8px;
}

.back-link {
  margin-top: 34px;
  font-size: 14px;
}

.site-footer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #ddd;
  color: #777;
  font-size: 13px;
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 24px, 720px);
    padding-top: 34px;
  }

  .site-title {
    font-size: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .post-list li {
    display: block;
    padding: 14px 0;
  }

  .post-list time {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
  }

  .article h1 {
    font-size: 28px;
  }
}






/* 画像配置 */
.article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 28px 0px 40px;
}


/* 文字装飾 */
.red {
  color: #d00000;
}

.bold {
  font-weight: bold;
}

.large {
  font-size: 1.2em;
}

.red-bold {
  color: #d00000;
  font-weight: bold;
}


/* 注意喚起（！） */
.caution {
  position: relative;
  margin: 1.6em 0;
  padding: 1.2em 1.5em 1.2em 4.2em;
  background: #fdf2f2;
  border: 1px solid #f3aca9;
  box-sizing: border-box;
}

.caution::before {
  content: "!";
  position: absolute;
  top: 50%;
  left: 1em;
  transform: translateY(-50%);
  width: 1.7em;
  height: 1.7em;
  background: #f3aca9;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.1em;
  line-height: 1.7em;
  text-align: center;
}

.caution p {
  margin: 0 0 1em;
}

.caution p:last-child {
  margin-bottom: 0;
}


/* 疑問（?） */
.question {
  position: relative;
  margin: 1.6em 0;
  padding: 1.2em 1.5em 1.2em 4.2em;
  background: #fff7cc;
  border: 1px solid #ffe766;
  box-sizing: border-box;
}

.question::before {
  content: "?";
  position: absolute;
  top: 50%;
  left: 1em;
  transform: translateY(-50%);
  width: 1.7em;
  height: 1.7em;
  background: #ffd700;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.1em;
  line-height: 1.7em;
  text-align: center;
}

.question p {
  margin: 0 0 1em;
}

.question p:last-child {
  margin-bottom: 0;
}



/* 枠 */
.waku {
  border: 1px solid #777;
  padding: 30px 0 10px 20px;
  margin:20px;
}


/* ふきだし 

<!--吹き出しはじまり-->
<div class="balloon">
  <div class="faceicon">
    <img src="/img/face_smile_man2.png" alt="アイコン画像" loading="lazy">
  </div>
  <div class="chatting">
    <div class="says">
      <p>★文章を入れる★</p>
    </div>
  </div>
</div>
<!--吹き出し終わり-->



 */

.balloon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  margin: 1.5em 0;
  box-sizing: border-box;
}

.balloon .faceicon {
  flex: 0 0 80px;
  width: 80px;
}

.balloon .faceicon img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: solid 3px #dcdcdc;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  display: block;
}

.balloon .chatting {
  flex: 1;
  min-width: 0;
}

.balloon .says {
  position: relative;
  padding: 15px 16px;
  background: #f5f5f5;
  border: 2px solid #dcdcdc;
  border-radius: 12px;
  color: #333;
  line-height: 1.8;
  box-sizing: border-box;
}

.balloon .says::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -26px;
  border: 13px solid transparent;
  border-right: 13px solid #dcdcdc;
}

.balloon .says::after {
  content: "";
  position: absolute;
  top: 28px;
  left: -21px;
  border: 11px solid transparent;
  border-right: 11px solid #f5f5f5;
}

.balloon .says p {
  margin: 0;
  padding: 0;
}


/* クーポンコピーボックス */

.coupon-box{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:8px;
}

.coupon-code{
  display:inline-block;
  padding:8px 12px;
  background:#f5f5f5;
  border:1px solid #ddd;
  border-radius:4px;
  font-weight:bold;
  letter-spacing:1px;
}

.copy-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;

  padding:10px 18px;
  border:none;
  border-radius:999px;

background:#f4a261;
  color:#fff;
  font-size:14px;
  font-weight:700;

  cursor:pointer;

  box-shadow:0 3px 8px rgba(0,0,0,.15);

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.copy-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,.2);
}

.copy-btn:active{
  transform:translateY(1px);
  box-shadow:0 2px 4px rgba(0,0,0,.15);
}