@charset "UTF-8";

/* ======================
    General Setting
====================== */

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-size: 16px;
  font-family:
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
  line-height: 1.8em;
}

/* Common heading with an accent bar */
.heading-accent {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
}

.heading-accent::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 24px;
  background: #0785c4;
}

@media only screen and (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.6em;
  }
}

/* ======================
   PAGE TITLE
====================== */
.page-main {
  padding-top: 80px;
  background: #fff;
}

.breadcrumb {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 25px;
  background: #fff;
  box-sizing: border-box;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #000;
  font-size: 16px;
  line-height: 1.4;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: ">";
  margin: 0 5px;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #058bd3;
  text-decoration: none;
}

.page-hero {
  min-height: 468px;
  display: flex;
  align-items: center;
  background-color: #edf2f5;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.page-hero--media {
  background-image: url("../images/pagetitle_01.jpg");
}

.page-hero--print {
  background-image: url("../images/pagetitle_02.jpg");
}

.page-hero--event {
  background-image: url("../images/pagetitle_03.jpg");
}

.page-hero--creative {
  background-image: url("../images/pagetitle_04.jpg");
}

.page-hero--app-dev {
  background-image: url("../images/pagetitle_05.jpg");
}

.page-hero--lifestyle {
  background-image: url("../images/pagetitle_06.jpg");
}

.page-hero--own-media {
  background-image: url("../images/pagetitle_07.jpg");
}

.page-hero--real-estate {
  background-image: url("../images/pagetitle_08.jpg");
}

.page-hero--works {
  background-image: url("../images/works-BG.jpg");
}


.page-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
}

.page-hero h1 {
  margin: 0 0 27px;
  color: #000;
  font-size: 52px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0;
}

.page-hero-lead {
  margin: 0 0 19px;
  color: #000;
  font-size: 22px;
  line-height: 1.55;
}

.page-hero-text {
  margin: 0;
  color: #000;
  font-size: 16px;
  line-height: 1.9;
}

.page-hero-sp-image {
  display: none;
}

.company-page-title {
  padding: 40px 0 35px;
  background: #fff;
}

.company-page-title-inner {
  position: relative;
  width: min(1180px, calc(100% - 110px));
  min-height: 340px;
  margin: 0 auto;
}

.company-page-title-panel {
  position: absolute;
  top: 96px;
  left: 0;
  z-index: 1;
  width: calc(50% + 80px);
  min-height: 148px;
  padding: 34px 47px;
  box-sizing: border-box;
  background: #0785c4;
  color: #fff;
}

.company-page-title-panel h1 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: bold;
  line-height: 1.15;
  letter-spacing: 0;
}

.company-page-title-panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.company-page-title-image {
  width: calc(50% + 80px);
  height: 340px;
  margin-left: auto;
  overflow: hidden;
}

.company-page-title-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-message {
  min-height: 760px;
  padding: 86px 0 90px;
  box-sizing: border-box;
  background-color: #fff;
  background-image: url("../images/company_01_bg.webp");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}

.company-message--plain {
  background-image: none;
}

.company-message-inner {
  width: min(1180px, calc(100% - 110px));
  margin: 0 auto;
  color: #000;
}

.company-message h2 {
  margin: 0 0 52px;
  font-size: 34px;
  font-weight: bold;
  line-height: 1.25;
  letter-spacing: 0;
}

.company-message-lead {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.6;
}

.company-message-body {
  width: min(640px, 52%);
}

.company-message-body p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.9;
}

.company-message-signature {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.75;
}

.company-photo {
  padding: 0 0 80px;
  background: #fff;
}

.company-photo-inner {
  width: min(1180px, calc(100% - 110px));
  margin: 0 auto;
}

.company-photo img {
  display: block;
  width: auto;
  height: auto;
  margin: auto;
}

.company-photo p {
  margin: 12px 0 0;
  color: #000;
  line-height: 1.5;
  text-align: center;
}

/* Company overview / history */
.company-overview-page {
  padding: 0 0 90px;
}

.company-overview-inner {
  width: 100%;
}

.company-brand-story {
  width: min(1180px, calc(100% - 110px));
  margin: 0 auto;
  padding: 82px 0 88px;
  color: #000;
  text-align: center;
}

.company-brand-story h2 {
  margin: 0 0 40px;
  font-size: 38px;
  font-weight: bold;
  line-height: 1.35;
}

.company-brand-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

.company-brand-logos {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 72px;
  margin-top: 56px;
}

.company-brand-logo--vertical {
  display: block;
  width: 280px;
  height: auto;
}

.company-brand-logo-wide {
  position: relative;
  display: block;
  width: 360px;
  height: 89px;
  margin-bottom: 26px;
  overflow: hidden;
}

.company-brand-logo-wide img {
  position: absolute;
  top: -101px;
  left: 0;
  display: block;
  width: 360px;
  height: auto;
}

.company-overview-heading {
  padding: 22px 20px 24px;
  background: #000;
  color: #fff;
  text-align: center;
}

.company-overview-heading h2 {
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
}

.company-overview-heading p {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.company-overview-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  width: min(1180px, calc(100% - 110px));
  margin: 0 auto;
  padding: 64px 0 82px;
}

.company-profile-table {
  width: 100%;
  border-collapse: collapse;
  color: #000;
  font-size: 16px;
  line-height: 1.65;
}

.company-profile-table th,
.company-profile-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #bbb;
  text-align: left;
  vertical-align: top;
}

.company-profile-table th {
  width: 22%;
  padding-left: 0;
  white-space: nowrap;
  font-weight: normal;
}

.company-profile-table td {
  padding-right: 0;
}

.company-address {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.company-address + .company-address {
  margin-top: 24px;
}

.company-address strong {
  margin-bottom: 5px;
}

.company-address .arrow-link {
  margin-top: 10px;
}

.company-office-photos figure {
  margin: 0;
}

.company-office-photos figure + figure {
  margin-top: 44px;
}

.company-office-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 580 / 360;
  object-fit: cover;
}

.company-office-photos figcaption {
  margin-top: 10px;
  color: #000;
  font-size: 14px;
  line-height: 1.5;
}

.company-history-list {
  width: min(1080px, calc(100% - 110px));
  margin: 0 auto;
  padding: 64px 0 0;
  color: #000;
  font-size: 15px;
  line-height: 1.65;
}

.company-history-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 7px 0;
}

.company-history-list dt {
  font-weight: bold;
  white-space: nowrap;
}

.company-history-list dd {
  margin: 0;
}

.company-history-list a {
  color: #0785c4;
  font-weight: bold;
  text-decoration: none;
}

.company-history-list a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  background: url("../images/blank_gray.svg") center / contain no-repeat;
  vertical-align: -2px;
}

.company-history-list a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .page-main {
    padding-top: 70px;
  }

  .breadcrumb {
    min-height: 48px;
    height: auto;
    padding: 11px 16px;
  }

  .breadcrumb ol {
    font-size: 16px;
  }

  .page-hero {
    min-height: 0;
    align-items: flex-start;
    background-image: none;
  }

  .page-hero.page-hero--works {
    display:none;
  }

  .page-hero-inner {
    padding: 44px 24px 0;
    background: transparent;
  }

  .page-hero h1 {
    margin-bottom: 22px;
    font-size: 38px;
  }

  .page-hero-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .page-hero-text {
    font-size: 16px;
    line-height: 1.85;
  }

  .page-hero-sp-image {
    display: block;
    width: calc(100% + 48px);
    max-width: none;
    margin: 28px -24px 0;
    height: auto;
  }

  .company-page-title {
    padding: 20px 0;
  }

  .company-page-title-inner {
    width: 100%;
    min-height: clamp(250px, 42vw, 330px);
  }

  .company-page-title-panel {
    position: absolute;
    top: clamp(32px, 9.5vw, 85px);
    left: clamp(16px, 4vw, 36px);
    width: min(58vw, 360px);
    min-height: clamp(118px, 20vw, 170px);
    margin: 0;
    padding: clamp(22px, 4.8vw, 38px) clamp(22px, 4.8vw, 38px);
  }

  .company-page-title-panel h1 {
    margin-bottom: clamp(8px, 1.8vw, 16px);
    font-size: 28px;
  }

  .company-page-title-panel p {
    font-size: clamp(16px, 2.8vw, 22px);
  }

  .company-page-title-image {
    width: min(62vw, 548px);
    height: clamp(220px, 38vw, 290px);
    margin: 0 clamp(28px, 5vw, 44px) 0 auto;
  }

  .company-page-title-image img {
    height: 100%;
    aspect-ratio: auto;
  }

  .company-message {
    min-height: 0;
    padding: 0 0 54px 0;
    background-image: none;
  }

  .company-message-inner {
    width: calc(100% - 32px);
  }

  .company-message h2 {
    margin-bottom: 34px;
    font-size: 28px;
  }

  .company-message-lead {
    margin-bottom: 20px;
    font-size: 17px;
  }

  .company-message-body {
    width: 100%;
  }

  .company-message-body p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.85;
  }

  .company-message-signature {
    font-size: 16px;
  }

  .company-photo {
    padding-bottom: 52px;
  }

  .company-photo-inner {
    width: calc(100% - 32px);
  }

  .company-photo p {
    text-align: left;
  }

  .company-overview-inner {
    width: 100%;
  }

  .company-brand-story {
    width: calc(100% - 32px);
    padding: 52px 0 58px;
    text-align: left;
  }

  .company-brand-story h2 {
    margin-bottom: 28px;
    font-size: 28px;
    text-align: center;
  }

  .company-brand-copy p {
    font-size: 15px;
    line-height: 1.9;
  }

  .company-brand-copy br {
    display: none;
  }

  .company-brand-logos {
    align-items: center;
    flex-direction: column;
    gap: 38px;
    margin-top: 40px;
  }

  .company-brand-logo--vertical {
    width: min(250px, 82vw);
  }

  .company-brand-logo-wide {
    width: min(320px, 88vw);
    height: min(79px, 21.7vw);
    margin-bottom: 0;
  }

  .company-brand-logo-wide img {
    top: max(-90px, -24.7vw);
    width: min(320px, 88vw);
  }

  .company-overview-heading {
    padding: 18px 16px 20px;
  }

  .company-overview-heading h2 {
    margin-bottom: 5px;
    font-size: 30px;
  }

  .company-overview-heading p {
    font-size: 15px;
  }

  .company-overview-content {
    grid-template-columns: 1fr;
    gap: 42px;
    width: calc(100% - 32px);
    padding: 42px 0 52px;
  }

  .company-profile-table {
    font-size: 14px;
  }

  .company-profile-table th,
  .company-profile-table td {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .company-profile-table th {
    width: 74px;
    padding-right: 10px;
  }

  .company-profile-table td {
    padding-left: 10px;
  }

  .company-office-photos figure + figure {
    margin-top: 30px;
  }

  .company-history-list {
    width: calc(100% - 32px);
    padding-top: 42px;
    font-size: 14px;
  }

  .company-history-list > div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
  }
}

/* ======================
   SERVICE DETAIL
====================== */
.service-detail {
  padding: 58px 0 72px;
  background: #fff;
}

.service-detail-inner {
  width: min(1180px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  gap: 40px;
}

.service-detail-title {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 10px solid #000;
}

.service-detail-title h2 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.service-detail-title span {
  font-size: 16px;
  line-height: 1.2;
}

.service-detail-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-nav li {
  border-bottom: 3px solid #d7d7d7;
}

.service-detail-nav a {
  display: block;
  padding: 14px 18px;
  color: #000;
  font-size: 16px;
  line-height: 1.55;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.service-detail-nav a:hover,
.service-detail-nav a[aria-current="page"] {
  background: #f5f5f5;
  color: #000;
  text-decoration: none;
}

.service-detail-line {
  height: 9px;
  margin: 50px 0 32px;
  background: #d8d8d8;
}

.service-detail-copy {
  margin: 0 0 34px;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.6em;
}

.creative-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 52px;
}

.creative-service-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px 8px 38px;
  border-top: 2px solid #d3d3d3;
}

.creative-service-item h2 {
  margin-bottom: 14px;
}

.creative-service-item p,
.creative-service-item li {
  font-size: 16px;
  line-height: 1.85;
}

.creative-service-item p {
  margin: 0;
}

.creative-service-item > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 32px auto 0;
}

.creative-service-item--wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  align-items: center;
  padding-top: 30px;
}

.creative-service-item--wide > img {
  margin: 0 auto;
}

.creative-service-item--video {
  align-items: start;
}

.creative-service-item h3 {
  margin: 12px 0 4px;
  font-size: 16px;
  line-height: 1.85;
}

.creative-service-item ul {
  margin: 0;
  padding-left: 1.2em;
  list-style: disc;
}

.event-achievements {
  margin-top: 52px;
}

.event-achievements-title {
  margin-bottom: 30px;
}

.event-achievement {
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.event-achievement + .event-achievement {
  margin-top: 54px;
}

.event-achievement > img {
  display: block;
  width: 100%;
  aspect-ratio: 322 / 201;
  object-fit: cover;
}

.event-achievement-content {
  padding-top: 18px;
  border-top: 2px solid #d3d3d3;
}

.event-achievement-content h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.45;
}

.event-achievement-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

.event-partial-support {
  margin-top: 64px;
}

.event-partial-support-title {
  margin-bottom: 24px;
}

.event-partial-support-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 48px;
  align-items: start;
}

.event-partial-support-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

.event-partial-support-body img {
  display: block;
  width: 100%;
  height: auto;
}

.lifestyle-service-overview {
  display: grid;
  gap: 54px;
}

.lifestyle-service-section h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.lifestyle-service-section p,
.lifestyle-service-list {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

.lifestyle-service-list {
  padding: 0;
  list-style: none;
}

.lifestyle-service-list li::before {
  content: "・";
}

.lifestyle-brands h2 {
  margin-bottom: 30px;
}

.lifestyle-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 46px;
}

.lifestyle-brand-card {
  display: flex;
  min-width: 0;
  min-height: 385px;
  flex-direction: column;
  padding: 25px 28px 24px;
  border: 1px solid #aaa;
  box-sizing: border-box;
}

.lifestyle-brand-card > img {
  display: block;
  width: 100%;
  height: auto;
}

.lifestyle-brand-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.lifestyle-brand-card h3 {
  margin: 22px 0 12px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}

.lifestyle-brand-card p {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.85;
}

.lifestyle-brand-card h3 + p {
  margin-top: 0;
}

.lifestyle-brand-card .arrow-link {
  margin-top: auto;
  font-size: 15px;
  font-weight: bold;
}

.own-media-sections {
  display: grid;
  gap: 62px;
}

.own-media-section > h2 {
  margin-bottom: 42px;
  font-size: 22px;
}

.own-media-logo {
  display: block;
  width: min(360px, 65%);
  height: auto;
  margin-bottom: 24px;
}

.own-media-banner {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.own-media-item h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}

.own-media-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.own-media-youtube-list {
  display: grid;
  gap: 74px;
}

.own-media-item .arrow-link {
  margin-top: 18px;
  font-size: 15px;
  font-weight: bold;
}

.real-estate-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: 46px;
  align-items: start;
}

.real-estate-overview-content > h2 {
  margin: 8px 0 42px;
  font-size: 38px;
  font-weight: bold;
  line-height: 1.25;
}

.real-estate-overview-content > h3,
.real-estate-facilities > h2 {
  margin-bottom: 30px;
  font-size: 22px;
}

.real-estate-summary {
  display: grid;
  gap: 28px;
}

.real-estate-summary h4,
.real-estate-facility h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.45;
}

.real-estate-summary p,
.real-estate-facilities-lead,
.real-estate-facility p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.real-estate-exterior {
  display: block;
  width: 100%;
  height: auto;
}

.real-estate-facilities {
  margin-top: 56px;
}

.real-estate-facilities-lead {
  margin-bottom: 34px;
}

.real-estate-facility-list {
  display: grid;
  gap: 52px;
}

.real-estate-facility {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  align-items: start;
}

.real-estate-facility > img {
  display: block;
  width: 100%;
  aspect-ratio: 1611 / 1080;
  object-fit: cover;
}

.real-estate-facility > div {
  padding-top: 2px;
}

.real-estate-facility--reverse > img {
  order: 2;
}

.real-estate-property-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 76px;
  padding-top: 38px;
  border-top: 8px solid #eee;
}

.real-estate-property-link > img {
  display: block;
  width: min(390px, 80%);
  height: auto;
}

.real-estate-property-link > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 46px;
  margin-top: 24px;
  padding: 8px 28px;
  border-radius: 999px;
  box-sizing: border-box;
  background: #0789c8;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.3s;
}

.real-estate-property-link > a img {
  display: block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
}

.real-estate-property-link > a:hover {
  background: #005f95;
  text-decoration: none;
}

.media-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 62px;
}

.media-service-card {
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid #d3d3d3;
}

.media-service-card h3 {
  margin: 0 0 14px;
  padding: 0;
  color: #000;
  font-size: 22px;
}

.media-service-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 18px;
  align-items: center;
}

.media-service-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.media-icon {
  display: block;
  justify-self: center;
  width: 100px;
  height: auto;
}

.print-service-section,
.app-dev-service-section {
  position: relative;
  isolation: isolate;
  color: #000;
}

.print-service-main,
.app-dev-service-main {
  min-height: 515px;
  padding: 0 20% 46px 0;
  box-sizing: border-box;
}

.print-service-section::before,
.app-dev-service-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc((min(1180px, 94vw) - 100vw) / 2);
  bottom: 0;
  left: 0;
  background:
    linear-gradient(
      90deg,
      #fff 0%,
      #fff 38%,
      rgba(255, 255, 255, 0.76) 56%,
      rgba(255, 255, 255, 0) 78%
    ),
    url("../images/service-02_image.png") right top / contain no-repeat;
}

.app-dev-service-section::before {
  background:
    linear-gradient(
      90deg,
      #fff 0%,
      #fff 38%,
      rgba(255, 255, 255, 0.76) 56%,
      rgba(255, 255, 255, 0) 78%
    ),
    url("../images/service-05_image.png") right top / contain no-repeat;
}

.print-service-main h3,
.app-dev-service-main h3 {
  margin: 0 0 48px;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.8;
}

.print-service-list,
.app-dev-service-list {
  display: grid;
  gap: 34px;
}

.print-service-list article,
.app-dev-service-list article {
  min-width: 0;
}

.print-service-list h4,
.app-dev-service-list h4 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.45;
}

.print-service-list p,
.app-dev-service-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

.print-service-request {
  margin-top: 10px;
}

.print-service-request h3 {
  margin: 0 0 28px;
  padding: 14px 0 0;
  border-top: 5px solid #aaa;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.35;
}

.print-service-request p {
  margin: 0 0 42px;
  font-size: 18px;
  font-weight: bold;
  line-height: 2;
}

.print-service-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.print-service-steps li {
  position: relative;
  min-width: 0;
  padding: 24px 8px 18px 46px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.85;
}

.print-service-steps li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 23px;
  height: 35px;
  background: url("../images/check.svg") center / contain no-repeat;
}

/* ======================
   SERVICE WORKS
====================== */
.service-works {
  padding: 0 0 90px;
  background: #fff;
}
.service-works {
  padding: 58px 0 72px;
}

.service-works-inner {
  width: min(1180px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  gap: 40px;
}

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

.service-works-inner--related .service-works-main {
  padding-top: 0;
}

.service-works-title {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 8px solid #000;
}

.service-works-title h2 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.service-works-title span {
  font-size: 16px;
  line-height: 1.2;
}

.service-works-title-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  /*border-bottom: 8px solid #000;*/
}

.service-works-title-main h2 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.service-works-title-main span {
  font-size: 16px;
  line-height: 1.2;
}

.service-works-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.6;
}

.service-works-line {
  height: 8px;
  margin: 0 0 30px;
  background: #d8d8d8;
}

.service-works-main {
  /* padding-top: 54px; */
}

.service-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.service-works-card {
  display: block;
  min-width: 0;
  border: 1px solid #eee;
  background: #f4f4f4;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}


.service-works-card:hover {
  opacity: 0.8;
  text-decoration: none;
}

.service-works-card-media {
  position: relative;
  aspect-ratio: 270 / 170;
  overflow: hidden;
  background: #f4f4f4;
}

.service-works-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /*object-position: center;*/
  object-position: top;
}

.service-works-card-text {
  min-height: 70px;
  padding: 14px 12px;
  box-sizing: border-box;
  background: #f4f4f4;
}

.service-works-card-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

@media only screen and (max-width: 768px) {
  .service-detail {
    padding: 42px 0 56px;
  }

  .service-detail-inner {
    display: block;
    width: min(100% - 32px, 640px);
  }

  .service-detail-nav {
    display: none;
  }

  .service-detail-line {
    display: none;
  }

  .service-detail-copy {
    margin-bottom: 28px;
    font-size: 21px;
    line-height: 1.75;
  }

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

  .creative-service-item,
  .creative-service-item--wide {
    display: flex;
    grid-column: auto;
    gap: 0;
    padding: 24px 0 32px;
  }

  .creative-service-item h2 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .creative-service-item p,
  .creative-service-item li {
    font-size: 16px;
    line-height: 1.8;
  }

  .creative-service-item p br {
    display: none;
  }

  .creative-service-item > img,
  .creative-service-item--wide > img {
    max-width: min(280px, 75%);
    margin: 28px auto 0;
  }

  .event-achievements {
    margin-top: 40px;
  }

  .event-achievements-title {
    margin-bottom: 26px;
  }

  .event-achievement {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .event-achievement + .event-achievement {
    margin-top: 42px;
  }

  .event-achievement-content {
    padding-top: 14px;
  }

  .event-achievement-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .event-achievement-content p {
    font-size: 16px;
    line-height: 1.8;
  }

  .event-partial-support {
    margin-top: 48px;
  }

  .event-partial-support-title {
    margin-bottom: 20px;
  }

  .event-partial-support-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .event-partial-support-body p {
    font-size: 16px;
    line-height: 1.8;
  }

  .event-partial-support-body p br {
    display: none;
  }

  .event-partial-support-body img {
    width: min(350px, 100%);
    margin: 0 auto;
  }

  .lifestyle-service-overview {
    gap: 40px;
  }

  .lifestyle-service-section h2 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .lifestyle-service-section p,
  .lifestyle-service-list {
    font-size: 16px;
    line-height: 1.8;
  }

  .lifestyle-brands h2 {
    margin-bottom: 24px;
  }

  .lifestyle-brand-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lifestyle-brand-card {
    min-height: 0;
    padding: 22px 20px 20px;
  }

  .lifestyle-brand-card h3 {
    margin-top: 18px;
    font-size: 19px;
  }

  .lifestyle-brand-card p {
    margin-top: 18px;
    font-size: 15px;
  }

  .lifestyle-brand-card .arrow-link {
    margin-top: 12px;
  }

  .own-media-sections {
    gap: 46px;
  }

  .own-media-section > h2 {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .own-media-logo {
    width: min(360px, 88%);
    margin-bottom: 20px;
  }

  .own-media-banner {
    margin-bottom: 18px;
  }

  .own-media-item h3 {
    margin-bottom: 12px;
    font-size: 19px;
  }

  .own-media-item p {
    font-size: 15px;
    line-height: 1.8;
  }

  .own-media-item p br {
    display: none;
  }

  .own-media-youtube-list {
    gap: 48px;
  }

  .own-media-item .arrow-link {
    margin-top: 16px;
  }

  .real-estate-overview {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .real-estate-overview-content > h2 {
    margin: 0 0 32px;
    font-size: 30px;
  }

  .real-estate-overview-content > h3,
  .real-estate-facilities > h2 {
    margin-bottom: 24px;
    font-size: 20px;
  }

  .real-estate-summary {
    gap: 24px;
  }

  .real-estate-summary h4,
  .real-estate-facility h3 {
    margin-bottom: 10px;
    font-size: 19px;
  }

  .real-estate-summary p,
  .real-estate-facilities-lead,
  .real-estate-facility p {
    font-size: 15px;
    line-height: 1.8;
  }

  .real-estate-exterior {
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .real-estate-facilities {
    margin-top: 46px;
  }

  .real-estate-facilities-lead {
    margin-bottom: 26px;
  }

  .real-estate-facility-list {
    gap: 42px;
  }

  .real-estate-facility {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .real-estate-facility--reverse > img {
    order: 0;
  }

  .real-estate-facility p br {
    display: none;
  }

  .real-estate-property-link {
    margin-top: 52px;
    padding-top: 30px;
    border-top-width: 6px;
  }

  .real-estate-property-link > img {
    width: min(390px, 94%);
  }

  .real-estate-property-link > a {
    min-width: 160px;
    min-height: 44px;
    margin-top: 20px;
    font-size: 15px;
  }

  .media-service-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .media-service-card {
    padding-top: 10px;
  }

  .media-service-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .media-service-body {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 14px;
  }

  .media-service-body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .media-icon {
    width: 70px;
  }

  .print-service-section::before,
  .app-dev-service-section::before {
    right: calc((min(640px, 100vw - 32px) - 100vw) / 2);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, #fff 46%, #fff 100%),
      url("../images/service-02_image.png") center top / contain no-repeat;
  }

  .app-dev-service-section::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, #fff 46%, #fff 100%),
      url("../images/service-05_image.png") center top / contain no-repeat;
  }

  .print-service-main,
  .app-dev-service-main {
    min-height: 0;
    padding: 0 0 34px;
  }

  .print-service-main h3,
  .app-dev-service-main h3 {
    margin-bottom: 34px;
    font-size: 22px;
    line-height: 1.65;
  }

  .print-service-list,
  .app-dev-service-list {
    gap: 26px;
  }

  .print-service-list h4,
  .app-dev-service-list h4 {
    font-size: 20px;
  }

  .print-service-list p,
  .app-dev-service-list p {
    font-size: 16px;
    line-height: 1.8;
  }

  .print-service-request {
    margin-top: 0;
  }

  .print-service-request h3 {
    margin-bottom: 22px;
    padding-top: 12px;
    font-size: 23px;
  }

  .print-service-request p {
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.85;
  }

  .print-service-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .print-service-steps li {
    padding: 18px 10px 16px 44px;
    font-size: 16px;
  }

  .print-service-steps li::before {
    top: 16px;
  }

  .service-works {
    padding: 0 0 56px;
  }

  .service-works-inner {
    display: block;
    width: min(100% - 32px, 640px);
  }

  .service-works-title {
    padding-bottom: 14px;
  }

  .service-works-title h2 {
    font-size: 34px;
  }

  .service-works-tags {
    margin: 22px 0 28px;
  }

  .service-works-line {
    display: none;
  }

  .service-works-main {
    padding-top: 0px;
  }

  .service-works-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

}

/* ======================
   mv
====================== */

.mv {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: #fff;
}

.mv-anniversary {
  position: absolute;
  top: 96px;
  left: 2.5%;
  z-index: 3;
  display: block;
  width: 111px;
  height: auto;
}

.mv_text {
  position: absolute;
  left: 12%;
  top: 50%;
  transform: translateY(calc(-50% + 50px));
  z-index: 3;
  width: 38%;
  max-width: 700px;
  container-type: inline-size;
}

.hero-logo-mark {
  display: block;
  width: 27.8%;
  height: auto;
  margin: 0 0 5.9% 4.75%;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.hero-copy {
  margin: 0;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 0.93;
}

.hero-copy-line {
  display: block;
  font-size: clamp(32px, 18cqi, 140px);
  letter-spacing: 0.01em;
  white-space: nowrap;
  will-change: transform, opacity;
}

.hero-copy-line--intro {
  margin-bottom: 0.3em;
  font-size: clamp(24px, 12.5cqi, 97px);
  letter-spacing: 0.015em;
}

.hero-copy-line:nth-child(3) {
  margin-top: 16px;
}

.hero-lead {
  margin: 6.7% 0 0;
  color: #000;
  font-size: clamp(12px, 5cqi, 42px);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-logo-mark {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.92) rotate(-4deg);
  }

  .hero-copy-line,
  .hero-lead {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-mark,
  .hero-copy-line,
  .hero-lead {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.photo_area {
  position: absolute;
  right: -4%;
  top: -8%;
  width: 52%;
  height: 120%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transform: rotate(14deg);
  z-index: 2;
}

.photo_column {
  overflow: hidden;
}

/* 回転時も左列がMV下端まで途切れないよう、表示領域だけを延長 */
@media screen and (min-width: 768px) {
  .photo_column:first-child {
    height: calc(100% + clamp(40px, 5vw, 80px));
  }
}

.photo_track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photo_track img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.photo_column.up .photo_track {
  animation: loopUp 24s linear infinite;
}

.photo_column.down .photo_track {
  animation: loopDown 24s linear infinite;
}

@keyframes loopUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes loopDown {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

/* 相談ボタン */
.contact_float {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 20;
}

.contact_big {
  width: 200px;
  padding: 20px 18px 20px;
  background: #058bd3;
  border: 5px solid #fff;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.contact_big p {
  margin: 0 0 14px;
  color: #ffed00;
  font-size: 40px;
  line-height: 1.2;
  font-weight: bold;
}

.contact_big p span {
  color: #fff;
  font-size: 28px;
  display: block;
}

.contact_big a {
  display: inline-block;
  background: #fff;
  color: #111;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.5s;
  border: 2px solid #fff;
}

.contact_big a:hover {
  background: #005f95;
  color: #fff;
}

.contact_close {
  position: absolute;
  right: -8px;
  top: -12px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.contact_vertical {
  font-size: 20px;
  display: none;
  writing-mode: vertical-rl;
  background: #cf000e;
  color: #fff;
  padding: 20px 12px;
  border: 2px solid #fff;
  border-right: none;
  border-radius: 12px 0 0 12px;
  text-decoration: none;
  letter-spacing: 0.12em;
  transition:
    background-color 0.5s,
    color 0.5s;
}

.contact_vertical:hover {
  background: #058bd3;
  text-decoration: none;
}

.contact_float.is_minimized {
  right: 24px;
  bottom: 32px;
}

.contact_float.is_minimized .contact_big,
.contact_float.is_minimized .contact_close {
  display: none;
}

.contact_float.is_minimized .contact_vertical {
  display: block;
}

/* SP */
@media screen and (max-width: 767px) {
  .mv {
    height: 760px;
  }

  .mv-anniversary {
    top: 86px;
    left: 16px;
    width: 90px;
  }

  .mv_text {
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: min(94%, 560px);
  }

  .hero-logo-mark {
    width: 27.9%;
    margin-bottom: 6.1%;
  }

  .hero-copy-line {
    font-size: clamp(32px, 18cqi, 95px);
  }

  .hero-copy-line--intro {
    font-size: clamp(24px, 12.5cqi, 56px);
  }

  .hero-copy,
  .hero-lead {
    text-shadow:
      0 0 6px #fff,
      0 0 14px rgba(255, 255, 255, 0.95),
      0 0 24px rgba(255, 255, 255, 0.75);
  }

  .hero-lead {
    margin-top: 7.25%;
    font-size: clamp(12px, 5cqi, 21px);
  }

  .photo_area {
    left: 50%;
    right: auto;
    top: -5%;
    width: 86%;
    height: 115%;
    transform: translateX(-50%) rotate(14deg);
    gap: 8px;
    opacity: 0.9;
  }

  .photo_track {
    gap: 8px;
  }

  .photo_area::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
  }

  .contact_float {
    display: none;
  }
}

/* ======================
   LINK
====================== */
.arrow-link {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: fit-content;
  min-width: 160px;
  max-width: 100%;
  padding: 0 28px 12px 0;
  border-bottom: 1px solid #aaa;
  color: inherit;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.35s ease;
}

.arrow-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #058bd3;
  transition: width 0.35s ease;
}

.arrow-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #aaa;
  border-right: 2px solid #aaa;
  transform: rotate(45deg);
  transition:
    border-color 0.35s ease,
    transform 0.35s ease;
}

.arrow-link:hover {
  color: #058bd3;
}

.arrow-link:hover::before {
  width: 100%;
}

.arrow-link:hover::after {
  border-color: #058bd3;
  transform: translateX(8px) rotate(45deg);
}

.arrow-link--external::after {
  top: 3px;
  width: 16px;
  height: 16px;
  border: 0;
  background: url("../images/blank_gray.svg") center / contain no-repeat;
  transform: none;
  transition: none;
}

.arrow-link--external:hover::after {
  border-color: transparent;
  background-image: url("../images/blank_blue.svg");
  transform: none;
}

/* ======================
   WORKS
====================== */
.works-section {
  padding: 80px 0 160px;
  background: #fff;
}

.works-inner {
  width: min(1180px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 30%) minmax(0, 1fr);
  gap: 40px;
}

.works-title {
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  position: relative;
}

.works-title::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  width: 100vw;
  height: 100%;
  background: #000;
}

.works-title h2 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.works-title span {
  font-size: 16px;
}

.works-copy {
  margin: 32px 0 28px;
  font-size: 26px;
  line-height: 1.7;
}

.works-category {
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-category li {
  border-top: 1px solid #aaa;
}

.works-category li:last-child {
  border-bottom: 1px solid #aaa;
}

.works-category a {
  display: block;
  padding: 14px 5px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s;
}

.works-category a:hover {
  background: #eee;
  text-decoration: none;
}

.works-tags {
  margin-top: 22px;
  font-size: 16px;
  line-height: 2;
}

.works-tags a,
.service-works-tags a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}

.works-tags a:hover,
.service-works-tags a:hover {
  color: #058bd3;
  text-decoration: none;
}

.works-slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px 36px;
}

.works-card {
  display: block;
  border: 1px solid #eee;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.works-card:hover {
  opacity: 0.8;
  text-decoration: none;
}

.works-text {
  background: #f7f7f7;
  padding: 16px;
}

.works-text p,
.works-text h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.works-text h3 {
  margin-top: 4px;
  font-weight: normal;
}

.sp-only {
  display: none;
}

/* ======================
   SERVICE
====================== */
.service-section {
  padding: 10px 0 80px;
  background: #fff;
}

.service-inner {
  position: relative;
  width: min(1180px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 30%);
  gap: 30px;
  align-items: start;
  min-height: 430px;
}

.service-image {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  height: 457px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-content {
  display: contents;
}

.service-title {
  position: absolute;
  left: -4vw;
  top: -80px;
  z-index: 2;
  width: 354px;
  height: 160px;
  box-sizing: border-box;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 48px;
}

.service-title h2 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.service-title span {
  font-size: 16px;
}

.service-copy {
  position: absolute;
  left: 50px;
  top: 50px;
  z-index: 3;
  width: 350px;
  margin: 0;
  padding: 16px 24px;
  box-sizing: border-box;
  background: #fff;
  font-size: 26px;
  line-height: 1.75;
}

.service-list {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  border-top: 1px solid #777;
}

.service-list li:last-child {
  border-bottom: 1px solid #777;
}

.service-list a {
  display: block;
  padding: 14px 5px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s;
}

.service-list a:hover {
  background: #eee;
  text-decoration: none;
}

/* ======================
   OFFICE
====================== */
.office-section {
  padding: 0 0 90px;
  background: #fff;
}

.office-title {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 18px 20px 22px;
}

.office-title h2 {
  margin: 0;
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
}

.office-title span {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1;
}

.office-inner {
  width: min(1180px, 94%);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.office-image img {
  width: 100%;
  aspect-ratio: 580 / 360;
  object-fit: cover;
  display: block;
}

.office-text {
  padding-top: 22px;
}

.office-text h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
}

.office-text p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.45;
}

/* Access page */
.access-office {
  display: block;
  width: 100%;
  margin: 40px 0 0;
}

.access-office-location + .access-office-location {
  margin-top: 72px;
}

.access-office-info {
  margin-bottom: 24px;
}

.access-office-info h3 {
  margin: 0 0 12px;
}

.access-office-info address {
  margin: 0;
  font-style: normal;
}

.access-office-info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.access-office-route {
  margin-top: 14px !important;
}

.access-office-map {
  width: 100%;
  aspect-ratio: 1180 / 530;
  overflow: hidden;
}

.access-office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ======================
   ABOUT
====================== */
.about-section {
  padding: 0 0 90px;
  background: #fff;
}

.about-inner {
  width: min(1180px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 38px;
  align-items: stretch;
}

.about-title {
  background: #000;
  color: #fff;
  padding: 20px 36px 22px;
}

.about-title h2 {
  margin: 0;
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
}

.about-title span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1;
}

.about-copy {
  margin: 32px 0 28px;
  font-size: 24px;
  line-height: 1.7;
}

.about-links {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 170px;
}

.about-links li + li {
  margin-top: 16px;
}

.about-image {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ======================
   FOOTER
====================== */
.site-footer {
  margin-top: 0;
  padding: 40px 0 36px;
  background: #f6f6f6;
}

.footer-inner {
  width: min(1180px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.7fr);
  gap: 56px;
}

.footer-logo img {
  width: 180px;
  display: block;
}

.footer-nav {
  display: grid;
  grid-template-columns: 110px max-content 200px;
  gap: 38px;
  align-items: start;
  justify-content: end;
}

.footer-nav a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: #058bd3;
}

.footer-nav-main {
  display: grid;
  gap: 18px;
  line-height: 1.35;
}

.footer-service {
  line-height: 1.35;
}

.footer-nav-main > a,
.footer-nav-group > a,
.footer-service > a {
  font-size: 20px;
  font-weight: bold;
}

.footer-nav-group ul,
.footer-service ul,
.footer-bottom ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav-group ul,
.footer-service ul {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  font-size: 16px;
}

.footer-contact {
  display: grid;
  place-items: center;
  min-height: 60px;
  background: #0784c4;
  color: #fff !important;
  font-size: 18px;
  line-height: 1.3;
  transition:
    background-color 0.5s,
    color 0.5s;
}

.footer-contact:hover {
  background: #005f95;
  color: #fff !important;
  text-decoration: none;
}

.footer-bottom {
  grid-column: 2;
  margin-top: 30px;
  text-align: right;
  font-size: 13px;
}

.footer-bottom ul {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  line-height: 1.4;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom li::before {
  content: "▶";
  margin-right: 2px;
}

.footer-bottom p {
  margin: 14px 0 0;
  line-height: 1.4;
}

/* SP */
@media screen and (max-width: 767px) {
  .works-section {
    padding: 0 0 50px;
    overflow: hidden;
  }

  .works-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .works-title {
    order: 1;
    padding: 18px 40px;
  }

  .works-title h2 {
    font-size: 34px;
  }

  .works-side {
    width: 100%;
    display: contents;
  }

  .works-copy {
    order: 3;
    margin: 0 24px 22px;
    font-size: 25px;
    line-height: 1.7;
  }

  .sp-only {
    display: block;
  }

  .works-main {
    order: 2;
    position: relative;
    margin-top: 34px;
  }

  .works-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .works-slider::-webkit-scrollbar {
    display: none;
  }

  .works-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .works-text {
    padding: 16px;
  }

  .works-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 34px;
  }

  .works-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #d5d5d5;
    padding: 0;
  }

  .works-dots button.active {
    background: #168fca;
  }

  .works-category {
    order: 4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    padding: 0 12px;
  }

  .works-category li:nth-last-child(2) {
    border-bottom: 1px solid #aaa;
  }

  .works-tags {
    order: 5;
    margin-top: 20px;
    padding: 0 12px;
    font-size: 16px;
    line-height: 1.9;
  }

  .service-section {
    padding: 0 0 50px;
  }

  .service-inner {
    position: static;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .service-image {
    order: 2;
    margin: 0;
    width: auto;
    height: auto;
  }

  .service-image img {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .service-content {
    display: contents;
    padding-right: 0;
  }

  .service-title {
    position: static;
    order: 1;
    width: 100%;
    height: auto;
    padding: 18px 40px;
  }

  .service-title h2 {
    font-size: 34px;
  }

  .service-copy {
    position: static;
    order: 3;
    width: auto;
    margin: 28px 24px 22px;
    padding: 0;
    background: transparent;
    font-size: 25px;
  }

  .service-list {
    order: 4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 12px;
  }

  .service-list li:nth-last-child(2) {
    border-bottom: 1px solid #777;
  }

  .office-section {
    padding: 0 0 50px;
  }

  .office-title h2 {
    font-size: 34px;
  }

  .office-inner {
    width: 94%;
    margin-top: 32px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .office-text {
    padding-top: 16px;
  }

  .access-office {
    width: 100%;
    margin-top: 32px;
  }

  .access-office-location + .access-office-location {
    margin-top: 52px;
  }

  .access-office-info {
    margin-bottom: 20px;
  }

  .access-office-info h3 {
    font-size: 20px;
  }

  .access-office-info p {
    font-size: 15px;
  }

  .access-office-map {
    aspect-ratio: auto;
    height: 360px;
  }

  .about-section {
    padding: 0 0 50px;
  }

  .about-inner {
    width: 94%;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-title {
    padding: 18px 28px 20px;
  }

  .about-title h2 {
    font-size: 34px;
  }

  .about-copy {
    margin: 26px 0 24px;
    font-size: 22px;
  }

  .about-links {
    width: 170px;
  }

  .about-image img {
    position: static;
    height: auto;
  }

  .site-footer {
    padding: 36px 0 32px;
  }

  .footer-inner {
    width: 94%;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-logo img {
    width: 180px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-nav-main,
  .footer-service {
    display: none;
  }

  .footer-contact {
    min-height: 54px;
  }

  .footer-bottom {
    grid-column: auto;
    margin-top: 0;
    text-align: left;
  }

  .footer-bottom ul {
    flex-direction: column;
    gap: 8px;
  }
}
