/* リセット & ベーススタイル */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: #fafafa;
  color: #222;
}

body.factory-page {
  background: #fff !important;
}

.main-header {
  position: relative;
  background: #111;
  color: #fff;
}
.header-logo {
  position: absolute;
  top: 0;
  left: 10px;
  z-index: 10;
}
.header-logo img {
  width: 130px;
}
@media (max-width: 600px) {
  .header-logo img {
    max-width: 100px;
  }
  .header-logo {
    left: 5px;
  }
}
.header-nav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
}
.header-visual,
.slideshow {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.header-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.header-text {
  position: absolute;
  left: 8vw;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 2px 8px #000;
  z-index: 10;
}
.header-text h1 {
  font-size: 4.5em;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: #fff;

}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
  margin-top: 12px;
}
.section-title h2 {
  font-size: 2em;
}
.section-title span {
  font-size: 1em;
}
.section-title-ja {
  font-size: 0.8em;
  color: #333;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 0 0px 20px 10px;
}

@media (max-width: 900px) {
  .section-title-ja {
    text-align: center;
    padding: 0 0px 20px 0px;
  }
  .section-title h2 {
    font-size: 1.5em;
  }
  .section-title span {
    font-size: 0.8em;
  }
}
section {
  padding: 40px 5vw;
  background: #fff;
  margin-bottom: 0px;
}
.section-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.section-content img {
  max-width: 320px;
  width: 100%;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.section-content img:hover {
  transform: scale(1.03);
}
.section-btn {
  display: inline-block;
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
  margin-left: 16px;
}
.section-btn:hover {
  background: #3949ab;
}

.section-service {
  background: #fff;
}

.section-info {
  background: #fff;
  padding: 32px 5vw;
  text-align: center;
  margin-bottom: 0;
}
.info-title {
  color: #222;
  margin-bottom: 8px;
}
.info-title span {
  color: #888;
}
.section-title span.en-font {
  font-size: 2em;
}
.info-title .en-font {
  font-size: 2em;
}
.info-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  margin-top: 16px;
}
.info-banner img {
  max-width: 700px;
  width: 100%;
  border-radius: 6px;
}
.info-banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.info-banner-text span:first-child {
  font-size: 1.2rem;
  color: #c62828;
}
.info-banner-text span:last-child {
  font-size: 1rem;
  color: #222;
}
.news {
  margin: 16px 0;
}
.blogs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
}
.blogs a {
  color: #1a237e;
  text-decoration: underline;
}
.youtube {
  margin-top: 30px;
}
.youtube-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}
.youtube-icons img {
  width: autopx;
  height: 38px;
}
.youtube-title {
  font-family: dupincel-variable, sans-serif;
  font-weight: 500;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 3;
  margin-top: 20px;
  color: #111;
  text-align: center;
}
.youtube-thumbs {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  margin-top: 20px;
}
.youtube-swiper {
  width: 100%;
}
.youtube-swiper .swiper-slide {
  width: 220px !important;
  padding: 0 10px;
}
.youtube-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  max-width: 220px;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}
.youtube-swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.section-thankyou {
  background: #1a1a34 url('../img/cc_border_02.png') repeat-x top left;
  background-size: auto 15px;
  color: #fff;
  padding: 40px 5vw;
  text-align: center;
  margin-top: 0;
}
.section-thankyou::before {
  content: none !important;
}
.section-thankyou h2, .section-thankyou h3 {
  color: #fff;
  padding-top: 20px;
  font-size: 2.5em;
  letter-spacing: 0.05em;
}
@media (max-width: 700px) {
  .section-thankyou h2 {
    font-size: 2em;
  }
}
.section-thankyou h3 span {
  font-size: 0.4em;
  letter-spacing: 0.05em;
}
.thankyou-cards, .voice-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}
.thankyou-cards .card, .voice-cards .voice {
  background: #fff;
  color: #222;
  width: 120px;
  height: 120px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.section-staff {
  background: #fff url('../img/cc_border_01.png') repeat-x top left;
  background-size: auto 15px;
  padding: 60px 5vw 60px 5vw;
}
.staff-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}
.staff-title {
  font-family: dupincel-variable, sans-serif;
  font-weight: 500;
  font-size: 5em;
  font-weight: bold;
  color: #1a1a34;
  line-height: 1;
  min-width: 200px;
}
.staff-catch {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 18px;
}
.staff-catch-main {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1a1a34;
}
.staff-catch-desc {
  font-size: 1.1rem;
  color: #1a1a34;
  line-height: 1.7;
}
.staff-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 18px;
  max-width: 1200px;
  margin: 0 auto;
}
.staff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  padding: 18px 8px 12px 8px;
  cursor: pointer;
  outline: none;
  background: #fff;
  text-decoration: none;
}
.staff-card:hover, .staff-card:focus {
  background: none;
}
.staff-card img {
  width: 180px;
  height: auto;
  object-fit: cover;
  margin-bottom: 12px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.staff-card:hover img, .staff-card:focus img {
  transform: scale(1.05);
}
.staff-role {
  font-size: 0.9em;
  color: #222;
  margin-bottom: 0px;
  font-weight: 500;
}
.staff-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 6px;
}
.staff-comment {
  font-size: 0.7rem;
  color: #222;
  margin: 4px 4px;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}
@media (max-width: 1200px) {
  .staff-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .staff-header {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .staff-title {
    font-size: 3.2rem;
  }
  .staff-catch-main {
    font-size: 1.3rem;
  }
  .staff-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 6px;
    padding: 0 10px;
  }
  .staff-card {
    padding: 12px 4px 8px 4px;
  }
  .staff-card img {
    width: 120px;
    height: auto;
    margin-bottom: 8px;
  }
  .staff-role {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .staff-name {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  .staff-comment {
    font-size: 0.65rem;
    margin-top: 2px;
  }
}

@media (max-width: 600px) {
  .section-staff {
    padding: 40px 3vw 40px 3vw;
  }
  .staff-header {
    gap: 12px;
    margin-bottom: 30px;
  }
  .staff-title {
    font-size: 2.5rem;
  }
  .staff-catch-main {
    font-size: 1.1rem;
  }
  .staff-catch-desc {
    font-size: 1rem;
  }
  .staff-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 4px;
    padding: 0 5px;
  }
  .staff-card {
    padding: 8px 2px 6px 2px;
  }
  .staff-card img {
    width: 120px;
    height: auto;
    margin-bottom: 6px;
  }
  .staff-role {
    font-size: 0.8rem;
    margin-bottom: 1px;
  }
  .staff-name {
    font-size: 1rem;
    margin-bottom: 3px;
  }
  .staff-comment {
    font-size: 0.6rem;
    margin-top: 1px;
  }
}

.section-locations {
  padding: 0;
  background: #f7f8fa;
}
.locations-visual-bg {
  width: 100%;
  height: 320px;
  background: url('../img/cc_top_back_04.png') center center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.locations-title-box {
  position: absolute;
  top: 60px;
  left: 8vw;
  color: #fff;
  z-index: 2;
}
.locations-title-en {
  font-size: 3em;
  font-family: dupincel-variable, sans-serif;
  font-weight: 500;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px #000;
}
.locations-title-ja {
  font-size: 1.4em;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 18px #000;
}
.locations-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: -80px;
  padding-bottom: 60px;
  position: relative;
  z-index: 3;
}
.location-card {
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  width: 370px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: none;
}
.location-card:hover {
  transform: none;
  box-shadow: none;
}
.location-card img {
  width: 100%;
  height: 200px;
  padding-bottom: 10px;
  object-fit: cover;
}
.location-card-body {
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 1px solid #ccc;
  background: none;
}
.location-card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #222;
  line-height: 1.4;
}
.location-card-info {
  font-size: 1rem;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.7;
}
.location-card-btn {
  display: inline-block;
  background: #111a4d;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  padding: 10px 32px 10px 32px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-top: 8px;
  transition: background 0.2s;
  position: relative;
  text-align: center;
}
.location-card-btn .arrow {
  font-size: 1.1em;
  margin-left: 12px;
  vertical-align: middle;
}
.location-card-btn:hover {
  background: #ba9c35;
}
@media (max-width: 1100px) {
  .locations-cards {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    margin-top: -60px;
  }
  .locations-visual-bg {
    height: 220px;
  }
}
@media (max-width: 700px) {
  .locations-title-en {
  padding-top: 20px;
    font-size: 2.2rem;
  }
  .locations-title-ja {
    font-size: 1.2rem;
  }
  .locations-cards {
    margin-top: 0;
    padding-bottom: 30px;
  }
  .location-card {
    width: 95vw;
    min-width: 0;
  }
  .locations-visual-bg {
    height: 170px;
  }
  .locations-title-box {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100vw;
    z-index: 2;
  }
  .locations-visual-bg {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
  .section-locations {
    padding-bottom: 0;
  }
  .locations-cards {
    margin-top: 16px;
  }
  .location-card img {
    height: 320px;
  }
  
}

/* フッター新デザイン */
.main-footer {
  background: #181b3a;
  color: #fff;
  padding: 0;
  margin-top: 0;
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  position: relative;
}
.main-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 15px;
  background: url('../img/cc_border_02.png') repeat-x left top;
  background-size: auto 15px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
.footer-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px 60px 20px;
}
.footer-left {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
  margin-top: 0px;
}
.footer-logo-img {
  width: 340px;
  max-width: 90vw;
  margin-bottom: 4px;
  margin-top: 30px;
}
.footer-tel {
  font-size: 2em;
  font-family: serif;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}
.footer-hours {
  font-size: 0.9em;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  text-align: center;
}
.footer-company {
  font-size: 0.8em;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  text-align: center;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 12px 0;
  width: 100%;
}
.footer-right {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 32px;
}

.footer-link-lists {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: flex-start;
}
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1em;
  line-height: 2.1;
  width: 50%;
}
.footer-link-list li {
  color: #fff;
  font-weight: 500;
}
.footer-link-list li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link-list li a:hover {
  color: #555;
}
.footer-copyright {
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 0.8em;
  padding: 20px 0 20px 0;
  letter-spacing: 0.08em;
}
.footer-contact-btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 24px;
  padding: 8px 38px;
  text-decoration: none;
  border: 1px solid #fff;
  margin-bottom: 0;
  margin-top: 8px;
  letter-spacing: 0.08em;
  box-shadow: none;
  transition: background 0.18s, color 0.18s;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.footer-contact-btn:hover {
  background: #fff;
  color: #181b3a;
}
.footer-contact-btn .mail-icon {
  width: 24px;
  vertical-align: middle;
  margin-bottom: 0.2em;
}
.footer-contact-btn:hover .mail-icon {
  color: #181b3a;
}
@media (max-width: 900px) {
  .footer-logo-img {
    margin-top: 80px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 0px 4vw 40px 4vw;
    margin-top: 0px;
  }
  .footer-right, .footer-left {
    width: 100%;
    max-width: 100vw;
    align-items: center;
  }
  .footer-contact-box, .footer-link-lists {
    max-width: 95vw;
  }
  .footer-link-lists {
    gap: 24px;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .footer-logo-img {
    width: 60vw;
    min-width: 180px;
  }
  .footer-tel {
    font-size: 1.5em;
  }
  .footer-contact-title {
    font-size: 1.2rem;
  }
  .footer-contact-main {
    font-size: 1.3rem;
  }
  .footer-link-list {
    font-size: 1rem;
  }
  .footer-inner {
    padding: 0px 2vw 10px 2vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .section-content, .locations-cards, .thankyou-cards, .voice-cards, .staff-list {
    flex-direction: column;
    align-items: center;
  }
  .header-text h1 {
    font-size: 2.5rem;
  }
  .slideshow, .header-visual {
    height: 280px;
  }
  .locations-cards .location {
    width: 100%;
    max-width: 320px;
  }
  .indicator {
    width: 28px;
    height: 6px;
  }
  .youtube-thumbs {
    max-width: 98vw;
  }
  .youtube-swiper .swiper-slide {
    width: 22vw;
    min-width: 70px;
    padding: 0 5px;
  }
  .youtube-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    min-height: 80px;
    max-height: 120px;
  }
}

.slideshow {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .slideshow {
    height: 480px;
  }
}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-btn { display: none; }
.slide-indicators {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 11;
}
.indicator {
  width: 48px;
  height: 8px;
  border-radius: 0;
  background: rgba(255,255,255,0.5);
  transition: background 0.3s;
}
.indicator.active {
  background: #fff;
}

.section-premium.section-bg1 {
  /*background: url('../img/cc_top_back_01.png') center/cover no-repeat;*/
  color: #fff;
  margin-bottom: 0;
  border-bottom: 10px solid #e0e0e0;
}
.section-next.section-bg2 {
  /*background: url('../img/cc_top_back_02.png') center/cover no-repeat;*/
  color: #fff;
  margin-bottom: 0;
  border-bottom: 10px solid #e0e0e0;
}
.section-service.section-bg3 {
  /*background: url('../img/cc_top_back_03.png') center/cover no-repeat;*/
  color: #fff;
  margin-bottom: 0;
  border-bottom: 10px solid #e0e0e0;
}
.section-premium .section-title h2,
.section-next .section-title h2,
.section-service .section-title h2,
.section-premium .section-title span,
.section-next .section-title span {
  color: #333;
}
.section-premium .section-content,
.section-next .section-content,
.section-service .section-content {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* デスクトップ横並び時の中央揃え */
.three-sections-container .section-premium .section-content,
.three-sections-container .section-next .section-content,
.three-sections-container .section-service .section-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0;
}

.section-premium .section-content img,
.section-next .section-content img,
.section-service .section-content img {
  max-width: 340px;
  width: 40vw;
  min-width: 180px;
  margin-left: 32px;
  flex-shrink: 0;
}

/* デスクトップ横並び時の画像調整 */
.three-sections-container .section-premium .section-content img,
.three-sections-container .section-next .section-content img,
.three-sections-container .section-service .section-content img {
  max-width: 100%;
  width: 100%;
  min-width: 150px;
  margin-left: 0;
}

.section-premium .section-content .section-info-box,
.section-next .section-content .section-info-box,
.section-service .section-content .section-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}


/* デスクトップ横並び時のsection-title中央揃え */
.three-sections-container .section-title {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* デスクトップ横並び時のsection-title-ja中央揃え */
.three-sections-container .section-title-ja {
  text-align: center !important;
}
.section-premium .section-title,
.section-next .section-title,
.section-service .section-title {
  margin-bottom: 12px;
}

/* デスクトップ横並び時のボタン中央揃え */
.three-sections-container .section-premium .section-btn,
.three-sections-container .section-next .section-btn,
.three-sections-container .section-service .section-btn {
  width: 100%;
  max-width: 260px;
  font-size: 0.9em;
  padding: 10px 16px;
  text-align: center !important;
  margin: 12px auto 0 auto !important;
  align-self: center;
  display: block;
}
.section-btn.dark {
  background: #111a4d;
  color: #fff;
  text-align: center;
}
.section-btn.dark:hover {
  background: #111;
}

/* 3つのセクション横並びレイアウト */
.three-sections-container {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  overflow-x: hidden;
}

.three-sections-container .section-premium,
.three-sections-container .section-next,
.three-sections-container .section-service {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
  padding: 40px 2vw;
}



@media (max-width: 900px) {
  /* スマホでは縦並び */
  .three-sections-container {
    flex-direction: column;
  }
  
  .section-premium .section-content,
  .section-next .section-content,
  .section-service .section-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .section-premium .section-content img,
  .section-next .section-content img,
  .section-service .section-content img {
    margin-left: 0;
    width: 100%;
    max-width: 320px;
  }
  .section-premium .section-content .section-info-box,
  .section-next .section-content .section-info-box,
  .section-service .section-content .section-info-box {
    align-items: center !important;
    width: 100%;
    text-align: center !important;
    justify-content: center;
  }
  .section-premium .section-btn,
  .section-next .section-btn,
  .section-service .section-btn {
    width: 100%;
    max-width: 240px;
    text-align: center !important;
    margin: 12px auto 0 auto !important;
    align-self: center;
    display: block;
  }
  .section-premium.section-bg1 {
    border-bottom: none;
  }
  .section-next.section-bg2 {
    border-bottom: none;
  }
  
}

.info-flag-icon {
  width: 56px;
  height: auto;
  display: block;
  margin: 0 auto 8px auto;
}

.news-flex {
  display: flex;
  align-items: stretch;
  gap: 32px;
  border-radius: 0 0 8px 8px;
  padding: 32px 10px;
  margin: 0 auto 24px auto;
  max-width: 700px;
  text-align: left;
  
}
.news-label {
  font-family: dupincel-variable, sans-serif;
  font-weight: 500;  
  font-size: 1.8em;
  font-weight: bold;
  color: #1a1a34;
  min-width: 100px;
  text-align: center;
  border-right: 1px solid #aaa;
  padding-right: 32px;
  padding-top: 20px;
}
.news-content {
  flex: 1;
  padding-left: 10px;
}
.news-date {
  color: #225077;
  font-size: 1rem;
  font-family: serif;
  margin-bottom: 4px;
  display: inline-block;
  vertical-align: bottom;
  
}
.news-title {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
  margin-left: 24px;
  vertical-align: bottom;
}
.news-body {
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.8;
}
@media (max-width: 700px) {
  .news-flex {
    flex-direction: column;
    gap: 12px;
    padding: 16px 6vw;
  }
  .news-label {
    border-right: none;
    border-bottom: 2px solid #aaa;
    padding-right: 0;
    padding-bottom: 12px;
    min-width: unset;
    font-size: 2rem;
  }
  .news-content {
    padding-left: 0;
  }
  .news-title {
    margin-left: 0;
    display: block;
    margin-top: 4px;
  }
}

.media-blogs {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 32px auto;
}
.media-youtube {
  grid-row: 1 / span 2;
  grid-column: 1 / 2;
  position: relative;
  border: 2px solid #fff;
  box-sizing: border-box;
  overflow: hidden;
  min-height: 300px;
  background: #111;
}
.media-youtube img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: block;
}
.media-youtube-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fff;
  text-align: center;
}
.media-youtube-label {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.media-youtube-icon {
  width: 48px;
  height: 48px;
}
.media-youtube-title {
  font-family: serif;
  font-size: 0.2em;
  font-weight: bold;
  color: #111;
  text-align: center;
}
.media-youtube-btn {
  display: inline-block;
  background: #fff;
  color: #111;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 0;
  text-decoration: none;
  margin-top: 12px;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.2s, color 0.2s;
}
.media-youtube-btn:hover {
  background: #111;
  color: #fff;
  border: 1px solid #fff;
}
.media-youtube-arrow {
  font-size: 1.2em;
  margin-left: 12px;
}

.media-blog {
  position: relative;
  border: 2px solid #fff;
  overflow: hidden;
  min-height: 180px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-blog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: block;
}
.media-blog-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.media-blog-content span {
  color: #fff;
  font-size: 3vw;
  font-family: serif;
  font-weight: bold;
  text-shadow: 0 2px 8px #000a;
  letter-spacing: 0.1em;
}
.media-blog-content b {
  font-family: inherit;
  font-size: 1.2em;
  font-weight: bold;
  margin-left: 8px;
}

@media (max-width: 1100px) {
  .media-blogs {
    max-width: 98vw;
    grid-template-columns: 1.2fr 1fr;
  }
  .media-youtube-title {
    font-size: 8vw;
  }
  .media-blog-content span {
    font-size: 4vw;
  }
}
@media (max-width: 800px) {
  .media-blogs {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .media-youtube, .media-blog {
    min-height: 180px;
    height: 38vw;
    max-height: 260px;
  }
  .media-youtube-title {
    font-size: 2.5rem;
  }
  .media-blog-content span {
    font-size: 1.5rem;
  }
}

.media-blogs-img {
  display: flex;
  max-width: 700px;
  margin: 32px auto 0 auto;
  align-items: stretch;
}
.media-blogs-img-left {
  flex: 1.5;
  display: flex;
  align-items: stretch;
  padding-right: 25px;
}
.media-blogs-img-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-sizing: border-box;
  display: block;
}
.media-blogs-img-right {
  flex: 1.8;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
.media-blogs-img-right a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-sizing: border-box;
  display: block;
}

.media-blogs-img a {
  display: block;
  width: 100%;
  height: 100%;
  flex: 1;
}
@media (max-width: 900px) {
  .media-blogs-img {
    flex-direction: column;
    gap: 18px;
    padding: 0;
    margin: 32px 0 0 0;
  }
  .media-blogs-img-left, .media-blogs-img-right {
    flex: unset;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .media-blogs-img-left {
    padding-right: 0;
  }
  .media-blogs-img-right {
    flex-direction: row;
    gap: 18px;
  }
  .media-blogs-img-right a {
    flex: 1;
  }
  .media-blogs-img-right img {
    width: 50%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .media-blogs-img-left img {
    aspect-ratio: 16/9;
  }
  .media-blogs-img a {
    width: 100%;
    height: auto;
    flex: 1;
  }
}

.thankyou-cards-carousel, .voice-cards-carousel {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  margin: 30px auto 32px auto;
  display: flex;
  align-items: center;
}
.thankyou-cards-list, .voice-cards-list {
  display: flex;
  gap: 24px;
  transition: transform 0.5s;
  will-change: transform;
  width: 100%;
  min-width: fit-content;
}
.thankyou-card {
  background: #fff;
  color: #222;
  border-radius: 4px;
  box-shadow: 0 2px 12px #0002;
  min-width: 260px;
  max-width: 260px;
  width: 90vw;
  padding: 20px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.thankyou-card:hover {
  background: #ecf7ff;
}
.thankyou-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 12px;
}
.thankyou-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.thankyou-msg {
  font-size: 0.95rem;
  color: #1a237e;
}
.voice-card {
  color: #FFF;
  min-width: 410px;
  max-width: 320px;
  text-align: center;
  width: 90vw;
  padding: 20px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid #fff;
}
.voice-name, .voice-car, .voice-stars, .voice-msg {
  text-align: center;
  width: 100%;
}
.voice-name {
  font-weight: bold;
  font-size: 1.1rem;
}
.voice-car {
  font-size: 0.95rem;
  color: #739de2;
}
.voice-stars {
  color: #fbc02d;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
.voice-msg {
  font-size: 0.95rem;
  margin-top: 4px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-btn:hover { background: #3949ab; }

/* Slider Arrow Styles (next/index.htmlからコピー) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
.slider-arrow:hover { background: #3949ab; }
.slider-arrow img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
@media (max-width: 700px) {
  .thankyou-cards-list, .voice-cards-list {
    gap: 8px;
  }
  .thankyou-card, .voice-card {
    min-width: 90vw;
    max-width: 90vw;
    width: 90vw;
    padding: 16px 10vw;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
}

/* Thankyou Cards モバイル表示の高さ調整 */
@media (max-width: 900px) {
  .thankyou-card {
    padding: 18px 14px 14px 14px;
  }
  .thankyou-card img {
    width: 90%;
    height: 90%;
  }
  .thankyou-name {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .thankyou-msg {
    font-size: 0.85rem;
  }
}

/* Thankyou Cards Swiper 専用スタイル */
.thankyou-cards-swiper .swiper-slide {
  width: auto;
  margin-right: 20px;
}

@media (max-width: 900px) {
  .thankyou-cards-swiper .swiper-slide {
    margin-right: 15px;
  }

  .thankyou-cards-swiper .swiper-slide .thankyou-card {
    width: 280px;
    height: 90%;
  }
}

@media (max-width: 600px) {
  .thankyou-cards-swiper .swiper-slide {
    margin-right: 10px;
  }

  .thankyou-cards-swiper .swiper-slide .thankyou-card {
    width: 250px;
    height: 90%;
  }
}

/* Thank You Section READ MORE ボタン */
.thankyou-read-more {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.contact-btn {
  display: inline-block;
  background: #ba9435;
  color: white;
  text-decoration: none;
  padding: 20px 60px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 0;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 380px;
  margin-top: 18px;
  font-family: dupincel-variable, sans-serif;
}

.contact-btn:hover {
  background: #d4af37;
}

@media (max-width: 768px) {
  .contact-btn {
    padding: 18px 50px;
    font-size: 16px;
    min-width: 280px;
  }
}

@media (max-width: 480px) {
  .contact-btn {
    padding: 16px 40px;
    font-size: 15px;
    min-width: 240px;
  }
}

/* Voice List Section */
.voice-list-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #f8f9fa;
}

.voice-item {
  border-radius: 8px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 10px;
}

.voice-header {
  padding: 30px 30px 0 30px;
}

.voice-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
  text-align: center;
  font-family: 'Noto Sans', sans-serif;
}

.voice-content {
  padding: 30px;
}

.customer-info {
  display: flex;
  gap: 40px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.customer-detail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-label {
  background: #4a5568;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: bold;
  white-space: nowrap;
  font-family: 'Noto Sans', sans-serif;
}

.customer-name,
.customer-car {
  font-size: 0.9em;
  color: #333;
  font-weight: 500;
  font-family: 'Noto Sans', sans-serif;
}

.voice-message {
  margin-bottom: 30px;
}

.voice-message p {
  font-size: 0.9em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  font-family: 'Noto Sans', sans-serif;
}

.satisfaction-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.rating-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-label {
  font-size: 0.8em;
  color: #333;
  font-weight: 500;
  font-family: 'Noto Sans', sans-serif;
}

.rating-stars {
  color: #ffd700;
  font-size: 0.8em;
  font-weight: bold;
}

.voice-reply {
  display: flex;
  gap: 20px;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
}

.reply-icon {
  flex-shrink: 0;
}

.reply-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.reply-content {
  flex: 1;
}

.reply-content p {
  font-size: 0.9em;
  line-height: 1.7;
  color: #333;
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .voice-list-section {
    padding: 40px 15px;
  }
  
  .voice-header {
    padding: 20px 20px;
  }
  
  .voice-content {
    padding: 10px;
  }
  
  .customer-info {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .customer-detail {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .satisfaction-ratings {
    flex-direction: column;
    gap: 12px;
  }
  
  .voice-reply {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  
  .reply-icon {
    align-self: center;
  }
  
  .reply-icon img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .voice-list-section {
    padding: 30px 10px;
  }
  
  .voice-header {
    padding: 15px;
  }
  
  .voice-title {
    font-size: 1em;
  }
  
  .voice-content {
    padding: 10px;
  }
  
  .voice-reply {
    padding: 15px;
  }
}

.en-font {
  font-family: dupincel-variable, sans-serif;
}

/* ユーティリティクラス */
.sp-only {
  display: none;
}

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

/* factory.html専用ビジュアルブロック */
body.factory-page .factory-visual-block {
  width: 100%;
  background: #fff;
  margin-bottom: 0;
}
body.factory-page .factory-header-logo-area {
  width: 100%;
  background: #fff;
  text-align: center;
  padding: 32px 0 16px 0;
}
body.factory-page .factory-header-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: inline-block;
}
body.factory-page .factory-visual-img-area {
  position: relative;
  width: 100%;
  overflow: hidden;
}
body.factory-page .factory-visual-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 60px;
  max-height: 480px;
  filter: none;
}
body.factory-page .factory-visual-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
body.factory-page .factory-visual-title span {
  font-family: dupincel-variable, sans-serif;
  font-size: 4vw;
  color: #23205a;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  background: rgba(255,255,255,0.0);
  padding: 0 16px;
  display: inline-block;
  text-shadow: 0 2px 12px rgba(255,255,255,0.25);
}
@media (max-width: 900px) {
  body.factory-page .factory-header-logo {
    max-width: 220px;
  }
  body.factory-page .factory-visual-title span {
    font-size: 7vw;
  }
  body.factory-page .factory-visual-img {
    min-height: 180px;
    max-height: 620px;
  }
}
@media (max-width: 600px) {
  body.factory-page .factory-header-logo-area {
    padding: 28px 0 18px 0;
  }
  body.factory-page .factory-header-logo {
    max-width: 100px;
  }
  body.factory-page .factory-visual-title span {
    font-size: 9vw;
  }
  body.factory-page .factory-visual-img {
    min-height: 120px;
    max-height: 180px;
  }
}

/* factory.html専用 ハンバーガーメニュー色 */
body.factory-page .hamburger__icon,
body.factory-page .hamburger__icon:before,
body.factory-page .hamburger__icon:after,
body.factory-page .hamburger.active .hamburger__icon:before,
body.factory-page .hamburger.active .hamburger__icon:after {
  background-color: #000 !important;
}

/* buy.html専用スタイル */
body.buy-page {
  background: #fff !important;
}

body.buy-page .factory-visual-block {
  width: 100%;
  background: #fff;
  margin-bottom: 0;
}

body.buy-page .factory-header-logo-area {
  width: 100%;
  background: #fff;
  text-align: center;
  padding: 32px 0 16px 0;
}

body.buy-page .factory-header-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: inline-block;
}

body.buy-page .factory-visual-img-area {
  position: relative;
  width: 100%;
  overflow: hidden;
}

body.buy-page .factory-visual-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 60px;
  max-height: 480px;
  filter: none;
}

body.buy-page .factory-visual-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

body.buy-page .factory-visual-title span {
  font-family: dupincel-variable, sans-serif;
  font-size: 4vw;
  color: #23205a;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  background: rgba(255,255,255,0.0);
  padding: 0 16px;
  display: inline-block;
  text-shadow: 0 2px 12px rgba(255,255,255,0.25);
}

/* buy.html専用ビジュアルエリア */
body.buy-page .buy-visual-img-area {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

body.buy-page .buy-visual-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 350px;
  max-height: 350px;
  filter: none;
}

body.buy-page .buy-visual-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 2;
  pointer-events: none;
  color: #fff;
}

body.buy-page .buy-visual-subtitle {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2em;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 10px;
  opacity: 0.9;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

body.buy-page .buy-visual-subtitle span {
  background: linear-gradient(360deg, #8c6c27 0%, #ccb549 30%, #fff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
body.buy-page .buy-visual-caption span {
  background: linear-gradient(360deg, #8c6c27 0%, #e6cb56 30%, #fff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

body.buy-page .buy-visual-main-title {
  font-family: "Noto Serif JP", serif;
  font-size: 4em;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 1.5vw;
  text-shadow: 0 4px 16px rgba(0,0,0,0.7);
}

body.buy-page .buy-visual-caption {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2em;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.3;
  opacity: 0.8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* buy.html専用 ハンバーガーメニュー色 */
body.buy-page .hamburger__icon,
body.buy-page .hamburger__icon:before,
body.buy-page .hamburger__icon:after,
body.buy-page .hamburger.active .hamburger__icon:before,
body.buy-page .hamburger.active .hamburger__icon:after {
  background-color: #000 !important;
}

@media (max-width: 900px) {
  body.buy-page .factory-header-logo {
    max-width: 220px;
  }
  body.buy-page .factory-visual-title span {
    font-size: 7vw;
  }
  body.buy-page .factory-visual-img {
    min-height: 180px;
    max-height: 620px;
  }
  
  /* buy.html専用ビジュアルエリア レスポンシブ */
  body.buy-page .buy-visual-img {
    min-height: 300px;
    max-height: 500px;
  }
}

@media (max-width: 600px) {
  body.buy-page .factory-header-logo-area {
    padding: 28px 0 18px 0;
  }
  body.buy-page .factory-header-logo {
    max-width: 100px;
  }
  body.buy-page .factory-visual-title span {
    font-size: 9vw;
  }
  body.buy-page .factory-visual-img {
    min-height: 120px;
    max-height: 180px;
  }
  
  /* buy.html専用ビジュアルエリア レスポンシブ */
  body.buy-page .buy-visual-img {
    min-height: 200px;
    max-height: 300px;
  }
  
  body.buy-page .buy-visual-subtitle {
    font-size: 0.9em;
  }
  
  body.buy-page .buy-visual-main-title {
    font-size: 2.2em;
    margin-bottom: 12px;
  }
  
  body.buy-page .buy-visual-caption {
    font-size: 0.9em;
  }
}

/* オンライン査定フォームセクション */
body.buy-page .buy-assessment-section {
  background: #fff;
  padding: 40px 0 50px 0;
}

body.buy-page .buy-assessment-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

body.buy-page .buy-assessment-header {
  text-align: center;
  margin-bottom: 30px;
}

body.buy-page .buy-assessment-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

body.buy-page .buy-assessment-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.8em;
  color: #333;
  line-height: 1.6;
  font-weight: 600;
}

body.buy-page .buy-assessment-image {
  width: 100%;
  height: auto;
  margin: 30px 0;
  display: block;
}

body.buy-page .buy-assessment-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

/* 進捗バー */
body.buy-page .buy-progress-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  background: #222;
  padding: 20px;
  border-radius: 8px;
}

body.buy-page .buy-progress-step {
  display: flex;
  align-items: center;
  color: #555;
  font-size: 0.9em;
  margin: 0 30px;
}

body.buy-page .buy-progress-step.active {
  color: #d4af37;
  font-weight: 600;
}

body.buy-page .buy-progress-number {
  background: #555;
  color: #222;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  margin-right: 8px;
}

body.buy-page .buy-progress-step.active .buy-progress-number {
  background: #d4af37;
}



/* フォーム */
body.buy-page .buy-form {
  background: #fff;
}

body.buy-page .buy-form-group {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  min-height: 40px;
}

body.buy-page .buy-form-label {
  flex: 0 0 200px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1em;
  color: #333;
  text-align: left;
}

body.buy-page .buy-required {
  color: #e74c3c;
  font-size: 0.9em;
}

body.buy-page .buy-form-input {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

body.buy-page .buy-select {
  width: 100%;
  padding: 10px 35px 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8em;
  color: #333;
  appearance: none;
  cursor: pointer;
}

body.buy-page .buy-select-arrow {
  position: absolute;
  right: 12px;
  color: #666;
  font-size: 0.8em;
  pointer-events: none;
}

body.buy-page .buy-text-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8em;
  color: #333;
}

body.buy-page .buy-text-input.wide {
  width: 100%;
}

body.buy-page .buy-unit {
  margin-left: 8px;
  color: #666;
  font-size: 0.9em;
}

body.buy-page .buy-date-text {
  margin: 0 8px;
  color: #666;
  font-size: 0.9em;
}

body.buy-page .date-group {
  gap: 8px;
}

body.buy-page .date-group .buy-select {
  flex: 1;
}

/* ラジオボタン */
body.buy-page .buy-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.buy-page .buy-radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8em;
  color: #333;
}

body.buy-page .buy-radio-label input[type="radio"] {
  display: none;
}

body.buy-page .buy-radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  background: #fff;
}

body.buy-page .buy-radio-label input[type="radio"]:checked + .buy-radio-custom {
  border-color: #e74c3c;
  background: #e74c3c;
}

body.buy-page .buy-radio-label input[type="radio"]:checked + .buy-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

/* reCAPTCHA */
body.buy-page .buy-recaptcha {
  display: flex;
  align-items: center;
  gap: 15px;
}

body.buy-page .buy-recaptcha-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.buy-page .buy-recaptcha-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

body.buy-page .buy-recaptcha-checkbox label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8em;
  color: #333;
}

body.buy-page .buy-recaptcha-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8em;
  color: #666;
}

body.buy-page .buy-recaptcha-logo img {
  width: 16px;
  height: 16px;
}

body.buy-page .buy-recaptcha-links {
  color: #0066cc;
  text-decoration: underline;
}

/* 送信ボタン */
body.buy-page .buy-form-submit {
  text-align: center;
  margin-top: 40px;
}

body.buy-page .buy-submit-btn {
  background: #8b0000;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1em;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
}

body.buy-page .buy-submit-btn:hover {
  background: #6b0000;
}

body.buy-page .buy-submit-arrow {
  font-size: 1.2em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  body.buy-page .buy-assessment-section {
    padding: 40px 0 20px 0;
  }
  
  body.buy-page .buy-assessment-title {
    font-size: 1.2em;
  }
  
  body.buy-page .buy-assessment-subtitle {
    font-size: 1.2em;
  }
  
  body.buy-page .buy-form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  body.buy-page .buy-form-label {
    flex: none;
    width: 100%;
  }
  
  body.buy-page .buy-form-input {
    width: 100%;
  }
  
  body.buy-page .buy-progress-bar {
    flex-direction: row;
    gap: 10px;
    padding: 15px;
  }
  
  body.buy-page .buy-progress-step {
    margin: 0 5px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
  }
  
  body.buy-page .buy-progress-number {
    width: 20px;
    height: 20px;
    font-size: 0.7em;
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  body.buy-page .buy-progress-text {
    font-size: 0.7em;
    line-height: 1.2;
  }
  
  body.buy-page .buy-recaptcha {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* About セクション */
body.buy-page .buy-about-section {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
}

body.buy-page .buy-about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

body.buy-page .buy-about-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.buy-page .buy-about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

body.buy-page .buy-about-content {
  position: relative;
  z-index: 3;
  padding: 20px 0;
}

body.buy-page .buy-about-inner {
  max-width: 830px;
  margin: 0 auto;
  padding: 0 20px;
}

body.buy-page .buy-about-header {
  text-align: center;
  margin-bottom: 30px;
}

body.buy-page .buy-about-title {
  font-family: dupincel-variable, sans-serif;
  font-size: 2.5em;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

body.buy-page .buy-about-subtitle {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8em;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

body.buy-page .buy-about-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1em;
  line-height: 1.8;
  color: #f0f0f0;
}

body.buy-page .buy-about-text p {
  margin-bottom: 25px;
}

body.buy-page .buy-about-emphasis {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2em;
  font-weight: 600;
  color: #d4af37;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 0;
}

/* About セクション レスポンシブ対応 */
@media (max-width: 768px) {
  body.buy-page .buy-about-content {
    padding: 0px 0;
  }
  
  body.buy-page .buy-about-title {
    font-size: 1.8em;
  }
  
  body.buy-page .buy-about-subtitle {
    font-size: 1em;
  }
  
  body.buy-page .buy-about-text {
    font-size: 0.8em;
  }
  
  body.buy-page .buy-about-emphasis {
    font-size: 1.1em;
  }
}

/* 3つの特徴セクション */
body.buy-page .buy-features-section {
  background: #6d0d06;
  padding: 60px 0 20px 0;
  color: #333;
}

body.buy-page .buy-features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

body.buy-page .buy-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

body.buy-page .buy-feature-item {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.buy-page .buy-feature-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}

body.buy-page .buy-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.buy-page .buy-feature-content {
  padding: 35px 0px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.buy-page .buy-feature-title {
  font-family: "Noto serif JP", sans-serif;
  font-size: 1.3em;
  font-weight: 500;
  color: #FFF;
  margin-bottom: 25px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

body.buy-page .buy-feature-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8em;
  line-height: 1.8;
  color: #db9b9b;
  flex: 1;
}

/* 3つの特徴セクション レスポンシブ対応 */
@media (max-width: 1200px) {
  body.buy-page .buy-features-inner {
    max-width: 1000px;
    padding: 0 30px;
  }
  
  body.buy-page .buy-features-grid {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  body.buy-page .buy-features-section {
    padding: 80px 0;
  }
  
  body.buy-page .buy-features-inner {
    max-width: 800px;
    padding: 0 25px;
  }
  
  body.buy-page .buy-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  
  body.buy-page .buy-feature-content {
    padding: 30px 25px;
  }
  
  body.buy-page .buy-feature-title {
    font-size: 1.2em;
    margin-bottom: 20px;
  }
  
  body.buy-page .buy-feature-text {
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  body.buy-page .buy-features-section {
    padding: 60px 0;
  }
  
  body.buy-page .buy-features-inner {
    padding: 0 20px;
  }
  
  body.buy-page .buy-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  body.buy-page .buy-feature-image {
    height: 200px;
  }
  
  body.buy-page .buy-feature-content {
    padding: 25px 20px;
  }
  
  body.buy-page .buy-feature-title {
    font-size: 1.15em;
    margin-bottom: 18px;
  }
  
  body.buy-page .buy-feature-text {
    font-size: 0.85em;
    line-height: 1.7;
  }
}

/* FLOW セクション */
body.buy-page .buy-flow-section {
  background: #fff;
  padding: 60px 0;
  color: #333;
}

body.buy-page .buy-flow-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

body.buy-page .buy-flow-header {
  text-align: center;
  margin-bottom: 60px;
}

body.buy-page .buy-flow-title {
  font-family: dupincel-variable, sans-serif;
  font-size: 2.5em;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

body.buy-page .buy-flow-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2em;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.05em;
}

body.buy-page .buy-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

body.buy-page .buy-flow-step {
  text-align: center;
  position: relative;
}

body.buy-page .buy-flow-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #6d0d06 0%, #8c1a1a 50%, #6d0d06 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: dupincel-variable, sans-serif;
  font-size: 2.2em;
  font-weight: 600;
  margin: 0 auto 25px;
  position: relative;
  z-index: 2;
  border: 3px solid #d4af37;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.buy-page .buy-flow-content {
  padding: 0 15px;
}

body.buy-page .buy-flow-step-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

body.buy-page .buy-flow-step-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9em;
  line-height: 1.7;
  color: #666;
}

/* FLOW セクション レスポンシブ対応 */
@media (max-width: 1024px) {
  body.buy-page .buy-flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
  
  body.buy-page .buy-flow-title {
    font-size: 2.2em;
  }
  
}

@media (max-width: 768px) {
  body.buy-page .buy-flow-section {
    padding: 60px 0;
  }
  
  body.buy-page .buy-flow-inner {
    padding: 0 20px;
  }
  
  body.buy-page .buy-flow-header {
    margin-bottom: 40px;
  }
  
  body.buy-page .buy-flow-title {
    font-size: 1.8em;
  }
  
  body.buy-page .buy-flow-subtitle {
    font-size: 1.7em;
  }
  
  body.buy-page .buy-flow-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  body.buy-page .buy-flow-number {
    width: 65px;
    height: 65px;
    font-size: 1.8em;
    margin-bottom: 20px;
    border-width: 2px;
  }
  
  body.buy-page .buy-flow-content {
    padding: 0 10px;
  }
  
  body.buy-page .buy-flow-step-title {
    font-size: 1em;
    margin-bottom: 12px;
  }
  
  body.buy-page .buy-flow-step-text {
    font-size: 0.85em;
  }
}

/* お問い合わせセクション */
body.buy-page .buy-contact-section {
  background: #f8f8f8;
  padding: 40px 0;
}

body.buy-page .buy-contact-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0px;
}

body.buy-page .buy-contact-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.em;
  font-weight: 700;
  color: #009d31;
  letter-spacing: 0.05em;
  text-align: left;
  margin-bottom: 20px;
}

body.buy-page .buy-contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

body.buy-page .buy-phone-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.8em;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.buy-page .buy-free-icon {
  width: 50px;
  height: auto;
}

body.buy-page .buy-phone-hours {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.83em;
  color: #666;
  line-height: 1.6;
  text-align: left;
}



body.buy-page .buy-contact-email,
body.buy-page .buy-contact-person {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1em;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.6;
}

body.buy-page .buy-contact-line {
  text-align: center;
}

body.buy-page .buy-line-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

body.buy-page .buy-line-image:hover {
  transform: scale(1.02);
}

/* お問い合わせセクション レスポンシブ対応 */
@media (max-width: 1024px) {
  body.buy-page .buy-contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  body.buy-page .buy-contact-phone {
    max-width: 100%;
  }
  
  body.buy-page .buy-phone-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  body.buy-page .buy-contact-section {
    padding: 50px 0;
  }
  
  body.buy-page .buy-contact-inner {
    padding: 0 20px;
  }
  
  body.buy-page .buy-contact-title {
    font-size: 1em;
    text-align: center;
    margin-bottom: 0px;
  }
  
  body.buy-page .buy-contact-content {
    gap: 30px;
  }
  
  
  body.buy-page .buy-phone-hours {
    font-size: 0.75em;
  }
  
  body.buy-page .buy-free-icon {
    width: 45px;
  }
}

@media (max-width: 768px) {
  body.buy-page .buy-contact-section {
    padding: 50px 0;
  }
  
  body.buy-page .buy-contact-inner {
    padding: 0 20px;
  }
  
  body.buy-page .buy-contact-header {
    margin-bottom: 30px;
  }
    
  body.buy-page .buy-contact-content {
    gap: 30px;
  }
  
  body.buy-page .buy-contact-phone {
    padding: 20px 0 0 0;
  }
  
  body.buy-page .buy-contact-phone-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }
  
  body.buy-page .buy-contact-hours {
    font-size: 0.9em;
  }
  
}



body.buy-page .buy-contact-line {
  text-align: center;
}

body.buy-page .buy-line-image {
  max-width: 100%;
  height: auto;
  max-width: 350px;
}

/* factory.html専用 お問い合わせ・予約エリア */
body.factory-page .factory-contact-block {
  width: 100%;
  background: #18183a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 32px 0;
  box-sizing: border-box;
  margin-bottom: 0;
  gap: 32px;
}
body.factory-page .factory-contact-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.factory-page .factory-contact-label {
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  border: 1px solid #fff;
  padding: 16px 32px;
  display: inline-block;
  letter-spacing: 0.05em;
  margin: 6px 8px 0 8px;
  text-align: center;

}
body.factory-page .factory-contact-tel {
  color: #fff;
  font-size: 1.9em;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 0px;
}
body.factory-page .factory-contact-tel span {
  font-size: 0.7em;
  font-weight: bold;
  margin: 0px;
}
body.factory-page .factory-contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.factory-page .factory-contact-btn {
  background: #8cc10b;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 40px;
  padding: 12px 56px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  letter-spacing: 0.08em;
  box-shadow: none;
  border: none;
  text-align: center;
}
body.factory-page .factory-contact-btn:hover {
  background: #6ea100;
}
@media (max-width: 900px) {
  body.factory-page .factory-contact-block {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px 0 24px 0;
  }
  body.factory-page .factory-contact-label {
    font-size: 1.1em;
    padding: 12px 18px;
  }
  body.factory-page .factory-contact-tel {
    font-size: 1.6em;
  }
  body.factory-page .factory-contact-btn {
    font-size: 1.3rem;
    padding: 14px 40px;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 600px) {
  body.factory-page .factory-contact-block {
    padding: 16px 0 16px 0;
    gap: 16px;
  }
  body.factory-page .factory-contact-label {
    font-size: 0.9em;
    padding: 7px 8px;
    
  }
  body.factory-page .factory-contact-tel {
    font-size: 1.6em;
    margin: 0px;
  }
  body.factory-page .factory-contact-btn {
    font-size: 1rem;
    padding: 10px 40px;
    width: 100%;
    max-width: 300px;
    margin: 15px auto 15px auto;
  }
}

@media (min-width: 1200px) {
  body.factory-page .factory-contact-left {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
}

/* factory.html専用 ナビゲーションリンク */
body.factory-page .factory-link-nav {
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 18px 0;
  gap: 0.5em;
}
body.factory-page .factory-link-nav-item {
  color: #23205a;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  padding: 0 0.7em;
  transition: color 0.2s;
}
body.factory-page .factory-link-nav-item:hover {
  color: #8cc10b;
  text-decoration: underline;
}
body.factory-page .factory-link-nav-divider {
  color: #888;
  font-size: 1.2em;
  padding: 0 0.2em;
  user-select: none;
}
@media (max-width: 900px) {
  body.factory-page .factory-link-nav {
    padding: 16px 0 12px 0;
  }
  body.factory-page .factory-link-nav-item,
  body.factory-page .factory-link-nav-divider {
    font-size: 1em;
    padding: 0 0.3em;
  }
}
@media (max-width: 600px) {
  body.factory-page .factory-link-nav {
    padding: 10px 0 8px 0;
  }
  body.factory-page .factory-link-nav-item,
  body.factory-page .factory-link-nav-divider {
    font-size: 0.95em;
    padding: 0 0.1em;
  }
}

/* factory.html専用 SERVICEセクション */
body.factory-page .factory-service-section {
  width: 100%;
  background: #fff;
  padding: 56px 0 0px 0;
  max-width: 1000px;
  margin: 0 auto;
}
body.factory-page .factory-service-inner {
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 0 0;
}
body.factory-page .factory-service-left {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 16px;
}
body.factory-page .factory-service-label {
  font-family: dupincel-variable, sans-serif;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  text-transform: uppercase;
  color: #8bb7d6;
}
body.factory-page .factory-service-sub {
  color: #23205a;
  font-size: 1.25em;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
body.factory-page .factory-service-title {
  color: #23205a;
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
body.factory-page .factory-service-title span {
  font-size: 0.9em;
  margin: 0 0.3em;
  font-weight: normal;
}
body.factory-page .factory-service-desc {
  color: #23205a;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 2;
  margin-top: 8px;
}
body.factory-page .factory-service-right {
  flex: 0 0 420px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
body.factory-page .factory-service-img {
  width: 420px;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}
@media (max-width: 1200px) {
  body.factory-page .factory-service-inner {
    gap: 24px;
    padding: 0 2vw;
  }
  body.factory-page .factory-service-right {
    flex: 0 0 320px;
  }
  body.factory-page .factory-service-img {
    width: 320px;
  }
}
@media (max-width: 900px) {
  body.factory-page .factory-service-section {
    padding: 32px 0 24px 0;
  }
  body.factory-page .factory-service-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 0 2vw;
  }
  body.factory-page .factory-service-left {
    max-width: 100%;
    align-items: center;
    text-align: center;
    padding-top: 0;
  }
  body.factory-page .factory-service-title {
    font-size: 2em;
    margin-bottom: 18px;
  }
  body.factory-page .factory-service-desc {
    font-size: 1em;
  }
  body.factory-page .factory-service-right {
    flex: 0 0 auto;
    justify-content: center;
  }
  body.factory-page .factory-service-img {
    width: 90vw;
    max-width: 340px;
  }
}
@media (max-width: 600px) {
  body.factory-page .factory-service-section {
    padding: 18px 0 0px 0;
  }
  body.factory-page .factory-service-inner {
    gap: 18px;
    padding: 0 1vw;
  }
  body.factory-page .factory-service-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }
  body.factory-page .factory-service-label {
    font-size: 1em;
    margin-bottom: 8px;
  }
  body.factory-page .factory-service-sub {
    font-size: 0.8em;
    margin-bottom: 8px;
  }
  body.factory-page .factory-service-desc {
    font-size: 0.8em;
  }
  body.factory-page .factory-service-img {
    width: 98vw;
    max-width: 98vw;
    max-width: 240px;
    width: 80vw;
    height: auto;
  }
}

/* contact.html専用 ヘッダー・ビジュアルエリア */
body.contact-page {
  background: #f7f8fa !important;
}

body.contact-page .factory-visual-block {
  width: 100%;
  background: #fff;
  margin-bottom: 0;
}

body.contact-page .factory-header-logo-area {
  width: 100%;
  background: #fff;
  text-align: center;
  padding: 32px 0 16px 0;
}

body.contact-page .factory-header-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: inline-block;
}

/* contact.html専用 ハンバーガーメニュー色 */
body.contact-page .hamburger__icon,
body.contact-page .hamburger__icon:before,
body.contact-page .hamburger__icon:after,
body.contact-page .hamburger.active .hamburger__icon:before,
body.contact-page .hamburger.active .hamburger__icon:after {
  background-color: #000 !important;
}

body.contact-page .hamburger.active .hamburger__icon:before,
body.contact-page .hamburger.active .hamburger__icon:after {
  background-color: #FFF !important;
}

@media (max-width: 900px) {
  body.contact-page .factory-header-logo {
    max-width: 220px;
  }
}

@media (max-width: 600px) {
  body.contact-page .factory-header-logo-area {
    padding: 28px 0 18px 0;
  }
  body.contact-page .factory-header-logo {
    max-width: 100px;
  }
}

/* contact.html専用 お問い合わせフォーム */
body.contact-page .contact-form-section {
  background: #fff;
  padding: 40px 20px;
  max-width: 900px;
  margin: 40px auto 60px auto;
  border-radius: 8px;
}

body.contact-page .contact-form {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 20px;
}

body.contact-page .form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

body.contact-page .form-group label {
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  font-size: 1em;
  letter-spacing: 0.01em;
}

body.contact-page .form-group input[type="text"],
body.contact-page .form-group input[type="email"],
body.contact-page .form-group input[type="tel"],
body.contact-page .form-group select,
body.contact-page .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dadada;
  font-size: 1em;
  background: #fafafa;
  color: #222;
  font-family: 'Noto Sans', 'Meiryo', 'メイリオ', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'Osaka', 'MS PGothic', 'MS Pゴシック', sans-serif;
  transition: border 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

body.contact-page .form-group input:focus,
body.contact-page .form-group select:focus,
body.contact-page .form-group textarea:focus {
  border: 1.5px solid #1b144c;
  outline: none;
  background: #fff;
}

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

body.contact-page .required-badge {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 0.7em;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 8px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.08em;
}

/* タブ切り替え */
body.contact-page .contact-type-tabs {
  display: flex;
  margin-top: 8px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #dadada;
}

body.contact-page .contact-tab {
  flex: 1;
  padding: 12px 16px;
  background: #f5f5f5;
  border: none;
  color: #666;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.contact-page .contact-tab.active {
  background: #23205a;
  color: #fff;
}

body.contact-page .contact-tab:hover {
  background: #ddd;
}

body.contact-page .contact-tab.active:hover {
  background: #23205a;
}

/* コンテンツ表示/非表示 */
body.contact-page .contact-content {
  display: none;
}

body.contact-page .contact-content.active {
  display: flex;
  flex-direction: column;
}

/* カレンダー */
body.contact-page .reservation-calendar {
  background: #f8f9fa;
  border: 1px solid #dadada;
  border-radius: 8px;
  padding: 20px;
  margin-top: 8px;
  position: relative;
}

body.contact-page .calendar-nav {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

body.contact-page .calendar-prev,
body.contact-page .calendar-next {
  background: #666;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

body.contact-page .calendar-prev:hover,
body.contact-page .calendar-next:hover {
  background: #333;
}

body.contact-page .calendar-week {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 50px 0 20px 0;
}

body.contact-page .calendar-day {
  flex: 1;
  max-width: 80px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.contact-page .calendar-day:hover {
  background: #f0f0f0;
  border-color: #23205a;
}

body.contact-page .calendar-day.selected {
  background: #23205a;
  color: #fff;
  border-color: #23205a;
}

body.contact-page .day-name {
  font-size: 0.9em;
  font-weight: 500;
  margin-bottom: 4px;
}

body.contact-page .day-name.sunday {
  color: #e53935;
}

body.contact-page .calendar-day.selected .day-name.sunday {
  color: #ffcdd2;
}

body.contact-page .day-date {
  font-size: 0.85em;
  margin-bottom: 4px;
}

body.contact-page .day-available {
  font-size: 1.2em;
  font-weight: bold;
  color: #4caf50;
}

body.contact-page .calendar-day.selected .day-available {
  color: #fff;
}

body.contact-page .calendar-note {
  text-align: center;
  font-size: 0.85em;
  color: #666;
  margin-top: 10px;
}

/* 時間選択 */
body.contact-page .time-selection {
  margin-top: 20px;
}

body.contact-page .time-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dadada;
  border-radius: 4px;
  background: #fafafa;
  font-size: 1em;
  color: #666;
}

/* 来店内容 */
body.contact-page .visit-content-section {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

body.contact-page .visit-content-section label {
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  font-size: 1em;
  letter-spacing: 0.01em;
}

body.contact-page .visit-content-section textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dadada;
  font-size: 1em;
  background: #fafafa;
  color: #222;
  font-family: 'Noto Sans', 'Meiryo', 'メイリオ', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'Osaka', 'MS PGothic', 'MS Pゴシック', sans-serif;
  transition: border 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  min-height: 100px;
  resize: vertical;
}

body.contact-page .visit-content-section textarea:focus {
  border: 1.5px solid #1b144c;
  outline: none;
  background: #fff;
}

body.contact-page .contact-submit-btn {
  display: block;
  width: auto;
  max-width: 680px;
  margin: 30px auto 0 auto;
  background: #ba9435;
  color: #fff;
  padding: 14px 30px 16px 30px;
  border-radius: 4px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.04em;
  box-shadow: none;
  cursor: pointer;
}

body.contact-page .contact-submit-btn:hover,
body.contact-page .contact-submit-btn:focus {
  background: #d4af37;
  color: #fff;
}

@media (max-width: 768px) {
  body.contact-page .contact-form-section {
    padding: 30px 15px;
    margin: 30px auto 0px auto;
  }
  
  body.contact-page .contact-form {
    padding: 0 10px;
  }
  
  body.contact-page .calendar-week {
    gap: 4px;
  }
  
  body.contact-page .calendar-day {
    max-width: 70px;
    padding: 6px 2px;
  }
  
  body.contact-page .day-name {
    font-size: 0.8em;
  }
  
  body.contact-page .day-date {
    font-size: 0.75em;
  }
  
  body.contact-page .day-available {
    font-size: 1em;
  }
}

/* contact.html専用 お問い合わせセクション */
body.contact-page .contact-service-section {
  width: 100%;
  background: #f7f8fa;
  padding: 56px 20px 0px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
body.contact-page .contact-service-inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  padding: 0 2vw;
}
body.contact-page .contact-service-left {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 0;
}
body.contact-page .contact-service-label {
  font-family: dupincel-variable, sans-serif;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  text-transform: uppercase;
  color: #8bb7d6;
}
body.contact-page .contact-service-sub {
  color: #23205a;
  font-size: 1.25em;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
body.contact-page .contact-service-title {
  color: #23205a;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
body.contact-page .contact-service-title span {
  font-size: 0.9em;
  margin: 0 0.3em;
  font-weight: normal;
}
body.contact-page .contact-service-desc {
  color: #23205a;
  font-size: 1em;
  font-weight: 500;
  line-height: 2;
  margin-top: 8px;
}
@media (max-width: 1200px) {
  body.contact-page .contact-service-inner {
    gap: 24px;
    padding: 0 2vw;
  }
}
@media (max-width: 900px) {
  body.contact-page .contact-service-section {
    padding: 32px 20px 24px 20px;
  }
}
@media (max-width: 600px) {
  body.contact-page .contact-service-section {
    padding: 18px 20px 0px 20px;
  }
  body.contact-page .contact-service-inner {
    gap: 18px;
    padding: 0 1vw;
  }
  body.contact-page .contact-service-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }
  body.contact-page .contact-service-label {
    font-size: 1em;
    margin-bottom: 8px;
  }
  body.contact-page .contact-service-sub {
    font-size: 0.8em;
    margin-bottom: 8px;
  }
  body.contact-page .contact-service-desc {
    font-size: 0.8em;
  }
}

/* ===== factory-page OUR PITセクション ===== */
body.factory-page .factory-pit-section {
  background: #fff;
  text-align: center;
  padding: 64px 0 56px 0;
  margin: 0 auto 0 auto;
}
body.factory-page .factory-pit-label {
  font-family: dupincel-variable, sans-serif;
  color: #8bb7d6;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
  text-align: center;
}
body.factory-page .factory-pit-title {
  color: #23225c;
  font-size: 2.4em;
  font-weight: 700;
  margin-bottom: 32px;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}
body.factory-page .factory-pit-img-area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
body.factory-page .factory-pit-img {
  width: 100%;
  max-width: 900px;
  border-radius: 0px;
}
body.factory-page .factory-pit-desc-block {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
body.factory-page .factory-pit-desc-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
body.factory-page .factory-pit-desc-car {
  color: #23225c;
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 2px;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}
body.factory-page .factory-pit-desc-lead {
  color: #23225c;
  font-size: 1.2em;
  font-weight: 600;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}
body.factory-page .factory-pit-cert {
  color: #2a7fd2;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 2px;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}
body.factory-page .factory-pit-detail {
  color: #23225c;
  font-size: 1em;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  margin-top: 2px;
  line-height: 2;
}
@media (max-width: 700px) {
  body.factory-page .factory-pit-section {
    padding: 40px 0 32px 0;
  }
  body.factory-page .factory-pit-title {
    font-size: 1.4em;
    margin-bottom: 20px;
  }
  body.factory-page .factory-pit-img {
    max-width: 95vw;
    border-radius: 10px;
  }
  body.factory-page .factory-pit-desc-block {
    max-width: 95vw;
    padding: 0 2vw;
  }
  body.factory-page .factory-pit-desc-car {
    font-size: 1.4em;
  }
  body.factory-page .factory-pit-desc-lead {
    font-size: 1rem;
  }
  body.factory-page .factory-pit-cert {
    font-size: 1rem;
  }
  body.factory-page .factory-pit-detail {
    font-size: 0.92rem;
  }
}

/* ===== factory-page サービスメニューセクション ===== */
body.factory-page .factory-service-menu-section {
  background: #fff;
  padding: 48px 0 32px 0;
  margin: 0 auto;
  max-width: 980px;
}
body.factory-page .factory-service-menu-hr {
  border: none;
  border-top: 1px solid #222;
  margin: 0 0 24px 0;
}
body.factory-page .factory-service-menu-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1em;
  margin: 24px 20px 20px 20px;
}
body.factory-page .factory-service-menu-icon {
  display: inline-block;
  transform: rotate(90deg);
  font-size: 1.1em;
  vertical-align: middle;
}
body.factory-page .factory-service-menu-title {
  font-size: 1em;
  color: #222;
  font-weight: 700;
}
body.factory-page .factory-service-menu-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 32px 32px;
  margin-top: 32px;
  margin-bottom: 0;
}
body.factory-page .factory-service-menu-item {
  border: 1px solid #222;
  border-radius: 4px;
  padding: 24px 8px 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 110px;
  background: #fff;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
}
body.factory-page .factory-service-menu-item-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
  letter-spacing: 0.04em;
}
body.factory-page .factory-service-menu-item-desc {
  font-size: 0.9em;
  color: #111;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  body.factory-page .factory-service-menu-section {
  }
  body.factory-page .factory-service-menu-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-top: 20px;
  }
}
@media (max-width: 600px) {
  body.factory-page .factory-service-menu-section {
    padding: 24px 0 10px 0;
    max-width: 99vw;
  }
  body.factory-page .factory-service-menu-title-row {
    font-size: 1em;
  }
  body.factory-page .factory-service-menu-list {
    grid-template-columns: 1fr;
    gap: 14px 0;
    margin: 12px;
  }
  body.factory-page .factory-service-menu-item {
    padding: 16px 4px 10px 4px;
    min-height: 80px;
  }
  body.factory-page .factory-service-menu-item-title {
    font-size: 1em;
    margin-bottom: 5px;
  }
  body.factory-page .factory-service-menu-item-desc {
    font-size: 0.8em;
  }
}

.factory-location-section {
  margin: 0;
  padding: 0;
}
.factory-location-header {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  min-height: 180px;
}
.factory-location-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 0;
  box-sizing: border-box;
}
.factory-location-header-texts {
  text-align: center;
  width: 100%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}
.factory-location-header-img img {
  height: 180px;
  width: auto;
  display: block;
}
@media (max-width: 900px) {
  .factory-location-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0em;
    height: auto;
  }
  .factory-location-header-img img {
    height: 80px;
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  .factory-location-header-img img {
    height: auto;
    width: 100%;
    margin-top: 0px;
    padding: 0 0;
  }
}
.factory-location-header h2 {
  color: #231942;
  font-size: 2.5em;
  font-weight: bold;
  margin: 0;
  line-height: 1.1;
}
.factory-location-header h2 span {
  display: block;
  color: #8bb6d6;
  font-size: 1.2em;
  font-weight: normal;
  margin-top: 0.2em;
  letter-spacing: 0.05em;
}
.factory-location-content {
  background: url('../img/factory_back_04.png') center center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
}
.factory-location-info {
  color: #fff;
  border-radius: 1.2em;
  padding: 2em 2em 2em 2em;
  max-width: 480px;
  min-width: 260px;
  margin-bottom: 0;
}
.factory-location-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 1em;
  letter-spacing: 0.05em;
}
.factory-location-address {
  font-size: 0.9em;
  margin-bottom: 1.5em;
  line-height: 1.7;
}
.factory-location-access-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #8bb6d6;
  margin-bottom: 0.5em;
  margin-top: 1em;
  letter-spacing: 0.05em;
}
.factory-location-access {
  font-size: 0.9em;
  margin-bottom: 1.5em;
}
.factory-location-map {
  background: #e5e5e5;
  color: #b0b0b0;
  text-align: center;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 180px;
}
.factory-location-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  max-width: 480px;
}
.factory-location-image img {
  width: 100%;
  border-radius: 0em;
  object-fit: cover;
}
@media (min-width: 900px) {
  .factory-location-content {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 3em;
    padding: 3.5em 0 3.5em 0;
  }
  .factory-location-info, .factory-location-image {
    max-width: 480px;
    min-width: 320px;
  }
  .factory-location-info {
    margin-bottom: 0;
  }
}

.factory-maintenance-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5em;
}
.factory-maintenance-count {
  color: #fff;
  font-size: 1.3em;
  margin-bottom: 0.7em;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.factory-maintenance-blog-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #0a1620;
  padding: 0.6em 3em;
  border-radius: 2em;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
  font-size: 1.1em;
  min-width: 180px;
  justify-content: center;
}
.factory-maintenance-blog-btn .blog-btn-arrow {
  margin-left: 0.7em;
  font-size: 1.2em;
  transition: transform 0.2s;
  display: inline-block;
}
.factory-maintenance-blog-btn:hover .blog-btn-arrow {
  transform: translateX(4px);
}
@media (min-width: 600px) {
  .factory-maintenance-info {
    flex-direction: row;
    justify-content: center;
    gap: 2em;
  }
  .factory-maintenance-count {
    margin-bottom: 0;
  }
}

body.factory-page .factory-maintenance-label {
  font-family: dupincel-variable, sans-serif;
  color: #8bb7d6;
  font-size: 0.9em;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 0;
  margin-top: 60px;
}
body.factory-page .factory-maintenance-title {
  color: #FFF;
  font-size: 2.4em;
  font-weight: 700;
  margin: 0px 20px 20px 20px;
  text-align: center;
}
@media (max-width: 900px) {
  body.factory-page .factory-maintenance-title {
    margin-bottom: 10px;
  }
}
@media (max-width: 600px) {
  body.factory-page .factory-maintenance-label {
  }
}

.factory-page .section-thankyou {
  background: url('../img/factory_back_02.png') center center/cover no-repeat;
  background-color: #0a1620;
}
.factory-page .swiper-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.factory-scrolltop-bar {
  background: #fff url('../img/cc_border_01.png') repeat-x top center;
  background-size: auto 15px;
  padding: 56px 0 54px 0;
  text-align: center;
  position: relative;
}
.factory-scrolltop-link {
  display: inline-block;
  text-decoration: none;
  color: #23205a;
  font-family: dupincel-variable, sans-serif;
  font-size: 1.6em;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  transition: color 0.2s;
}
.factory-scrolltop-link:hover {
  color: #3949ab;
}
.factory-scrolltop-arrow {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 10px auto;
  border-left: 2px solid #23205a;
  border-bottom: 2px solid #23205a;
  transform: rotate(135deg);
  border-radius: 2px;
}
.factory-scrolltop-text {
  display: block;
  font-family: dupincel-variable, sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.factory-contact-time {
  color: #fff;
  font-size: 0.8em;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: center;
}

.factory-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.factory-contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 0;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .factory-contact-inner {
    flex-direction: column;
    padding: 0px 0vw;
  }
}

body.factory-page .factory-location-label {
  font-family: dupincel-variable, sans-serif;
  color: #8bb7d6;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin: 0px;
  text-transform: uppercase;
  text-align: center;
}
body.factory-page .factory-location-title {
  color: #23225c;
  font-size: 2.4em;
  font-weight: 700;
  margin: 10px 20px 10px 20px;
  text-align: center;
}
@media (max-width: 900px) {
  body.factory-page .factory-location-title {
    font-size: 1.4em;
    margin-bottom: 20px;
  }
}
@media (max-width: 600px) {
  body.factory-page .factory-location-label {
    font-size: 1em;
  }
}
@media (min-width: 900px) {
  body.factory-page .factory-location-header {
    align-items: flex-start;
    padding-left: 5em;
  }
  body.factory-page .factory-location-label,
  body.factory-page .factory-location-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

body.factory-page .factory-location-factory-title {
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  margin: 0 0 18px 0;
  text-align: left;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  body.factory-page .factory-location-factory-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: center;
  }
}

/* スタッフ詳細セクション */
.staff-detail-section {
  background: #f7f8fa;
  padding: 48px 0 48px 0;
}
.staff-detail-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.staff-detail-img {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.staff-detail-img img {
  width: 320px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 0;
  border: 8px solid #FFF;
}
.staff-detail-profile {
  flex: 1 1 320px;
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
  background: none;
  padding: 0 8px;
}
.staff-detail-name {
  font-size: 2em;
  font-weight: bold;
  margin: 80px 0 20px 0;
  letter-spacing: 0.04em;
  text-align: center;
}
.staff-detail-title {
  font-size: 1em;
  margin-bottom: 8px;
  font-weight: 600;
}
.staff-detail-desc {
  font-size: 1em;
  margin-bottom: 30px;
  line-height: 1.8;
}
.staff-detail-message-title {
  font-size: 1em;
  margin-bottom: 6px;
  font-weight: 600;
}
.staff-detail-message {
  font-size: 1em;
  padding: 16px 18px;
  line-height: 1.8;
}
@media (max-width: 700px) {
  .staff-detail-inner {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    padding: 0 8vw;
  }
  .staff-detail-img img {
    width: 200px;
    height: auto;
  }
  .staff-detail-profile {
    padding: 0;
  }
  .staff-detail-name {
    font-size: 1.8em;
    margin: 0 0 30px 0;
  }
  .staff-detail-title {
    font-size: 1em;
  }
  .staff-detail-desc, .staff-detail-message {
    font-size: 0.8em;
    padding: 0px 0px;
  }
}

body.factory-page .hamburger.active .hamburger__icon:before,
body.factory-page .hamburger.active .hamburger__icon:after {
  background-color: #FFF !important;
}
