/* ============================================
   星澤幸子オフィシャルサイト v2.0
   ============================================ */

:root {
  --color-primary: #387555;
  --color-primary-light: #3d3570;
  --color-primary-dark: #1e1a3d;
  --color-accent: #c4a265;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-light: #f8f7f4;
  --color-border: #e0ddd6;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', '游明朝', serif;
  --max-width: 1100px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ============================================
   Header
   ============================================ */
#header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 60px;
}
.header_inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  height: 50px;
  position: relative;
}
.header_logo {
  flex-shrink: 0;
  position: relative;
  z-index: 1100;
}
.header_logo a {
  display: block;
}
.header_logo img {
  height: 120px;
  width: auto;
  position: relative;
  top: 30px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}
.header_nav {
  flex-grow: 1;
}
.gnav_list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
}
.gnav_list li a {
  display: block;
  color: #494949;
  font-size: 13px;
  padding: 10px 14px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.gnav_list li a:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #494949;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ============================================
   Mainvisual
   ============================================ */
.mainvisual {
  width: 100%;
  overflow: hidden;
}
.mainvisual_img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Catchcopy
   ============================================ */
.catchcopy {
  padding: 50px 20px;
  text-align: center;
}
.catchcopy_text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-primary);
}

/* ============================================
   Icon Menu
   ============================================ */
.icon_menu {
  padding: 0 20px 60px;
}
.icon_menu_inner {
  max-width: 750px;
  margin: 0 auto;
}
.icon_menu_row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}
.icon_menu_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
}
.icon_menu_item:hover {
  opacity: 1;
}
.icon_menu_item:hover .icon_menu_img img {
  transform: scale(1.05);
}
.icon_menu_img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
}
.icon_menu_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.icon_menu_label {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

/* ============================================
   News Section
   ============================================ */
.news_section {
  padding: 0 20px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.news_inner {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}
.news_left {
  flex: 1;
}
.news_right {
  flex-shrink: 0;
  padding-top: 5px;
}
.news_sns_icons {
  display: flex;
  gap: 12px;
}
.news_sns_icons a {
  display: block;
  width: 40px;
  height: 40px;
}
.news_sns_icons img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Tabs */
.news_tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}
.news_tab {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 24px;
  cursor: pointer;
  color: var(--color-text-light);
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.news_tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.news_tab:hover {
  color: var(--color-primary);
}

/* Tab Content */
.news_tab_content {
  display: none;
}
.news_tab_content.active {
  display: block;
}

/* News List */
.news_list ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.news_list ul li:first-child {
  border-top: 1px solid var(--color-border);
}
.news_date {
  font-size: 13px;
  color: var(--color-text-light);
  flex-shrink: 0;
}
.news_list a {
  font-size: 14px;
}
.news_list a:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* News Photos */
.news_photos_inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.news_photos_slider {
  display: flex;
  gap: 20px;
  overflow: hidden;
}
.news_photo_item {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
}
.news_photo_item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}
.news_photo_item p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
  color: var(--color-text-light);
}

/* Slick overrides */
.news_photos_slider .slick-list {
  overflow: hidden;
}
.news_photos_slider .slick-slide {
  padding: 0 10px;
}
.news_photos_slider .slick-prev,
.news_photos_slider .slick-next {
  width: 36px;
  height: 36px;
  z-index: 10;
}
.news_photos_slider .slick-prev {
  left: -18px;
}
.news_photos_slider .slick-next {
  right: -18px;
}
.news_photos_slider .slick-prev:before,
.news_photos_slider .slick-next:before {
  font-size: 28px;
  color: var(--color-primary);
}

/* ============================================
   Support Section
   ============================================ */
.support_section {
  padding: 40px 20px 60px;
  background: var(--color-bg);
  max-width: var(--max-width);
  margin: 0 auto;
}
.support_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.support_list li {
  flex-shrink: 0;
}
.support_list li img {
  height: 50px;
  width: auto;
}

/* ============================================
   Footer
   ============================================ */
#footer {
  background: var(--color-primary);
  color: #fff;
  padding: 50px 20px 0;
}
.footer_inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}
.footer_left {
  flex-shrink: 0;
}
.footer_title {
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.footer_site_name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer_contact_info {
  font-size: 14px;
  line-height: 2;
}
.footer_contact_info a {
  color: #fff;
}
.footer_right {
  flex: 1;
}
.footer_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.footer_nav li {
  width: 50%;
}
.footer_nav li a {
  display: block;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
  transition: opacity 0.3s;
}
.footer_nav li a:hover {
  opacity: 0.7;
}
.footer_copyright {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 20px 0;
}
.footer_copyright small {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* Page Top */
.pagetop_wrap {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
}
.pagetop_btn {
  display: block;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  transition: background 0.3s;
}
.pagetop_btn:hover {
  background: var(--color-primary-light);
  opacity: 1;
}

/* ============================================
   Responsive
   ============================================ */
@media screen and (max-width: 900px) {
  .hamburger {
    display: block;
  }
  .header_nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--color-primary);
    padding: 80px 0 30px;
    transition: right 0.3s;
    overflow-y: auto;
    z-index: 1050;
  }
  .header_nav.open {
    right: 0;
  }
  .gnav_list {
    flex-direction: column;
    align-items: stretch;
  }
  .gnav_list li a {
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .header_logo img {
    height: 100px;
    top: 10px;
  }

  /* Overlay */
  .nav_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1020;
  }
  .nav_overlay.active {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .catchcopy {
    padding: 30px 20px;
  }
  .catchcopy_text {
    font-size: 17px;
    letter-spacing: 0.08em;
  }
  .icon_menu {
    padding: 0 15px 40px;
  }
  .icon_menu_row {
    gap: 15px;
    margin-bottom: 20px;
  }
  .icon_menu_item {
    width: calc(25% - 12px);
  }
  .icon_menu_img {
    width: 80px;
    height: 80px;
  }
  .icon_menu_label {
    font-size: 11px;
  }
  .news_inner {
    flex-direction: column;
    gap: 15px;
  }
  .news_right {
    order: -1;
  }
  .news_photos_slider {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .news_photo_item {
    flex: 0 0 60%;
    scroll-snap-align: start;
  }
  .footer_inner {
    flex-direction: column;
    gap: 30px;
  }
  .footer_nav li {
    width: 50%;
  }
}

@media screen and (max-width: 480px) {
  .icon_menu_row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .icon_menu_item {
    width: calc(50% - 10px);
  }
  .icon_menu_img {
    width: 90px;
    height: 90px;
  }
  .gnav_list li a {
    font-size: 14px;
    padding: 12px 20px;
  }
  .catchcopy_text {
    font-size: 15px;
  }
}

/* ============================================
   Sub Pages
   ============================================ */
#contents.theme_main_only {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}
.contents_inner {
  width: 100%;
}
#contents.theme_main_only #main {
  width: 100%;
}
#contents.theme_main_only #main_middle {
  width: 100%;
}

/* パンくずリスト */
.breadcrumb {
  padding: 20px 0;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb a {
  color: var(--color-primary);
}
.mb_50 { margin-bottom: 50px; }
.s_mb_30 {}

/* 見出し */
.heading {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-primary);
}
.heading_text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

/* コンテンツエリア */
#contents2.about {
  width: 100%;
}
.about_profile {
  width: 100%;
}
.about_profile .inner_container {
  width: 100%;
}

/* エントリーコンテンツ */
.entry-list {
  width: 100%;
  line-height: 2;
}
.entry-list img {
  max-width: 100%;
  height: auto;
}
.entry-list h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 50px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.entry-list h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: var(--color-text);
}
.entry-list p {
  margin-bottom: 16px;
}
.entry-list ul,
.entry-list ol {
  margin: 16px 0;
  padding-left: 1.5em;
}
.entry-list ul { list-style: disc; }
.entry-list ol { list-style: decimal; }
.entry-list li {
  margin-bottom: 8px;
}
.entry-list a {
  color: var(--color-primary);
  text-decoration: underline;
}
.entry-list a:hover {
  opacity: 0.7;
}

/* WordPress ブロックエディタ対応 */
.wp-block-image {
  margin: 20px 0;
}
.wp-block-image img {
  max-width: 100%;
  height: auto;
}
.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.wp-block-gallery .wp-block-image {
  flex: 1 1 calc(33% - 10px);
  margin: 0;
}
.wp-block-columns {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}
.wp-block-column {
  flex: 1;
}

@media screen and (max-width: 768px) {
  #contents.theme_main_only {
    padding: 0 15px 40px;
  }
  .heading_text {
    font-size: 20px;
  }
  .entry-list h2 {
    font-size: 18px;
    margin: 30px 0 15px;
  }
  .wp-block-columns {
    flex-direction: column;
  }
  .wp-block-gallery .wp-block-image {
    flex: 1 1 calc(50% - 10px);
  }
}
