
:root{
  --bg:#f5f8ff;
  --ink:#10172b;
  --muted:#65708a;
  --line:#dfe6f5;
  --blue:#1769ff;
  --purple:#7257ff;
  --card:#ffffff;
  --navy:#0b1530;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,"Noto Sans JP",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.8}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:linear-gradient(100deg,rgba(238,247,255,.97),rgba(248,246,255,.97));backdrop-filter:blur(18px);border-bottom:1px solid #d8e3f6;box-shadow:0 5px 22px rgba(43,72,135,.06)}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{width:190px;height:auto}
.nav{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;letter-spacing:.08em}
.nav a{position:relative}
.nav a:after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:linear-gradient(90deg,var(--blue),var(--purple));transform:scaleX(0);transform-origin:left;transition:.25s}
.nav a:hover:after{transform:scaleX(1)}
.menu-btn{display:none;border:0;background:none;font-size:25px}
.hero{position:relative;overflow:hidden;min-height:650px;background:
 radial-gradient(circle at 75% 35%,rgba(111,91,255,.27),transparent 32%),
 linear-gradient(135deg,#eef5ff 0%,#fff 48%,#f0edff 100%);display:flex;align-items:center}
.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(23,105,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(23,105,255,.06) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 85%)}
.hero-inner{position:relative;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:50px;padding:90px 0}
.eyebrow{font-size:12px;letter-spacing:.22em;font-weight:800;color:var(--blue)}
h1{font-size:clamp(48px,7vw,92px);line-height:1.02;margin:18px 0 24px;letter-spacing:-.05em}
h2{font-size:clamp(32px,4vw,52px);line-height:1.15;margin:10px 0 20px;letter-spacing:-.035em}
h3{font-size:22px;line-height:1.35;margin:0 0 10px}
.lead{font-size:18px;color:#44506b;max-width:680px}
.gradient-text{background:linear-gradient(90deg,var(--blue),var(--purple));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy .sub{font-size:17px;max-width:620px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:999px;font-weight:800;font-size:14px;border:1px solid var(--line);background:#fff;transition:.25s}
.btn.primary{color:#fff;border:0;background:linear-gradient(100deg,var(--blue),var(--purple));box-shadow:0 12px 28px rgba(65,86,220,.22)}
.btn:hover{transform:translateY(-2px)}
.hero-visual{min-height:400px;display:grid;place-items:center;position:relative}
.orbit{position:absolute;border:1px solid rgba(23,105,255,.22);border-radius:50%;animation:spin 16s linear infinite}
.orbit.one{width:390px;height:390px}
.orbit.two{width:285px;height:285px;animation-duration:11s;animation-direction:reverse}
.orbit:before,.orbit:after{position:absolute;display:block;line-height:1;content:'★';font-family:Arial,sans-serif;font-weight:700;color:#1769ff;text-shadow:0 0 10px rgba(23,105,255,.65);background:none;clip-path:none;}
.orbit:before{font-size:18px;top:-12px;left:calc(50% - 9px);}
.orbit:after{font-size:13px;bottom:5%;right:-7px;color:#5c8dff;text-shadow:0 0 8px rgba(23,105,255,.65);}
.orbit.one:after{content:none;}

.emblem{width:210px;filter:drop-shadow(0 20px 45px rgba(49,73,185,.18));z-index:2}
.years{position:absolute;right:0;bottom:18px;font-size:clamp(34px,5vw,72px);font-weight:900;letter-spacing:.08em;color:rgba(23,105,255,.07);text-transform:uppercase;white-space:nowrap}
@keyframes spin{to{transform:rotate(360deg)}}
.section{padding:105px 0}
.section.alt{background:#fff}
.section.dark{background:var(--navy);color:#fff}
.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:45px}
.section-head .label{font-size:11px;letter-spacing:.2em;font-weight:900;color:var(--blue)}
.section.dark .label{color:#8fb4ff}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:50px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:0 12px 35px rgba(30,55,110,.05)}
.card.dark-card{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.12)}
.card .num{font-size:12px;font-weight:900;letter-spacing:.14em;color:var(--blue);margin-bottom:18px}
.stat{font-size:64px;font-weight:900;line-height:1}
.stat small{font-size:15px;font-weight:700;color:var(--muted);letter-spacing:.04em}
.kicker{font-size:13px;font-weight:800;letter-spacing:.12em;color:var(--muted)}
.muted{color:var(--muted)}
.pill{display:inline-block;padding:5px 10px;border-radius:999px;background:#edf3ff;color:#2458c8;font-size:12px;font-weight:800}
.page-hero{padding:95px 0 85px;background:linear-gradient(135deg,#edf5ff,#fff 55%,#f0edff);position:relative;overflow:hidden}
.page-hero:after{content:"";position:absolute;width:500px;height:500px;border-radius:50%;right:-170px;top:-250px;background:radial-gradient(circle,rgba(114,87,255,.16),transparent 65%)}
.page-hero p{max-width:720px}
.timeline{position:relative;margin-top:35px}
.timeline:before{content:"";position:absolute;left:95px;top:0;bottom:0;width:1px;background:linear-gradient(var(--blue),var(--purple),transparent)}
.timeline-item{display:grid;grid-template-columns:95px 1fr;gap:32px;position:relative;padding:0 0 35px}
.timeline-year{font-weight:900;color:var(--blue);font-size:15px}
.timeline-item:after{content:"";position:absolute;left:90px;top:7px;width:11px;height:11px;border-radius:50%;background:#fff;border:3px solid var(--blue)}
.timeline-content{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px 25px}
.timeline-content strong{display:block;margin-bottom:4px}
.history-note{padding:25px 30px;border-radius:20px;background:linear-gradient(120deg,#eef5ff,#f5f1ff);border:1px solid #dce5fb;margin:0 0 45px}

/* WORKS: dates temporarily hidden — keep the timeline cards full-width. */
.timeline.no-dates:before{left:8px}
.timeline.no-dates .timeline-item{grid-template-columns:1fr;gap:0;padding-left:28px}
.timeline.no-dates .timeline-item:after{left:2px;top:7px}
.timeline.no-dates .timeline-content{width:100%}

.mobile-only{display:none}
.philosophy-line{display:inline}

@media(max-width:600px){
.mobile-only{display:block}
  .timeline.no-dates:before{left:8px}
  .timeline.no-dates .timeline-item{grid-template-columns:1fr;gap:0;padding-left:24px}
  .timeline.no-dates .timeline-item:after{left:2px;top:5px}
}
.client-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.client{padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px;font-weight:800}
.business-card{min-height:270px;position:relative;overflow:hidden}
.business-card:before{content:"";position:absolute;right:-60px;bottom:-80px;width:180px;height:180px;border-radius:50%;background:linear-gradient(135deg,rgba(23,105,255,.11),rgba(114,87,255,.14))}
.business-card.featured{background:linear-gradient(145deg,#0d1a3b,#162b61);color:#fff;border:0}
.business-card.featured .muted{color:#b8c5e4}
.process{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.process div{padding:20px 13px;text-align:center;border:1px solid var(--line);border-radius:15px;background:#fff;font-size:13px;font-weight:800}
.process span{display:block;font-size:10px;color:var(--blue);letter-spacing:.12em;margin-bottom:6px}
.philosophy{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}
.philosophy .card{min-height:250px}
.ccc{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.15)}
.ccc .card{border-radius:0;background:transparent;border:0;padding:42px}
.ccc .word{font-size:48px;font-weight:900;letter-spacing:-.05em}
.recruit-banner{border-radius:30px;padding:55px;background:linear-gradient(110deg,#eaf3ff,#f3efff);border:1px solid #dce6fa;display:flex;justify-content:space-between;align-items:center;gap:30px}
.table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;background:#fff;border:1px solid #cbd7ea;border-radius:18px;overflow:hidden}
.table th,.table td{padding:17px 20px;text-align:left;border-bottom:1px solid var(--line);box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word}
.table th{width:28%;background:#f5f8ff;font-size:17px;font-weight:700}
.table td{width:72%;font-size:17px}
.map-wrap{background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px}
.map-wrap img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
.contact-box{border-radius:28px;background:linear-gradient(120deg,#0d1a3b,#253c80);color:#fff;padding:60px;text-align:center}
.president-message{font-size:15px;line-height:2.05;}
.president-message p{margin:0 0 1.25em;}
.president-sign{margin-top:28px;text-align:right;font-weight:800;letter-spacing:.04em;}
.site-footer{background:#fff;color:#18213a;padding:55px 0 25px;border-top:1px solid #dfe6f5}
.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:start}
.footer-logo{width:180px}
.footer-nav{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;font-weight:700}
.copyright{border-top:1px solid #e5e9f2;margin-top:40px;padding-top:20px;font-size:11px;color:#8793ad}
.small-note{font-size:12px;color:var(--muted)}
.salary-note{display:inline-block;margin-top:5px;font-size:15px;font-weight:600;color:var(--muted);letter-spacing:.02em}
@media(max-width:900px){
 .nav{display:none}.menu-btn{display:block}
 .hero-inner,.grid-2{grid-template-columns:1fr}
 .hero{min-height:auto}.hero-visual{min-height:330px}
 .grid-3,.grid-4,.philosophy{grid-template-columns:1fr 1fr}
 .process{grid-template-columns:repeat(3,1fr)}
 .section-head{display:block}.section-head>div:last-child{margin-top:15px}
 .recruit-banner{display:block}
}
@media(max-width:600px){
 .container{width:min(var(--max),calc(100% - 28px))}
 .header-inner{height:66px}.logo{width:160px}
 .section{padding:75px 0}.page-hero{padding:70px 0 60px}
 .hero-inner{padding:70px 0}.hero-visual{min-height:290px}
 .orbit.one{width:280px;height:280px}.orbit.two{width:205px;height:205px}.emblem{width:150px}
 .grid-3,.grid-4,.philosophy,.client-grid{grid-template-columns:1fr}
 .process{grid-template-columns:1fr 1fr}
 .timeline:before{left:11px}.timeline-item{grid-template-columns:28px 1fr;gap:15px}.timeline-year{font-size:0}.timeline-year:before{content:"";display:block;width:10px;height:10px;border-radius:50%;background:var(--blue);margin-top:8px}.timeline-item:after{display:none}
 .contact-box{padding:40px 22px}.ccc{grid-template-columns:repeat(3,1fr);gap:0}.ccc .card{padding:20px 4px}
 h1{font-size:48px}
}

/* Header navigation */
.nav a{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
  padding:4px 0 7px;
  color:#18213a;
  transition:.25s;
}
.nav a span{
  font-size:12px;
  line-height:1.1;
  letter-spacing:.08em;
}
.nav a small{
  font-size:8px;
  line-height:1.1;
  letter-spacing:.04em;
  color:#8a94aa;
  white-space:nowrap;
}
.nav a:after{
  bottom:0;
  height:3px;
  border-radius:3px;
  transform:scaleX(0);
}
.nav a.active{
  color:var(--blue);
}
.nav a.active small{
  color:var(--blue);
}
.nav a.active:after{
  transform:scaleX(1);
}
.logo-header{width:220px}
.logo-footer{width:180px}
@media(max-width:900px){
  .nav a{align-items:flex-start}
  .nav a span{font-size:13px}
  .nav a small{font-size:9px}
}

.philosophy .card{display:flex;flex-direction:column;min-height:360px}
.philosophy .card p:last-child{margin-bottom:0}

.nav a{padding:8px 12px 9px;border-radius:12px}
.nav a:hover{background:rgba(23,105,255,.07)}
.nav a.active{background:rgba(23,105,255,.09)}

/* Dark-section buttons */
.section.dark .btn{
  color:#173b9a;
  background:#fff;
  border-color:rgba(255,255,255,.9);
}
.section.dark .btn:hover{
  background:#f2f6ff;
}

/* Footer: stronger visual design */
.site-footer{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 20%,rgba(74,122,255,.20),transparent 28%),
    radial-gradient(circle at 88% 85%,rgba(123,83,255,.22),transparent 30%),
    linear-gradient(135deg,#0a1634 0%,#111f46 52%,#17143d 100%);
  color:#eaf0ff;
  border-top:1px solid rgba(124,164,255,.25);
  padding:68px 0 26px;
}
.site-footer:before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,#4c8dff,#8b6cff,transparent);
  box-shadow:0 0 18px rgba(75,133,255,.55);
}
.site-footer:after{
  content:"";
  position:absolute;
  width:520px;height:520px;
  right:-260px;top:-300px;
  border:1px solid rgba(119,150,255,.13);
  border-radius:50%;
  box-shadow:0 0 0 55px rgba(119,150,255,.035),0 0 0 110px rgba(119,150,255,.025);
}
.site-footer .footer-top{
  position:relative;
  z-index:2;
  align-items:center;
  padding-bottom:38px;
}
.site-footer .footer-logo{
  width:190px;
  filter:drop-shadow(0 8px 22px rgba(65,111,255,.20));
}
.site-footer .footer-nav{
  gap:9px;
  justify-content:flex-end;
}
.site-footer .footer-nav a{
  display:inline-flex;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:rgba(255,255,255,.045);
  color:#eaf0ff;
  transition:.25s;
}
.site-footer .footer-nav a:hover{
  background:rgba(75,130,255,.14);
  border-color:rgba(110,157,255,.45);
  transform:translateY(-2px);
}
.site-footer .copyright{
  position:relative;
  z-index:2;
  border-top:1px solid rgba(255,255,255,.12);
  color:#9caaca;
  margin-top:4px;
  padding-top:22px;
}
@media(max-width:900px){
  .site-footer .footer-nav{justify-content:flex-start}
}
@media(max-width:600px){
  .site-footer .footer-top{display:block}
  .site-footer .footer-nav{margin-top:25px}
}

.section.dark .philosophy{margin-top:10px}
.section.dark .philosophy .card{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.12)}
.section.dark .philosophy .card .muted{color:#b9c5df}

/* =========================================================
   FINAL MOBILE OPTIMIZATION
   PC layout is kept from v7. Mobile-only rules are below.
   ========================================================= */
@media (max-width:900px){
  .site-header{z-index:1000}
  .header-inner{position:relative}

  /* Hamburger */
  .menu-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    padding:0;
    border:0;
    background:transparent;
    color:var(--blue);
    font-size:30px;
    line-height:1;
    cursor:pointer;
    position:relative;
    z-index:1002;
  }
  .nav{display:none}
  .nav.open{
    display:flex;
    position:absolute;
    top:66px;
    left:0;
    right:0;
    z-index:1001;
    flex-direction:column;
    align-items:stretch;
    gap:5px;
    padding:14px 14px 18px;
    background:#fff;
    border-bottom:1px solid #dfe6f5;
    box-shadow:0 18px 35px rgba(30,55,110,.16);
  }
  .nav.open a,
  .nav.open a:hover{
    width:100%;
    min-height:52px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    padding:7px 12px 8px;
    border-radius:10px;
    text-align:center;
    background:transparent;
    color:#18213a;
  }
  .nav.open a span{
    font-size:15px;
    line-height:1.1;
    letter-spacing:.10em;
  }
  .nav.open a small{
    font-size:10px;
    line-height:1.1;
    letter-spacing:.05em;
    white-space:nowrap;
    color:#8a94aa;
  }
  .nav.open a:after{
    left:20%;
    right:20%;
    bottom:2px;
    height:3px;
    border-radius:3px;
    transform:scaleX(0);
    transform-origin:center;
  }
  .nav.open a.active{
    color:var(--blue) !important;
    background:rgba(23,105,255,.10) !important;
  }
  .nav.open a.active small{color:var(--blue)}
  .nav.open a.active:after{transform:scaleX(1)}

  /* Make the active page unmistakable on desktop/tablet too. */
  .nav a.active{
    color:var(--blue) !important;
    background:rgba(23,105,255,.09);
  }
  .nav a.active small{color:var(--blue) !important}
  .nav a.active:after{transform:scaleX(1)}

  /* Philosophy headline line breaks on phones. */
  .philosophy .card h2,
  .philosophy .card h3{
    font-size:24px !important;
    line-height:1.45;
    letter-spacing:-.025em;
  }
  .philosophy .card .philosophy-line{
    display:block !important;
  }

  /* Compact philosophy cards on phones. */
  .philosophy .card{
    min-height:0;
    padding:22px 20px;
  }
  .section.dark .philosophy .card{
    min-height:0;
    padding:22px 20px;
  }
  .section.dark .philosophy .card .num{margin-bottom:8px}
  .section.dark .philosophy .card h3{
    font-size:24px !important;
    line-height:1.45;
    letter-spacing:-.025em;
    margin-bottom:6px;
  }
  .section.dark .philosophy .card p{
    font-size:13px;
    line-height:1.7;
  }

  /* CCC stays in one row on phones. */
  .ccc{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1px;
    width:100%;
  }
  .ccc .card{
    min-width:0;
    padding:20px 6px 22px;
    border-radius:0;
    text-align:center;
    overflow:hidden;
  }
  .ccc .word{
    font-size:34px;
    line-height:1;
    margin:0 0 7px;
    letter-spacing:-.04em;
  }
  .ccc .kicker{
    font-size:8px;
    line-height:1.2;
    letter-spacing:.03em;
    white-space:nowrap;
    margin:0;
  }
  .ccc .card h3{
    font-size:15px;
    line-height:1.35;
    margin:5px 0 0;
  }
  .philosophy-ccc .card p{
    margin:12px 0 0;
    font-size:11px;
    line-height:1.65;
    overflow-wrap:anywhere;
  }

  /* WORKS: keep YYYY.MM visible on phones. */
  .timeline:before{left:58px}
  .timeline-item{
    grid-template-columns:58px 1fr;
    gap:14px;
    padding-bottom:28px;
  }
  .timeline-year{
    font-size:12px;
    line-height:1.3;
    padding-top:4px;
    color:var(--blue);
    white-space:nowrap;
    position:relative;
    z-index:1;
  }
  .timeline-year:before{display:none}
  .timeline-item:after{
    display:block;
    left:53px;
    top:5px;
    width:9px;
    height:9px;
    border-width:2px;
  }
  .timeline-content{
    padding:18px 16px;
    border-radius:15px;
  }
}

@media(max-width:600px){
  .president-message{font-size:14px;line-height:1.95;padding:22px 20px;}
  .president-sign{text-align:left;margin-top:24px;font-size:13px;}
  .header-inner{height:66px}
  .logo-header{width:180px}

  .nav.open{
    top:66px;
    max-height:calc(100vh - 66px);
    overflow-y:auto;
  }

  .nav.open a{min-height:50px}
  .nav.open a span{font-size:15px}
  .nav.open a small{font-size:10px}

  .ccc .card{padding-left:4px;padding-right:4px}
  .ccc .word{font-size:31px}
  .ccc .kicker{font-size:7.5px;letter-spacing:.02em}
  .ccc .card h3{font-size:14px}
  .philosophy-ccc .card p{font-size:10.5px;line-height:1.6}

  /* Slightly more room for long Japanese dates/text on narrow phones. */
  .timeline:before{left:60px}
  .timeline-item{grid-template-columns:60px 1fr;gap:12px}
  .timeline-year{font-size:11px}
  .timeline-item:after{left:55px}
}

/* Final navigation active-state safeguard */
.nav a.active,
.nav.open a.active {
  color: var(--blue) !important;
  background: rgba(23,105,255,.10) !important;
}
.nav a.active small,
.nav.open a.active small {
  color: var(--blue) !important;
}
.nav a.active::after,
.nav.open a.active::after {
  transform: scaleX(1) !important;
}

/* Recruitment tables: clear, readable borders on white backgrounds */
.table{
  border:1.5px solid #aebed6;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
}
.table th,
.table td{
  border-bottom:1px solid #c8d3e3;
}
.table th + td{
  border-left:1px solid #c8d3e3;
}
.table tr:last-child th,
.table tr:last-child td{
  border-bottom:0;
}

.contact-grid{align-items:stretch}.contact-card{display:flex;flex-direction:column}.contact-card .btn{margin-top:auto;align-self:flex-start}.contact-card .muted{margin-bottom:22px}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.contact-grid{grid-template-columns:1fr}.contact-card .btn{width:100%}}

.recruit-section-title{font-family:inherit;font-size:clamp(32px,4vw,52px);font-weight:700;line-height:1.15;letter-spacing:-.035em;margin:10px 0 20px;}

/* Company: clickable address -> office map */
.location-link{color:inherit;text-decoration:none;border-bottom:1px solid rgba(23,105,255,.35);transition:color .2s ease,border-color .2s ease}
.location-link:hover{color:var(--blue);border-bottom-color:var(--blue)}

/* Mobile headline fit: keep requested Japanese copy on clean lines. */
@media (max-width:600px){
  .mobile-fit-message{font-size:36px;line-height:1.12;letter-spacing:-.045em}
  .mobile-fit-message .gradient-text{font-size:36px;white-space:nowrap}
  .mobile-fit-works{font-size:36px;line-height:1.12;letter-spacing:-.045em;white-space:nowrap}
  .mobile-fit-recruit{font-size:36px;line-height:1.12;letter-spacing:-.045em}
  .mobile-fit-recruit .gradient-text{white-space:nowrap}
}

/* Philosophy: fixed line breaks on smartphone */
@media (max-width:600px){
  .philosophy-line{display:block;white-space:nowrap}
}

/* Mobile philosophy breaks: explicit line break, desktop stays inline. */
.mobile-break{display:none}
@media(max-width:600px){.mobile-break{display:block}}


/* Final smartphone philosophy headings */
.pc-philosophy{display:block}
.sp-philosophy{display:none}
@media screen and (max-width:600px){
  .pc-philosophy{display:none !important}
  .sp-philosophy{display:block !important}
}

/* MAIN philosophy mobile breaks */
@media(max-width:600px){.philosophy .mobile-break{display:block}}
/* Mobile recruitment/company tables: improve Japanese line wrapping */
@media(max-width:600px){
  .table{table-layout:auto;}
  .table th,.table td{
    padding:14px 12px;
    font-size:15px;
    line-height:1.7;
    overflow-wrap:normal;
    word-break:normal;
  }
  .table th{width:34%;white-space:nowrap;}
  .table td{width:66%;}
}



/* Requested copy: keep intended Japanese line breaks stable on smartphones. */
.mobile-safe-headline span{white-space:nowrap;}
.mobile-only-break{display:none;}
.works-title-break{display:block;}
.workstyle-break{display:block;}
@media(max-width:600px){
  .mobile-safe-headline{font-size:32px !important;line-height:1.3 !important;letter-spacing:-.03em !important;max-width:100%;}
  .mobile-safe-headline span{white-space:nowrap;}
  .mobile-only-break{display:inline;}
  .recruit-banner .mobile-safe-headline{font-size:32px !important;}
  .works-title-break{display:block;}
  .workstyle-break{display:block;}
}
