@charset "utf-8";

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ==========================================================================
   共通設定
   ========================================================================== */

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

  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    position: relative;
    color: #E07B58;
  }

  .section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: #F3C157;
    margin: 0 auto 16px;
  }

  .news .section-title::after {
    margin: 0;
    margin-bottom: 32px;
  }

  .section-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  @media (min-width: 1200px) {
    .container {
      padding: 0 40px;
    }
  }

  @media (max-width: 768px) {

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

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

  @media (max-width: 320px) {
    .section-title {
      font-size: 1.8rem;
    }
  }

/* =======================================================================
  メディアクエリによる表示／非表示
======================================================================= */

.pc { display: block; }
.sp { display: none; }

@media (max-width: 768px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* ==========================================================================
   Loading Screen
   ========================================================================== */

  #loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f5f1ea 0%, #e6ddd0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  #loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
  }

  .loading-spinner {
    text-align: center;
  }

  .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e6ddd0;
    border-top: 3px solid #8B4513;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
  }

  .loading-spinner p {
    font-size: 1.1rem;
    color: #8B4513;
    font-weight: 500;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* ==========================================================================
   ヘッダー
   ========================================================================== */

  header {
    background: #F3C157;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #d4b896;
    transition: box-shadow 0.3s ease;
  }

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

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #5C3A21;
    text-decoration: none;
  }

  .logo-icon {
    font-size: 1.8rem;
  }

  .logo-text {
    display: block;
    line-height: 1.2;
  }

  .logo-text small {
    font-size: 15px;
  }

  nav ul {
    display: flex;
    gap: 32px;
  }

  nav a {
    color: #5C3A21;
    font-weight: bold;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
  }

  nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #8B4513;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  nav a:hover {
    color: #E07B58;
  }

  nav a:hover::after {
    width: 100%;
  }

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

    .logo-text strong {
      font-size: 1.2rem;
    }

    .logo-text small {
      font-size: 0.9rem;
    }    

    nav ul {
      display: none;
    }
  }
  
/* ==========================================================================
   TOPページメインビジュアル
   ========================================================================== */

  .hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
  }

  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(img/top-hero-img1.jpg) no-repeat;
    background-size: cover;
    background-position: center 60%;
    background-attachment: fixed;
    transition: background-image 2s ease-in-out;
  }

  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 8px;
    font-weight: 300;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease 0.5s forwards;
  }

  .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 35px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease 0.8s forwards;
  }

  .hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease 1.1s forwards;
  }

  .cta-button {
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 2px solid transparent;
  }

  .cta-button.primary {
    background: linear-gradient(45deg, #8B4513, #A0522D);
    color: white;
    border-color: #8B4513;
  }

  .cta-button.secondary {
    background: transparent;
    color: white;
    border-color: white;
  }

  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }

  .cta-button.primary:hover {
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
  }

  .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
  }

  .scroll-indicator span {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
  }

  .scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
  }

  @keyframes heroFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) rotate(45deg);
    }
    40% {
      transform: translateY(-10px) rotate(45deg);
    }
    60% {
      transform: translateY(-5px) rotate(45deg);
    }
  }

  @media (min-width: 1200px) {
    .hero-content {
      padding: 0 60px;
    } 
  }

  @media (max-width: 768px) {
    .hero {
      height: 80vh;
      min-height: 500px;
      margin-top: 50px;
    }

    .hero-content {
      padding: 0 20px;
    }

    .hero-actions {
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }

    .cta-button {
      width: 100%;
      max-width: 280px;
      justify-content: center;
    }
  }

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

  @media (max-width: 320px) {
    .hero h1 {
      font-size: 1.8rem;
    }
    .subtitle {
      font-size: 1rem;
    }

    .cta-button {
      padding: 12px 25px;
      font-size: 0.9rem;
    }
  }

/* ==========================================================================
   YouTube
   ========================================================================== */
  
  .movie {
    padding-top: 120px;
    background: #faf7f3;
    }

  .movie-grid {
    max-width: 600px;
    margin: 0 auto;
  }

  .movie-item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9の比率 */
    height: 0;
  }

  .movie-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  @media (max-width: 768px) {  
    .movie {
      padding-top: 80px;
    }
  }

/* ==========================================================================
   お知らせ
   ========================================================================== */

  .news {
    padding: 80px 0;
    background: #faf7f3;
  }

  .news h2 {
    text-align: left;
    margin-bottom: 10px;
  }

  .news-content {
    padding: 25px;
  }

  .news-contact li {
    margin-top: 15px;
    padding:0 20px 15px;
    border-bottom: 2px dotted #7A5230;
    max-width: 1100px;
  }

  .news-contact dt {
    float: left;
    width: 150px;
    padding: 0 10px 0 0;
    box-sizing: border-box;
    font-weight: bold;
  }

  .news-contact dd {
    text-align: left;
  }

  @media (max-width: 768px) {
    .news {
      padding: 60px 0;
    }

    .news-header {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }

    .news-contact li {
      margin-top: 8px;
      padding: 0 8px 8px;
    }

    .news-contact dt {
      float: none;
      text-align: left;
      padding-bottom: 3px;
    }
  }  

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

  /* ==========================================================================
  会社情報
  ========================================================================== */

  .about {
    padding-top: 180px;
    background: #faf7f3;
    padding-bottom: 60px;
  }

  .about-comment {
    padding: 0 40px 160px;
    color: #5C3A21;
    text-align: right;
    position: relative;
    z-index: 2;
  }

  .about-background {
    background: url(img/about-img1.jpg) no-repeat fixed;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .about-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    padding-top: 160px;
    margin-bottom: 32px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease 0.5s forwards;
  }

  /* プロフィール */

  .profile {
    padding-top: 1px;
    background: #faf7f3;
  }

  .profile-item {
    max-width: 960px;  
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 80px 48px 48px;
    margin: 180px auto 0;
    background: #fff;   
  }

  .profile-name {
    text-align: center;
    margin-bottom: 80px;
  }

  .profile h2 {
    font-size: 36px;
    color: #E07B58;
    margin-bottom: 10px;
    border-bottom: 3px solid #F3C157;
    display: inline-block;
    padding-bottom: 5px;
  }

  .profile-flex {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
  }

  .profile h3 {
    font-size: 30px;
  }

  .profile h5 {
    font-size: 18px;
    margin-top: 8px;
  }

  .profile-left {
    width: 75%;
  }

  .profile-flex img {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .profile-work {
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }

  /* 会社情報 */
 
  .company {
    padding: 140px 0 100px;
    background: #faf7f3;
  }

  .company img {
    margin: 0 auto;
  }

  .company ul {
    max-width: 960px;
    margin: 80px auto 0;
  }

  .company ul li {
    padding: 15px 0 15px 10%;
    border-bottom: 1px solid #e5e5e5;
  }

  .company dt {
    float: left;
    width: 250px;
    padding: 0 10px 0 0;
    box-sizing: border-box;
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .about {
      padding-top: 120px;
      margin-bottom: -60px;
    }

    .about-background {
      background: url(img/about-img1-sp.jpg) no-repeat;
      background-size: cover;
      background-position: center 70%;
    }

    .about-content h1 {
      padding-top: 80px;
    }

    .about-comment {
      padding: 0 40px 80px;
    }
  
    .company {
      padding: 40px 0;
    }

    .company ul {
      margin-top: 24px;
    }
  
    .company ul li {
      padding: 8px 0 8px 3%;
    }

    .company dt {
      float: none;
      padding-bottom: 3px;
    }

    .company dt::after {
      content: '';
      display: block;
      width: 80px;
      height: 3px;
      background: #F3C157;
    }

    .profile {
      padding-top: 20px;
    }

    .profile-item {
      padding: 32px 24px 24px;
      margin: 40px auto 0;   
    }

    .profile-flex {
      flex-direction: column-reverse; 
      gap: 16px;
      margin-bottom: 0;
    }

    .profile-left {
      width: 100%;
    }

    .profile-work {
      flex-direction: column;
      gap: 8px;
    }

    .profile h2 {
      font-size: 26px;  
    }

    .profile-name {
      margin-bottom: 16px;
    }

    .profile h3 {
      font-size: 24px;
    }

    .profile-flex img {
      margin:0 auto;
      max-width: 300px;
    }
  }

/* ==========================================================================
   施設情報・設備
   ========================================================================== */

  .facillity {
    padding: 160px 0;
    background: white;
  }

  .facillity h2 {
    text-align: center;
    margin-bottom: 10px;
  }

  .facillity-contact {
    margin-top: 15px;
    padding-bottom:15px;
    border-bottom: 4px dotted #7A5230;
    width: 1100px;
  }

  .facillity-contact p {
    display: block;
    text-align: left;
  }

  .facillity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 20px;
  }

  .facillity-all-link {
    color: #8B4513;
    font-size: 0.95rem;
    padding: 10px 25px;
    border: 2px solid #8B4513;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .facillity-all-link:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
  }

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

  .facillity-item {
    background: #faf7f3;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #d4b896;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }

  .facillity-item:hover {
    transform: translateY(-5px);
    border-left-color: #8B4513;
    border-left-width: 6px;
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.1);
  }

  .facillity-image {
    position: relative;
    height: 300px;
    overflow: hidden;
  }

  .facillity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .facillity-item:hover .news-image img {
    transform: scale(1.05);
  }

  .facillity-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
  }

  .facillity-content {
    padding: 24px;
  }

  .facillity-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
  }

  .facillity-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  @media (max-width: 768px) {
    .facillity {
      padding: 120px 0 60px;
    }

    .facillity-content {
      padding: 16px 24px;
    }
  }

/* ==========================================================================
   入所の流れ
   ========================================================================== */

  .flow {
    padding: 180px 0;
    background: #faf7f3;
  }

  .flow-grid {
    gap: 60px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }

  .flow-item {
    display: flex;
    background: white;
    gap: 24px;
    padding: 40px 30px;
    margin-top: 120px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #8B4513;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .flow-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(160, 82, 45, 0.05));
    transition: width 0.3s ease;
    z-index: 1;
  }

  .flow-item:hover::before {
    width: 100%;
  }

  .flow-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
    border-left-color: #A0522D;
    border-left-width: 6px;
  }

  .flow-step {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
  }

  .flow-icon {
    width: 120px;
    height: 90px;
    background: linear-gradient(45deg, #E07B58);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 32px;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
  }

  .flow-item:hover .flow-icon {
    transform: scale(1.1) rotate(5deg);
  }

  .flow-h3 {
    font-size: 36px;
    color: #8B4513;
    text-align: left;
  }

  .flow-item p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding-left: 32px;
    text-align: left;
  }

  .flow-left {
    width: 720px;
  }

  .flow-right {
    text-align: right;
    width: 240px;
    margin-right: 24px;
    margin-top: auto;
    margin-bottom: auto;
  }

  @media (max-width: 768px) {
    .flow {
      padding: 120px 0 40px;
    }
    .flow-item {
      flex-direction: column;
      margin-top: 40px;
      padding: 24px;      
    }
    .flow-left {
      width: auto;
    }
    .flow-step {
      flex-direction: column;
      margin-bottom: 16px;
    }

    .flow-icon {
      width: 90px;
      height: 60px;
      background: linear-gradient(45deg, #E07B58);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 32px;
      font-size: 1.25rem;
    }

    .flow-h3 {
      font-size: 30px;
    }

    .flow-item p {
      padding-left: 0;
      margin-bottom: 0;
      
    }
    .flow-right { 
      text-align: center;
      margin: 0 auto;
    }
  }

/* ==========================================================================
   料金表
   ========================================================================== */

   .price {
    padding: 180px 0;
    background: #faf7f3;
  }

  .price-grid {
    background: #fff;
    border-radius: 20px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 16px;
  }

  .price h2 {
    text-align: center;
    margin-bottom: 10px;
  }

  .price h3 {
    font-size: 32px;
    color: #5C3A21;
  }

  .price h4 {
    font-size: 20px;
    margin: 8px 0;
  }

  .price-table {
   border-collapse:  collapse;
   margin: 0 auto 56px;
   border: 2px solid #7A5230;
   table-layout: fixed;    
   text-align: center;   
  }

  .price-table td,.price-table th {
    margin: 0 auto;
    border: 2px solid #7A5230;
    padding: 10px 16px;
  }

  .price-table td {
    text-align: left;
  }

  .price-table-2 {
    border-collapse:  collapse;
    margin: 0 auto 24px;
    border: 2px solid #7A5230;
    table-layout: fixed;    
  }

  .price-table-2 td,.price-table-2 th {
    margin: 0 auto;
    border: 2px solid #7A5230;
    padding: 8px;
  }

  .strong-p {
    font-size: 80px;
    font-weight: bold;
  }

  .price-ul {
    border: 2px solid #7A5230; 
    margin: 8px auto;
    padding: 16px;
    text-align: left;
    max-width: 700px;
  }

  .price-btn {
    background: #E07B58;
    color: #fff;
    margin: 40px auto 0;
    padding: 10px 20px;
    width:200px;
    font-weight: bold;
    border-radius: 30px;
  }


  @media (max-width: 768px) {
    .price {
      padding: 120px 0 40px;
    }

    .price h3 {
      font-size: 24px;
    }

    .price-grid {
      padding-top: 32px;
      padding-bottom: 32px;
    }
  }

  @media (max-width: 520px) {
    .price-table td,.price-table th {
      padding: 8px 8px;
    }

    .price-table-2 {
      font-size: 14px;
      table-layout: fixed;    
      text-align: center;  
      margin-left: -8px;
    }

    .price-table-2 td,.price-table-2 th {
      text-align: center;
      word-wrap: break-word;
      overflow-wrap: break-word;
      padding: 4px 2px;
    }

    .strong-p {
      font-size: 56px;
      font-weight: bold;
    }
    .price-btn {
      margin: 24px auto 0;
    }
  }

/* ==========================================================================
   グロリアグループ紹介
   ========================================================================== */

  .group {
    padding: 180px 0;
  }

  .group h2 {
    text-align: center;
    margin-bottom: 10px;
  }

  .group-contact {
    margin-top: 15px;
    padding-bottom:15px;
    border-bottom: 4px dotted #7A5230;
    width: 1100px;
    max-width: 100%;
  }

  .group-contact p {
    display: block;
    text-align: left;
  }

  .group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 20px;
  }

  .group-all-link {
    color: #8B4513;
    font-size: 0.95rem;
    padding: 10px 25px;
    border: 2px solid #8B4513;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .group-all-link:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
  }

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

  .group-item {
    background: #faf7f3;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #d4b896;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }

  .group-item:hover {
    transform: translateY(-5px);
    border-left-color: #8B4513;
    border-left-width: 6px;
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.1);
  }

  .group-image {
    position: relative;
    height: 250px;
    overflow: hidden;
  }

  .group-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .group-item:hover .news-image img {
    transform: scale(1.05);
  }

  .group-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
  }

  .group-content {
    padding: 25px;
  }

  .group-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
  }

  .group-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .group-tags {
    margin-top: 5px;
  }

  .tag {
    background: #8B4513;
    color: white;
    padding: 3px 12px;
    border-radius: 12px;
    margin-right: 5px;
    font-size: 0.8rem;
    font-weight: 500;
  }

.carousel {
  position: relative;
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.slides2,
.slides {
  position: relative;
  width: 100%;
  height: 300px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2枚スライド用アニメーション */
.slides2 .slide:nth-child(1) {
  animation: fadeSlide2-1 10s infinite;
}

.slides2 .slide:nth-child(2) {
  animation: fadeSlide2-2 10s infinite;
}

@keyframes fadeSlide2-1 {
  0%   { opacity: 1; }
  35%  { opacity: 1; }
  50%  { opacity: 0; }
  85%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeSlide2-2 {
  0%   { opacity: 0; }
  35%  { opacity: 0; }
  50%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}

/* 3枚スライド用アニメーション */
.slides .slide:nth-child(1) {
  animation: fadeSlide3-1 15s infinite;
}

.slides .slide:nth-child(2) {
  animation: fadeSlide3-2 15s infinite;
}

.slides .slide:nth-child(3) {
  animation: fadeSlide3-3 15s infinite;
}

@keyframes fadeSlide3-1 {
  0%   { opacity: 1; }
  23%  { opacity: 1; }
  33%  { opacity: 0; }
  90%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeSlide3-2 {
  0%   { opacity: 0; }
  23%  { opacity: 0; }
  33%  { opacity: 1; }
  56%  { opacity: 1; }
  66%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes fadeSlide3-3 {
  0%   { opacity: 0; }
  56%  { opacity: 0; }
  66%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

/* レスポンシブ対応 */
@media (max-width: 1150px) {
  .slides2,
  .slides {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .slides2,
  .slides {
    height: 300px;
  }
  .group {
    padding: 120px 0 40px;
  }  
}

@media (max-width: 480px) {
  .slides2,
  .slides {
    height: 250px;
  }
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */

  .contact {
    padding: 180px 0;
    background: #faf7f3;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }

  .contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }

  .contact-icon {
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
  }

  .contact-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
  }

  .phone-number {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: #8B4513 !important;
    margin: 8px 0 !important;
  }

  .phone-hours {
    font-size: 0.9rem !important;
    color: #999 !important;
  }

  .map-link {
    color: #8B4513;
    font-weight: 500;
    border-bottom: 1px solid #8B4513;
    transition: all 0.3s ease;
  }

  .map-link:hover {
    color: #A0522D;
    border-bottom-color: #A0522D;
  }

  /* 問い合わせフォーム */
  .contact-form {
    background: white;
    padding: 40px;
    margin: 0 auto;
    max-width: 960px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  }

  .inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  .form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
  }

  .required {
    color: #e74c3c;
    font-weight: bold;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
  }

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

  .form-actions {
    margin-top: 20px;
    text-align: center;
  }

  .submit-button {
    background: linear-gradient(45deg, #E07B58, #ff5f27);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
  }

  .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
  }

  .privacy-note {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
  }

  .privacy-note a {
    color: #8B4513;
    text-decoration: underline;
  }

  @media (max-width: 768px) {
   .contact {
    padding: 120px 0 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info {
    gap: 20px;
  }
  
  .contact-item {
    padding: 20px;
    gap: 15px;
  }
  
  .contact-form {
    padding: 30px 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .contact-form {
    padding: 25px 20px;
  }
}

  @media (max-width: 320px) {
    .contact-form {
      padding: 20px 15px;
    }
  }

/* ==========================================================================
   フッター
   ========================================================================== */

  footer {
    background: #e6b960;
    color: #5d4e37;
    padding: 40px 0 20px;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 20px;
    align-items: start;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
  }

  .footer-right {
    display: flex;
    flex-wrap: wrap;
  }

  .footer-section h3 {
    color: #5d4e37;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
  }

  .footer-section h4 {
    color: #5d4e37;
    margin-bottom: 20px;
    margin-left: 30px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-logo .logo-icon {
    font-size: 1.5rem;
  }

  .footer-section p {
    line-height: 1.8;
    font-size: 0.9rem;
    color: #5d4e37;
  }

  .footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-section a {
    color: #5d4e37;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 2px 0;
  }

  .footer-section a:hover {
    color: #8B4513;
    font-weight: 500;
  }

  .footer-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d4b896;
  }

  .footer-contact a {
    color: #8B4513;
    font-weight: 500;
  }

  .footer-bottom {
    border-top: 1px solid #7A5230;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
  }

  .footer-bottom p {
    color: #5d4e37;
    font-size: 0.85rem;
  }

  .footer-links {
    display: flex;
    gap: 20px;
  }

  .footer-links a {
    color: #5d4e37;
    font-size: 0.85rem;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: #8B4513;
  }

  @media (max-width: 1024px) {
    .footer-content {
      grid-template-columns: 2fr 1fr 1fr;
      gap: 30px;
    }
  }

  @media (max-width: 768px) {
    .footer-content {
      grid-template-columns: 1fr;
      gap: 30px;
      text-align: center;
      margin-top: 0;
    }

    .footer-right {
      flex-direction: column;
      gap: 15px;
      margin-bottom: 20px;
    }

    .footer-section h3 {
      margin: 0 auto 15px;
      text-align: center;
    }

    .footer-section h4 {
      margin: 0 auto;
      display: block;
      text-align: center;
    }

    .footer-links {
      flex-direction: column;
      gap: 15px;
    }

    .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }
  }
  @media (max-width: 480px) {
    footer {
      padding: 20px 0;
    }
  }

/* ==========================================================================
   プライバシーポリシー
   ========================================================================== */

  .privacy {
    padding: 180px 0 100px;
    color: #5C3A21;
    background: #faf7f3;
    line-height: 1.7;
  }

  .privacy h1 {
    text-align: left;
    font-size: 32px;
  }

  .privacy h2 {
    margin-top: 24px;
  }

  .privacy ul {
    list-style-type: disc;
    padding-left: 20px;
  }

  .privacy ol {
    list-style-type: decimal;
    padding-left: 20px;    
  }

  @media (max-width: 768px) {
    .privacy {
      padding: 120px 0 40px;
    }

    .privacy h1 {
      font-size: 24px;
    }

    .privacy h2 {
      margin-top: 16px;
      font-size: 20px;
    }
  }

/* ==========================================================================
   サンクスページ
   ========================================================================== */

  .thanks {
    padding: 180px 0 400px;
    color: #5C3A21;
    background: #faf7f3;
    line-height: 1.7;
    text-align: center;
  }

  .thanks-h2 {
    margin-bottom: 16px;
  }

  .thanks-btn {
    background: #E07B58;
    color: #fff;
    margin: 40px auto;
    padding: 10px 20px;
    width:200px;
    font-weight: bold;
    border-radius: 30px;
  }


