/* ===== しまちゃんのホームページ／完成形の style.css =====
   これは「CSSコースを最後まで進めると出来上がる」姿です。
   むずかしい書き方は使わず、コースで習うものだけで作ってあります
   （色コード・px・flex・grid・box-shadow など）。 */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  color: #2c2622;
  background-color: #faf6ee;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ===== ヘッダー（上に固定） ===== */
.lp-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 34px;
  background-color: #faf6ee;
  border-bottom: 1px solid #e9e3d9;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 16px;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fdece4;
}
.nav {
  display: flex;
  gap: 6px;
}
.nav a {
  text-decoration: none;
  color: #6b635c;
  font-weight: bold;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
}

/* ===== 全体のレイアウト ===== */
.wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 26px 24px 44px;
  display: grid;
  gap: 22px;
}
.card {
  background-color: #ffffff;
  border: 1px solid #e9e3d9;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 40px;
}
.h2 {
  font-size: 30px;
  font-weight: bold;
  margin: 12px 0 0;
}

/* ===== ヒーロー ===== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
  background-color: #fdece4;
}
.hero__body {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.hero__title {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.2;
  margin: 6px 0 0;
}
.hero__title .name {
  color: #e8734e;
}
.hero__lead {
  font-size: 17px;
  color: #6b635c;
  max-width: 32ch;
  margin: 0;
}
.btn {
  font-weight: bold;
  font-size: 15px;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  color: #ffffff;
  background-color: #e8734e;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.hero__art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
}
.hero__caption {
  font-size: 13px;
  color: #6b635c;
}
.hero__disc {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background-color: #fbf1cf;
  border: 1px solid #e9e3d9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__disc img {
  width: 66%;
}

/* ===== じこしょうかい ===== */
.about__text {
  margin-top: 18px;
  font-size: 16px;
  max-width: 60ch;
  display: grid;
  gap: 12px;
}
.about__text p {
  margin: 0;
}
.quote {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 4px solid #e8734e;
  background-color: #fdece4;
  border-radius: 0 14px 14px 0;
  font-size: 17px;
}
.quote cite {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #6b635c;
  font-style: normal;
}

/* ===== すきなもの ===== */
.likes__grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.like {
  background-color: #ffffff;
  border: 1px solid #e9e3d9;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 18px;
  font-weight: bold;
  font-size: 15px;
}

/* ===== れんらく ===== */
.contact {
  text-align: center;
}
.contact-form {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin: 20px auto 0;
  text-align: left;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: bold;
  font-size: 13px;
}
.contact-form input,
.contact-form textarea {
  font-size: 15px;
  padding: 10px 12px;
  width: 100%;
  border: 1px solid #e9e3d9;
  border-radius: 12px;
  background-color: #ffffff;
  color: #2c2622;
}
.contact-form .btn {
  justify-self: start;
}
.form-note {
  margin: 12px 0 0;
  color: #3f9a78;
  font-weight: bold;
  font-size: 14px;
}
.socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid #e9e3d9;
  background-color: #ffffff;
}
.site-footer {
  text-align: center;
  padding: 8px 24px 40px;
}
.copyright {
  color: #6b635c;
  font-size: 13px;
  margin: 0;
}
