@charset "UTF-8";

/* 基本スタイルとフォント */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--bg-color-light); /* gray-50 */
    color: var(--text-color-base); /* gray-800 */
    line-height: 1.6;
}
* {
    box-sizing: border-box;
}

:root {
  /* プライマリカラー */
  --primary-color: #0043b6; /* 例: 青色 */
  --primary-hover-color: #000D5A;
  --primary-dark-color: #002ead;

  /* アクセントカラー */
  --accent-color: #10b981; /* 例: 緑色 */

  /* テキストカラー */
  --text-color-base: #374151; /* 基本テキスト */
  --text-color-muted: #6b7280; /* やや薄いテキスト */
  --text-color-inverted: #ffffff; /* 反転色（白） */

  /* 背景色 */
  --bg-color-base: #ffffff; /* 基本背景 */
  --bg-color-light: #f9fafb; /* 薄い背景 */
  --bg-color-dark: #1f2937; /* 暗い背景 */

  /* ボーダーカラー */
  --border-color: #e5e7eb;

  /* ニュースタグの色 */
  --tag-color-important: #ef4444; /* 重要 */
  --tag-color-release: #3b82f6;   /* リリース */
  --tag-color-media: #a855f7;     /* メディア */
}


/* コンテナとレイアウト */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.content-section {
    padding: 5rem 0;
}
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    font-size: 2.25rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    text-align: center;
    margin: 0 auto 3rem;
    z-index: 1;
    width: fit-content;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 4px;
    background-color: var(--primary-color); /* blue-500 */
    border-radius: 9999px;
}
.section-title-en {
    position: absolute;
    top: -100%;
    left: -10%;
    /* transform: translate(-50%, -50%); */
    font-size: 6rem; /* 72px */
    font-weight: 600;
    color: rgba(0, 0, 0, 0.04);
    z-index: -1;
    white-space: nowrap;
    user-select: none;
    letter-spacing: 0.05em;
}

.flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}
.responsive-image:hover {
    transform: scale(1.05);
}
/* テキストハイライト用のスタイル */
.highlight-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


/* ヘッダーとナビゲーション */
.site-header {
    background-color: var(--bg-color-base);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* 制作サンプルサイト用固定ヘッダーがある場合の調整 */
body.has-sample-header .site-header {
    top: 45px;
}

@media (max-width: 768px) {
    body.has-sample-header .site-header {
        top: 40px;
    }
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-hover-color);
}

.site-logo img {
    width: 1.7rem;
    height: auto;
    
}

/* .logo { */
    /* color: var(--primary-hover-color); */
/* }  */

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
}
.nav-item {
    position: relative;
    color: var(--text-color-muted);
    transition: color 0.3s ease;
    text-decoration: none;
    padding-bottom: 0.25rem; /* 下線のためのスペース */
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--bg-color-dark); /* gray-800 */
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
}
.nav-item:hover::after {
    transform: scaleX(1);
}
.nav-item:hover, .dropdown:hover .dropdown-toggle {
    color: var(--bg-color-dark); /* gray-800 */
}
/* ドロップダウン内のリンクにはnav-itemを直接つけないため、nav-linkクラスを追加 */
.nav-link {
    text-decoration: none;
}
.contact-button {
    background: linear-gradient(to bottom,#000D5A, #3b82f6); /* グラデーションに変更 */
    color: var(--text-color-inverted);
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* background-colorのtransitionを削除 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: inline-block;
}
.contact-button:hover {
    background: linear-gradient(to bottom, var(--primary-hover-color), var(--primary-dark-color)); /* ホバー時もグラデーションに */
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: block;
    color: var(--text-color-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger-icon {
    stroke: var(--text-color-muted);
    transition: transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger-icon .top-line,
.hamburger-icon .middle-line,
.hamburger-icon .bottom-line {
    transition: stroke-dashoffset 0.4s ease-in-out, stroke-dasharray 0.4s ease-in-out, transform 0.3s ease-in-out;
}
/* Hamburger to "X" animation */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon {
    transform: rotate(180deg);
}
.mobile-menu-toggle[aria-expanded="true"] .top-line {
    transform: translate(4px, 2px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .middle-line {
    transform: scaleX(0);
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .bottom-line {
    transform: translate(4px, -2px) rotate(-45deg);
}
.mobile-nav-container {
    background-color: var(--bg-color-base);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    /* Slide-down animation setup */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.mobile-nav-links {
    padding: 0;
    transition: padding 0.4s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.mobile-nav-item {
    color: var(--text-color-muted);
    text-decoration: none;
}
.mobile-nav-button {
    margin-top: 1rem;
}

/* When mobile menu is open */
.mobile-nav-container:not(.hidden) {
    max-height: 500px; /* Adjust if you have more menu items */
    padding: 1rem 0;
}

@media (min-width: 801px) {
    .nav-links {
        display: flex;
    }
    .mobile-menu-toggle {
        display: none;
    }
}

/* --- ドロップダウンメニューのスタイル --- */

/* デスクトップ用 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative; /* 下線の基準位置 */
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-color-muted);
    transition: color 0.3s ease;
    padding-bottom: 0.25rem; /* 下線のためのスペース */
}
.dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* height: 2px; */
    background-color: var(--bg-color-dark); /* gray-800 */
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
}

.dropdown-arrow {
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    transition: transform 0.2s ease-in-out;
}

.dropdown:hover .dropdown-toggle::after {
    transform: scaleX(1); /* ドロップダウン全体にホバーした時に下線を表示 */
}
.dropdown:hover .dropdown-arrow, .dropdown:hover .dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-color-base);
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 0.5rem 0; /* 8px 0 */
    margin-top: 0.5rem;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out, visibility 0.2s;
    z-index: 10;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1.25rem; /* 少し余白を調整 */
    color: var(--text-color-base);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s, transform 0.2s ease-out;
}

.dropdown-item:hover {
    background-color: var(--bg-color-light); /* cool-gray-100 */
    color: var(--bg-color-dark); /* gray-800 */
    transform: translateX(5px); /* 右に少しスライド */
}

/* モバイル用 */
.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.mobile-dropdown-toggle a {
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}
.mobile-dropdown-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: inherit;
}
.mobile-dropdown-menu {
    padding-left: 1.5rem; /* 24px */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.mobile-dropdown-menu.open {
    max-height: 200px; /* 十分な高さを確保 */
}
.mobile-dropdown-item {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-color-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-dropdown-item:hover {
    color: var(--bg-color-dark); /* gray-800 */
}

/* ヒーローセクション */
.hero {
  background-image: url('../images/HERO01.jpg');

  /* 背景画像を要素全体に広げ、アスペクト比を保ちます */
  background-size: cover;

  /* 背景画像を中央に配置します */
  background-position: center 25%;

  /* 背景画像の繰り返しを無効にします */
  background-repeat: no-repeat;
  height: 80vh; 
  color: var(--text-color-inverted); 
  width: 100%;
  display: flex; /* flexboxを再度有効化 */
  align-items: center; 
}

.hero-content {
    text-align: left;
    width: 100%;
    /* 左右のpaddingはコンテナと合わせる */
    padding-left: 1.5rem;
    padding-right: 1.5rem; 
    max-width: 1280px; /* コンテンツの最大幅を設定 */
    margin: 0 auto; /* コンテンツを中央揃え */
    /* padding-top/bottomは親のalign-items:centerで不要に */
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-top: 0; /* 上部のマージンをリセットして隙間をなくす */
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size:clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-button, .contact-submit-button {
    background-color: var(--bg-color-base);
    color: var(--primary-dark-color);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.hero-button:hover, .contact-submit-button:hover {
    background-color: #eff6ff; /* blue-50 */
    transform: scale(1.05);
}

.r-650 {
    display: none;
}

/* レスポンシブ */


@media (max-width: 650px) {
.r-650 {
    display: block;
}
}


@media (max-width: 450px) {
    .hero {
    background-image: url(../images/HERO-SP.jpg);
    background-size: cover;
    background-position: top;
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-bottom: 1.5rem;
}

.hero-content { 
  text-align: center;
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    max-width: 1280px;
    margin: 0 auto;                         
}


.hero-title {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    font-weight: 300;
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    
    font-weight: 700;
    text-align: center;
    margin: 0 auto 3rem;
    z-index: 1;
    width: fit-content;
}

.section-title-en {
    position: absolute;
    top: -50%;
    left: -10%;
    /* transform: translate(-50%, -50%); */
    font-size: 3.5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.04);
    z-index: -1;
    white-space: nowrap;
    user-select: none;
    letter-spacing: 0.05em;
}

}   

/* 会社概要セクション */
.about-section {
    position: relative; /* 疑似要素を配置するための基準 */
    overflow: hidden; /* はみ出した図形を隠す */
    background-color: var(--bg-color-base);
    z-index: 0; /* z-indexの基準として機能させる */
}

.about-section .container {
    position: relative; /* 背景より手前に表示 */
    z-index: 1;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    /* 複数の幾何学図形を背景画像として設定 */
    background-image:
        /* 図形1: 円 */
        radial-gradient(circle, rgba(59, 130, 246, 0.4) 1px, transparent 1px);
        /* 図形2: 四角形 */
        /* radial-gradient(circle, rgba(59, 130, 246, 0.7) 1px, transparent 1px); */
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 25px 25px;
    z-index: 0; /* コンテンツの背面に配置 */
    animation: move-geometric 60s linear infinite;
    will-change: transform; /* アニメーションのパフォーマンスを最適化 */
}

@keyframes move-geometric {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

.about-content {
    gap: 3rem;
}
.about-image-container {
    width: 100%;
    margin-bottom: 2rem;
}
.about-text-container {
    width: 100%;
}
.about-heading {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--bg-color-dark);
    margin-bottom: 0.5rem;
}

@media (min-width: 801px) {
    .about-heading {

    margin-bottom: 0.5rem;
}
}







.about-sub-heading {
    font-size: 1rem;
    font-weight: 700; /* 少し太くする */
    color: var(--text-color-base); /* 色を濃くして視認性を向上 */
    margin-bottom: 1rem;
    font-style: italic; /* 斜体にする */
    position: relative; /* 疑似要素の基準位置 */
    padding-left: 1.25rem; /* 縦線のスペースを確保 */
}
.about-sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
}
.about-text {
    color: var(--text-color-muted);
    line-height: 1.75;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.about-achievements {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* border-left: 3px solid var(--primary-color); */
    padding-left: 1.5rem;
}
.achievement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color-base);
}
.achievement-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary-color);
    flex-shrink: 0; /* アイコンが縮まないようにする */
}
.achievement-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark-color);
}
@media (min-width: 801px) {
    .about-content {
        flex-direction: row;
        gap: 3rem;
    }
    .about-image-container, .about-text-container {
        width: 50%;
        margin-bottom: 0;
    }
}

/* サービスセクション -----------------------------------------------------


--------------------------------------------------------------------*/


.services-section {
    position: relative;
    color: var(--text-color-inverted);
    background-image: url("../images/サービス背景.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

    .services-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(30, 30, 30, 0.7); /* Dark overlay */
    }

    .services-section .container {
        position: relative;
        z-index: 1;
    }

    .services-section .section-title::after {
        background-color: var(--text-color-inverted);
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}
.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.service-card:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.15);
}
.service-icon-container {
    width: 8rem; /* 64px */
    height: 8rem; /* 64px */
    margin-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px; /* 円形にする */
    display: flex;
    margin: 0 auto 1.5rem; /* 上下のmarginはそのまま、左右をautoにして中央寄せ */
    align-items: center;
    justify-content: center;
}
.recruit-section .service-icon {
    width: 8rem; /* 128pxに拡大 */
    height: 8rem; /* 128pxに拡大 */
    border-radius: 9999px; /* 円形にする */
    object-fit: cover; /* アスペクト比を保ったままトリミング */
    display: block; /* 中央寄せのためにブロック要素にする */
    margin: 0 auto 1.5rem; /* 上0, 左右auto(中央寄せ), 下1.5rem */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 3px solid var(--bg-color-base);
}
.service-icon {
    width: 8rem; /* 48pxに拡大 */
    height: 8rem; /* 48pxに拡大 */
    margin-bottom: 1.5rem;
    border-radius: 1rem;
}

.service-title {
    text-align: center;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 801px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* 強みセクション -----------------------------------------------------


--------------------------------------------------------------------*/



.features-section {
    background-color: var(--bg-color-base);
}
.features-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.feature-item {
    gap: 3rem;
}
.feature-text-container {
    width: 100%;
}
.feature-image-container {
    width: 100%;
    overflow: hidden; /* アニメーションで画像がはみ出さないようにする */
}
.feature-heading-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.number-text {
    position: absolute;
    left: -2rem;
    top: 18%;
    transform: translateY(-50%);
    font-size: 5rem;
    font-weight: 800;
    font-style: italic;
    font-family: serif;
    color: rgba(0, 0, 0, 0.05);
    z-index: 0;
    user-select: none;
}
.feature-heading {
    position: relative;
    z-index: 1;
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: 800;
    color: var(--bg-color-dark);
    padding-left: 2.5rem;
    margin-bottom: 0.25rem;
}
.feature-sub-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-dark-color);
    margin-bottom: 0.75rem;
    padding-left: 2.5rem;
}
.feature-description {
    color: var(--text-color-muted);
    line-height: 1.75;
    font-size: 1.125rem;
    padding-left: 2.5rem;
}
.feature-points {
    margin-top: 1.5rem;
    padding-left: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.feature-point-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-base);
}
.feature-item.reverse-layout {
    flex-direction: column-reverse;
}
@media (min-width: 801px) {
    .feature-item {
        flex-direction: row;
    }
    .feature-text-container, .feature-image-container {
        width: 50%;
    }
    .feature-item.reverse-layout, .feature-item:nth-of-type(2) {
        flex-direction: row; /* 2番目のアイテムもrowにする */
    }

    /* 画像に水平方向の動きを追加 */
    .feature-item .responsive-image {
        animation: slide-horizontal 8s ease-in-out infinite;
    }

    /* 偶数番目の画像は逆方向に動かす */
    .feature-item:nth-of-type(even) .responsive-image {
        animation-direction: reverse;
    }
}

@media (max-width: 450px) {
    .number-text {
    position: absolute;
    left: -0.3rem;
    top: 17%;
    transform: translateY(-50%);
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    font-family: serif;
}
}

/* 水平にスライドするアニメーション */
@keyframes slide-horizontal {
    0% {
        /* ホバー時のスケールと共存させるため、scaleも指定 */
        transform: translateX(-10px) scale(1);
    }
    50% {
        transform: translateX(10px) scale(1);
    }
    100% {
        transform: translateX(-10px) scale(1);
    }
}



/* 導入事例セクション -----------------------------------------------------


--------------------------------------------------------------------*/



.cases-section {
    background-color: #eff6ff; /* blue-50 */
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}
.case-card {
    background-color: var(--bg-color-base);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.case-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}
.case-content {
    padding: 1.5rem;
}
.case-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    color: var(--bg-color-dark);
}
.case-sub-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark-color);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}
.case-description {
    color: var(--text-color-muted);
    line-height: 1;
    margin: 0;
}
@media (min-width: 801px) {
    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}




/* お知らせセクション -----------------------------------------------------


--------------------------------------------------------------------*/



.news-section {
    background-color: var(--bg-color-base);
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
}
.news-item {
    display: block;
    padding: 1.5rem;
    background-color: #eff6ff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    text-decoration: none;
}
.news-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.news-item-content {
    display: flex;
    align-items: flex-start; /* 複数行になった際に上揃えにする */
    gap: 1rem;
}
.news-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color-muted);
    width: 6rem; /* 日付の幅を固定してレイアウトを揃える */
    flex-shrink: 0; /* 幅が縮まないようにする */
}
.news-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    width: 5rem;
    text-align: center;
    flex-shrink: 0; /* 幅が縮まないようにする */
}
.important-tag {
    background-color: #fee2e2; /* red-100 */
    color: #991b1b; /* red-800 */
}
.release-tag {
    background-color: #dbeafe; /* blue-100 */
    color: #312e81; /* blue-800 */
}
.media-tag {
    background-color: #f3e8ff; /* purple-100 */
    color: #581c87; /* purple-800 */
}
.other-tag {
    background-color: #e5e7eb; /* gray-200 */
    color: #4b5563; /* gray-600 */
}
.info-tag {
    background-color: #dcfce7; /* green-100 */
    color: #166534; /* green-800 */
}
.news-category-tag {
    background-color: #fef3c7; /* amber-100 */
    color: #92400e; /* amber-800 */
}
.news-title {
    color: var(--bg-color-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0;
}
.news-item:hover .news-title {
    color: var(--primary-hover-color);
}


/* レスポンシブ */

@media (max-width: 768px) {

    .news-item-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
    .news-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    
    border-radius: 0.5rem;

}


}

/* ブログセクション */
.blog-section {
    background-color: #eff6ff;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}
.blog-card {
    background-color: var(--bg-color-base);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.blog-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}
.blog-content {
    padding: 1.5rem;
}
.blog-date {
    font-size: 0.875rem;
    color: var(--text-color-muted);
    margin-bottom: 0.5rem;
    display: block;
}
.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.blog-description {
    color: var(--text-color-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.read-more-link {
    color: var(--primary-hover-color);
    font-weight: 700;
    transition: color 0.3s ease;
    text-decoration: none;
}
.read-more-link:hover {
    color: var(--primary-dark-color);
}
@media (min-width: 801px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1025px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 採用情報セクション */
.recruit-section {
    /* 背景画像と、テキストの可読性を保つための半透明オーバーレイを設定 */
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../images/採用情報背景.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* スクロール時に背景を固定する効果 */
}
.recruit-header {
    text-align: center;
    margin-bottom: 4rem; /* カードとの間隔を広げる */
}
.recruit-main-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-color-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}
/* .heading-divider { */
    /* width: 80px; */
    /* height: 3px; */
    /* background-color: #3b82f6; */
    /* margin: 0 auto 1.5rem; */
    /* border-radius: 9999px; */
/* } */
.recruit-text {
    color: var(--text-color-muted);
    font-size: 1.125rem;
    max-width: 48rem; /* 少し幅を広げる */
    margin: 0 auto;
    line-height: 1.8; /* 行間を広げて読みやすくする */
}
.recruit-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.recruit-card {
    /* 背景画像が透けて見えるように、背景色を半透明に設定 */
    background-color: rgba(255, 255, 255, 0.6); /* 透明度を少し下げてガラス感UP */
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: left; /* テキストを左揃えに */
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px); /* 背景をぼかす（グラスモーフィズム効果） */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.recruit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.recruit-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.recruit-card-description {
    color: var(--text-color-base); /* 少し濃くして可読性を上げる */
}
.job-list-container {
    max-width: 32rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.job-list-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}
.job-item {
    /* 背景画像が透けて見えるように、背景色を半透明に設定 */
    background-color: rgba(239, 246, 255, 0.85); /* eff6ff の85%透明度 */
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}
.job-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.job-description {
    color: var(--text-color-muted);
    margin-bottom: 1rem;
}
@media (min-width: 801px) {
    .recruit-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* お問い合わせセクション */
.contact-section {
    background: linear-gradient(to right, var(--primary-dark-color), var(--primary-hover-color));
    padding: 5rem 0;
    color: var(--text-color-inverted);
    text-align: center;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}
.contact-content {
    position: relative;
    text-align: start;
}
.contact-title {
    position: relative;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    z-index: 1;
}
.contact-title .section-title-en {
    color: rgba(255, 255, 255, 0.1);
}
.contact-section .section-title-en {
    /* お問い合わせセクションの英語表記を少し大きくする */
    font-size: 5.5rem;
}
.contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
}
.contact-form {
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--bg-color-base);

    outline: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.contact-input:focus {
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.5);
}
.contact-submit-button {
    width: 100%;
    text-align: center;
}

/* フッター */
.site-footer {
    background-color: var(--bg-color-dark);
    color: #a1a1aa; /* gray-400 */
    padding: 4rem 0 0; /* 上のパディングを広げ、下は0に */
}
.footer-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer-about {
    max-width: 320px;
}
.footer-logo {
    color: var(--text-color-inverted);
    margin-bottom: 1rem;
}
.footer-logo .logo-icon {
    color: var(--primary-color);
    font-size: 1rem;
}
.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}
.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}
.sitemap-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color-inverted);
    margin-bottom: 1rem;
}
.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.sitemap-links a {
    color: #a1a1aa; /* gray-400 */
    text-decoration: none;
    transition: color 0.3s ease;
}
.sitemap-links a:hover {
    color: var(--text-color-inverted);
}
.footer-bottom {
    border-top: 1px solid #374151; /* gray-700 */
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}
@media (min-width: 801px) {
    .footer-main {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-sitemap {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}
