/* ==============================
   基本設定・共通スタイル
============================== */
:root {
  --ink: #101722;
  --red: #e5484d;
  --line: #dfe2e5;
  --blue: #0a2744;
  --pad: max(6vw,24px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Helvetica Neue","Noto Sans JP","Yu Gothic",sans-serif;
  background: #fff;
}

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

button,input,textarea {
  font: inherit;
}

/* ==============================
   ヘッダー・ナビゲーション
============================== */
.header {
  height: 106px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.96);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo img{
  width:160px;
}

.logo-mark {
  width: 54px;
  height: 54px;
  border: 5px solid #cc4248;
  color: #cc4248;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.logo b {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.logo small {
  display: block;
  font-size: 11px;
  letter-spacing: .27em;
  font-weight: 800;
  margin-top: 6px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 14px;
  font-weight: 700;
}

.global-nav a {
  transition: .2s;
}

.global-nav a:hover {
  color: var(--red);
}

.nav-contact {
  background: var(--ink);
  color: #fff!important;
  padding: 15px 22px;
  border-radius: 999px;
}

.menu-button {
  display: none;
  background: none;
  border: 0;
}

/* ==============================
   トップ：メインビジュアル
============================== */
.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  /*background: #f3f5f6;*/
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.slide.active {
  opacity: 1;
}

.slide-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.slide-art:after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 32%,rgba(255,255,255,.08) 70%);*/
}

.slide-1 .slide-art {
  background-image: url('../img/topslide1.jpg');
  background-position: center top;
}

.slide-2 .slide-art {
  background-image: url('../img/topslide2.jpg');
  background-position: center top;
  /*background: linear-gradient(125deg,#f8f6f2 0 48%,#9c242a 48% 70%,#222 70%);*/
}

.slide-3 .slide-art {
  background-image: url('../img/topslide3.jpg');
  background-position: center top;
  /*background: radial-gradient(circle at 75% 48%,#bbd5d5 0 12%,transparent 12%),linear-gradient(125deg,#fff 0 47%,#1a4b48 47% 70%,#e7c0af 70%);*/
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  top: 10%;
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfd3d8;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(45px,5vw,45px);
  line-height: 1.3;
  letter-spacing: .055em;
  margin: 28px 0;
}

.hero-copy>p {
  font-size: 17px;
  line-height: 2;
  max-width: 590px;
}

.slide-link {
  display: inline-flex;
  margin-top: 18px;
  border-bottom: 1px solid;
  padding: 8px 0;
  font-weight: 700;
}

.slider-dots {
  position: absolute;
  z-index: 5;
  left: var(--pad);
  bottom: 35px;
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 38px;
  height: 4px;
  border: 0;
  background: #b8bdc2;
  padding: 0;
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--red);
}

/* ==============================
   共通セクション
============================== */
.section {
  padding: 110px var(--pad);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 55px;
}

.title-line {
  display: flex;
  gap: 22px;
  align-items: end;
}

.title-line:before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  align-self: flex-start;
}

.title-line h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1;
}

.title-line span {
  font-size: 16px;
  font-weight: 700;
}

.more {
  font-weight: 700;
}

/* ==============================
   NEWS
============================== */
.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 135px 100px 1fr 25px;
  gap: 20px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  font-size: 14px;
  color: #555;
}

.tag {
  border: 1px solid #cdd2d7;
  border-radius: 999px;
  text-align: center;
  padding: 5px;
  font-size: 12px;
}

.news-item strong {
  font-size: 16px;
}

/* ==============================
   SERVICE
============================== */
.service {
  background: #f7f8f9;
}

.service-intro {
  line-height: 1.8;
  letter-spacing:2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 470px;
  transition: .3s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(19,38,55,.1);
}

.card-art {
  height: 235px;
  position: relative;
  overflow: hidden;
  background: #d9e4ec;
}
.card-art img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/*.card-art:before {
  content: "";
  position: absolute;
  width: 70%;
  height: 110%;
  right: -15%;
  top: -20%;
  border-radius: 50%;
  background: radial-gradient(circle at 40%,#edf7ff 0 12%,#2275ac 13% 30%,#0b2947 31% 60%,transparent 61%);
  transform: rotate(20deg);
}

.service-card:nth-child(2) .card-art {
  background: linear-gradient(135deg,#e5e3df,#fff 60%,#e2484d);
}

.service-card:nth-child(3) .card-art {
  background: linear-gradient(145deg,#c8dfeb,#fff 38%,#1f6090 39% 65%,#e9f3f5 66%);
}

.service-card:nth-child(4) .card-art {
  background: linear-gradient(135deg,#ded8ce,#fff 50%,#191919 51% 65%,#d6b56d 66%);
}*/

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 20px;
  margin: 0 0 16px;
}

.card-body p {
  font-size: 14px;
  line-height: 1.8;
  color: #4e545b;
}

.card-body b {
  margin-top: auto;
  font-size: 13px;
}

/* ==============================
   お問い合わせ導線
============================== */
.contact-band {
  min-height: 415px;
  padding: 80px var(--pad);
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(4, 17, 30, 0.92) 0%,
      rgba(4, 17, 30, 0.75) 32%,
      rgba(4, 17, 30, 0.15) 65%,
      rgba(4, 17, 30, 0.05) 100%
    ),
    url('../img/contact-bg.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-band:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#fff 1px,transparent 1px);
  background-size: 39px 39px;
  opacity: .1;
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.contact-band h2 {
  font-size: 50px;
  margin: 13px 0;
}

.contact-button {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  padding: 18px 34px;
  border-radius: 999px;
  margin-top: 15px;
  font-weight: 700;
}

/* ==============================
   フッター
============================== */
.footer {
  padding: 65px var(--pad) 30px;
}
footer .logo img{
  width:150px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.address {
  font-size: 14px;
  line-height: 1.8;
  /*margin-top: 35px;*/
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
}

.footer-banner {
  background: #eef0f2;
  padding: 28px 34px;
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-banner span,.footer-banner em {
  font-size: 11px;
  letter-spacing: .13em;
}

.footer-banner b {
  font-size: 21px;
  margin: 10px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding-top: 25px;
  color: #555;
}

.social {
  display: flex;
  gap: 20px;
}

.footer-bottom p {
  font-weight: 700;
}

/* ==============================
   下層ページ共通
============================== */
.page-hero {
  padding: 50px var(--pad);
  background: #f2f4f5;
}

.page-hero h1 {
  font-size: clamp(25px,2.5vw,50px);
  margin: 12px 0;
}

.page-content {
  padding: 90px var(--pad);
  max-width: 1200px;
  margin: auto;
}

.page-content h2 {
  font-size: 36px;
  margin: 0 0 28px;
}

.lead {
  font-size: 20px;
  line-height: 2;
  max-width: 760px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 60px;
}

.feature {
  border-top: 3px solid var(--ink);
  padding: 25px 5px;
}

.feature h3 {
  font-size: 22px;
}

.feature p {
  line-height: 1.8;
  color: #555;
}
.feature small{
  font-size:20px;
}

/* 制作実績 */
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}

.work {
  background: #f1f3f4;
  min-height: 300px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.work:nth-child(2) {
  background: #e8d7d2;
}

.work:nth-child(3) {
  background: #d8e7e5;
}

.work:nth-child(4) {
  background: #d5dfeb;
}

.work small {
  letter-spacing: .1em;
}

.work h3 {
  font-size: 26px;
}

/* お問い合わせフォーム */
.contact-form {
  display: grid;
  gap: 22px;
  max-width: 760px;
  margin-top: 45px;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,.contact-form textarea,.contact-form select {
  display: block;
  width: 100%;
  padding: 15px;
  border: 1px solid #bfc5ca;
  margin-top: 8px;
  background: #fff;
}

.contact-form textarea {
  height: 180px;
}

.submit {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 18px 40px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.thanks {
  text-align: center;
  padding: 150px var(--pad);
}

.thanks h1 {
  font-size: 48px;
}

.thanks p {
  line-height: 2;
}

.thanks a {
  display: inline-block;
  margin-top: 25px;
  border-bottom: 1px solid;
}

.hidden {
  display: none!important;
}

/* ==============================
   タブレット・スマートフォン
============================== */
@media (max-width: 980px) {
  .header {
    height: 78px;
    padding: 0 15px;
  }
  .logo-mark {
    width: 43px;
    height: 43px;
    font-size: 24px;
    border-width: 4px;
  }

  .logo b {
    font-size: 21px;
  }

  .logo small {
    font-size: 9px;
  }
   .logo img{
    width:150px;
   }

  .menu-button {
    display: block;
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 2;
  }

  .menu-button i {
    position: absolute;
    left: 8px;
    width: 30px;
    height: 2px;
    background: var(--ink);
    transform-origin: center;
    transition:
      top 0.35s ease,
      transform 0.35s ease,
      opacity 0.25s ease;
  }

  .menu-button i:first-child {
    top: 18px;
  }

  .menu-button i:last-child {
    top: 29px;
  }

  /* メニューが開いたとき、2本線を「×」にする */
  .menu-button.active i:first-child {
    top: 23px;
    transform: rotate(45deg);
  }

  .menu-button.active i:last-child {
    top: 23px;
    transform: rotate(-45deg);
  }

  .global-nav {
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 35px var(--pad);
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    box-shadow: 0 16px 35px rgba(16,23,34,.08);
    transition:
      opacity 0.35s ease,
      transform 0.45s ease,
      visibility 0s linear 0.45s;
  }

  .global-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .global-nav a br {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    top: 0%;
    right: var(--pad);
  }

  .hero h1 {
    font-size: 25px;
    margin: 22px 0;
  }

  .hero-copy>p {
    font-size: 15px;
    line-height: 1.8;
  }

  .slide-art {
    top: 50px;
    background-position: 65% top!important;
  }

  .slide-art:after {
    background: linear-gradient(#fff 0%,rgba(255,255,255,.92) 7%,transparent 45%);
  }

  .slider-dots {
    bottom: 20px;
  }

  .section {
    padding: 75px var(--pad);
  }

  .section-head {
    align-items: flex-start;
  }

  .title-line h2 {
    font-size: 42px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-banner {
    max-width: 520px;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }

  .footer-bottom p {
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

}

/* ==============================
   スマートフォン
============================== */
@media (max-width: 600px) {
  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero-copy>p {
    display: none;
  }

  .eyebrow{
  display:none;
}

  .slide-link {
    margin-top: 0;
  }

  .slide-art {
    top: 50px;
  }

  .section-head {
    display: block;
  }

  .section-head .more {
    display: inline-block;
    margin-top: 25px;
  }

  .title-line {
    display: block;
  }

  .title-line:before {
    display: block;
    margin-bottom: 18px;
  }

  .title-line span {
    display: block;
    margin-top: 10px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 390px;
  }

  .card-art {
    height: 190px;
  }

  .news-item {
    grid-template-columns: 90px 80px 1fr;
    gap: 10px;
  }

  .news-item strong {
    grid-column: 1/-1;
  }

  .news-item>span:last-child {
    display: none;
  }

  .contact-band h2 {
    font-size: 25px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
   .footer-nav br{
    display:none;
   }

  .page-hero {
    padding-top: 65px;
  }

  .page-content {
    padding-top: 65px;
  }

  .works-grid {
    gap: 16px;
  }

  .card-body h3 {
  font-size: 18px;
}
.footer {
    padding: 30px var(--pad) 30px;
}

}
@media(min-width:980px){
  .slide-3{
    color:#FFF;
  }
}


/* Contact Form 7 */
.contact-form-wrap .wpcf7-form { display:grid; gap:24px; }
.contact-form-wrap .wpcf7-form p { margin:0; }
.contact-form-wrap .wpcf7-form label { display:grid; gap:10px; font-weight:700; }
.contact-form-wrap .wpcf7-form input:not([type=submit]), .contact-form-wrap .wpcf7-form select, .contact-form-wrap .wpcf7-form textarea { width:100%; box-sizing:border-box; padding:15px 16px; border:1px solid #d7d7d7; background:#fff; font:inherit; }
.contact-form-wrap .wpcf7-form textarea { min-height:180px; resize:vertical; }
.contact-form-wrap .wpcf7-submit { border:0; cursor:pointer; }
.contact-setup-note { padding:20px; background:#f5f5f5; }


/* =========================================================
   CONTACT FORM 7
   ========================================================= */

.ninomaru-form {
  margin-top: 50px;
}

.ninomaru-form .form-row {
  /*margin-bottom: 34px;*/
}

.ninomaru-form .form-row > label {
  display: block;
}

.ninomaru-form .form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;

  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #111;
}

.ninomaru-form .required {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 3px 7px;

  border-radius: 3px;
  background: #111;
  color: #fff;

  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}


/* CF7が自動生成するラッパー */

.ninomaru-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}


/* INPUT / SELECT / TEXTAREA */

.ninomaru-form input[type="text"],
.ninomaru-form input[type="email"],
.ninomaru-form input[type="tel"],
.ninomaru-form select,
.ninomaru-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;

  padding: 15px 16px;

  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;

  color: #111;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;

  outline: none;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.ninomaru-form input[type="text"],
.ninomaru-form input[type="email"],
.ninomaru-form input[type="tel"],
.ninomaru-form select {
  min-height: 54px;
}

.ninomaru-form textarea {
  min-height: 220px;
  resize: vertical;
}

.ninomaru-form input:focus,
.ninomaru-form select:focus,
.ninomaru-form textarea:focus {
  border-color: #111;
}


/* placeholder */

.ninomaru-form ::placeholder {
  color: #aaa;
  opacity: 1;
}


/* ---------------------------------------------------------
   PRIVACY
   --------------------------------------------------------- */

.ninomaru-form .form-privacy {
  margin: 10px 0 35px;
}

.ninomaru-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.ninomaru-form .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
}

.ninomaru-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;

  accent-color: #111;
}

.ninomaru-form .form-privacy a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ---------------------------------------------------------
   SUBMIT
   --------------------------------------------------------- */

.ninomaru-form .form-submit {
  margin-top: 40px;
}

.ninomaru-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 240px;
  min-height: 60px;
  padding: 16px 40px;

  border: 1px solid #111;
  border-radius: 999px;

  background: #111;
  color: #fff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;

  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.ninomaru-form input[type="submit"]:hover {
  background: #fff;
  color: #111;
}


/* CF7 spinner */

.ninomaru-form .wpcf7-spinner {
  vertical-align: middle;
}


/* ---------------------------------------------------------
   VALIDATION
   --------------------------------------------------------- */

.ninomaru-form .wpcf7-not-valid-tip {
  margin-top: 7px;

  font-size: 12px;
  line-height: 1.5;
}

.ninomaru-form .wpcf7-response-output {
  margin: 30px 0 0 !important;
  padding: 15px 18px !important;

  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .ninomaru-form {
    margin-top: 40px;
  }

  .ninomaru-form .form-row {
    margin-bottom: 28px;
  }

  .ninomaru-form input[type="text"],
  .ninomaru-form input[type="email"],
  .ninomaru-form input[type="tel"],
  .ninomaru-form select,
  .ninomaru-form textarea {
    font-size: 16px;
  }

  .ninomaru-form textarea {
    min-height: 180px;
  }

  .ninomaru-form .form-submit {
    margin-top: 30px;
  }

  .ninomaru-form input[type="submit"] {
    width: 100%;
  }

}
/* JP / EN language switch */
.language-switch{display:flex;align-items:center;gap:7px;margin-left:4px;font-size:12px;letter-spacing:.12em;white-space:nowrap}
.language-switch a{opacity:.45;text-decoration:none}
.language-switch a.is-current{opacity:1;font-weight:700}
.language-switch i{font-style:normal;opacity:.3}
@media(max-width:980px){.language-switch{margin:14px 0 0;font-size:13px}.language-switch a{display:inline-block}}
