/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:target {
  scroll-margin-top: 100px; /* 固定ヘッダーの高さに合わせて調整 */
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
}

.article-share {
    display: none !important;
}

.article-navigation {
  margin-top: 10px !important;
}

/* Navigation */
.navi {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 100px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 4px solid #314e94;
}

/* スクロール時のコンパクトナビゲーション */
.navi.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navi-container {
    width: 1680px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 70px;
}

.logo-img {
    height: 21px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* スクロール時のロゴサイズ調整 */
.navi.scrolled .logo-img {
    height: 18px;
}

.nav-links {
    display: flex;
    gap: 37px;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* スクロール時のナビゲーションリンク調整 */
.navi.scrolled .nav-links {
    gap: 30px;
}

.nav-link {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    list-style: none;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link a{
    text-decoration: none;
}

.nav-link-en {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.448;
    letter-spacing: -1.5%;
    color: #03006A;
    margin-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* スクロール時の英語ナビゲーションリンクをスムーズに非表示 */
.navi.scrolled .nav-link-en {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.nav-link-ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -1.5%;
    color: #1C2226;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* スクロール時の日本語ナビゲーションリンクは元のサイズを維持 */

.download-btn {
  background: linear-gradient(90deg, #FDA0A0 0%, #FFC0D7 100%);
  border-radius: 80px;
  padding: 10px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* スクロール時のダウンロードボタン調整 */
.navi.scrolled .download-btn {
  padding: 8px 20px;
  border-radius: 60px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 160, 160, 0.3);
}

.download-btn-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: -1.5%;
    color: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

/* スクロール時のダウンロードボタンテキスト調整 */
.navi.scrolled .download-btn-text {
    font-size: 13px;
}

.download-btn-icon {
    font-size: 14px;
    color: #FFFFFF;
}

.linkunit-btn {
    background: #2449A4;
    color: #FFFFFF;
    border: none;
    border-radius: 100px;
    padding: 20px 30px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.5%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.linkunit-btn.center {
    margin: 0 auto;
}

.linkunit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 73, 164, 0.3);
}

.btn-arrow {
    font-size: 18px;
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 50px;
    height: 20px;
    margin-left: 8px;
    border-radius: 100px;
    background-color: rgba(0,0,0,0.5);
}

/* 矢印アイコン用の疑似要素 */
.btn-arrow::before,
.btn-arrow::after {
    content: "→";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation-fill-mode: both;
    animation-duration: 0.6s;
    font-size: 18px;
}

.btn-arrow::after {
    transform: translateX(-100%);
}

/* ホバー時のアニメーション */
.btn-arrow.is-hover::before {
    animation-name: transformLeftRight;
    animation-delay: 0.2s;
}

.btn-arrow.is-hover::after {
    animation-name: transformRightLeft;
}

.btn-arrow.is-hover:hover::before {
    animation-name: transformRightLeft;
    animation-delay: 0s;
}

.btn-arrow.is-hover:hover::after {
    animation-name: transformLeftRight;
    animation-delay: 0.2s;
}

/* キーフレームアニメーション */
@keyframes transformLeftRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes transformRightLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Breadcrumb */
.breadcrumb-section {
  background: #F8F9FA;
  padding: 20px 0;
  margin-top: 100px;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.breadcrumb ol {
  display: flex;
  list-style: none;
}

.breadcrumb ol li a::after {
    content: "/";
    margin: 0 10px;
    color: #666;
    
}

.breadcrumb a {
  color: #2449A4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #0088FF;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #333;
}

/*その他共通項目*/
.innerwrap {
  width: 100%;
  margin: 20px auto;
  max-width: 1440px;
}


/* Section Contact */
.section-contact {
    background: #FFFFFF;
    padding: 72px 0;
}

.section-contact .innerwrap{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-card {
    width: 627px;
    height: 411px;
    background: rgba(0, 0, 0, 0.4);
    background-image: url('https://wrt.solutions/sol2025/wp-content/uploads/2025/11/foot02.jpg');
    background-size: cover;
    border-radius: 40px;
    padding: 79px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 0, 106, 0.4);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}

.contact-title-en {
    font-family: 'Karla', sans-serif;
    font-weight: 800;
    font-size: 50px;
    line-height: 1.169;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.contact-title-ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 1.48;
    color: #FFFFFF;
}

.contact-phone {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 56px;
    letter-spacing: -0.5%;
    color: #FFFFFF;
}

.contact-hours {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -0.5%;
  color: #FFFFFF;
  margin-bottom: 35px;
  margin-top: 25px;
}

.contact-btn {
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 100px;
  padding: 8px 27px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 3;
  letter-spacing: -0.5%;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin: 0 auto;
  min-width: 70%;
  justify-content: center;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.recruit-card {
    width: 627px;
    height: 411px;
    background: rgba(0, 0, 0, 0.4);
    background-image: url('https://wrt.solutions/sol2025/wp-content/uploads/2025/11/foot01.jpg');
    background-size: cover;
    border-radius: 40px;
    padding: 79px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.recruit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.recruit-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}

.recruit-title-en {
    font-family: 'Karla', sans-serif;
    font-weight: 800;
    font-size: 50px;
    line-height: 1.169;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.recruit-title-ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 1.48;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.recruit-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.65;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.recruit-btn {
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 100px;
  padding: 8px 27px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 3;
  letter-spacing: -0.5%;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin: 0 auto;
  min-width: 70%;
  justify-content: center;
}

.recruit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
.section-footer {
    background: #FFFFFF;
    padding: 80px 0 0;
}

.footer-content {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 154px;
}

.footer-flex{
  display: block;
  justify-content: space-between;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
    width: 269px;
    height: 25px;
}

.footer-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.571;
    color: #000000;
    margin-bottom: 40px;
}

.footer-links {
  display: inline-flex;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 1440px;
  margin: 0 auto 40px;
}

.footer-link-group {
    width: 140px;
}

.footer-link-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.667;
    color: #000000;
    margin-bottom: 17px;
    text-decoration: none;
}

.footer-link-list {
    display: none;
    flex-direction: column;
    gap: 9px;
}

.footer-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.333;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #2449A4;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #999999;
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
}

.footer-copyright {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.467;
    color: #000000;
    text-align: center;
}

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

.social-link {
    font-size: 20px;
    color: #1C2226;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #2449A4;
}

/* Responsive Design */
@media (max-width: 1680px) {
    .navi-container {
        padding: 0 20px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
  .innerwrap {
    padding: 15px;
  }
}

@media (max-width: 1440px) {

}

@media (max-width: 1200px) {
    .reason-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-study-cards {
        grid-template-columns: 1fr;
    }
    
    .card-list {
        flex-direction: column;
        align-items: center;
        gap:20px;
    }
    
    .media-card {
        width: 100%;
        max-width: 460px;
    }
}

/* ハンバーガーメニューボタン */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* ハンバーガーメニューアニメーション */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    padding: 100px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.mobile-nav-link {
    margin-bottom: 20px;
}

.mobile-nav-link a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-nav-link a:hover {
    color: #2449A4;
}

.mobile-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2449A4;
    color: white;
    border-radius: 80px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.mobile-download-btn:hover {
    background: #1a3a8a;
    transform: translateY(-2px);
}

.smponly {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .download-btn {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }
    
    /* モバイル時のナビゲーションコンパクト化 */
    .navi.scrolled {
        height: 60px;
    }
    
    .navi.scrolled .logo-img {
        height: 16px;
    }
    
    .reason-group {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .license-group {
        grid-template-columns: 1fr;
    }
    
    .partner-logos {
        flex-direction: column;
    }
    
    .section-contact {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .contact-card,
    .recruit-card {
        width: 100%;
        max-width: 627px;
        padding: 10px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

.section-contact .innerwrap {
  display: grid;
  justify-content: center;
  gap: 20px;
  grid-template-columns: 1fr;
}
.footer-left {
    text-align: center;
}
  .footer-links {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    display: none;
  }
.contact-phone {
  font-size: 10vw;
}
.contact-hours {
  font-size: 6vw;
}
.recruit-description {
    font-size: 4vw;
  }
    .card-list {
    padding: 0 15px;
    width: 100%;
    margin: 0 0 25px;
  }
  .footer-flex {
    display: block;
  }
.footer-description {
  max-width: initial;
  text-align: center;
}
.footer-description span{
    display: block;
}
.footer-link-group {
  text-align: center;
}

.pconly {
    display: none !important;
}
.smponly {
    display: block !important;
}

}



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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}


/* メディア用カードパネル汎用 */
.media-clblock-section {
  padding: 2.5rem 0;
}

.media-clblock-grid {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.media-clblock-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.media-clblock-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.media-clblock-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.media-clblock-content {
  padding: 1.5rem;
}

.media-clblock-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.media-clblock-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .media-clblock-grid {
    grid-template-columns: 1fr;
  }
}