/* 企業理念（page-philosophy.php だけで読み込む）。official.css とぶつかる .row は .prow にしている */
.creed{padding:150px 0 130px;text-align:center;position:relative;overflow:hidden}
.creed::before{content:"";position:absolute;left:50%;top:60px;width:640px;height:640px;margin-left:-320px;background-image:radial-gradient(rgba(29,149,212,.18) 1.3px,transparent 1.5px);background-size:18px 18px;border-radius:50%;-webkit-mask:radial-gradient(circle,#000 30%,transparent 70%);mask:radial-gradient(circle,#000 30%,transparent 70%)}
.creed .wrap{position:relative}
.creed .en{font-family:"Inter",sans-serif;font-weight:500;font-size:13px;letter-spacing:.12em;color:var(--blue)}
.creed .main{font-size:50px;font-weight:700;line-height:1.6;letter-spacing:.08em;margin:36px 0 8px}
.creed .main em{font-style:normal;color:var(--blue)}
.creed .sub{font-size:34px;font-weight:700;letter-spacing:.08em}
.creed .rule{width:1px;height:72px;background:var(--blue);margin:56px auto}
.creed h2{font-size:20px;font-weight:700;margin-bottom:16px}
.creed p{color:var(--sub);font-size:16px;line-height:2.1}
.creed .btn{margin-top:40px}

/* 交互の写真＋本文（写真は画面端まで） */
.prow{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;min-height:600px}
.prow .ph{background-size:cover;background-position:center;min-height:520px}
.prow .tx{display:flex;flex-direction:column;justify-content:center;padding:96px max(48px,calc((100vw - 1240px)/2 + 48px)) 96px 96px}
.prow.rev .ph{order:2}
.prow.rev .tx{padding:96px 96px 96px max(48px,calc((100vw - 1240px)/2 + 48px))}
.prow .n{font-family:"Inter";font-weight:300;font-size:64px;line-height:1;color:var(--blue)}
.prow .n small{font-size:12px;font-weight:500;letter-spacing:.14em;margin-left:14px;vertical-align:middle;color:#9aa4b1}
.prow h2{font-size:30px;font-weight:700;line-height:1.5;letter-spacing:.06em;margin:24px 0 20px}
.prow p{color:var(--sub);font-size:15px;line-height:2.1}
.prow .links{display:flex;gap:28px;align-items:center;flex-wrap:wrap;margin-top:40px}
.prow.blue{background:var(--blue);color:#fff}
.prow.blue .n,.prow.blue .n small{color:#fff}
.prow.blue p{color:rgba(255,255,255,.85)}
.prow.blue .textlink::after{color:#fff}
.greet{margin-top:28px;border-left:2px solid var(--blue);padding:4px 0 4px 24px}
.greet q{display:block;font-size:17px;font-weight:700;line-height:1.9;quotes:none}
.greet span{display:block;font-size:13px;color:var(--sub);margin-top:12px}
.greet span b{color:var(--ink);font-size:15px;margin-left:10px}

@media (max-width:900px){
  .creed{padding:88px 0 80px}
  .creed::before{width:420px;height:420px;margin-left:-210px}
  .creed .main{font-size:26px;margin-top:24px}
  .creed .sub{font-size:21px}
  .creed .rule{height:48px;margin:40px auto}
  .creed p{font-size:15px;text-align:left}
  .creed p br{display:none}
  .prow,.prow.rev{grid-template-columns:1fr;min-height:0}
  /* 写真は中身のない箱なので、高さは幅の比ではなく画面幅から決める（aspect-ratio だけだと高さ0になるブラウザがある） */
  .prow .ph,.prow.rev .ph{order:-1;min-height:0;height:75vw}
  .prow .tx,.prow.rev .tx{padding:48px 20px 72px}
  .prow .n{font-size:44px}
  .prow h2{font-size:23px;margin:16px 0 14px}
  .prow .links{margin-top:28px;gap:16px 24px}
}

/* 3つの宣言（現行サイトの会社概要から） */
.creed .decl-h{margin-top:48px}
.creed .decl{list-style:none;counter-reset:dc;max-width:760px;margin:0 auto 8px;padding:0;text-align:left}
.creed .decl li{--fs:16px;font-size:var(--fs);counter-increment:dc;position:relative;padding:18px 0 18px 56px;border-bottom:1px solid var(--line);font-weight:700;line-height:1.9}
/* 数字は1行目の文字の高さのまん中にそろえる（行の高さ 1.9 の1行目のまん中＝上の余白＋文字の大きさ×0.95） */
.creed .decl li::before{content:counter(dc);position:absolute;left:0;top:calc(18px + var(--fs) * .95);transform:translateY(-50%);font-family:"Inter";font-weight:300;font-size:34px;line-height:1;font-variant-numeric:tabular-nums;color:var(--blue)}
@media (max-width:900px){.creed .decl li{padding-left:44px;--fs:15px}.creed .decl li::before{font-size:28px}}
