/**
 * Theme Name:        Double-O 1.0
 * Theme URI:
 * Description:       Custom theme description...
 * Version:           1.1.0
 * Author:            cyber-bridge
 * Author URI:        https://cyber-bridge.jp
 * Tags:              block-patterns, full-site-editing
 * Text Domain:       BE-Home
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */
@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: -webkit-fill-available;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, sans-serif;
  color: #0b0f19;
  background: #fff;
}

:root {
  --max-w: 1200px;
  --pad: clamp(16px, 3vw, 32px);
  --brand: #1e1c1d;
  --brand-hover: #5f1717;
  --ink: #0b0f19;
  --ink-weak: #445;
  --surface: #fff;
  --white: #ffffff;
  --black: #0b0f19;
  --shadow: 0 2px 12px rgba(16, 24, 40, 0.06);
  --radius: 16px;
  --water-mark: #ffffff12;
  --water-mark-text: clamp(50px, 15vw, 100px);
  --text-p: clamp(16px, 1.6vw, 16px);
}

a {
  color: inherit;
  text-decoration: none;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: normal;
  line-height: 1.3;
}

ol,
ul,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin-bottom: 15px;
  line-height: 1.5;
}

img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

figure {
  margin-bottom: 0;
}

.grecaptcha-badge {
  display: none !important;
}

.double-o-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/*@media (max-width: 370px) {*/
/*    .double-o-container {*/
/*        padding: 0 7px;*/
/*    }*/
/*}*/

.hero {
  position: relative;
  min-height: clamp(70vh, 92vh, 100vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("./assets/images/top-bg.webp") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.2) 0%,
    rgba(8, 12, 20, 0.45) 40%,
    rgba(8, 12, 20, 0.65) 70%,
    rgba(8, 12, 20, 0.72) 100%
  );
}

.double-o-hero {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(48px, 12vh, 120px);
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  font-size: 12px;
  margin-bottom: 10px;
}

.heading {
  font-weight: 900;
  line-height: 1.15;
  font-size: clamp(28px, 6vw, 64px);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25), 0 16px 40px rgba(0, 0, 0, 0.45);
}

.heading .br {
  display: block;
  height: 0.35em;
}

/* ===== Utilities ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.concept-hero {
  position: relative;
  color: var(--white);
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
.concept-hero-inn {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--brand);
  height: 100%;
  width: 100vw;
}

@media (min-width: 768px) {
  .concept-hero {
    background-attachment: fixed;
  }
}

.concept-wrap {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

.concept-panel {
  background: var(--brand);
  display: grid;
  gap: clamp(16px, 2vw, 30px);
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .concept-wrap {
    grid-template-columns: minmax(52vw, 0.58fr) 1fr;
  }
  .concept-hero-inn {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--brand);
    height: 100%;
    width: 50vw;
  }

  .concept-panel {
    grid-column: 1 / 2;
    min-height: 90vh;
    padding-top: clamp(24px, 5vw, 80px);
    padding-bottom: clamp(24px, 5vw, 80px);
    padding-left: 0px;
    padding-right: 10px;
  }

  .concept-left {
    width: 50vw;
  }
}

.concept-watermark {
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: var(--water-mark-text);
  color: var(--water-mark);
  line-height: 0.9;
  user-select: none;
  pointer-events: none;
  margin-bottom: clamp(6px, 1.5vw, 12px);
}

.concept-title {
  font-weight: bold;
  line-height: 1.2;
  font-size: clamp(28px, 4vw, 54px);
  letter-spacing: 0.04em;
  text-wrap: balance;
  margin-bottom: 30px;
}

.concept-panel p.concept__lead {
  margin: 0;
  line-height: 1.9;
  color: var(--white);
  font-size: var(--text-p);
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .concept-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(8, 12, 20, 0.75);
  }

  .concept-panel {
    position: relative;
    display: flex;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .concept-left {
    width: 100%;
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service {
  background: var(--brand);
  color: var(--white);
  padding: 70px 0;
}

/* Watermark behind content */
.service__watermark {
  position: relative;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: var(--water-mark-text);
  color: var(--water-mark);
  line-height: 0.9;
  user-select: none;
  pointer-events: none;
  margin-bottom: clamp(6px, 1.5vw, 12px);
}

.service__divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0,
    #ffffff1a 0%,
    #ffffff1a 80%,
    transparent 100%
  );
  margin-top: clamp(8px, 1.5vw, 14px);
  margin-bottom: clamp(24px, 6vw, 56px);
}

.service__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 64px);
}

.service__text {
  display: grid;
  align-content: start;
  gap: clamp(16px, 2.5vw, 24px);
}

.service__lead {
  margin: 0;
  font-size: var(--text-p);
  line-height: 1.9;
  color: var(--white);
}

.service__cta_wrap {
  display: flex;
}

.service__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(12px, 3vw, 24px);
  border: 1.5px solid var(--white);
  border-radius: 4px;
  padding: 14px 24px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.05s ease;
}

.service__cta:hover,
.service__cta:focus {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}

.scw-pc {
  display: block;
}

.scw-sp {
  display: none;
}

.service__cta:active {
  transform: translateY(1px);
}

.service__cta-icon {
  font-size: 0.9em;
}

.service__media {
  margin: 0;
  justify-self: end;
  width: min(768px, 100%);
  background: var(--brand);
}

.service__media img {
  display: block;
  width: 100%;
  height: auto;
}

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

  .scw-pc {
    display: none;
  }

  .scw-sp {
    display: block;
  }

  .service__media {
    justify-self: start;
  }
}

.about {
  background: var(--brand);
  color: var(--white);
  padding: 70px 0;
}

.about__marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0 4%,
    var(--black) 12% 88%,
    transparent 96% 100%
  );
  margin-bottom: clamp(8px, 2vw, 16px);
}

.about__track {
  display: flex;
  width: max-content;
  animation: about-marquee 28s linear infinite;
  will-change: transform;
}

.about__group {
  display: flex;
  gap: 6vw;
  padding-right: 6vw;
}

.about__word {
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: clamp(50px, 15vw, 100px);
  line-height: 0.9;
  color: var(--water-mark);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

@keyframes about-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about__track {
    animation: none;
    transform: translateX(-12vw);
  }
}

.about__heading {
  margin: 0;
  font-weight: 900;
  line-height: 1.2;
  font-size: clamp(28px, 3.8vw, 44px);
  letter-spacing: 0.04em;
  text-wrap: balance;
}

.about__copy {
  margin-top: clamp(12px, 2.2vw, 20px);
  display: grid;
  gap: clamp(8px, 1.8vw, 14px);
  max-width: 75ch;
}

.about__copy p {
  margin: 0;
  color: var(--white);
  line-height: 1.9;
  font-size: clamp(16px, 1.6vw, 16px);
}

.about__grid {
  margin-top: clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.2vw, 28px) clamp(20px, 4vw, 56px);
}

.about__card {
  margin: 0;
  background: var(--black);
}

.about__card img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .about__wrap {
    padding: clamp(24px, 6vw, 40px) clamp(16px, 4vw, 64px);
  }

  .about__heading {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.25;
    margin-top: clamp(8px, 2vw, 12px);
  }

  .about__copy {
    max-width: 100%;
    gap: 12px;
  }

  .about__copy p {
    font-size: clamp(15px, 4vw, 16px);
  }

  .about__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 4vw, 20px) clamp(12px, 4vw, 20px);
    margin-top: clamp(20px, 8vw, 36px);
  }
}

:root {
  --c-brand: #ffffff;
  --c-muted: #e9effa;
  --c-ink: #ffffff;
  --c-ink-weak: #f0f4ffcc;
  --c-bg-dark: #191818;
  --c-panel: #ffffff;
  --company-max: 1300px;
  --gap: clamp(16px, 3vw, 32px);
}

.company-hero {
  position: relative;
  color: var(--c-ink);
  background: url("./assets/images/top-bg.webp") center/cover no-repeat;
  background-attachment: fixed;
  padding: 50px 0;
}

@media (max-width: 900px) {
  .company-hero {
    background-attachment: scroll;
  }
}

.company-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 64, 120, 0.35);
  backdrop-filter: blur(2px);
}

.company-hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: 1.2fr 0.9fr;
  align-items: start;
}

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

.company-section-header {
  color: white;
  position: relative;
  z-index: 999;
}

.company-info__title {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: clamp(42px, 8vw, 96px);
  color: var(--c-muted);
}

.company-info__subtitle {
  margin: 0 0 18px;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--c-ink-weak);
}

.company-info__name {
  margin: 18px 0 8px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  color: #fff;
}

.company-info__brand {
  font-weight: 900;
}

.company-info__list {
  margin: 0;
}

.company-info__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.45);
}

.company-info__row:first-of-type {
  border-top: 1px dotted rgba(255, 255, 255, 0.45);
}

.company-info__row--wide {
  grid-template-columns: 120px 1fr;
}

.company-info__row dt {
  opacity: 0.9;
}

.company-info__row dd {
  margin: 0;
  opacity: 0.95;
}

@media (max-width: 520px) {
  .company-info__row {
    grid-template-columns: 90px 1fr;
  }
}

.company-map {
  justify-self: stretch;
  align-self: start;
  background: #eef3ff1a;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.company-map__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== CONTACT CARD ===== */
.contact-card {
  background: var(--brand);
  color: var(--black);
  padding: 50px 0;
}

.contact-card__panel {
  position: relative;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: clamp(18px, 4vw, 48px);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.contact-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(10px, 2vw, 16px);
}

.contact-card__heading {
  margin: 0 0 0.2em 0;
  font-weight: bold;
  letter-spacing: 0.08em;
  font-size: var(--water-mark-text);
  color: var(--black);
}

.contact-card__sub {
  margin: 0 0 0.4em 0;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--black);
  font-weight: 800;
}

.contact-card__lead p {
  margin: 0 0 1.2em 0;
  color: var(--black);
  line-height: 1.9;
  font-size: var(--text-p);
}

.contact-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--black);
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.05s ease;
}

.contact-card__cta:hover {
  background: var(--brand);
  border-color: var(--white);
  color: var(--white);
}

.contact-card__cta-icon {
  font-size: 0.9em;
}

.contact-card__decor {
  position: absolute;
  right: clamp(16px, 6vw, 72px);
  top: 3px;
  color: var(--black);
  font-weight: 900;
  pointer-events: none;
  user-select: none;
}
.contact-card__decor figure {
  height: clamp(380px, 50vw, 460px);
}
.contact-card__decor figure img {
  object-fit: contain;
}

.contact-card__decor span {
  font-size: clamp(40px, 8vw, 120px);
  transform: rotate(22deg);
  line-height: 0.9;
}

@media (min-width: 900px) {
  .contact-card__content {
    max-width: 58%;
  }
}

@media (max-width: 899px) {
  .contact-card__panel {
    padding: clamp(16px, 6vw, 28px);
  }
}

:root {
  --fg-gap: clamp(8px, 1.8vw, 14px);
  --fg-item-h: clamp(120px, 20vw, 220px);
  --mask-size: 1%;
  --footer-bg: #171616;
  --footer-ink: #fff;
  --footer-ink-weak: #e7e7e7;
  --footer-line: #2c2b2b;
  --footer-max: 1300px;
  --pad: clamp(16px, 4vw, 48px);
}

.footer-gallery {
  background: var(--brand);
}

.footer-gallery__row {
  position: relative;
  overflow: hidden;
  height: var(--fg-item-h);
  mask-image: linear-gradient(
    90deg,
    transparent 0 var(--mask-size),
    var(--brand) calc(var(--mask-size) + 1%),
    var(--brand) calc(100% - var(--mask-size) - 1%),
    transparent 100%
  );
  background: var(--brand);
}

.footer-gallery__row--bottom {
  border-top: 1px solid var(--brand);
}

.footer-gallery__track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: var(--fg-gap);
  will-change: transform;
}

.footer-gallery__item {
  flex: 0 0 auto;
  width: clamp(220px, 33vw, 420px);
  height: var(--fg-item-h);
  background: var(--black);
  overflow: hidden;
}

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

/* ===== Footer ===== */
.site-footer {
  background: var(--brand);
  color: var(--white);
  padding-top: 50px;
}

.site-footer__container {
  margin: 0 auto;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
}

@media (max-width: 900px) {
  .site-footer__container {
    grid-template-columns: 1fr;
  }
}

.site-footer__logo {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: bold;
  margin-bottom: 8px;
}

.site-footer__addr {
  font-style: normal;
  color: var(--white);
  margin: 0 0 10px;
  font-size: var(--text-p);
}

.site-footer__tel {
  color: var(--white);
  text-decoration: none;
  font-size: var(--text-p);
}

.site-footer__tel:hover {
  text-decoration: underline;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 24px;
  align-content: stretch;
  align-items: start;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--text-p);
}

.site-footer__links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  font-size: var(--text-p);
}

.site-footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.site-footer__policies {
  grid-column: 1 / -1;
  padding-top: 14px;
  padding-bottom: 16px;
  margin-top: 6px;
  border-top: 1px dotted var(var(--brand));
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--white);
  font-size: var(--text-p);
}

.site-footer__policies a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  font-size: var(--text-p);
}

.site-footer__policies a:hover {
  opacity: 1;
  text-decoration: underline;
}

.ext {
  font-size: var(--text-p);
  margin-left: 6px;
  opacity: 0.85;
}

.site-footer__copyright {
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  text-align: center;
  padding: 10px var(--pad);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.breadcrumb__list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb__item {
  color: #cfd6e4;
}

.breadcrumb__item a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.6;
}
.privacy__date{
  text-align: right;
}