:root {
  --orange: #ff8a00;
  --orange-dark: #e67600;
  --green: #2e7d32;
  --green-light: #4caf50;
  --bg-light: #fffdf7;
  --text-main: #333333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "YuGothic", "游ゴシック体", "Yu Gothic", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.7;
}

/* Hero
-------------------------------------------------- */

.hero {
  position: relative;
  background-image: url("background.png"); /* 北海道の風景写真に差し替え */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 80px 16px 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  );
}

.hero-inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  z-index: 1;
}

.hero-text {
  flex: 1 1 320px;
  min-width: 0;
}

.notice {
  background: rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--orange);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.name {
  font-size: 2.2rem;
  margin: 0 0 6px;
  letter-spacing: 0.05em;
}

.name span {
  font-size: 1rem;
  opacity: 0.9;
  margin-left: 8px;
}

.lead {
  margin: 0 0 10px;
  font-size: 1rem;
}

.photo-credit {
  font-size: 0.8rem;
  opacity: 0.85;
}

.hero-photo {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

/* SNS icons (CSS only)
-------------------------------------------------- */

.sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sns-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25);
}

.sns-x {
  background: #000000;
}

.sns-instagram {
  background: radial-gradient(circle at 30% 30%, #ffdc80, #f56040, #bc2a8d);
}

.sns-newspicks {
  background: #163b5b;
}

.sns-note {
  background: #00c4cc;
  color: #004b4e;
}

.sns-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Main sections
-------------------------------------------------- */

.main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

.section {
  padding: 28px 22px;
  margin-bottom: 18px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.section-alt {
  background: linear-gradient(
      135deg,
      rgba(255, 138, 0, 0.06),
      rgba(46, 125, 50, 0.03)
    ),
    #ffffff;
}

.section h2 {
  font-size: 1.25rem;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid var(--green);
  color: var(--green);
}

.section ul {
  margin: 0;
  padding-left: 20px;
}

.section li {
  margin-bottom: 6px;
  padding-left: 2px;
}

/* Links, note text */

.links ul li a {
  color: var(--orange-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 138, 0, 0.4);
}

.links ul li a:hover {
  border-bottom-color: rgba(255, 138, 0, 0.9);
}

.note {
  font-size: 0.85rem;
  color: #666666;
  margin-top: 8px;
}

/* Contact & mirrors
-------------------------------------------------- */

.contact a,
.mirrors a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 125, 50, 0.4);
}

.contact a:hover,
.mirrors a:hover {
  border-bottom-color: rgba(46, 125, 50, 0.9);
}

/* Footer
-------------------------------------------------- */

.footer {
  background: #222222;
  color: #f5f5f5;
  text-align: center;
  padding: 18px 10px;
  font-size: 0.85rem;
}

/* Responsive
-------------------------------------------------- */

@media (max-width: 768px) {
  .hero {
    padding: 56px 14px 40px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: left;
  }

  .hero-photo img {
    width: 220px;
    height: 220px;
  }

  .section {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .name {
    font-size: 1.8rem;
  }

  .hero-photo img {
    width: 190px;
    height: 190px;
    border-radius: 20px;
  }
}