/* ===========================================
  
  TOPページ
  PCレスポンシブ対応 (800px以上)

=========================================== */
@media (min-width: 801px) {
  .container {
    max-width: 1550px;
    margin: 0 auto;
    font-feature-settings: "palt";
  }

  /* Logo Section */
  .logo-section {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Header */
  .main-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    left: 0;
    right: 0;
  }

  .main-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 40px;
    width: auto;
  }

  .nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
  }

  .nav-menu li {
    margin: 0;
  }

  .nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding: 10px 0;
  }

  .nav-menu a:hover {
    color: #004b6c;
  }

  /* Common Button Styles */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #40220f;
    background-color: transparent;
    width: 300px;
    height: 50px;
    text-decoration: none;
    color: #40220f;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0 60px 0 20px;
  }

  .btn::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 16px;
    background: url('/image/common/icon_arrow.svg') no-repeat center;
    background-size: contain;
  }

  /* Hero Section */
  .top-hero {
    position: relative;
    overflow: visible;
    margin: 0 0 130px 0;
    padding: 0;
  }

  .top-hero__slider {
    max-width: 1310px;
    margin: 0 auto;
    height: auto;
    position: relative;
    overflow: hidden;
  }

  .top-hero__slide {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .top-hero__slide:not(.top-hero__slide--active) {
    position: absolute;
    top: 0;
    left: 0;
  }

  .top-hero__slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }


  .top-hero__slide--active {
    opacity: 1;
  }

  .top-hero__content {
    text-align: center;
    color: white;
    max-width: 600px;
  }

  .top-hero__title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.4;
  }

  .top-hero__text {
    font-size: 1rem;
    opacity: 0.9;
  }

  .top-hero__indicators {
    position: absolute;
    top: 100%;
    margin: 30px 0 0 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1550px;
    width: 100%;
    padding-left: 120px;
    display: flex;
    gap: 0.25rem;
    box-sizing: border-box;
  }

  .top-hero__indicator {
    width: 50px;
    height: 0.1875rem;
    background: #e6e6e6;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 62.4375rem;
  }

  .top-hero__indicator--active {
    background: #999;
  }

  /* Section Styles */
  .main-content .top-about,
  .main-content {
    padding: 60px 0 120px;
  }

  .top-section__header {
    display: flex;
    align-items: flex-end;
    gap: 0.8125rem; /* 13px = 13÷16 = 0.8125rem */
    margin-bottom: 1rem; /* 25px = 25÷16 = 1rem */
  }

  .top-section__title {
    font-family: 'DIN 2014', Urbanist, sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #004b6c;
    margin-bottom: 0;
    line-height: 1;
  }

  .top-section__subtitle {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: bold;
    color: #004b6c !important;
    letter-spacing: 0.0625rem; /* 1px = 1÷16 = 0.0625rem */
    position: relative;
    padding-left: 1rem; /* 16px = 16÷16 = 1rem */
  }

  .top-section__subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.625rem; /* 10px = 10÷16 = 0.625rem */
    height: 0.125rem; /* 2px = 2÷16 = 0.125rem */
    background-color: #004b6c;
  }

  /* About Section */
  .top-about {
    margin-bottom: 120px;
    background: white;
  }

  .top-about__content {
    display: grid;
    grid-template-columns:1fr 1fr;
    align-items: stretch;
  }
  
  .top-commitment__text {
    margin-left: 120px;
    width: 590px;
  }
  .top-about__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 580px;
    margin-left: 120px;
  }
  
  .top-about__paragraph {
    margin-bottom: 0.5rem;
    line-height: 2;
    color: #000;
    font-size: 16px;
  }

  .top-about__note {
    margin-bottom: 20px;
  }

  .top-about__text .g-btn {
    margin-top: auto;
  }

  .top-about__image {
    width: auto;
    height: 560px;
    display: flex;
    align-items: center;
  }

  .top-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* News Section */
  .top-news {
    background: white;
    margin-bottom: 120px;
    padding-bottom: 0;
  }

  .top-news .top-section__header {
    justify-content: center;
    margin-bottom: 1.875rem; /* 30px = 30÷16 = 1.875rem */
  }

  .top-news__list {
    max-width: 800px;
    margin: 0 auto;
  }

  .top-news__item {
    display: flex;
    align-items: flex-end;
  }

  .top-news__date {
    padding: 16px 0 8px;
    color: #004b6c;
    font-weight: bold;
    margin-right: 16px;
    font-size: 18px;
    border-bottom: 1px solid #000;
    width: 170px;
  }

  .top-news__title {
    padding: 16px 0 8px;
    font-size: 18px;
    line-height: 1.5;
    flex: 1;
    border-bottom: 1px solid #999;
    a {
      color: #333;
      text-decoration: none;
    }
  }

  /* Products Section */
  .top-products {
    background: #f8f9fa;
    margin-left: calc(50% - 50vw);
    padding-top: 0;
    padding-bottom: 64px;
  }

  .top-products__grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 60px;
    align-items: stretch;
  }

  .top-products__content {
    margin: 48px 0;
    width: 630px;
  }

  .top-products__image {
    max-width: 760px;
    height: auto;
    display: flex;
    align-items: center;
  }

  .top-products__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .top-container_hd {
    font-family: "Yu Mincho", "游明朝", serif;
    font-size: 32px;
    letter-spacing: 0.14ex;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #000;
    font-feature-settings: normal;
  }

  .top-products__paragraph {
    color: #000;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 16px;
  }

  .g-btn-container {
    display: flex;
    justify-content: end;
    margin: 30px auto 0;
    max-width: 1310px;
  }

  .g-btn-container .g-btn {
    flex-shrink: 0;
    min-width: fit-content;
    padding-left: 20px;
    padding-right: 80px;
    width: auto;
  }

  .top-products__slider {
    max-width: none;
    overflow: hidden;
    margin-top: 48px;
  }

  .top-products__slider-track {
    display: flex;
    animation: slide 30s linear infinite;
  }

  .top-products__slide {
    width: calc(100% / 3);
    height: 500px;
    flex-shrink: 0;
    overflow: hidden;
  }

  .top-products__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  @keyframes slide {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
  }

  /* Commitment Section */
  .top-commitment {
    background: white;
    padding: 120px 0;
  }

  .top-commitment__content {
    display: grid;
    grid-template-columns:1fr 1fr;
    align-items: stretch;
  }

  .top-commitment__paragraph {
    color: #000;
    line-height: 2;
    margin-bottom: 0.5rem;
    font-size: 16px;
  }

  .top-commitment__text .g-btn {
    margin-top: 48px;
  }

  .top-commitment__image {
    width: auto;
    height: 560px;
    display: flex;
    align-items: center;
  }

  .top-commitment__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Contact Section */
  .top-contact {
    background: #f8f9fa;
    padding: 0;
  }

  .top-contact__content {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 60px;
    align-items: stretch;
    padding: 0 0 100px;
  }

  .top-contact__info {
    width: 486px;
    margin-top: 70px;
  }

  .top-contact__paragraph {
    margin-bottom: 0.5rem;
    color: #000;
    line-height: 2;
    font-size: 16px;
  }

  .top-contact__info .g-btn {
    margin-top: 48px;
  }

  .mobile-only {
    display: none;
  }

  .top-contact__image {
    max-width: 760px;
    height: auto;
    display: flex;
    align-items: center;
  }

  .top-contact__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ===========================================
  SPレスポンシブ対応 (800px以下)
=========================================== */
@media (max-width: 800px) {
  .pc-only {
    display: none;
  }

  /* Hero Section - Mobile Complete Styles */
  .top-hero {
    position: relative;
    height: auto;
  }

  .top-hero__slider {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

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

  .top-hero__slide:first-child {
    position: relative;
  }

  .top-hero__slide--active {
    opacity: 1;
  }

  .top-hero__slide img {
    width: 100%;
    height: auto;
    display: block;
  }

  .top-hero__content {
    text-align: center;
    color: white;
    max-width: 100%;
  }

  .top-hero__title {
    font-size: 1rem;
    margin-bottom: 0.9375rem; 
    font-weight: 400;
    line-height: 1.4;
    padding: 0 1rem;
  }

  .top-hero__text {
    font-size: 0.875rem;
    opacity: 0.9;
    padding: 0 1rem;
  }

  .top-hero__indicators {
    position: absolute;
    top: 100%;
    margin-top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.25rem;
    z-index: 0;
    justify-content: center;
  }

  .top-hero__indicator {
    width: 3.125rem;
    height: 0.1875rem;
    background: #e6e6e6;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 62.4375rem;
    margin-right: 0.3125rem;
  }

  .top-hero__indicator--active {
    background: #999;
  }

  /* Section Header Styles - Mobile Complete */
  .top-section__header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .top-section__title {
    font-family: 'DIN 2014', Urbanist, sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #004b6c;
    line-height: 1;
  }

  .top-section__subtitle {
    position: relative;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: #004b6c;
    position: relative;
    top: -1px;
    white-space: nowrap;
  }

  /* 岡家具工業とは */
  .top-about {
    padding: 4rem 0 5rem 1rem;
  }

  .top-about__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .top-about__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .top-section__header {
    justify-content: left;
  }
  .top-about__text .top-container_hd {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #000;
    letter-spacing: 0.1em;
    font-feature-settings: normal;
  }

  .top-about__paragraph,.top-about__note {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: #000;
    font-size: 0.875rem; 
  }

  .top-about__note {
    margin-bottom: 0;
  }

  .top-about__image {
    margin-right: -1rem;
  }

  .top-about__image {
    background: none;
  }

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

  /* NEWS */
  .top-news {
    margin-right: 1rem;
    background-color: #f2f2f2;
    border-radius: 0 50px 50px 0;
    box-shadow: -4px 4px 7px rgba(0, 0, 0, 0.2);
  }
  
  .top-news .container {
    padding: 2rem;
  }

  .top-news .top-section__header {
    margin-bottom: 0;
  }

  .top-news__item {
    display: flex;
    flex-direction: column;
    padding: 1.0625rem 0 0.5rem;
  }

  .top-news__date {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: bold;
  }

  .top-news__title {
    padding: 0;
    border-bottom: none;
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
    a {
      text-decoration: underline;
      color: #333;
    }
  }

  /* 製品情報 */
  .top-products {
    padding: 3.75rem 0 5rem 1rem;
    .container {
      padding: 0 1rem;
    }
  }

  .top-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .top-products__image {
    margin-top: 1rem;
    margin-right: -1rem;
    order: 2;
  }

  .top-products__image {
    background: none;
  }

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

  .top-container_hd {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #000;
    letter-spacing: 0.02em;
    font-feature-settings: normal;
  }

  .top-products__paragraph {
    color: #000;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
  }

  .g-btn-container {
    display: flex;
    justify-content: center;
    margin: 1rem 1rem 0;
  }

  .g-btn-container .g-btn {
    flex-shrink: 0;
    min-width: fit-content;
    max-width: none;
  }


  /* 岡家具工業のこだわり */
  .top-commitment {
    padding: 0 0 5rem 1rem;
  }

  .top-commitment__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: stretch;
  }

  .top-commitment__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .top-commitment__text .top-container_hd {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #000;
    letter-spacing: 0.1em;
  }

  .top-commitment__paragraph {
    color: #000;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
  }

  .top-commitment__text .g-btn {
    margin-top: 2rem;
  }

  .top-commitment__image {
    margin: 0 -1rem 0.5rem 0;
  }

  .top-commitment__image {
    background: none;
  }

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

  /* 当社とお取引をご希望の方 - Mobile Complete */
  .top-contact {
    margin-bottom: 5rem;
      margin-left: 1rem;
    background-color: #f2f2f2;
    border-radius: 50px 0 0 50px;
    box-shadow: -4px 4px 7px rgba(0, 0, 0, 0.2);
    .container {
      padding: 2.5rem 1rem 2.5rem 2rem;
    }
  }

  .top-contact__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .top-contact__image {
    margin-right: -1rem;
    order: 2;
  }

  .top-contact__image {
    background: none;
  }

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

  .top-contact__info {
    order: 1;
  }

  .top-contact__btn {
    order: 3;
    margin: 0 auto;
    margin-top: 1rem;
  }

  .top-contact__info .g-btn {
    display: none;
  }

  .top-contact__info .top-container_hd {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #000;
    letter-spacing: 0.1em;
  }

  .top-contact__paragraph {
    margin-bottom: 0.5rem;
    color: #000;
    line-height: 1.8;
    font-size: 0.875rem;
  }

  .top-contact__info .g-btn {
    margin-top: 2rem;
  }

}