@charset "utf-8";
/*===========================
add
===========================*/


/* ========================================
   業務一覧
======================================== */

/*.service-list-section {
  padding: 80px 0;
}

.service-list-section .wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.service-list-section h2 {
  position: relative;
  margin: 0 0 45px;
  padding-bottom: 20px;
  color: #333;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.service-list-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 4px;
  background: #2981c0;
  border-radius: 2px;
  transform: translateX(-50%);
}*/

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

.service-list-card {
  position: relative;
  min-width: 0;
  padding: 30px 28px 28px;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(31, 76, 110, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #2981c0;
  border-radius: 6px 0 0 6px;
}

.service-list-number {
    margin-bottom: 12px;
    color: #D3ECFF;
    font-size: 2.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-style: italic;
}

.service-list-card h3 {
  margin: 0 0 15px;
  padding: 0;
  color: #23425c;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
}

/* 既存テーマの見出し装飾を解除 */
.service-list-card h3::before,
.service-list-card h3::after {
  content: none;
  display: none;
}

.service-list-card p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* 下部画像 */
.service-list-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.service-list-images figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f7fa;
}

.service-list-images img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

/* PC */
@media (hover: hover) and (min-width: 768px) {
  .service-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(31, 76, 110, 0.12);
  }
}

/* タブレット */
@media screen and (max-width: 900px) {
  .service-list-section {
    padding: 60px 0;
  }

  .service-list-grid {
    gap: 18px;
  }

  .service-list-card {
    padding: 25px 22px;
  }

  .service-list-card h3 {
    font-size: 1.1rem;
  }

  .service-list-images img {
    height: 240px;
  }
}

/* スマートフォン */
@media screen and (max-width: 600px) {
  .service-list-section {
    padding: 45px 0;
  }

  .service-list-section .wrapper {
    padding: 0 16px;
  }

 /* .service-list-section h2 {
    margin-bottom: 30px;
    font-size: 1.6rem;
  }*/

  .service-list-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-list-card {
    padding: 23px 20px 24px;
  }

  .service-list-card h3 {
    margin-bottom: 10px;
    font-size: 1.05rem;
  }

  .service-list-card p {
    font-size: 0.9rem;
    line-height: 1.85;
  }

  .service-list-images {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .service-list-images img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}



/* ========================================
   久里浜行政書士事務所 共通デザイン
======================================== */

.office-intro-section,
.office-concern-section,
.office-feature-section,
.office-business-section {
  padding: 75px 0;
}

.office-intro-section .wrapper,
.office-concern-section .wrapper,
.office-feature-section .wrapper,
.office-business-section .wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.office-intro-section img,
.office-concern-section img,
.office-feature-section img,
.office-business-section img {
  max-width: 100%;
}

/* セクション見出し */
.office-intro-heading,
.office-section-heading {
  margin-bottom: 40px;
  text-align: center;
}

/*.office-intro-heading h2,
.office-concern-section h2,
.office-section-heading h2 {
  position: relative;
  margin: 0;
  padding: 0 0 20px;
  color: #263f53;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
}*/

/*.office-intro-heading h2::after,
.office-concern-section h2::after,
.office-section-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 4px;
  background: #2981c0;
  border-radius: 3px;
  transform: translateX(-50%);
}*/

.office-en {
  display: block;
  margin-bottom: 10px;
  color: #2981c0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* ========================================
   1. 事務所紹介
======================================== */

.office-intro-text {
  max-width: 900px;
  margin: 0 auto;
}

.office-intro-text p {
  margin: 0 0 22px;
  color: #444;
  font-size: 1rem;
  line-height: 2.1;
}

.office-intro-text p:last-child {
  margin-bottom: 0;
}

.office-intro-message {
  padding: 22px 28px;
  color: #234e70 !important;
  font-weight: 700;
  background: #f0f7fc;
  border-left: 4px solid #2981c0;
  border-radius: 0 5px 5px 0;
}

/* ========================================
   2. お困りごと
======================================== */

/*.office-concern-section h2 {
  margin-bottom: 40px;
  text-align: center;
}*/

.office-concern-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 45px;
}

.office-concern-image {
  overflow: hidden;
  border-radius: 8px;
}

.office-concern-image img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.office-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-check-list li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 34px;
  color: #35424d;
  font-size: 0.95rem;
  line-height: 1.8;
  border-bottom: 1px solid #d8e4ed;
}

.office-check-list li::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  background: #2981c0;
  border-radius: 50%;
}

.office-concern-message {
  margin: 25px 0 0;
  padding: 20px;
  color: #344b5d;
  text-align: center;
  line-height: 1.9;
  background: #fff;
  border-radius: 6px;
}

.office-concern-message strong {
  color: #2981c0;
  font-size: 1.15rem;
}

/* ========================================
   3. 事務所の特徴
======================================== */

.office-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.office-feature-card {
  position: relative;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 7px;
  box-shadow: 0 4px 18px rgba(31, 76, 110, 0.06);
  box-sizing: border-box;
}

.office-feature-number {
  margin-bottom: 12px;
  color: #2981c0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.office-feature-card h3 {
  margin: 0 0 16px;
  padding: 0 0 14px;
  color: #23425c;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  border-bottom: 2px solid #e2edf5;
}

.office-feature-card h3::before,
.office-feature-card h3::after {
  content: none;
  display: none;
}

.office-feature-card p {
  margin: 0;
  color: #555;
  font-size: 0.93rem;
  line-height: 2;
}

/* ========================================
   4. 業務内容
======================================== */

.office-business-lead {
  margin: 22px 0 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.9;
}

.office-business-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
}

.office-business-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(31, 76, 110, 0.07);
}

.office-business-image {
  overflow: hidden;
  background: #eaf2f8;
}

.office-business-image img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.office-business-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
  box-sizing: border-box;
}

.office-business-number {
  display: block;
  margin-bottom: 8px;
  color: #2981c0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.office-business-body h3 {
  margin: 0 0 16px;
  padding: 0 0 14px;
  color: #23425c;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  border-bottom: 2px solid #2981c0;
}

.office-business-body h3::before,
.office-business-body h3::after {
  content: none;
  display: none;
}

.office-business-description {
  margin: 0 0 22px;
  color: #555;
  font-size: 0.93rem;
  line-height: 1.95;
}

.office-business-body h4 {
  margin: 0 0 12px;
  padding: 0;
  color: #344b5d;
  font-size: 1rem;
  font-weight: 700;
}

.office-business-body h4::before,
.office-business-body h4::after {
  content: none;
  display: none;
}

.office-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.office-service-list li {
  position: relative;
  padding: 0 0 0 17px;
  color: #555;
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.office-service-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #2981c0;
  border-radius: 50%;
}

.office-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 17px 18px;
  background: #eff6fb;
  border-radius: 5px;
}

.office-price span {
  color: #42596a;
  font-size: 0.85rem;
  font-weight: 700;
}

.office-price strong {
  color: #2981c0;
  font-size: 1.45rem;
  font-weight: 700;
  white-space: nowrap;
}

.office-price-note {
  margin: 25px 0 0;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.8;
}

/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 900px) {
  .office-intro-section,
  .office-concern-section,
  .office-feature-section,
  .office-business-section {
    padding: 60px 0;
  }

  .office-concern-layout {
    gap: 25px;
  }

  .office-concern-image img {
    height: 380px;
  }

  .office-feature-grid {
    gap: 18px;
  }

  .office-feature-card {
    padding: 26px 22px;
  }

  .office-business-list {
    gap: 20px;
  }

  .office-business-body {
    padding: 23px;
  }

  .office-business-image img {
    height: 220px;
  }

  .office-price {
    padding: 15px 12px;
  }

  .office-price strong {
    font-size: 1.25rem;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 600px) {
  .office-intro-section,
  .office-concern-section,
  .office-feature-section,
  .office-business-section {
    padding: 45px 0;
  }

  .office-intro-section .wrapper,
  .office-concern-section .wrapper,
  .office-feature-section .wrapper,
  .office-business-section .wrapper {
    padding: 0 16px;
  }

  .office-intro-heading,
  .office-section-heading {
    margin-bottom: 28px;
  }

/*  .office-intro-heading h2,
  .office-concern-section h2,
  .office-section-heading h2 {
    padding-bottom: 16px;
    font-size: 1.5rem;
    line-height: 1.6;
  }*/

  .office-intro-text p {
    margin-bottom: 18px;
    font-size: 0.92rem;
    line-height: 2;
  }

  .office-intro-message {
    padding: 18px;
  }

  .office-concern-section h2 {
    margin-bottom: 28px;
  }

  .office-concern-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .office-concern-image img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .office-check-list li {
    padding: 11px 0 11px 31px;
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .office-check-list li::before {
    top: 12px;
    width: 21px;
    height: 21px;
  }

  .office-concern-message {
    padding: 18px 12px;
    font-size: 0.92rem;
  }

  .office-concern-message strong {
    font-size: 1.05rem;
  }

  .office-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .office-feature-card {
    padding: 24px 21px;
  }

  .office-feature-card h3 {
    font-size: 1.1rem;
  }

  .office-feature-card p {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .office-business-lead {
    font-size: 0.9rem;
    text-align: left;
  }

  .office-business-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .office-business-image img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .office-business-body {
    padding: 22px 20px;
  }

  .office-business-body h3 {
    font-size: 1.15rem;
  }

  .office-business-description {
    font-size: 0.9rem;
  }

  .office-service-list {
    gap: 9px 8px;
  }

  .office-service-list li {
    font-size: 0.82rem;
  }

  .office-price {
    flex-wrap: wrap;
    padding: 15px;
  }

  .office-price span {
    font-size: 0.8rem;
  }

  .office-price strong {
    font-size: 1.35rem;
  }

  .office-price-note {
    font-size: 0.78rem;
  }
}


/* ========================================
   代表ご挨拶
======================================== */

.office-greeting-section,
.office-flow-section,
.office-profile-section,
.office-access-section {
  padding: 75px 0;
}

.office-greeting-section .wrapper,
.office-flow-section .wrapper,
.office-profile-section .wrapper,
.office-access-section .wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.office-greeting-section .office-section-heading,
.office-flow-section .office-section-heading,
.office-profile-section .office-section-heading,
.office-access-section .office-section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.office-greeting-section .office-section-heading h2,
.office-flow-section .office-section-heading h2,
.office-profile-section .office-section-heading h2,
.office-access-section .office-section-heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 20px;
  color: #263f53;
  font-size: 2rem;
  line-height: 1.6;
}

.office-greeting-section .office-section-heading h2::after,
.office-flow-section .office-section-heading h2::after,
.office-profile-section .office-section-heading h2::after,
.office-access-section .office-section-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 4px;
  background: #2981c0;
  border-radius: 3px;
  transform: translateX(-50%);
}

.office-greeting-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 45px;
}

.office-greeting-image {
  position: sticky;
  top: 30px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef4f8;
}

.office-greeting-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: cover;
  object-position: center;
}

.office-greeting-content p {
  margin: 0 0 20px;
  color: #4b535a;
  font-size: 0.95rem;
  line-height: 2.05;
}

.office-greeting-content .office-greeting-last {
  margin-top: 25px;
  color: #234f70;
  font-weight: 700;
}

.office-greeting-sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #dce8f1;
  color: #344b5d;
}

.office-greeting-sign span {
  font-size: 0.9rem;
}

.office-greeting-sign strong {
  font-size: 1.2rem;
  font-weight: 700;
}


/* ========================================
   ご依頼の流れ
======================================== */

.office-flow-lead {
  margin: 20px 0 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.9;
}

.office-flow-list {
  max-width: 900px;
  margin: 0 auto;
}

.office-flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 25px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 7px;
  box-shadow: 0 4px 14px rgba(31, 76, 110, 0.05);
}

.office-flow-item:not(:last-child) {
  margin-bottom: 32px;
}

.office-flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -27px;
  left: 53px;
  width: 2px;
  height: 22px;
  background: #8bbbdc;
}

.office-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 90px;
  color: #fff;
  background: #2981c0;
  border-radius: 6px;
}

.office-flow-step span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.office-flow-step strong {
  font-size: 2rem;
  line-height: 1.3;
}

.office-flow-body {
  align-self: center;
}

.office-flow-body h3 {
  margin: 0 0 12px;
  padding: 0 0 12px;
  color: #23425c;
  font-size: 1.2rem;
  line-height: 1.6;
  border-bottom: 1px solid #e0eaf2;
}

.office-flow-body h3::before,
.office-flow-body h3::after {
  content: none;
  display: none;
}

.office-flow-body p {
  margin: 0;
  color: #555;

  font-size: 0.93rem;
  line-height: 1.9;
}


/* ========================================
   事務所概要
======================================== */

.office-profile-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 7px;
}

.office-profile-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.office-profile-table th,
.office-profile-table td {
  padding: 22px 25px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.9;
  border-bottom: 1px solid #dce8f1;
  box-sizing: border-box;
}

.office-profile-table th {
  width: 28%;
  color: #23425c;
  font-size: 0.95rem;
  font-weight: 700;
  background: #edf5fb;
}

.office-profile-table td {
  color: #444;
  font-size: 0.95rem;
  background: #fff;
  overflow-wrap: anywhere;
}

.office-profile-table tr:last-child th,
.office-profile-table tr:last-child td {
  border-bottom: none;
}

.office-profile-tel {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 15px;
}

.office-profile-tel + .office-profile-tel {
  margin-top: 8px;
}

.office-profile-tel span {
  min-width: 55px;
  color: #667785;
  font-size: 0.85rem;
}

.office-profile-tel a {
  color: #2981c0;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.office-profile-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-profile-services li {
  position: relative;
  padding-left: 17px;
}

.office-profile-services li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  background: #2981c0;
  border-radius: 50%;
}


/* ========================================
   アクセス
======================================== */

.office-access-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: stretch;
}

.office-access-info {
  padding: 32px;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 7px;
  box-sizing: border-box;
}

.office-access-info h3 {
  margin: 0 0 25px;
  padding: 0 0 18px;
  color: #23425c;
  font-size: 1.25rem;
  line-height: 1.6;
  border-bottom: 2px solid #2981c0;
}

.office-access-info h3::before,
.office-access-info h3::after {
  content: none;
  display: none;
}

.office-access-address {
  margin: 0 0 25px;
  color: #444;
  font-size: 0.95rem;
  line-height: 2;
}

.office-access-label {
  display: block;
  margin-bottom: 8px;
  color: #2981c0;
  font-size: 0.82rem;
  font-weight: 700;
}

.office-access-tel {
  margin: 0 0 25px;
}

.office-access-tel a {
  color: #2981c0;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.office-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background: #2981c0;
  border: 1px solid #2981c0;
  border-radius: 4px;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.office-map-link span {
  font-size: 1rem;
}

.office-access-map {
  min-height: 400px;
  overflow: hidden;
  background: #e7edf2;
  border-radius: 7px;
}

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


/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 900px) {
  .office-greeting-section,
  .office-flow-section,
  .office-profile-section,
  .office-access-section {
    padding: 60px 0;
  }

  .office-greeting-layout {
    gap: 28px;
  }

  .office-greeting-image {
    position: static;
  }

  .office-flow-item {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .office-flow-item:not(:last-child)::after {
    left: 43px;
  }

  .office-access-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 20px;
  }

  .office-access-info {
    padding: 24px;
  }
}


/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 600px) {
  .office-greeting-section,
  .office-flow-section,
  .office-profile-section,
  .office-access-section {
    padding: 45px 0;
  }

  .office-greeting-section .wrapper,
  .office-flow-section .wrapper,
  .office-profile-section .wrapper,
  .office-access-section .wrapper {
    padding: 0 16px;
  }

  .office-greeting-section .office-section-heading,
  .office-flow-section .office-section-heading,
  .office-profile-section .office-section-heading,
  .office-access-section .office-section-heading {
    margin-bottom: 28px;
  }

  .office-greeting-section .office-section-heading h2,
  .office-flow-section .office-section-heading h2,
  .office-profile-section .office-section-heading h2,
  .office-access-section .office-section-heading h2 {
    padding-bottom: 16px;
    font-size: 1.5rem;
  }

  .office-greeting-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .office-greeting-image {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .office-greeting-image img {
    width: 100%;
    max-height: none;
    height: auto;
  }

  .office-greeting-content p {
    margin-bottom: 17px;
    font-size: 0.9rem;
    line-height: 1.95;
  }

  .office-greeting-content .office-greeting-last {
    margin-top: 22px;
  }

  .office-greeting-sign {
    margin-top: 25px;
    padding-top: 18px;
  }

  .office-flow-lead {
    font-size: 0.9rem;
    text-align: left;
  }

  .office-flow-item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 15px;
    padding: 20px 16px;
  }

  .office-flow-item:not(:last-child) {
    margin-bottom: 28px;
  }

  .office-flow-item:not(:last-child)::after {
    bottom: -24px;
    left: 45px;
    height: 19px;
  }

  .office-flow-step {
    min-height: 72px;
  }

  .office-flow-step span {
    font-size: 0.6rem;
  }

  .office-flow-step strong {
    font-size: 1.55rem;
  }

  .office-flow-body h3 {
    margin-bottom: 10px;
    padding-bottom: 9px;
    font-size: 1.02rem;
  }

  .office-flow-body p {
    font-size: 0.85rem;
    line-height: 1.85;
  }

  .office-profile-table-wrap {
    border-radius: 5px;
  }

  .office-profile-table th,
  .office-profile-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .office-profile-table th {
    font-size: 0.88rem;
    border-bottom: none;
  }

  .office-profile-table td {
    padding-top: 12px;
    padding-bottom: 17px;
    font-size: 0.9rem;
  }

  .office-profile-services {
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
  }

  .office-profile-tel a {
    font-size: 1rem;
  }

  .office-access-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .office-access-info {
    padding: 23px 20px;
  }

  .office-access-info h3 {
    font-size: 1.12rem;
  }

  .office-access-tel a {
    font-size: 1.35rem;
  }

  .office-access-map {
    min-height: 320px;
  }

  .office-access-map iframe {
    height: 320px;
    min-height: 320px;
  }
}


/* マウス操作できる端末のみホバー効果 */
@media (hover: hover) and (min-width: 601px) {
  .office-map-link:hover {
    color: #2981c0;
    background: #fff;
  }
}


/* ========================================
   スマホ横スクロール対策
======================================== */
@media screen and (max-width: 600px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

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

  img,
  iframe,
  video {
    max-width: 100%;
  }

  .wrapper {
    max-width: 100%;
  }

  .office-greeting-section,
  .office-flow-section,
  .office-profile-section,
  .office-access-section,
  .office-intro-section,
  .office-concern-section,
  .office-feature-section,
  .office-business-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .office-greeting-layout,
  .office-concern-layout,
  .office-feature-grid,
  .office-business-list,
  .office-access-layout {
    min-width: 0;
    max-width: 100%;
  }

  .office-greeting-content,
  .office-flow-body,
  .office-business-body,
  .office-access-info {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .office-profile-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }

  .office-profile-table td,
  .office-profile-table th {
    overflow-wrap: anywhere;
  }
}


