/*
Theme Name: HALELINO
Theme URI: https://www.halelea-sunny.jp/
Author: HALELEI LLC
Author URI: https://www.halelea-sunny.jp/
Description: 就労継続支援B型事業所 HALELINO（ハレリノ）のWordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: halelino
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --color-main-blue: #5BB8D4;
  --color-main-brown: #8B6F4E;
  --color-accent-pink: #F4C0D1;
  --color-accent-orange: #FAC775;
  --color-white: #FFFFFF;
  --color-light-bg: #F8F9FA;
  --color-text: #333333;
  --color-text-light: #666666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
}

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

a {
  color: var(--color-main-blue);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-main-blue);
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-pink), var(--color-accent-orange));
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--color-main-blue), #4AADC9);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(91, 184, 212, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 184, 212, 0.4);
  opacity: 1;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-main-brown), #7A6245);
  box-shadow: 0 4px 15px rgba(139, 111, 78, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 6px 20px rgba(139, 111, 78, 0.4);
}

header.site-header {
  background-color: #ffffff;
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo img {
  height: 60px;
  width: auto;
  mix-blend-mode: multiply;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-navigation a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-main-blue);
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-main-blue);
  cursor: pointer;
}

main {
  margin-top: 90px;
}

.hero {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, #5BB8D4 0%, #8FD4E8 40%, #FAC775 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
  opacity: 0.9;
}

.hero-btn-primary {
  background: #ffffff;
  color: #5BB8D4;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  margin: 8px;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.hero-btn-secondary {
  background: #ffffff;
  color: #5BB8D4;
  border: 2px solid #ffffff;
  padding: 12px 30px;
  border-radius: 30px;
  margin: 8px;
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-btn-secondary:hover {
  background: #f0f9fd;
  opacity: 1;
}

.philosophy {
  background-color: var(--color-light-bg);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.philosophy-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.philosophy-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-accent-pink), var(--color-accent-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-card .icon i {
  font-size: 32px;
  color: #ffffff;
}

.philosophy-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--color-main-blue);
}

.philosophy-card p {
  color: var(--color-text-light);
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.service-item {
  text-align: center;
  padding: 30px;
}

.service-item .icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-main-blue), #4AADC9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item .icon i {
  font-size: 40px;
  color: #ffffff;
}

.service-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--color-main-brown);
}

.service-item p {
  color: var(--color-text-light);
}

.blog-news {
  background-color: var(--color-light-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.blog-category {
  background: var(--color-accent-pink);
  color: var(--color-white);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.blog-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.access-section {
  background: linear-gradient(135deg, rgba(91, 184, 212, 0.05), rgba(244, 192, 209, 0.05));
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.access-info {
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.access-info h3 {
  font-size: 1.5rem;
  color: var(--color-main-blue);
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  align-items: start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 700;
  color: var(--color-main-brown);
  min-width: 100px;
}

.info-value {
  color: var(--color-text);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 400px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}

footer.site-footer {
  background: linear-gradient(135deg, var(--color-main-blue), #4AADC9);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: var(--color-white);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.page-header {
  background: linear-gradient(135deg, rgba(91, 184, 212, 0.9), rgba(244, 192, 209, 0.7)),
              url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?w=1600') center/cover;
  padding: 80px 0;
  text-align: center;
  color: var(--color-white);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-content {
  padding: 80px 0;
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-size: 2rem;
  color: var(--color-main-blue);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--color-accent-pink);
}

.content-section h3 {
  font-size: 1.5rem;
  color: var(--color-main-brown);
  margin: 30px 0 20px;
}

.content-section p {
  margin-bottom: 20px;
  line-height: 1.9;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.staff-card {
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.staff-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.staff-card-content {
  padding: 25px;
}

.staff-card h4 {
  font-size: 1.2rem;
  color: var(--color-main-blue);
  margin-bottom: 5px;
}

.staff-card .position {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.staff-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-item {
  background: var(--color-light-bg);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid var(--color-main-blue);
}

.feature-item h4 {
  font-size: 1.3rem;
  color: var(--color-main-brown);
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--color-text-light);
}

.timeline {
  max-width: 800px;
  margin: 40px auto;
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-time {
  min-width: 100px;
  font-weight: 700;
  color: var(--color-main-blue);
  font-size: 1.1rem;
}

.timeline-content {
  flex: 1;
  background: var(--color-light-bg);
  padding: 20px 25px;
  border-radius: 10px;
  border-left: 4px solid var(--color-accent-orange);
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--color-main-brown);
  margin-bottom: 10px;
}

.flow-steps {
  max-width: 900px;
  margin: 40px auto;
}

.step-item {
  background: var(--color-white);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  border-left: 6px solid var(--color-main-blue);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 30px;
  background: linear-gradient(135deg, var(--color-main-blue), #4AADC9);
  color: var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(91, 184, 212, 0.4);
}

.step-item h3 {
  margin-left: 80px;
  font-size: 1.6rem;
  color: var(--color-main-blue);
  margin-bottom: 20px;
}

.step-item p {
  color: var(--color-text-light);
  line-height: 1.9;
}

.faq {
  max-width: 900px;
  margin: 40px auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background: linear-gradient(90deg, var(--color-accent-pink), var(--color-accent-orange));
  color: var(--color-white);
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 700;
}

.faq-answer {
  padding: 25px;
  color: var(--color-text-light);
  line-height: 1.9;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.contact-form {
  max-width: 700px;
  margin: 40px auto;
  background: var(--color-white);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-main-brown);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-main-blue);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.line-contact {
  background: linear-gradient(135deg, #06C755, #05B34A);
  color: var(--color-white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  margin: 40px 0;
}

.line-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.line-contact p {
  margin-bottom: 20px;
}

.blog-archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.post-single {
  max-width: 900px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 40px;
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--color-main-blue);
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  gap: 20px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.post-thumbnail {
  margin-bottom: 40px;
  border-radius: 15px;
  overflow: hidden;
}

.post-content {
  line-height: 1.9;
  margin-bottom: 60px;
}

.post-content h2 {
  font-size: 1.8rem;
  color: var(--color-main-brown);
  margin: 40px 0 20px;
}

.post-content h3 {
  font-size: 1.4rem;
  color: var(--color-main-brown);
  margin: 30px 0 15px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content img {
  margin: 30px 0;
  border-radius: 10px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.post-nav-link {
  flex: 1;
  padding: 20px;
  background: var(--color-light-bg);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.post-nav-link:hover {
  background: var(--color-accent-pink);
  opacity: 1;
}

.post-nav-link span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 5px;
}

.post-nav-link h4 {
  color: var(--color-main-blue);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 15px;
  }

  .site-logo img {
    height: 50px;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .main-navigation.active {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .main-navigation li {
    border-bottom: 1px solid #e0e0e0;
  }

  .main-navigation a {
    display: block;
    padding: 15px 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content img {
    width: 160px !important;
    margin-bottom: 16px !important;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .philosophy-grid,
  .service-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .access-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-content {
    padding: 50px 0;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 15px;
  }

  .step-item {
    padding: 50px 20px 30px;
  }

  .step-number {
    left: 50%;
    transform: translateX(-50%);
  }

  .step-item h3 {
    margin-left: 0;
    text-align: center;
  }

  .post-navigation {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .blog-grid,
  .blog-archive {
    grid-template-columns: 1fr;
  }
}
