@charset "UTF-8";
/*
Theme Name: Topruse Child
Template: topruse
Version: 1.0.0
*/
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Roboto Black Italic（極太・斜体） */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ===================================
   CSS Variables & Design System
   =================================== */
:root {
    /* Colors */
    --primary-color: #0A5EB0;
    --primary-dark: #0056A3;
    --secondary-color: #FAFAFA;
    --text-dark: #2C3E50;
    --text-light: #5F6C7B;
    --bg-white: #FFFFFF;
    --bg-light: #E8EFF5;
    --bg-dark: #1A2332;

    /* Typography */
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Roboto', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ja);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wrap {
    width: 100% !important;
    margin: 0 auto;
}

.mt-1 {
    margin-top: 1rem;
}

/* WordPress Core Alignment */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 共通：ふわっと（スピードやイージングはここで統一） */

.reveal{
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  will-change: transform, opacity;
}

/* 上→下 */
.reveal--down{ transform: translateY(-24px); }
.reveal--down.is-visible{ opacity:1; transform: translateY(0); }

/* 下→上 */
.reveal--up{ transform: translateY(24px); }
.reveal--up.is-visible{ opacity:1; transform: translateY(0); }

/* 左→右 */
.reveal--right{ transform: translateX(-24px); }
.reveal--right.is-visible{ opacity:1; transform: translateX(0); }

/* 右→左 */
.reveal--left{ transform: translateX(24px); }
.reveal--left.is-visible{ opacity:1; transform: translateX(0); }


/* ===================================
   Header & Navigation
   =================================== */

.header {
  position: relative;  /* ← fixed を relative に変更 */
  background: transparent !important;
  border: none !important;
  z-index: 1000;
  transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}
#header {
    padding: 15px 40px !important;
    border-bottom: none !important;
    background: transparent !important;
}

/* ヘッダー全体を強制的にFlexレイアウトに */
#header,
#header > .wrap {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 3rem !important;
    width: 100% !important;
}
#header > .wrap {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.header,
#header,
#header > .wrap {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* 擬似要素も透過 */
#header::before,
#header::after {
  display: none !important;
}

/* ロゴ */
#logo {
    float: none !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}

#logo img {
    max-height: 20px !important;
    width: auto !important;
    display: block !important;
}

/* ナビゲーションの親要素すべてをフラット化 */
#gnav,
#gnav .wrap,
#gnav-container {
    background: transparent !important;
    border: none !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important; /* すべての親要素を透過 */
}

/* メニューリスト自体はFlexレイアウト */
#gnav-ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 2.5rem !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: none !important;
    flex: 0 1 auto !important;
    order: 2 !important; /* ロゴの後に配置 */
}

#gnav-ul::before,
#gnav-ul::after {
    content: none !important;
    display: none !important;
}

#gnav-ul li {
    float: none !important;
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

#gnav li a {
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    padding: 0.5rem 0 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

#gnav li a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--secondary-color, #FFC107) !important;
    transition: width 0.3s ease !important;
}

#gnav li a:hover {
    text-decoration: underline !important;
    color: var(--secondary-color, #FFC107) !important;
}

#gnav li a:hover::after {
    width: 0% !important;
}

#gnav-ul li:last-child a { /* 念のためID違いも拾う */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px !important;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(235,239,245,0.95)) !important;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.50);
  color: #0b5eb0 !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}
#gnav li a::hover {
    text-decoration: none !important;
    color: var(--secondary-color, #FFC107) !important;
    opacity: .8;
}



/* メニュートグルボタン */
#header-menu-tog {
    display: none !important;
    order: 3 !important;
}

/* clearfix 無効化 */
.clearfix::before,
.clearfix::after {
    content: none !important;
    display: none !important;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -80px;  /* ヘッダーの高さ分マイナス（調整してください） */
    padding-top: 80px;  /* コンテンツが隠れないようにパディングで補正 */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 116, 217, 0.4) 0%, rgba(0, 86, 163, 0.5) 100%);
    z-index: 2;
}

.hero-left-image {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 35%;
    z-index: 3;
    display: flex;
    align-items: flex-start; /* 上寄せ */
    justify-content: flex-end; /* 左寄せ */
    pointer-events: none;
    overflow: hidden; /* すべてのはみ出しをカット */
}

.hero-left-image img {
    width: 120%; /* 画像を150%に拡大 */
    min-width: 700px; /* 画像を150%に拡大 */
    height: auto;
    object-fit: contain;
    max-height: none;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
    transform: translate(0, 0); /* X, Y 両方調整可能 */
}



/* Right Slider */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    /* アニメーションの時間を長めに設定 */
    transition: opacity 2s ease-in-out, transform 8s ease-out;
}

.hero-slide.active {
    opacity: 1;
    animation: kenburns 8s ease-out forwards;
}

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

/* 残りのスタイルはそのまま */
.hero-content {
    position: relative;
    z-index: 10;
    padding: var(--space-xl) 0 0 calc(var(--space-xl) * 3);
}

.hero-text {
    max-width: 800px;
    margin-left: auto;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-title-ja {
    color: var(--bg-white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-title-en {
    color: var(--bg-white);
    font-family: var(--font-en);
    text-transform: none !important;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    font-style: italic;
    text-transform: lowercase;
    opacity: .8;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 400;
}



/* ===================================
   Section Common Styles
   =================================== */
.section-label {
    color: var(--primary-color);
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

/* ===================================
   Business Section
   =================================== */
.business-section {
    position: relative;
    padding: var(--space-xl) 0 0;
    overflow: hidden;
    padding-right: 10%;
    background: #E9EFF6;
    z-index: 0;
}

.business-bg-pattern {
    background: url(images/top_bg_business-pattern.png), linear-gradient(to right, #0A5EB0 0%, #0A5EB0 100%, transparent 100%);
    padding: 20% 0 4%;
    border-radius: 0 40px 40px 0;
}

.business-items {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.business-circle-img {
    width: 100%;           /* 親要素の幅いっぱい */
    max-width: 350px;      /* 最大サイズ制限 */
    aspect-ratio: 1 / 1;   /* 正方形を強制 */
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;    /* ホバー効果の基準 */
}

.business-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 画像を正方形にトリミング */
    display: block;        /* 下の隙間を削除 */
    transition: transform 0.4s ease;
}

.business-circle-img img:hover {
    transform: scale(1.1);
}

.business-label {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.business-title {
    color: var(--bg-white);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.vertical-text {
    position: absolute;
    writing-mode: vertical-rl;
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 5rem;
    letter-spacing: 0.1em;
    z-index: 5;
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vertical-text.is-visible {
    opacity: 0.9;
    transform: translateY(0);
}

.vertical-text-business {
    color: var(--bg-white);
    right: 10%;
    top: 6%;
    font-size: 6rem;
    font-style: italic;
    letter-spacing: 0.05em;
    width: 100%;
    white-space: nowrap;
    
}


/* ===================================
   Message Section
   =================================== */
.message-section {
    position: relative;
    padding: calc(var(--space-xl) + 150px) 0 var(--space-xl) 0;  /* 上に50px追加 */
    background: #E9EFF6;    
    overflow: visible;  /* はみ出しを許可 */
    z-index: 10;
}
.message-clouds-overlay {
    position: absolute;
    top: -10%;
    left: 50%;
    right: 0;
    height: 650px;
    background: url(images/top_bg_message-pattern.png) center top / contain no-repeat;
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;  /* 透明度を調整 */
}
.message-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.message-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition-base);
}

.message-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.message-image img {
    width: 100%;
    height: auto;
}

.message-body {
    margin: var(--space-md) 0;
    color: var(--text-light);
    line-height: 2;
}

.message-large-text {
    position: absolute;  /* 追加 */
    bottom: -80px;  /* 下に50pxはみ出させる */
    right: 25%;
    transform: translateX(50%);
    font-family: var(--font-en);
    font-size: 9rem;
    font-weight: 900;
    color: var(--primary-color);
    font-style: italic;
    pointer-events: none;
    letter-spacing: -0.02em;
    z-index: 1;
}


/* ===================================
   Recruit Section
   =================================== */
.recruit-section {
    position: relative;
    padding: var(--space-xl) 0;
    background: var(--bg-white);
    overflow: hidden;
}

.recruit-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 650px;
    gap: var(--space-lg);
    align-items: center;
}

.recruit-body {
    margin: var(--space-md) 0;
    color: var(--text-light);
    line-height: 2;
}

.recruit-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.recruit-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}


.recruit-section .vertical-text-recruit {
    position: absolute;
    left: 42%;
    top: 50%;
    writing-mode: vertical-rl;
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 8rem;
    font-style: italic !important;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    opacity: 0;
    z-index: 3;
    
    /* 初期状態: 180度回転を維持したまま上にオフセット */
    transform: translate(-50%, calc(-50% - 100px)) rotate(180deg);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.recruit-section .vertical-text-recruit.is-visible {
    opacity: 1;
    /* 180度回転を維持したまま元の位置へ */
    transform: translate(-50%, -50%) rotate(180deg);
}


/* ===================================
   News Section
   =================================== */
.news-section {
    padding: var(--space-xl) 0;
    background: #E9EFF6;
}

.news-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-lg);
    align-items: start;
}
.news-header .section-label {
    color: var(--primary-color);
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.news-header .section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.news-header .btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.news-header .btn-view-more:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 116, 217, 0.3);
}

.news-header .btn-view-more svg {
    transition: var(--transition-base);
}

.news-header .btn-view-more:hover svg {
    transform: translateX(4px);
}

/* 右側: ニュースリスト */
.news-list {
    background: transparent;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

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

.news-item a {
    display: flex;
    gap: var(--space-md);
    padding: 1.5rem 0;
    transition: var(--transition-base);
}

.news-item:hover {
    padding-left: 1rem;
}

.news-date {
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--font-en);
    font-size: 0.95rem;
    flex-shrink: 0;
    min-width: 80px;
}

.news-title {
    color: var(--text-dark);
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
}

.news-item:hover .news-title {
    color: var(--primary-color);
}


/* ===================================
   Button Styles
   =================================== */
.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.btn-view-more:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 116, 217, 0.3);
}

.btn-view-more svg {
    transition: var(--transition-base);
}

.btn-view-more:hover svg {
    transform: translateX(4px);
}

/* Footer */
.footer {
    background: #2C3550;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 0 var(--space-md);
}
.container .footer-content {
	padding: 100px 10px 10px;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem; /* ← gap を大きく */
    padding: 0 0 40px 0; /* ← 下の余白を追加 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 40px; /* ← 下のマージンを追加 */
    align-items: end;
}
.footer-logo {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 900;
    color: var(--bg-white);
    margin-bottom: var(--space-sm);
}

.footer-company-name {
    font-size: 1rem;
    color: var(--bg-white);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.footer-info {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.3rem;
}
/* フッターナビゲーションを横並びに */
.footer-nav {
    width: 100%;
    align-items: flex-end;
    margin-bottom: 0.5rem !important;
}
.footer-nav ul {
    display: flex;
    gap: 0.75rem;
}

.footer-nav a {
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-nav a:hover {
    color: #FAFAFA;
}

.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-list li {
    margin: 0;
    float: left;
    width: auto;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    float: left;
}

.footer-nav-list a:hover {
    color: var(--secondary-color, #FAFAFA);
}

.footer-bottom {
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links li a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}


/* ===================================
   Page
   =================================== */

/* h */
.post-content h2 {
    border: none !important;
}
.post-content h3 {
    font-size: 2rem !important;
    font-weight: 900 !important;
    margin: 50px 0 20px !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2;
    color: var(--primary-color);
}
.post-content h3.pp {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    margin : 30px 0 10px !important;
    padding : 30px 0 0 !important;
    line-height: 1.2;
    color: #000;
    border-top: 1px solid var(--primary-color) !important;
}
.post-content h3.pp.no-border {
    border: none !important;
    margin : 0px !important;
}


/*  Hero Section  */
.page-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: -80px;  /* ヘッダーの高さ分マイナス（調整してください） */
    padding-top: 80px;  /* コンテンツが隠れないようにパディングで補正 */
}

/* 背景のオーバーレイ（暗くする） */
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.page-hero .container {
    max-width: 1200px;
    margin: 0 auto 0 0;
    padding: 0 0 0 10rem;
}

/* デコレーション要素（ロックアイコンなど） */
.page-hero::after {
    content: '';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: url('images/hero-decoration.png') center / contain no-repeat;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

/* コンテンツ */
.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: var(--bg-white);
    padding: 0 2rem;
}

/* 日本語サブタイトル（メインビジュアル内） */
.page-hero-subtitle-ja {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    opacity: 0.95;
    letter-spacing: 0.1em;
}

/* 英語タイトル（メインビジュアル内）*/
.page-hero-title {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.2;
    opacity: 0.85;
}

/* 日本語サブタイトル（コンテンツ内） */
.page-hero-subtitle_contents-ja {
    font-size: 2rem;
    font-weight: 900;
    padding: 100px 0 0 0;
    margin: 0 0 1rem;
    opacity: 0.95;
    letter-spacing: 0.1em;
    text-align: center;
}

/* 英語タイトル（コンテンツ内） */
.page-hero_contents-title {
    font-family: var(--font-en);
    font-size: 8rem;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-align: center;
    color: var(--primary-color);
    opacity: 0.85;
}


/*  contents  */
#content {
	padding: 0px !important;
	background-image: url(images/bg_contents_main.png);
	background-repeat: no-repeat;
	background-color: #FFF;
	background-size: ;
}

.cat-content, article.post, article.page {
    margin-bottom: 0px !important;
    background-color: transparent !important;
    border: none !important;
}

.post-header,
.post-content {
	margin: auto;
	max-width:1000px !important; 
}


/* ===================================
   Company
   =================================== */

.company-message-section {
  padding: 56px 0 80px;
  position: relative;
  overflow: visible;
}

.company-message-section__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 46px;
  align-items: start;
  position: relative;
}

/* 左：写真カード */
.company-message-section__photo {
  margin: 0;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  overflow: hidden;
}

.company-message-section__photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右：見出し */
.company-message-section__head {
  margin-top: 8px;
}

.company-message-section__label {
  display: inline-block;
  font-family: var(--font-en, "Roboto", sans-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  color: #2f6fb6;
  margin-bottom: 6px;
  position: relative;
}
.post-content h2.company-message-section__title {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 800;
  color: #1d2c44;
  letter-spacing: .02em;
}

/* 本文 */
.company-message-section__body p {
  margin: 0 0 14px;
  line-height: 2;
  font-size: 14px;
}

/* 下の巨大 “Message” */
.company-message-section__watermark {
  position: absolute;
  left: 250px;
  bottom: -65px;
  font-family: var(--font-en, "Roboto", sans-serif);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(64px, 9vw, 120px);
  color: #1f64a8;
  letter-spacing: .02em;
  z-index: 10;
  pointer-events: none;
  line-height: 1;
  text-shadow: 0 10px 0 rgba(0,0,0,0.02);
}

/* 前面に出す */
.company-message-section__photo,
.company-message-section__content {
  position: relative;
  z-index: 2;
}


.company-image-section {
	position: relative;
	z-index: 0;
	width: 100%;
	height: calc(var(--space-xl) * 4);
  background: url("images/bg_company_image.jpg") center / cover no-repeat;
}


.company-aboutus-section {
	background-color: #E9EFF6;	
    position: relative;
    padding:calc(var(--space-xl) * 2) 0 calc(var(--space-xl) * 2) calc(var(--space-xl) * 4);
    overflow: hidden;
    z-index: 0;
}
.company-aboutus-bg-pattern {
  background:#FFFFFF;
    linear-gradient:(to left,
      #0A5EB0 0%,
      #0A5EB0 100%,
      transparent 100%,
      transparent 100%
    );
  padding: 0 0 4%;
  border-radius: 40px 0 0 40px;
}
.aboutus__head {
  position: relative;
  z-index: 1;
  padding: 40px 4% 2% 4%;
}


.aboutus__lead-en {
  margin: -100px 0 0 0;
  color: var(--primary-color);
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  font-family: var(--font-en);
  margin-left: 130px;
}

.aboutus__lead-ja {
  margin: 0 0 0 70px;
  color: #000;
  font-size: 3rem;
  font-weight: 900;
}

.aboutus-item {
	padding: 0 var(--space-xl) var(--space-xl);
}

table.table_company {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: none;
	margin-bottom: 40px;
}
table.table_company th {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid #0A5EB0 !important;
	padding: 2% 2.5%;
	text-align: center;
	font-weight: 900;
}
table.table_company td {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #ACC3DD !important;
	padding: 2% 2.5%;
}
table.table_company th.noborder,
table.table_company td.noborder {
	border-bottom: none !important;
}
.iframe-content {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.iframe-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* 縦文字：位置と回転を整理 */
.company-aboutus-section .vertical-text-aboutus {
  position: absolute;

  writing-mode: vertical-rl;        /* 縦書き */
  font-family: var(--font-en);
  font-weight: 900;
  font-style: italic;
  font-size: 8rem;
  letter-spacing: 0.1em;
  color: var(--primary-color);
white-space: nowrap;
  z-index: 3;
  opacity: 1;
  pointer-events: none;
    /* 初期状態: 180度回転を維持したまま上にオフセット */
    transform: translate(-72%, calc(-90% - 100px)) rotate(180deg);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

   
/* ===================================
   Our Business (Medical)
   =================================== */

.service-section {
    position: relative;
    padding: 0 0 var(--space-xl) var(--space-xl);
    overflow: hidden;
    z-index: 0;
}

.service-bg-pattern {
  background:
    url(images/top_bg_business-pattern.png),
    linear-gradient(to left,
      #0A5EB0 0%,
      #0A5EB0 100%,
      transparent 100%,
      transparent 100%
    );
  padding: 0 0 4%;
  border-radius: 40px 0 0 40px;
}

.biz__head {
  position: relative;
  z-index: 1;
  padding: 40px 4% 2% 4%;
}

.biz__title {
  margin: -60px 0 0 0;
  text-align: right;
  color: #fff;
  font-size: 8rem;
  font-weight: 900;
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: .02em;
  line-height: 1.0;
}

.biz__lead-en {
  margin: 4px 0 0;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
}

.biz__lead-ja {
  margin: 2px 0 0;
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
}

/* リスト */
.biz__list {
  position: relative;
  z-index: 1;
  padding: 0 4% 26px;
  display: grid;
  gap: 22px;
}

/* アイテム（左：画像／右：テキスト） */
.biz-item {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 50px;
  align-items: center;
  margin: 10px 0;
}

/* 左画像 */
.biz-item__media {
  margin: 0;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* 画像の比率を揃える */
}

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

/* 右テキスト */
.biz-item__body {
  color: #fff;
  margin-right:calc(var(--space-xl) * 3);
}

.biz-item__no {
  margin: 0 0 4px;
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  color: #1E0342;
  line-height: 1;
}

.biz-item__name {
  margin: 0 0 28px;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.biz-item__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.92);
  padding: 0 4% 0 0;
}

.service-section2 {
	width: 100%;
	background-image: url(images/bg_service_broadcast-system.jpg);
    padding: calc(var(--space-xl) * 3) calc(var(--space-xl) * 3) calc(var(--space-xl) * 3) calc(var(--space-xl) * 1.5);
}

/* ===================================
   Recruite
   =================================== */
.recruit-company_policy-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: #fff;          /* ★追加：下の白領域 */
  overflow: visible;         /* ★はみ出し許可 */
  z-index: 0;
}

/* 青背景は「箱」として扱う（ここが重要） */
.recruit-company_policy-bg-pattern {
  position: relative;
  z-index: 1;
  background:
    url(images/top_bg_business-pattern.png),
    linear-gradient(#0A5EB0, #0A5EB0);
  overflow: visible;
}

/* ヘッダー */
.recruit-company_policy__head {
  position: relative;
  z-index: 2;
  padding: 40px 4% 2% 4%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 大見出し */
.recruit-company_policy__title {
  margin: -60px 0 0 0;
  text-align: right;
  color: #fff;
  font-size: 8rem;
  font-weight: 900;
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: .02em;
  line-height: 1.0;

  /* ★見切れ防止（長いとき） */
  white-space: nowrap;
}

/* 小見出し */
.recruit-company_policy__lead-en {
  margin: 4px 0 0;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
}
.recruit-company_policy__lead-ja {
  margin: 2px 0 0;
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
}

/* リスト */
.recruit-company_policy__list {
  position: relative;
  z-index: 2;
  padding: 0 4% 26px;
  display: grid;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

/* アイテム（左：画像／右：テキスト） */
.recruit-company_policy-item {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 50px;
  align-items: center;
  margin: 10px 0;
}

/* 左画像：下へはみ出す */
.recruit-company_policy-item__media {
  position: relative;
  z-index: 5;                 /* ★前面へ */
  margin: -100px 0 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;

  /* ★ここが “はみ出し” の本体 */
  transform: translateY(100px);

  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  background: rgba(255,255,255,.12);
}

.recruit-company_policy-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右テキスト */
.recruit-company_policy-item__body {
  color: #fff;
}

.recruit-company_policy-item__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.92);
  padding: 0 4% 0 0;
}


.recruit-training-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: #fff;
  overflow: hidden; 
  z-index: 0;
  display: flex;
}

.recruit-training-bg-pattern {
  position: relative;
}

/* ヘッダー */
.recruit-training__head {
  position: relative;
  z-index: 10;
  padding: 40px 4% 2% 4%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 大見出し */
.recruit-training__title {
  margin:0;
  text-align: center;
  color: var(--primary-color);
  font-size: 8rem;
  font-weight: 900;
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: .02em;
  line-height: 1.0;
  white-space: nowrap;
}

/* 小見出し */
.recruit-training__lead-en {
  margin: 4px 0 0;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
}
.recruit-training__lead-ja {
  margin: 2px 0 0;
  color: #000;
  font-size: 3rem;
  font-weight: 900;
}

/* リスト */
.recruit-training__list {
  position: relative;
  z-index: 2;
  padding: 0 4% 126px;
  display: grid;
  gap: 22px;
  max-width: 1200px;
  margin: -180px auto 0;
}

/* アイテム（左：テキスト／右：画像） */
.recruit-training-item {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 60px;
  align-items: center;
  margin: 10px 0;
}

/* 左画像：下へはみ出す */
.recruit-training-item__media {
  position: relative;
  margin: -200px 0 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  background: rgba(255,255,255,.12);
}

.recruit-training-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右テキスト */
.recruit-training-item__body {
  color: #000;
}

.recruit-training-item__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #000;
  padding: 0 4% 0 0;
}


.recruit-requirements-section {
	background-color: #E9EFF6;	
    position: relative;
    padding: var(--space-xl);
    overflow: hidden;
    z-index: 0;
}
.recruit-requirements__head {
  position: relative;
  z-index: 1;
  padding: 40px 4% 2% 4%;
}


.recruit-requirements__lead-en {
  margin: 0;
  color: var(--primary-color);
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  font-family: var(--font-en);
  text-align: center;
}

.recruit-requirements__lead-ja {
  margin: 0;
  color: #000;
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
}

table.table_recruit {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: none;
	margin : 0 auto 40px;
	max-width: 1200px;
	border-collapse: separate; 
    border-spacing: 20px;
}
table.table_recruit th {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid #0A5EB0 !important;
	padding: 1% 1% 2% 1%;
	margin-right: 20px;
	text-align: left;
	font-weight: 900;
    color: var(--primary-color);
    vertical-align: top;
}
table.table_recruit td {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #ACC3DD !important;
	padding: 1% 1% 2% 1%;
}
table.table_recruit th.noborder,
table.table_recruit td.noborder {
	border-bottom: none !important;
}

/* ===================================
   Contact CTA (PC)
   =================================== */

.contact-cta__inner {
  margin: 0 auto;
  text-align: center;
}

.contact-cta__lead {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 600;
  color: #1d2c44;
}

.contact-cta__company {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  color: #1d2c44;
  letter-spacing: 0.02em;
}

.contact-cta__telrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  margin: 0 auto 34px;
}

.contact-cta__telitem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d2c44;
  font-weight: 700;
  white-space: nowrap;
}

.contact-cta__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 6px;
  background: #0a5eb0;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.contact-cta__number {
  font-size: 18px;
}

.contact-cta__hours {
  font-size: 14px;
  font-weight: 600;
}

/* 下段：薄いグレー帯 */
.contact-cta__grid {
  margin-top: 14px;
  padding: 44px 0;
  background:rgba(233, 239, 246, 0.8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  align-items: center;
  justify-items: center;
}

/* カード */
.contact-cta__card {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1d2c44;
}
.contact-cta__card:first-child  {
	padding: 0 0 0 50%;
}
.contact-cta__card:last-child  {
	padding: 0 50% 0 0;
}

.contact-cta__label {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* 丸サムネ（背景画像は差し替え） */
.contact-cta__thumb {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url('images/img_contact_recruit.png') center/cover no-repeat;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.contact-cta__thumb--biz {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url('images/img_contact_business.png') center/cover no-repeat;
}
.contact-cta__card:hover .contact-cta__label {
  text-decoration: underline;
    opacity: 0.5;
}



/* ===================================
   Loading Screen
   =================================== */

/* ローディング画面全体 */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* フェードアウト後 */
.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
}

/* コンテンツ */
.loading-content {
  text-align: center;
}

/* ロゴ */
.loading-logo {
  margin-bottom: 2rem;
  animation: fadeInScale 0.8s ease-out;
}

.loading-logo img {
  width: 200px;
  height: auto;
}

/* ===================================
   Loading Screen - 上部プログレスバー版
   =================================== */
/* ローディング画面全体 */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* フェードアウト後 */
.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
}

/* 背景オーバーレイ */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  z-index: 1;
}

/* 上部プログレスバー */
.loading-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(10, 94, 176, 0.1); 
  z-index: 3;
  overflow: hidden;
}

.loading-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0A5EB0 0%, #0056A3 100%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: loadingProgress 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transform-origin: left;
}

/* 中央ロゴ（任意） */
.loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.loading-logo {
  /* animation を削除 */
  opacity: 1; /* 最初から表示 */
}

.loading-logo img {
  width: 200px;
  height: auto;
}

/* プログレスバーアニメーション */
@keyframes loadingProgress {
  0% {
    width: 0%;
  }
  50% {
    width: 60%;
  }
  100% {
    width: 100%;
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ローディング中は body のスクロールを無効化 */
body.loading {
  overflow: hidden;
}

/* アニメーション */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loadingProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ローディング中は body のスクロールを無効化 */
body.loading {
  overflow: hidden;
}

/* スマホ対応：ロゴサイズのみ調整 */
@media screen and (max-width: 768px) {
  .loading-logo img {
    width: 150px;
  }
}

@media screen and (max-width: 480px) {
  .loading-logo img {
    width: 120px;
  }
}

/* ===================================
   新着情報アーカイブ
   =================================== */
.archive .page-hero,
.single .page-hero{
  background: url(images/news_main.jpg) center center no-repeat;
  background-size: cover;
}
.archive-news #main .main-inner,
.single #main .main-inner{
  margin-right: 0!important;
}
.archive-news #main .published:before,
.archive-news #main .post-meta:after,
.single #main .published:before,
.single #main .post-meta:after{
  display: none;
}
.archive-news #main .post-meta li,
.single article footer .post-meta li{
  padding-left: 0;
}
.archive-news #main .post-header{
  width: 90%;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #0a5eb0;
}
.archive-news #main .post-header time,
.single article footer time,
.single article footer .link-arrow{
  color: #0a5eb0;
  font-size: 16px;
  font-family: var(--font-en);
}
.archive-news #main .post-header .post-title{
  width: calc(100% - 250px);
  margin-bottom: 0;
  color: #333333;
  font-size: 22px;
}
.archive-news #main .post-header .post-meta{
  margin-bottom: 0;
}
.archive-news #main .post-header .link-arrow{
  padding: 22px 40px;
  border: 1px solid #0a5eb0;
  border-radius: 25px;
  background: #fff;
}
.archive-news .post-loop-wrap{
  margin-bottom: 80px;
}
.archive-news .pagination{
  width: 90%;
  max-width: 1000px;
  margin: 80px auto 120px;
  padding: 1px;
}
.archive-news .pagination .current{
  color: #0a5eb0;
  background: none;
}
.archive-news .pagination a,
.archive-news .pagination > span{
  color: #c5d5e7;
  font-family: var(--font-en);
}
.single article footer{
  width: 90%;
  max-width: 1000px;
  margin:0 auto;
  padding-top: 20px;
  padding-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid #0a5eb0;
}
.single article footer .link-arrow{
  width: 240px;
  height: 50px;
  display: flex;
  align-items: center;
  border: 1px solid #0a5eb0;
  border-radius: 25px;
  background: #fff;
}
.archive-news #main .post-header .link-arrow,
.single article footer .link-arrow{
  text-decoration: none;
  transition: .7s;
}
.archive-news #main .post-header .link-arrow:hover,
.single article footer .link-arrow:hover{
  background: #0a5eb0;
  color: #fff;
}
.archive-news #main .post-header .link-arrow:hover img,
.single article footer .link-arrow:hover img{
  filter: brightness(0) invert(1) !important;
  transition: filter 0.3s ease;
}
.single article footer .link-arrow img{
  margin-left: 5px;
  margin-right: 5px;
}