/*
Theme Name: life_tpl_2025
Theme URI: 
Template: lightning
Description:Lifecommunication Theme
Author:Lifecommunication Co., Ltd
Tags: 
Version: 0.5.1
*/

/* =========================
   all
========================= */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
}

a {
  text-decoration: none !important;
  color: inherit;
}

a:hover {
  color: inherit;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #112049;
}

p {
  line-height: 1.6;
}

.en {
  font-family: "Roboto", sans-serif;
}

.sp {
  display: none;
}

.site-body {
  padding: 0;
  overflow: hidden;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

.blue {
  display: inline-block;
  background: linear-gradient(90deg, #112049 0%, #0a99ff 82%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.gold {
  color: #b18f46;
}

.white {
  color: #fff;
}

.light-blue {
  background: linear-gradient(45deg, #2f67bc 0%, #84deff 100%);
  border-radius: 0 40px 0 0;
}

.section-title p {
  margin-bottom: 0;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 500;
}

.section-lead {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}

.button a {
  position: relative;
  display: block;
  padding: 12px 24px;
  width: 260px;
  background: linear-gradient(90deg, #112049 0%, #0a99ff 50%, #7ec9ff 100%);
  background-size: 200% 100%;
  border-radius: 25px;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
}

.button a::after {
  content: "\2192"; /* → */
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.button a:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(17, 32, 73, 0.2);
}

.text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.page-link {
  display: grid;
  gap: 24px;
  margin-top: 0 !important;
}

.link-4 {
  grid-template-columns: repeat(4, 1fr);
}

.link-2 {
  grid-template-columns: repeat(2, 1fr);
}

.link-btn a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px 88px 24px 24px;
  height: stretch;
  min-height: 160px;
  background: #e8e9ed;
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.link-btn a::after {
  content: "\2193"; /* ↓ */
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
}

.link-btn a:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(17, 32, 73, 0.1);
}

.link-btn a p {
  font-size: clamp(16px, 1.75vw, 24px);
  font-weight: 600;
  line-height: 1;
}

.link-btn a .gold {
  font-size: 14px;
}

.services-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.card-item {
  display: flex;
}

.card-item.reverse {
  flex-direction: row-reverse;
}

.card-item .card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  width: 60%;
  height: stretch;
  background: #e8e9ed;
  border-radius: 0 20px 20px 0;
}

.card-item.reverse .card-text {
  border-radius: 20px 0 0 20px;
}

.card-item .card-img {
  width: 40%;
  aspect-ratio: 4/3;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

.card-item.reverse .card-img {
  border-radius: 0 20px 20px 0;
}

.card-item .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-title {
  margin-bottom: 0;
}

.list-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.txt-center {
  text-align: center;
}

.py-120 {
  padding-block: 60px;
}

.py-80 {
  padding-block: 40px;
}

.py-8040 {
  padding-block: 40px 20px;
}

.pt-40 {
  padding-top: 20px;
}

.pb-120 {
  padding-bottom: 60px;
}

.mt-40 {
  margin-top: 20px;
}

.mt-80 {
  margin-top: 40px;
}

.mt-120 {
  margin-top: 60px;
}

.ml-40 {
  margin-left: 20px;
}

.mb-80 {
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .br-pc {
    display: none;
  }
  .page-link {
    gap: 16px;
  }
  .link-btn a {
    padding: 16px 64px 16px 16px;
    min-height: 160px;
  }
  .link-btn a::after {
    right: 16px;
  }
}

@media (max-width: 991.98px) {
  .container {
    max-width: calc(100% - 64px);
  }
  .link-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-item .card-text {
    padding: 60px;/*217*/
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-cards {
    gap: 20px;
  }
  .link-btn a {
    min-height: 120px;
  }
  .text-group {
    text-align:left;
  }
  .card-item .card-text {
    padding: 40px;
    gap: 20px;
  }
  .card-text .button a {
    width: 210px;
    padding: 12px 20px;
  }
  .card-text .button a::after {
    right: 18px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-inline: 0;
    max-width: calc(100% - 32px);
  }
}

@media (max-width:575px) {
  .card-item .card-text {
    padding: 30px;/*217*/
    gap: 15px;
  }
  .card-item,
  .card-item.reverse {
    flex: 0 0 auto;
    flex-direction: column;
  }
  .card-item .card-img,
  .card-item.reverse .card-img {
    width: 100%;
    border-radius: 20px 20px 0 0;
  }
  .card-item .card-text,
  .card-item.reverse .card-text{
    width: 100%;
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 450px) {
  .link-btn a {
    padding: 16px 16px 48px;
    text-align: center;
  }
  .link-btn a::after {
    top: calc(100% - 16px);
    right: 50%;
    transform: translate(50%, -100%);
  }
}

/* =========================
   header
========================= */
/* header */
.site-header,
.header_scrolled .site-header {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
}

.site-header {
  border-bottom: 8px solid #b18f46;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: #112049;
}

.header_scrolled .site-header {
  animation: none !important;
}

.site-header-container.container {
  max-width: calc(100% - 64px);
  padding: 0 0 8px;
}

.header_scrolled .site-header-logo {
  display: block;
}

.site-header-logo a {
  transition: all 0.3s ease;
}

.site-header-logo {
  padding-top: 12px !important;
  margin-bottom: 10px !important;
}

.site-header-logo a:hover {
  opacity: 0.7;
}

.site-header-logo img {
  max-height: 88px !important;
}

.header_scrolled .site-header .global-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header_scrolled .global-nav-list {
  height: fit-content;
}

.global-nav-list .global-nav-name {
  display: inline-block;
  font-size: 16px !important;
  font-weight: 600;
  background: linear-gradient(90deg, #112049 50%, #0a99ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  color: transparent;
  transition: all 0.3s ease;
}

.menu-item-has-children .global-nav-name {
  position: relative;
  padding-right: 24px;
}

.menu-item-has-children .global-nav-name::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid #112049;
  border-bottom: 2px solid #112049;
  transform: translateY(-70%) rotate(45deg);
  transition: all 0.3s ease;
}

.global-nav-list .menu-item a:hover .global-nav-name {
  background-position: 100% 0;
}

.global-nav-list .menu-item a:hover .global-nav-name::after {
  border-right: 2px solid #0a99ff;
  border-bottom: 2px solid #0a99ff;
}


.device-mobile .acc-btn {
  display: none;
}

.global-nav-list li ul.sub-menu {
  left: 0;
  margin-left: 0;
  width: 160px;
}

.global-nav-list li ul.sub-menu li a {
  background: linear-gradient(90deg, #112049 0%, #0a99ff 50%, #7ec9ff 100%);
  background-size: 200% 100%;
  font-size: 16px;
  transition: all 0.3s ease;
}

.global-nav-list li ul.sub-menu li a:hover {
  background-position: 100% 0;
}

@media (max-width: 991.98px) {
  .site-header-container.container {
    max-width: calc(100% - 32px);
  }
  .site-header-logo {
    width: 86px;
    height: 100%;
  }
  .site-header-logo img {
    max-height: 100%;
  }
  .header_scrolled .site-header .global-nav {
    display: none;
  }
  .device-mobile .acc-btn{
    display: block;
    border: 0px solid #112049;
  }
}

/* language-switcher */
.language-switcher {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 24px;
  transition: all 0.3s ease;
}

.language-button {
  position: relative;
}

.language-current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #b18f46 50%, #847035 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-current::before,
.language-menu li a::before {
  content: "";
  display: inline-block;
  background: url(../../images/globe-icon.png) no-repeat center / contain;
  width: 20px;
  height: 20px;
}

.language-current .arrow {
  font-size: 10px;
}

.language-current:hover {
  background-position: 100% 0;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: stretch;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  border-radius: 21px;
  box-shadow: 0 2px 10px rgba(17, 32, 73, 0.2);
  transform: translateY(-10px);
  transition: all 0.6s ease;
}

.language-switcher.active .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu li {
  list-style: none;
}

.language-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #b18f46 50%, #847035 100%);
  background-size: 200% 100%;
  border-radius: 20px 20px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  text-decoration: none;
  transition: all 0.6s ease;
}

.language-menu a:hover {
  background-position: 100% 0;
}

.language-menu li:last-child a {
  border-top: 1px solid #fff;
  border-radius: 0 0 20px 20px;
}

@media (max-width: 991.98px) {
  .language-switcher {
    position: absolute;
    top: 13px;
    right: 75px;
  }
}
@media (max-width: 320px) {
  .language-current {
    padding: 12px 15px;
  }
}
/* header-contact-button */
.header-contact {
  margin-left: 24px;
  display: flex;
  align-items: center;
}

.header-contact-btn {
  position: relative;
  display: block;
  padding: 12px 24px;
  width: 200px;
  background: linear-gradient(90deg, #112049 50%, #0a99ff 100%);
  background-size: 200% 100%;
  border-radius: 25px;
  font-size: 16px;
  color: #fff;
  transition: all 0.3s ease;
}

.header-contact-btn::after {
  content: "\2192"; /* → */
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.header-contact-btn:hover {
  background-position: 100% 0;
  color: #fff;
}

.sp.header-contact-btn{
  display: none;
}

@media (max-width: 991.98px) {
  .header-contact {
    display: none;
  }
  .sp.header-contact-btn{
    display: block;
    padding: 0px 24px;
    margin-top: 20px;
  }
  .vk-mobile-nav nav ul li.sp.header-contact-btn a{
    color: #fff;
    border-bottom: none;
  }
}

/* mobile-menu */
.vk-mobile-nav-menu-btn {
  top: 12px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #112049;
}

.vk-mobile-nav-menu-btn.position-right {
  right: 16px;
}

.vk-mobile-nav-menu-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 18px;
  background: url("../../images/hamburger.png") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.vk-mobile-nav-menu-btn.menu-open {
  border: none;
  background: #112049;
}

.vk-mobile-nav-menu-btn.menu-open::before {
  height: 24px;
  background: url("../../images/close.png") center / contain no-repeat;
}

.vk-mobile-nav {
  width: 75%;
  padding: 120px 32px;
  background-color: #f9f9f9;
}

.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-right-in {
  left: 25%;
}

@media (max-width: 600px) {
  .vk-mobile-nav {
    width: 100%;
  }
  .vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-right-in {
    left: 0;
  }
}

/* site-footer */
.site-footer {
  background: #e8e9ed;
}

.footer-area {
  display: flex;
  justify-content: space-between;
  padding-block: 40px 20px;
}

.footer-logo a {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.footer-logo a:hover {
  opacity: 0.7;
}

.footer-logo a img {
  height: 80px;
}

.footer-nav {
  width: 60%;
}

.footer-nav.footer-nav-en {
  width: 70%;
}

.footer-nav-list {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.footer-nav-en .footer-nav-list {
  gap: 40px;
}

.footer-nav-list li {
  padding: 0;
  width: 120px;
}

.footer-nav-list li a {
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.footer-nav-list li a:hover {
  opacity: 0.7;
}

.footer-nav-en .footer-nav-list li {
  width: auto;
}

.footer-nav-list .menu-item-has-children {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: fit-content;
}

.footer-nav-list .menu-item-has-children .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 8px;
}

.footer-nav-list .menu-item-has-children .sub-menu li a {
  font-weight: 400;
}

.site-footer-copyright p:last-child {
  display: none;
}

@media (max-width: 991.98px) {
    .footer-nav .container {
        max-width: 100%;
    }
    .footer-area {
        flex-direction: column;
        gap: 40px;
    }
    .footer-logo {
        margin: 0 auto;
        width: fit-content;
    }
    .footer-nav,
    .footer-nav.footer-nav-en {
        width: 100%;
    }
    .footer-nav-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px 8px;
    }
    .footer-nav-list li {
        align-items: center;
        text-align: center;
    }
    .footer-nav-list .menu-item-has-children {
        width: inherit;
    }
    .footer-nav-list .menu-item-has-children .sub-menu {
        padding-left: 0;
    }
    .footer-nav-list .sub-menu li {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .footer-nav-list li {
        min-width: 84px;
        width: calc(30% - 4px);
    }
    .footer-nav-list li a {
        padding: 7px 0;
    }
}

/* page-top */
.page_top_btn {
  width: 50px;
  height: 50px;
  background-image: linear-gradient(90deg, #112049 0%, #0a99ff 50%, #7ec9ff 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
  box-shadow: 0 2px 10px rgba(17, 32, 73, 0.2);
  border: none;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.page_top_btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  transform: translate(50%, -30%) rotate(45deg);
}

.page_top_btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(17, 32, 73, 0.2);
}

/* =========================
   front-page
========================= */
/* all */
.home .site-body {
  margin-top: 126px;
}

.top-about,
.top-services,
.top-logistics,
.top-strengths,
.top-news {
  position: relative;
}

.bg-text {
  position: absolute;
  top: 0;
  font-size: clamp(64px, 10vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  color: rgba(17, 32, 73, 0.1);
  z-index: 1;
}

.bg-text-left {
  left: calc(50% - 50vw);
  transform: rotate(90deg) translateY(-100%);
  transform-origin: top left;
}

.bg-text-right {
  right: calc(50% - 50vw);
  transform: rotate(90deg) translateX(100%);
  transform-origin: top right;
}

@media (max-width: 991.98px) {
  .home .site-body {
    margin-top: 89px;
  }
}

/* mv */
.mv {
  position: relative;
}

.mv::before {
  content: "";
  position: absolute;
  top: 40px;
  right: calc(50% - 55vw);
  width: 80vw;
  height: 50vh;
  background: url(../../images/mv-earth.png) no-repeat center / contain;
}

.mv-title {
  position: relative;
  margin-left: calc(50% - 50vw + 80px);
  padding-block: 40px;
  z-index: 1;
}

.main-copy {
  font-size: clamp(48px, 10vw, 72px);
  line-height: 1;
}

.main-copy .gold {
  display: inline-block;
  width: clamp(41px, 8.5vw, 62px);
  text-align: center;
}

.sub-copy {
  font-size: clamp(16px, 3vw, 32px);
  font-weight: 600;
}

.mv-image {
  position: relative;
  display: flex;
  margin-left: calc(50% - 50vw + 32px) !important;
  margin-right: calc(50% - 50vw + 32px) !important;
  width: calc(100vw - 64px);
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

.mv-image .swiper-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .mv::before {
    top: 80px;
  }
  .mv-title {
    margin-left: 0 !important;
  }
  .mv-image {
    height: 360px !important;
  }
  .mv-image .swiper-slide img {
    width: 100%;
    height: 360px;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .mv-image {
    margin-left: calc(50% - 50vw + 16px) !important;
    margin-right: calc(50% - 50vw + 16px) !important;
    width: calc(100vw - 32px);
  }
}

/* top-about */
.top-about {
  justify-content: space-between;
  gap: 80px;
}

.top-about-left {
  position: relative;
  gap: 60px;
  width: 45%;
}

.top-about-left .section-title {
  position: relative;
  z-index: 2;
}

.top-about-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 50%;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  z-index: 1;
}

.top-about-copy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 90%;
  aspect-ratio: 1/1;
  background: url(../../images/earth-gr.png) no-repeat center / contain;
  z-index: 0;
}

.top-about-copy span {
  position: relative;
}

.top-about-copy span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #b18f46;
  opacity: 0.5;
  z-index: -1;
}

.top-about-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  width: 50%;
}

.top-about-group p {
  text-align: center;
}

@media (max-width: 1200px) {
  .top-about-group .br-pc {
    display: block;
  }
}

@media (max-width: 991.98px) {
  .top-about-left {
    gap: 40px;
  }
  .top-about-group {
    margin-top: 0;
  }
  .top-about-group .br-pc {
    display: none;
  }
}

@media (max-width: 767px) {
  .top-about {
    flex-direction: column;
    gap: 60px;
  }
  .top-about-left {
    flex-direction: row !important;
    align-items: center;
    width: 100%;
  }
  .top-about-left .section-title {
    width: 50%;
  }
  .top-about-copy {
    gap: 40px;
    padding-left: 0;
    width: 50%;
  }
  .top-about-copy::before {
    left: -50vw;
    width: 300px;
  }
  .top-about-copy span::before {
    width: 40px;
    height: 40px;
  }
  .top-about-group {
    width: 100%;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .top-about-copy::before {
    transform: translate(-50%, -50%);
  }
}

/* image-slide */
.image-slide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding-top: 40px;
}

.imagesSwiper {
  overflow: visible;
}

.imagesSwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.imagesSwiper .swiper-slide {
  width: 320px;
  aspect-ratio: 4 / 3;
}

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

@media (max-width: 1100px) {
  .imagesSwiper .swiper-slide {
    width: 280px;
  }
}

@media (max-width: 991.98px) {
  .image-slide {
    padding: 0;
  }
  .imagesSwiper .swiper-slide {
    width: 240px;
  }
}

@media (max-width: 767px) {
  .imagesSwiper .swiper-slide {
    width: 160px;
  }
}

/* top-services */
.top-services {
  gap: 32px;
}

.card-slider {
  position: relative;
  padding-bottom: 16px;
  overflow-x: auto;
  z-index: 2;
}

.card-list {
  display: flex;
  gap: 20px;
}

.card-item {
  flex: 0 0 calc((100% - 40px) / 3);
}

.card-item:last-child {
  margin-right: 16px;
}

.card-slider::-webkit-scrollbar {
  padding-top: 20px;
  height: 6px;
}

.card-slider::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 10px;
}

.card-slider::-webkit-scrollbar-thumb {
  background: #b18f46;
  border-radius: 10px;
}

.business-img-group {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
}

.business-img-inner {
  width: 100%;
  height: 100%;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.3s ease;
}

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

.card-item a:hover .business-img-inner {
  transform: scale(1.05);
}

.business-img-group h4 {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #fff;
  z-index: 2;
}

.card-item a p {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.card-item a:hover p {
  opacity: 0.7;
}

@media (max-width: 1200px) {
 .top-services .br-sp {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .card-slider {
    margin-right: calc(50% - 50vw);
  }
  .card-item {
    flex: 0 0 40%;
  }
}

@media (max-width: 767px) {
  .card-item {
    flex: 0 0 60%;
  }
}

@media (max-width: 480px) {
  .card-item {
    flex: 0 0 80%;
  }
}

/* top-logistics */
.top-logistics {
  position: relative;
  gap: 32px;
  padding-bottom: 60px;
}

.top-logistics::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 55vw);
  width: 80vw;
  height: 90vh;
  background: url(../../images/world.png) no-repeat center / contain;
  z-index: 0;
}

.top-logistics .section-title,
.top-logistics-list,
.top-logistics .button {
  position: relative;
  z-index: 1;
}

.top-logistics-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  z-index: 2;
}

.top-logistics-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.top-logistics-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 50%;
}

.top-logistics-image img {
  width: 100%;
  height: 100%;
}

.top-logistics-item h4 {
  font-size: clamp(16px, 2vw, 22px);
  text-align: center;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .top-logistics-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .top-logistics-item {
    width: 190px;
  }
  .top-logistics-item.mt-80,
  .top-logistics-item.mt-120 {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .top-logistics-list {
    gap: 24px;
  }
  .top-logistics-item {
    width: 190px;
  }
}

@media (max-width: 650px) {
  .top-logistics-item {
    width: calc(50% - 12px);
  }
}

/* top-strengths */
.top-strengths {
  gap: 32px;
}

.top-strengths-group {
  position: relative;
  padding-bottom: 30vh;
}

.top-strengths-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  z-index: 2;
}

.top-strengths-item {
  padding: 20px;
}

.strengths-number {
  margin-left: auto;
  width: fit-content;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.strengths-number span {
  display: block;
  font-size: 32px;
}

.top-strengths-item h4 {
  margin-bottom: 12px;
}

.top-strengths-item p {
  font-weight: 500;
}

.top-strengths-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 40vh;
  z-index: 0;
}

.top-strengths-image img {
  width: 100%;
  height: 100%;
}

.top-strengths-image .sp {
  display: none;
}

.top-strengths .bg-text {
  top: -20px;
}

@media (max-width: 1200px) {
  .top-strengths-list {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .top-strengths-group {
    padding-bottom: 20vh;
  }
  .top-strengths-list {
    grid-template-columns: 1fr;
    margin: 0 auto;
    max-width: 400px;
  }
  .top-strengths-image {
    height: 70vh;
  }
  .top-strengths-image .pc {
    display: none;
  }
  .top-strengths-image .sp {
    display: block;
    object-position: bottom;
  }
}

/* top-news */
.top-news {
  justify-content: space-between;
  gap: 120px;
}

.top-news::before {
  content: "";
  position: absolute;
  top: 30%;
  left: calc(50% - 60vw);
  width: 60vw;
  height: 100vh;
  background: url(../../images/earth-gr.png) no-repeat center / contain;
  z-index: 0;
}

.top-news-left {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.top-news-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  width: stretch;
  background-color: rgba(17, 32, 73, 0.1);
  border-radius: 20px;
  z-index: 2;
}

.top-news-item {
  padding-inline: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d1d1d6;
}

.top-news-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.top-news-item a {
  position: relative;
  display: block;
  transition: opacity 0.3s ease;
}

.top-news-item a:hover {
  opacity: 0.7;
}

.top-news-item a::after {
  content: "\2192"; /* → */
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 1.33rem;
  font-weight: bold;
  line-height: var(--vk-line-height-low);
  color: #112049;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.top-news-item a:hover::after {
  transform: translate(5px, -50%);
}

.news-meta {
  margin-bottom: 8px;
  font-weight: 600;
}

.news-tag {
  display: inline-block;
  margin-left: 16px;
  padding: 4px 16px;
  background-color: #112049;
  border-radius: 15px;
  font-size: 13px;
  color: #fff;
}

.news-item a .news-title {
  position: relative;
  display: inline-block;
  padding-right: 32px;
  background: linear-gradient(90deg, #112049 50%, #0a99ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  color: transparent;
  transition: all 0.3s ease;
}

.news-item a:hover .news-title {
  background-position: 100% 0;
}

@media (max-width: 991.98px) {
  .top-news {
    flex-direction: column;
    gap: 32px;
  }
  .top-news::before {
    top: 60%;
    width: 100vw;
    height: 120vh;
  }
  .top-news .button.pc {
    display: none;
  }
  .top-news .button.sp {
    display: block;
  }
  .top-news .button.sp a {
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .top-news::before {
    top: 40%;
  }
  .top-news-list {
    padding: 24px;
  }
}
@media (max-width: 575px) {
  .top-news-item {
    padding-inline: 0;
  }
  .news-item a h4.news-title {
    font-size: 1.15rem;
  }
}

/* top-contact */
.top-contact {
  position: relative;
}

.top-contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 50%;
  background: #e8e9ed;
  z-index: 0;
}

.top-contact-inner {
  position: relative;
  gap: 20px;
  padding: 40px;
  background: linear-gradient(90deg, #112049 0%, #0a99ff 50%, #7ec9ff 100%);
  background-size: 200% 100%;
  border-radius: 20px;
  transition: all 0.3s ease;
  z-index: 1;
}

.top-contact-inner::after {
  content: "\2192"; /* → */
  position: absolute;
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 80px;
  text-align: center;
  color: #112049;
  z-index: 1;
}

.top-contact-inner:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(17, 32, 73, 0.2);
}

.top-contact-inner .section-title,
.top-contact-inner p {
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .top-contact-inner::after {
    gap: 24px;
    right: 40px;
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
}

@media (max-width: 767px) {
  .top-contact-inner {
    padding: 24px;
  }
  .top-contact-inner::after {
    top: 60px;
    right: 24px;
    width: 40px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
  }
}

/* =========================
   カスタムテンプレート
========================= */
/* page-heading */
.page-heading {
  position: relative;
  margin-top: 126px;
  padding-top: 32px;
  overflow: hidden;
}

.page-heading::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: 50vw;
  aspect-ratio: 3/2;
  background: url(../../images/earth-gr.png) no-repeat top center / cover;
  z-index: 0;
}

.breadcrumb .container,
.page-title.container {
  max-width: 1320px;
}

.breadcrumb-list {
  color: #727272;
}

.breadcrumb-list li::after {
  margin-inline: 16px;
}

.breadcrumb-list li .fa-house {
  display: none;
}

.page-title {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 40px;
}

.page-title-en {
  font-size: clamp(32px, 8vw, 64px);
  line-height: 1.35;
}

.page-title-ja {
  font-size: clamp(14px, 3vw, 20px);
  font-weight: 500;
  white-space: nowrap;
}

.page-img {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

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

@media (max-width: 991.98px) {
  .page-heading {
    margin-top: 89px;
  }
  .page-heading::before {
    width: 60vw;
  }
  .page-title {
    flex-direction: column;
  }
  .page-img {
    height: 30vh;
    
  }
}

@media (max-width: 767px) {
  .page-heading::before {
    top: 15%;
    width: 80vw;
  }
  .page-title {
    padding-block: 40px;
  }
  .breadcrumb .container,
  .page-title.container {
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 480px) {
  .page-heading::before {
    top: 25%;
  }
}

@media (max-width:280px) {
  .page-title-en {
    font-size: 30px;
  }
}

/* body */
.page-lead {
  text-align: center;
}

.text-lead {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.5;
}

/* page-contact */
.page-contact {
  position: relative;
  margin-top: 40px;
}

.page-contact::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 50%;
  background: #e8e9ed;
  z-index: 0;
}

@media (max-width:768px) {
  .text-lead {
    text-align: center;
  }
}
/* =========================
   事業内容
========================= */
.services.pt-40 {
  padding-top: 0;
}

.services-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.services-item .light-blue {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  width: 100%;
  max-width: 920px;
}

.services-item .light-blue h3 {
  margin-bottom: 0;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

.services-images {
  gap: 80px;
}

.image-wrap {
  max-width: 320px;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
}

.services-images .image-wrap {
  width: 50%;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-wrap.image-contain img {
  object-fit: contain;
}

.services-bottom {
  gap: 80px;
}

.services-bottom .services-item {
  width: 50%;
}

@media (max-width: 991.98px) {
  .services-item {
    gap: 24px;
  }
  .services-images {
    gap: 40px;
  }
  .services-bottom {
    flex-direction: column;
  }
  .services-bottom .services-item {
    width: 100%;
  }
  .services-bottom .services-item .image-wrap {
    width: 50%;
  }
  .services-bottom .services-item .image-wrap.image-contain {
    aspect-ratio: auto;
  }
  .post-17 .page-lead .text-group{
    text-align:left;
  }
	.post-17 .page-lead .text-group .text-lead{
    text-align:center;
  }
}

@media (max-width: 767px) {
  .services-images {
    flex-direction: column;
    gap: 16px;
  }
  .services-images .image-wrap,
  .services-bottom .services-item .image-wrap {
    width: 100%;
  }
  .post-17 .text-group{
    text-align:left;
  }
	.post-17 .text-group .text-lead{
    text-align:center;
  }
}

@media (max-width: 575px) {
  .post-17 .text-lead .sp{
    display:block;
  }
}
/* =========================
   事業内容　共通
========================= */
.services-cards .card-item:last-child {
  margin-right: 0;
}

@media (max-width: 1200px) {
  .products-item h4 {
    font-size: 1.2rem;
  }
}

@media (max-width:575px) {
  .products-item h4 {
    font-size: 1.1rem;
  }
}

@media (max-width:450px) {
  .page-link .link-btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 16px 70px;
  }
}

/* =========================
   国際物流 & 自動車販売
========================= */
/* strengths */
.strengths {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.strengths-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
  z-index: 1;
}

.strengths-item {
  padding: 32px;
}

.strengths-lead {
  margin-bottom: 12px;
}

.strengths-lead h4 {
  margin-bottom: 4px;
}

.strengths-image {
  position: absolute;
  top: 50%;
  left: calc(50% - 50vw);
  transform: translateY(-50%);
  width: 60vw;
  height: 60%;
  overflow: hidden;
  z-index: 0;
}

.strengths-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ports-img {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
}

@media (max-width: 991.98px) {
  .strengths {
    gap: 40px;
  }
}

@media (max-width:768px) {
  #products p.txt-center{
    text-align: left;
  }
}

@media (max-width: 767px) {
  .strengths {
    flex-direction: column;
  }
  .strengths-list {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
  }
  .strengths-image {
    position: static;
    transform: translateY(0);
    width: 100%;
    height: auto;
  }
}

@media (max-width:450px) {
  .ports .txt-center{
    text-align: left;
  }
}


/* cargo & products */
.products-list {
  display: grid;
  gap: 24px;
}

.list-5 {
  grid-template-columns: repeat(5, 1fr);
}

.list-4 {
  grid-template-columns: repeat(4, 1fr);
}

.products-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.products-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
}

.products-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.products-item .button {
  width: 100%;
}

.products-item .button a {
  margin-top: 8px;
  padding: 12px 30px 12px 12px;
  width: 100%;
  max-width: 240px;
  line-height: 1.2;
}

.products-item .button a::after {
  right: 12px;
}

@media (max-width: 991.98px) {
  .products-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 24px;
  }
}

@media (max-width:575px) {
  .products-item .button a {
    padding: 12px 30px 12px 18px;
    border-radius: 20px;
  }
}

/* logi-bottom */
.logi-bottom {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding-block: 120px;
}

.logi-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  background: url(../../images/logi-bottom.jpg) no-repeat center / cover;
  z-index: 0;
}

.logi-bottom .text-group {
  position: relative;
  text-align: left;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .logi-bottom {
    margin-block: 40px 80px;
    padding-block: 60px 250px;
  }
}
@media (max-width: 768px) {
  .logi-bottom .text-lead{
    text-align: left;
  }
}

@media (max-width: 575px) {
  .logi-bottom {
     margin-block: 0px 60px;
  }
}

@media (max-width:450px) {
  .logi-bottom {
    padding-block: 30px 250px;
  }
}

/* =========================
   産業機器
========================= */
/* rembe */
.rembe-inner {
  gap: 80px;
}

.rembe-text {
  gap: 24px;
  width: 55%;
}

.rembe-logo {
  height: auto;
  max-width: 360px;
  width: 100%;
}

.rembe-images {
  gap: 24px;
  width: 45%;
}

.rembe-image-bottom {
  gap: 24px;
}

.rembe-image-left,
.rembe-image-right {
  width: 50%;
}

/* video */
.video-inner {
  display: flex;
  justify-content: center;
  position:relative;
  width:100%;
  padding-top:56.25%;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  max-width: 800px;
}
.video-inner iframe{
  position:absolute;
  top:0;
  bottom:0;
  right:0;
  left:0;
  width:100%;
  height:100% !important;
  margin:auto;
}

@media (max-width: 991.98px) {
  .rembe-inner {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .rembe-inner {
    flex-direction: column;
  }
  .rembe-text {
    width: 100%;
  }
  .rembe-images.flex-column{
    flex-direction:row !important;
    width: 100%;
  }
  .post-23 .text-group p:last-child br{
    display:none;
  }
  .rembe-text .text-lead {
    text-align: left;
  }
}

@media (max-width: 575px) {
  .rembe-images.flex-column {
    flex-direction: column !important;
  }
}

/* =========================
   中古自動車輸出
========================= */
/* process */
.process-inner {
  padding: 40px;
  background: #e8e9ed;
  border-radius: 20px;
}

.process-list {
  position: relative;
  gap: 24px;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 80px;
  transform: translateX(-50%);
  width: 20px;
  height: 100%;
  background: #d9d9d9;
  z-index: 0;
}

.process-item {
  position: relative;
  gap: 20px;
  padding: 20px 32px;
  min-height: 180px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

.process-item::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translate(50%, -50%);
  height: 100%;
  background: url(../../images/process01.jpg) no-repeat center / contain;
}

.process-item:nth-child(1)::before {
  width: 20%;
  background: url(../../images/process01.jpg) no-repeat center / contain;
}
.process-item:nth-child(2)::before {
  width: 23%;
  background: url(../../images/process02.jpg) no-repeat center / contain;
}
.process-item:nth-child(3)::before {
  width: 30%;
  background: url(../../images/process03.jpg) no-repeat center / contain;
}
.process-item:nth-child(4)::before {
  width: 23%;
  background: url(../../images/process04.jpg) no-repeat center / contain;
}
.process-item:nth-child(5)::before {
  width: 25%;
  background: url(../../images/process05.jpg) no-repeat center / contain;
}
.process-item:nth-child(6)::before {
  width: 25%;
  background: url(../../images/process06.jpg) no-repeat center / contain;
}
.process-item:nth-child(7)::before {
  width: 30%;
  background: url(../../images/process07.jpg) no-repeat center / contain;
}
.process-item:nth-child(8)::before {
  width: 30%;
  background: url(../../images/process08.jpg) no-repeat center / contain;
}
.process-item:nth-child(9)::before {
  width: 30%;
  background: url(../../images/process09.jpg) no-repeat center / contain;
}

.process-number {
  width: 64px;
  height: 64px;
  font-size: 48px;
  font-weight: 700;
  line-height: 64px;
  text-align: center;
}

.process-number.blue {
  display: inline-block;
  background: linear-gradient(45deg, #2f67bc 0%, #84deff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.process-text {
  width: 60%;
}

.process-text h4 {
  line-height: 64px;
}

.process-right {
  width: 30%;
}

.process-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 991.98px) {
  .process-item {
    gap: 16px;
  }
  .process-item::before {
    right: 20%;
  }
  .process-text {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .process-item {
    gap: 16px;
    padding: 20px 20px 200px;
  }
  .process-item:nth-child(1)::before,
  .process-item:nth-child(2)::before,
  .process-item:nth-child(3)::before,
  .process-item:nth-child(4)::before,
  .process-item:nth-child(5)::before,
  .process-item:nth-child(6)::before,
  .process-item:nth-child(7)::before,
  .process-item:nth-child(8)::before,
  .process-item:nth-child(9)::before {
    top: calc(100% - 16px);
    right: 50%;
    transform: translate(50%, -100%);
    width: 100%;
    height: 160px;
  }
  .process-text {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .process-inner {
    padding: 16px;
  }
  .process-item {
    flex-direction: column;
    gap: 4px;
    padding: 16px 16px 200px;
  }
  .process-number {
    width: 100%;
    height: auto;
    font-size: 32px;
    line-height: 1.2;
  }
  .process-text h4 {
    margin-bottom: 8px;
    line-height: 1.2;
    text-align: center;
  }
  .process-list::before {
    left: 20px;
    right: 0;
    margin: auto;
  }
}

/* =========================
   会社情報
========================= */
/* all */
.message.py-80,
.overview.py-80,
.history.py-80,
.offices.py-80 {
  padding-block: 60px;
}

@media (max-width: 767px) {
  .message.py-80,
  .overview.py-80,
  .history.py-80,
  .offices.py-80 {
    padding-block: 40px;
  }
}

/* message */
.message {
  position: relative;
}

.message::before {
  content: "";
  position: absolute;
  top: 40px;
  right: calc(50% - 50vw + 80px);
  width: 60vw;
  height: 60%;
  background: url(../../images/world.png) no-repeat center / contain;
  z-index: 0;
}

.message-text {
  position: relative;
  z-index: 1;
}

.ceo {
  margin-top: 24px;
  text-align: right;
}

/* overview & history */
.gray-bg {
  position: relative;
}

.gray-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  background: #f9f9f9;
  z-index: 0;
}

.overview .section-title,
.overview table {
  position: relative;
  z-index: 1;
}

table {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  border: none;
}

table tr {
  border-top: 1px solid #d1d1d6;
}

table tr:last-child {
  border-bottom: 1px solid #d1d1d6;
}

table tr th,
table tr td {
  padding: 16px;
  text-align: left;
  border: none;
}

table tr th {
  width: 30%;
}

table tr td {
  width: 70%;
}

@media (max-width: 767px) {
  table tr th,
  table tr td {
    padding: 12px;
  }
}

/* offices */
.offices .section-title,
.offices .offices-list {
  position: relative;
  z-index: 1;
}

.offices-list {
  gap: 60px;
}

.offices-item {
  gap: 24px;
}

.offices-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 40%;
}

.offices-info table tr th {
  min-width: 72px;
  width: 20%;
}

.offices-info table tr td {
  width: 100%;
}

.offices-images {
  gap: 24px;
  width: 60%;
}

.offices-img {
  width: 50%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.offices-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.offices-map {
  margin-bottom: 0;
  width: 50%;
  height: stretch;
}

.offices-map iframe {
  width: 100%;
  height: 100% !important;
}

@media (max-width: 767px) {
  .offices-list {
    gap: 40px;
  }
  .offices-item {
    flex-direction: column;
  }
  .offices-info, .offices-images {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .offices-images {
    flex-direction: column;
  }
  .offices-img, .offices-map {
    width: 100%;
  }
  .offices-map {
    aspect-ratio: 4/3;
  }
}

/* =========================
   英語ページトップ
========================= */
.page-id-31 .page-header,
.page-id-31 .breadcrumb {
  display: none;
}

.page-id-31 .main-section {
  margin-bottom:0;
}

.page-id-31 .site-body {
  margin-top: 126px;
}

.page-id-31 .overview,
.page-id-31 .offices {
  position: relative;
}

.page-id-31 .overview .section-title,
.page-id-31 .overview table,
.page-id-31 .offices .section-title,
.page-id-31 .offices .offices-list {
  position: relative;
  z-index: 1;
}

.page-id-31 .overview .section-title{
  margin-top:-100px;
  padding-top:100px;
}

/* =========================
   英語ページ下層
========================= */
.gold-line {
  display: block;
  margin-top: 16px;
  width: 80px;
  height: 2px;
  background: #b18f46;
}

/* =========================
   お知らせ
========================= */
.blog .main-section,
.category .main-section {
  padding-block: 60px;
}

.single-post .main-section {
  padding-top: 60px;
}

.blog .page-header,
.category .page-header,
.single-post .page-header,
.blog .breadcrumb,
.category .breadcrumb,
.single-post .breadcrumb {
  display: none;
}

.blog .page-heading .breadcrumb,
.category .page-heading .breadcrumb,
.single-post .page-heading .breadcrumb {
  display: block;
}

.category .archive-header {
  display: inline-block;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #112049 0%, #0a99ff 82%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.blog .vk_posts .vl_post-col-sm-12:first-child {
  border-top: none;
}

.blog .vk_posts .vl_post-col-sm-12:last-child {
  border-bottom: none;
}

.vk_post .vk_post_title a {
  color: #112049;
}

.vk_post .vk_post_date {
  color: #b18f46;
}

.vk_post .vk_post_date .fa-solid {
  display: none;
}

.vk_post .vk_post_btn {
  position: relative;
  display: block;
  margin-left: auto;
  padding: 12px 24px;
  width: 260px;
  background: linear-gradient(90deg, #112049 0%, #0a99ff 50%, #7ec9ff 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  color: #fff;
  transition: all 0.3s ease;
}

.vk_post_btn::after {
  content: "\2192"; /* → */
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.vk_post_btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(17, 32, 73, 0.2);
}

/* 詳細ページ */
.entry {
  margin-bottom: 40px;
}

.entry-title {
  margin-bottom: 16px;
}

.entry .news-tag {
  background: linear-gradient(90deg, #112049 50%, #0a99ff 100%);
  background-size: 200% 100%;
  transition: all 0.3s ease;
}

.entry .news-tag:hover {
  background-position: 100% 0;
  color: #fff;
}

.vk_posts.next-prev {
  justify-content: space-between;
}

.vk_post-postType-post .vk_post_imgOuter {
  aspect-ratio: 3/2;
}

.card-intext .card-intext-inner .vk_post_body {
  background-color: rgba(17, 32, 73, 0.8);
}

.vk_post_title_new {
  color: #b52b1b;
}

@media (min-width: 768px) {
  .vk_posts .vk_post-col-md-6 {
    width: calc(40% - 30px);
  }
}
@media (max-width: 767px) {
    .vk_post.media {
    flex-direction: column;
    padding: 2em 1em;
    gap: 15px;
  }
  .vk_post .media-img {
    width: 100%;
    margin-right: 0px;
  }
  .vk_post .media-body {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 65px !important;
  }
  p.vk_post_excerpt.media-text {
    display: none;
  }
  .vk_post .vk_post_dates {
    margin-bottom: 5px;
  }
  .vk_post .vk_post_btn {
    margin: 0 auto;
  }
}
/* =========================
   お問い合わせ
========================= */
.tel-card {
  gap: 24px;
  margin: 0 auto;
  padding: 40px 24px;
  max-width: 900px;
  background: #e8e9ed;
  border-radius: 20px;
  text-align: center;
}

.tel-card h3 {
  font-size: clamp(20px, 3vw, 32px);
}

.tel-card .card-title .gold {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 500;
}

.tel-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tel-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 20px;
}

.tel-item-content h4 {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.2;
}

.tel-item-content .en.gold {
  font-size: 16px;
  margin-bottom: 4px;
}

.tel-item-content p {
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.2;
}

.tel-item a {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  display: block;
  line-height: 1;
}

.tel-item .fa-phone {
  font-size: 70%;
  margin-right: 5px;
}

.Required {
  color: #ff383c;
}

.contact-form-text {
  gap: 16px;
  text-align: center;
}

.contact-form-list {
  margin-inline: auto;
  max-width: 900px;
}

.contact-form-list .label-title {
  margin-block: 24px 8px;
  font-weight: 700;
}

.contact-form-list input::placeholder,
.contact-form-list .wpcf7 textarea::placeholder {
  color: #d1d1d6;
  opacity: 1;
}

.contact-form-list fieldset {
  margin: 24px 0 0;
  padding: 0;
  border: none;
}

.contact-form-list .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form-list .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form-list .wpcf7-list-item input[type="checkbox"] {
  margin: 0;
  width: 24px;
  height: 24px;
}

.policy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-block: 16px;
  padding: 24px;
  height: 280px;
  border: 1px solid #d1d1d6;
  border-radius: 4px;
  overflow-y: auto;
  font-size: 12px;
}

.policy h4, .policy h5 {
  font-size: 14px;
}

.policy-title,
.policy-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-item li {
  margin-left: 24px;
  list-style: disc;
}

.wpcf7-submit {
  position: relative;
  display: block;
  margin: 40px auto 0;
  padding: 12px 24px !important;
  width: 260px;
  background: linear-gradient(90deg, #112049 0%, #0a99ff 50%, #7ec9ff 100%);
  background-size: 200% 100%;
  border: none !important;
  border-radius: 25px !important;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
}

.wpcf7-submit:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(17, 32, 73, 0.2);
}

@media (max-width: 680px) {
  .tel-list {
    grid-template-columns: 1fr;
  }
}
