/* =========================================================
   THEME: MONO — editorial monochrome
   白・黒・グレーだけ。細い罫線、余白、コンデンス体×イタリック明朝の組み合わせ、
   モノクロ写真、テキストリンク型のボタンで「雑誌のような」上品さに。
   ========================================================= */
:root {
  /* isometric lattice taken from the cube logo */
  --iso-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='32.33'%3E%3Cpath d='M0 0L56 32.33M56 0L0 32.33M28 0V32.33' stroke='%23141414' stroke-opacity='.09' fill='none'/%3E%3C/svg%3E");
  --iso-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='32.33'%3E%3Cpath d='M0 0L56 32.33M56 0L0 32.33M28 0V32.33' stroke='%23ffffff' stroke-opacity='.07' fill='none'/%3E%3C/svg%3E");
  --navy: #141414;
  --navy-deep: #0b0b0b;
  --blue: #141414;
  --blue-btn: #141414;
  --blue-light: #d9d9d6;
  --text: #2a2a2a;
  --gray: #8a8a86;
  --line: #d9d9d4;
  --bg: #f4f3ef;
  --bg-soft: #ebeae5;
  --m-black: #0e0e0e;
  --m-ink: #141414;
  --m-hair: rgba(20, 20, 20, .14);
  --m-hair-l: rgba(255, 255, 255, .16);
  --ph-call: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 60%, #9a9a9a 100%);
  --ph-build: linear-gradient(135deg, #111 0%, #3a3a3a 60%, #8a8a8a 100%);
  --ph-office: linear-gradient(120deg, #e6e5e0 0%, #bdbcb6 50%, #6e6e6a 100%);
  --ph-city: linear-gradient(160deg, #1b1b1b 0%, #4c4c4c 50%, #9a9a9a 100%);
  --ph-people: linear-gradient(135deg, #2a2a2a 0%, #6a6a6a 60%, #cfcfcf 100%);
  --ph-dark: linear-gradient(135deg, #0e0e0e 0%, #2e2e2e 100%);
}

body { background: var(--bg); color: var(--text); letter-spacing: .06em; counter-reset: sec; }
::selection { background: #141414; color: #fff; }

/* ---------- photos: monochrome, slow hover ---------- */
.ph::before { filter: grayscale(1); }
.ph img { filter: grayscale(1) contrast(1.06) brightness(.96); transition: transform 1.6s var(--ease), filter .8s; }
.logo__mark img { filter: grayscale(1) brightness(1.15); }

/* ---------- header ---------- */
.header { background: rgba(244, 243, 239, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--m-hair); }
.is-top .header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo__name { color: var(--m-ink); }
.logo__sub { letter-spacing: .2em; }
.gnav__link { font-weight: 500; font-size: 13px; letter-spacing: .14em; color: var(--m-ink); }
.gnav__link::after { height: 1px; background: currentColor; }
.gnav__btns .pill { min-height: 44px; padding: 0 22px; border-radius: 0; font-size: 12px; letter-spacing: .18em; background: var(--m-ink); color: #fff; box-shadow: none; }
.gnav__btns .pill--light { background: transparent; color: var(--m-ink); box-shadow: inset 0 0 0 1px var(--m-ink); }
.gnav__btns .pill:hover { background: #555; color: #fff; }
.is-top .header:not(.is-scrolled) .gnav__btns .pill { background: #fff; color: var(--m-ink); }
.is-top .header:not(.is-scrolled) .gnav__btns .pill--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
@media (max-width: 1080px) {
  .gnav { background: var(--m-black); }
  .gnav__link, .header.is-scrolled .gnav__link { font-size: 16px; color: #fff; }
  .header.is-menu .logo__img--dark { display: none; }
  .header.is-menu .logo__img--light { display: block; position: relative; z-index: 70; }
  .gnav__btns .pill, .is-top .header:not(.is-scrolled) .gnav__btns .pill { background: #fff; color: var(--m-ink); }
  .gnav__btns .pill--light, .is-top .header:not(.is-scrolled) .gnav__btns .pill--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; }
}

/* ---------- buttons → editorial text links with a long arrow ---------- */
.pill {
  min-height: 0; padding: 0 0 14px; gap: 56px; border-radius: 0;
  background: none; color: var(--m-ink); box-shadow: inset 0 -1px 0 currentColor;
  font-size: 13px; font-weight: 700; letter-spacing: .2em; transition: color .3s, gap .5s var(--ease);
}
.pill:hover { background: none; color: var(--m-ink); gap: 76px; }
.pill .arw { position: relative; width: 44px; height: 1px; font-size: 0; background: currentColor; }
.pill .arw::after { content: ""; position: absolute; right: 0; top: 0; width: 11px; height: 1px; background: currentColor; transform: rotate(35deg); transform-origin: right center; }
.pill:hover .arw { transform: none; }
.pill--white, .pill--light { color: #fff; background: none; }
.pill--white:hover, .pill--light:hover { color: #fff; background: none; }
.pill--lg { min-height: 0; padding: 0 0 16px; font-size: 14px; }
/* LINE: monochrome, with a small brand-green dot so it stays recognisable */
.pill--line { color: var(--m-ink); background: none; }
.pill { position: relative; }
.pill--line::before { content: ""; position: absolute; left: -20px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #06c755; }
.pill--line:hover { background: none; color: var(--m-ink); }
/* real boxed buttons where a box is expected */
.form .pill { min-height: 64px; padding: 0 40px; background: var(--m-ink); color: #fff; box-shadow: none; justify-content: space-between; min-width: 320px; }
.form .pill:hover { background: #3a3a3a; color: #fff; }
@media (max-width: 600px) { .form .pill { width: 100%; min-width: 0; } }

/* ---------- headings: numbered, condensed + italic serif ---------- */
.ttl { counter-increment: sec; }
.ttl::before {
  content: "(" counter(sec, decimal-leading-zero) ")";
  display: block; margin-bottom: 18px;
  font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 17px; letter-spacing: .04em; color: var(--gray);
}
.ttl--light::before { color: rgba(255, 255, 255, .55); }
.subhead .ttl { counter-increment: none; }
.subhead .ttl::before { content: "FRT co.,ltd — Page"; }
.ttl__en { font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: .92; color: var(--m-ink); }
.ttl--light .ttl__en { color: #fff; }
.ttl__ja { margin-top: 16px; font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--m-ink); display: flex; align-items: center; gap: 14px; }
.ttl__ja::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.ttl--light .ttl__ja { color: #fff; }
.lead-l { color: var(--m-ink); font-weight: 700; letter-spacing: .1em; }
.lead { color: var(--text); line-height: 2.3; }

/* sections: hairlines instead of colour blocks */
.sec { background: transparent; }
.sec--soft { background: var(--bg-soft); }
.sec > .wrap { position: relative; }

/* ---------- opening: monochrome photo, slow zoom ---------- */
.opening { background: var(--m-black); }
.opening::before {
  content: ""; position: absolute; inset: -4%;
  background: url("../img/photo/tile-business.webp") center / cover no-repeat;
  filter: grayscale(1) contrast(1.1) brightness(.45);
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
.opening::after { content: ""; position: absolute; inset: 0; background: var(--iso-light) 0 0 / 56px 32.33px, linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .55) 100%); }
.opening__grid, .opening__glow { display: none; }
.opening__mark { z-index: 1; width: clamp(240px, 34vw, 500px); opacity: 0; }
@keyframes markIn { from { opacity: 0; transform: translate(60px, -46%); } to { opacity: .22; transform: translate(0, -50%); } }
.opening__inner { z-index: 2; }
.opening__en { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: .01em; color: rgba(255, 255, 255, .85); }
.opening__catch { margin-top: 28px; font-style: normal; font-weight: 700; font-size: clamp(32px, 5.4vw, 76px); line-height: 1.35; letter-spacing: .04em; }
.opening__catch > span { transform: none; }
.opening__catch .hl { color: #fff; -webkit-text-stroke: 0; -webkit-background-clip: border-box; background-clip: border-box;
  background: linear-gradient(transparent 64%, rgba(255, 255, 255, .26) 64%, rgba(255, 255, 255, .26) 90%, transparent 90%); padding: 0 .04em; }
.opening__group { margin-top: 40px; font-family: var(--f-ja); font-weight: 500; font-size: 13px; letter-spacing: .24em; color: rgba(255, 255, 255, .75); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.opening__group span { font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .5); }
.opening__group::before { content: ""; width: 56px; height: 1px; background: currentColor; }
.opening__tate { z-index: 2; font-size: 13px; letter-spacing: .6em; color: rgba(255, 255, 255, .7); }
.opening__tate::before { content: ""; display: inline-block; width: 1px; height: 60px; margin-bottom: 18px; background: currentColor; }

/* ---------- words ---------- */
.words { background: var(--m-black); border-top: 1px solid var(--m-hair-l); }
.words__en { font-style: italic; color: rgba(255, 255, 255, .55); }
.words__ja { font-weight: 500; letter-spacing: .2em; }
.words__list { gap: 0; margin-top: 72px; border-top: 1px solid var(--m-hair-l); border-bottom: 1px solid var(--m-hair-l); }
.words__list a { flex: 1 1 220px; padding: 26px 16px; border: 0; font-family: "Oswald", sans-serif; letter-spacing: .14em; font-size: 18px; transition: background .4s, color .4s; }
.words__list a + a { border-left: 1px solid var(--m-hair-l); }
.words__list a span { display: block; margin: 6px 0 0; font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .55); }
.words__list a:hover { background: #fff; color: var(--m-ink); }
.words__list a:hover span { color: var(--gray); }
@media (max-width: 600px) { .words__list a + a { border-left: 0; border-top: 1px solid var(--m-hair-l); } }

/* ---------- tiles: caption bottom-left, no heavy frames ---------- */
.tile .ph::after { background: linear-gradient(0deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .2) 80%); }
.tile:hover .ph::after { background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .3) 85%); }
.tile:hover .ph img { transform: scale(1.05); filter: grayscale(.2) contrast(1.06); }
.tile__in { align-items: flex-start; justify-content: flex-end; text-align: left; padding: clamp(24px, 3vw, 40px); }
.dia { display: none; }
.tile__en { order: -1; margin: 0; font-family: "Oswald", sans-serif; font-weight: 500; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: .04em; }
.tile__ja { margin-top: 8px; font-size: 12px; letter-spacing: .24em; font-weight: 500; }
.tile__txt { margin-top: 14px; max-width: 440px; font-size: 14px; line-height: 1.9; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.tile__en, .tile__ja { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.tile__view { margin-top: 26px; min-width: 0; padding: 0 0 8px; border: 0; border-bottom: 1px solid #fff; font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .3em; }
.tile:hover .tile__view { background: none; color: #fff; }
.tiles--4 .tile__en { font-size: clamp(24px, 2.4vw, 34px); }

/* ---------- company band ---------- */
.band .ph::after { background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .2) 100%); }
.band__chev i { background: rgba(255, 255, 255, .14); opacity: 1 !important; }
.band__catch { font-weight: 500; letter-spacing: .2em; }

/* ---------- access ---------- */
.access__addr strong { color: var(--m-ink); letter-spacing: .14em; }
.access__map { border-color: var(--m-hair); }
.access__map iframe { filter: grayscale(1) contrast(1.05); }

/* ---------- recruit band ---------- */
.recruit::before { background: var(--m-black); }
.recruit__ph { box-shadow: none; }
.recruit__catch { font-weight: 500; letter-spacing: .16em; }

/* ---------- contact band / footer ---------- */
.contact-band { background: var(--m-black); border-top: 1px solid var(--m-hair-l); }
.contact-band .ttl__en { font-family: "Oswald", sans-serif; font-weight: 600; }
.contact-band__tel span { font-family: var(--f-serif); font-style: italic; font-weight: 500; }
.contact-band__form { border-top-color: var(--m-hair-l); }
.contact-band__form i { background: transparent; box-shadow: inset 0 0 0 1px #fff; }
.contact-band__form i::before { border-color: #fff; }
.contact-band__form:hover i { background: #fff; }
.contact-band__form:hover i::before { border-color: var(--m-ink); }
.marquee span { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16); }
.footer { background: var(--m-black); border-top: 1px solid var(--m-hair-l); }
.footer__nav h4 { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, .55); }
.footer__nav a { font-family: "Oswald", sans-serif; font-weight: 400; font-size: 20px; text-transform: uppercase; letter-spacing: .08em; }
.footer__nav a:hover { color: rgba(255, 255, 255, .6); }
.footer__big { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); }

/* ---------- sub pages ---------- */
.subhead {
  background-image: var(--iso-dark);
  background-size: 56px 32.33px; background-position: center bottom;
  -webkit-mask-image: none;
}
.crumb { font-family: "Oswald", sans-serif; letter-spacing: .2em; }
.outline__body { border-top: 1px solid var(--m-ink); padding-top: 32px; }
.profile { max-width: none; border-top: 1px solid var(--m-ink); }
.profile > div { grid-template-columns: 220px 1fr; border-color: var(--m-hair); padding: 30px 0; }
.profile dt { font-weight: 500; letter-spacing: .2em; color: var(--gray); }
.profile dd { color: var(--m-ink); }
.profile a { color: var(--m-ink); }
@media (max-width: 600px) { .profile > div { grid-template-columns: 1fr; } }
.values { background: var(--m-hair); border: 0; border-top: 1px solid var(--m-ink); border-bottom: 1px solid var(--m-ink); gap: 1px; }
.value { background: var(--bg-soft); padding: 44px 28px 48px; }
.value__no { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 52px; color: var(--m-ink); }
.value__en, .biz__en, .trade__en, .job__en, .biz__no { font-family: "Oswald", sans-serif; letter-spacing: .24em; color: var(--gray); }
.value__ttl, .biz__ttl, .trade__ttl, .job__ttl { color: var(--m-ink); font-weight: 700; }
.checks { border-top-color: var(--m-ink); }
.checks li { color: var(--m-ink); font-weight: 500; border-color: var(--m-hair); }
.checks li::before { border-color: var(--m-ink); }
.job { background: transparent; border: 0; border-top: 1px solid var(--m-ink); }
.job__body { padding: 24px 0 0; }
.persona li { background: transparent; border: 0; border-top: 1px solid var(--m-ink); padding: 26px 0; color: var(--m-ink); font-weight: 500; }
.persona li span { font-style: italic; color: var(--m-ink); font-size: 34px; }
.contact__box { background: var(--m-black); }
.contact__label { font-family: var(--f-serif); font-style: italic; letter-spacing: .08em; font-size: 18px; color: rgba(255, 255, 255, .6); }
.contact__box .pill { color: #fff; }
.contact__box + .contact__box { background: transparent; border: 1px solid var(--m-ink); }
.contact__box + .contact__box .contact__label { color: var(--gray); }
.contact__mail { color: var(--m-ink); }
.form { background: #fff; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--m-hair); }
.form__row > span { color: var(--m-ink); font-weight: 500; letter-spacing: .14em; }
.form__row em { border-radius: 0; background: var(--m-ink); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { border-radius: 0; background-color: transparent; border: 0; border-bottom: 1px solid var(--m-hair); padding-left: 2px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--m-ink); background-color: transparent; }
.form textarea { border: 1px solid var(--m-hair); padding: 14px; }
.form__agree a, .policy h2 { color: var(--m-ink); }
.policy h2 { font-weight: 700; letter-spacing: .14em; border-top: 1px solid var(--m-ink); padding-top: 18px; }

/* section numbers carry the cube icon */
.ttl::before { padding-left: 24px; background: url("../img/logo/frt-icon.svg") no-repeat left center / 13px auto; }
.ttl--light::before { background-image: url("../img/logo/frt-icon-white.svg"); opacity: .9; }
.subhead .ttl::before { background: none; padding-left: 0; }
/* isometric texture on the dark bands */
.contact-band, .footer { background-image: var(--iso-light); background-size: 56px 32.33px; }
.words { background-image: var(--iso-light); background-size: 56px 32.33px; }

/* entry form: iso texture, condensed title to match the rest of the site */
.entry { background-color: var(--m-black); background-image: var(--iso-light); background-size: 56px 32.33px; }
.entry__ttl { font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: .06em; }
.entry .form__hp { position: absolute; left: -9999px; }

/* news: editorial list with hairlines */
.news__list { border-top-color: var(--m-ink); }
.news__item a { border-bottom-color: var(--m-hair); padding: 28px 8px; transition: background .4s, padding .4s var(--ease); }
.news__item a:hover { background: transparent; padding-left: 20px; }
.news__date { font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .08em; color: var(--m-ink); }
.news__tag { border-radius: 0; border-color: var(--m-ink); color: var(--m-ink); font-weight: 500; letter-spacing: .12em; }
.news__title { color: var(--m-ink); }
.chev { border-width: 1px 1px 0 0; border-color: var(--m-ink); }
.news-filter button { border-color: var(--m-hair); font-family: "Oswald", var(--f-ja); }
.news-filter button.is-active { background: var(--m-ink); border-color: var(--m-ink); }
.article__ttl { color: var(--m-ink); border-bottom-color: var(--m-ink); }
.article__pager { border-top-color: var(--m-hair); }
.article__pg--list { border-color: var(--m-ink); font-family: "Oswald", var(--f-ja); }
