@charset "utf-8";

section {
  margin: 0 !important;
}

body,
div,
p {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-style: normal;
}

:root {
  --aratama-blue: #0c6eb7;
  --aratama-blue-dark: #075e9d;
  --aratama-green: #47b98a;
  --aratama-text: #222;
  --aratama-border: #d8d8d8;
  --aratama-bg: #fff;
}

a {
  text-decoration: none;
}

body.aratama-site,
.aratama-site {
  background: var(--aratama-bg);
  color: var(--aratama-text);
}

.aratama-site .inner {
  width: min(880px, calc(100% - 32px));
  margin-inline: auto;
}

.aratama-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e5e5e5;
  color: #000;
}

.aratama-header nav ul {
  gap: 24px;
}

.aratama-header nav a {
  font-size: 1.1rem;
}

.aratama-header nav li:last-child a {
  background-color: #298C66;
  color: #fff;
  padding: 10px 18px;
  border-radius: 2px;
  width: 180px;
  font-size: 1rem;
}

.aratama-hero {
  margin-top: 0px;
  padding: 160px 16px 70px;
  text-align: center;
  background-image: url("images/bg_1_1.avif");
  background-size: cover;
  background-attachment: fixed;
}

.aratama-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.aratama-office__logo {
  text-align: center;
}

.aratama-hero__logo img,
.aratama-office__logo img {
  height: auto;
  width: 240px;
}

.aratama-office h2 {
  text-align: center !important;
}

.aratama-hero h2,
.aratama-intro h2,
.aratama-office h2 {
  font-size: clamp(2.7rem, 4vw, 4.6rem);
  line-height: 1.4;
  margin: 12px 0 10px;
  font-size: 3rem;
  font-weight: 500;
  font-weight: 600;
}

.aratama-hero__lead,

.aratama-intro p,
.aratama-office p {
  font-size: 1.2rem;
  line-height: 100%;
}

.aratama-hero__sub {
  font-size: 1.6rem;
  line-height: 100%;
}

.aratama-checklist {
  display: inline-block;
  text-align: left;
  margin: 24px auto 10px;
  padding: 0;
}

.aratama-checklist li {
  list-style: none;
  position: relative;
  padding-left: 1.5em;
  margin: 8px 0;
  font-size: 1.7rem;
}

.aratama-checklist li::before {
  content: "●";
  color: var(--aratama-green);
  position: absolute;
  left: 0;
}

#flow h2 {
  color: #fff;
}

#flow h3 {
  color: #ffff00;
}

.aratama-intro,
.aratama-services,
.aratama-flow,
.aratama-office,
.aratama-contact-cta {
  padding: 60px 0;
}

.aratama-flow {
  background-color: #0C6EB7;
  padding-top: 0 !important;
}

.aratama-intro {
  text-align: center;
}

.aratama-services {
  background:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
    url("images/aratama-bg-12.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}


.aratama-tel {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  letter-spacing: .03em;
  font-size: 2rem !important;
  font-weight: 600;
  margin: 0px;
}

.aratama-site .btn a {
  display: inline-block;
  background: var(--aratama-green);
  color: #fff;
  text-decoration: none;
  min-width: 320px;
  padding: 15px 18px;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.2rem;
}

.aratama-button {
  display: inline-block;
  min-width: 240px;
  padding: 16px 30px;
  background: #0b6fbe;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.03em;
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.45);
  transition: all 0.2s ease;
  font-family: "Noto Sans Japanese" !important;
}

.aratama-button:hover {
  transform: translateY(2px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.35);
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.8rem;
  font-weight: 500;
}

.section-title--light {
  color: #fff;
}

.aratama-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
}

.aratama-tabs li {
  list-style: none;
  background: var(--aratama-blue);
  color: #fff;
  text-align: center;
  padding: 10px 6px;
  font-size: 1.2rem;
}

.aratama-tabs .is-active {
  background: var(--aratama-blue-dark);
}

.aratama-card-grid {
  display: grid;
  gap: 18px;
}

.aratama-service-card {
  background: #fff;
  border: 1px solid var(--aratama-border);
  padding: 30px 80px 50px;
  background-image: linear-gradient(#f1f1f1 1px, transparent 1px), linear-gradient(90deg, #f1f1f1 1px, transparent 1px);
  background-size: 24px 24px;
}


.aratama-service-card h3 {
	position: relative;
	font-size: 26px;
	text-align: center;
}

.aratama-service-card h3::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 70px;
	height: 2px;
	background-color: #387ccc;
}

.aratama-service-card p {
  font-size: 1.2rem;
  line-height: 2;
}

.aratama-service-card__footer {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 18px;
}

.aratama-service-card__footer p {
  margin: 0px;
  font-size: 1.1rem;
  line-height: 150%;
}

.aratama-links a {
  display: block;
  color: var(--aratama-blue-dark);
  text-decoration: none;
  font-size: 1.1rem;
  margin-bottom: 6px;
  line-height: 120%;
}

.aratama-links p {
  font-family: "Noto Sans Japanese" !important;
  color: #0B6FBE;
}

.aratama-blue-panel {
  background: var(--aratama-blue);
  padding: 70px 0;
  color: #fff;
}

.aratama-table {
  border-top: 1px solid rgba(255, 255, 255, .4);
}

.aratama-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.aratama-row dt,
.aratama-row dd {
  margin: 0;
  padding: 16px 10px;
  font-size: 1.2rem;
}

.aratama-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.aratama-step {
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .25);
  padding: 20px 16px;
  text-align: center;
  background-color: #098BE1;
}

.aratama-step:last-child {
  border-right: 0;
}

.aratama-step span {
  display: block;
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 10px;
}

.aratama-step h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 300;
  font-family: "Noto Sans Japanese" !important;
  line-height: 140%;
}

.aratama-step p {
  font-size: 1.25rem;
  line-height: 1.8;
  font-family: "Noto Sans Japanese" !important;
}

.aratama-p1 {
  text-align: left;
  font-size: 1rem !important;
  font-family: "Noto Sans Japanese" !important;
  font-weight: 300 !important;
}

.aratama-office__inner {
  display: flex;
  grid-template-columns: 430px 1fr;
  gap: 32px;
  align-items: start;
}

.office__main__1 h2 {
  font-size: 3rem !important;
}

/* 左（画像）→狭く */
/* PC（そのまま） */
.aratama-office__main {
  flex: 0 0 35%;
}

/* スマホ時 */
@media (max-width: 767px) {

  /* 左右レイアウト（親） */
  .aratama-office__inner {
    display: flex;
    gap: 12px;
  }

  /* 左（画像） */
  .aratama-office__main {
    flex: 0 0 40%;
    display: flex;
    /* ←これが重要 */
    gap: 6px;
    width: 94%;
    margin: auto;
  }

  /* 画像2枚を横並び */
  .aratama-office__img1,
  .aratama-office__img2 {
    width: 50%;
    margin: 0;
  }

  /* 画像 */
  .aratama-office__main img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* テキスト調整 */
  .aratama-office__img1 {
    font-size: 11px;
    line-height: 1.3;
  }

  /* 右（情報） */
  .aratama-office__info {
    flex: 0 0 60%;
  }
}

.aratama-profile-card__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: #0b69b3;
  color: #fff;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 48px;
  box-shadow: 0 24px 18px -18px rgba(0, 0, 0, 0.55);
}

.aratama-profile-card__photo {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.aratama-profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aratama-profile-card__text {
  text-align: center;
  font-weight: 700;
}

.aratama-profile-card__name {
  margin: 0 0 10px;
  font-size: 24px !important;
  line-height: 1.4;
}

.aratama-profile-card__belong {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

/* スマホ */
@media (max-width: 767px) {
  .aratama-profile-card {
    padding: 80px 0px 50px;
  }

  .aratama-profile-card__inner {
    max-width: 340px;
    min-height: 118px;
    display: block;
    padding: 42px 20px 22px;
    box-shadow: 0 22px 18px -18px rgba(0, 0, 0, 0.6);
  }

  .aratama-profile-card__photo {
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    width: 94px;
    height: 94px;
  }

  .aratama-profile-card__name {
    font-size: 21px;
    margin-bottom: 6px;
  }

  .aratama-profile-card__belong {
    font-size: 15px;
  }
}

.aratama-office__info table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.aratama-office__info th,
.aratama-office__info td {
  border-bottom: 1px solid var(--aratama-border);
  padding: 14px 12px;
  font-size: 1rem;
  vertical-align: top;
  font-weight: 600;
}

.aratama-office__info th {
  width: 120px;
  background: #fafafa;
}

.aratama-map {
  padding: 0px;
}

.aratama-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

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

  .aratama-steps,
  .aratama-office__inner,
  .aratama-row,
  .aratama-service-card__footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .aratama-step,
  .aratama-row {
    border-right: 0;
  }
}

@media (min-width: 768px) {
  .aratama-office__main__1 {
    width: 500px;
    padding-bottom: 80px;
    margin: auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .aratama-header nav ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .aratama-header nav a {
    font-size: 1.1rem;
  }

  .aratama-service-card {
    padding: 24px 18px 18px;
    background-size: 18px 18px;
  }

  .aratama-service-card h3 {
    font-size: 1.6rem;
    margin-top: 5px;
  }

  .aratama-steps {
    gap: 8px;
    background: transparent;
  }

  .aratama-office__info th,
  .aratama-office__info td {
    display: block;
    width: 100%;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .section-title {
    font-size: 1.4rem;
    font-weight: 600;
    width: 100%;
  }

  .aratama-office__main__1 {
    width: 90%;
    margin: auto;
    text-align: center;
  }

  .aratama-site .inner {
    width: min(880px, calc(100% - 36px));
  }

  p {
    line-height: 140% !important;
    font-size: 1rem !important;
  }

  .aratama-table {
    border-top: 0px;
  }

  .aratama-row dt,
  .aratama-row dd {
    font-size: 1rem;
  }

  .aratama-row dt {
    padding-bottom: 0px;
    font-size: 1.1rem;
  }

  .aratama-row dd {
    padding-top: 5px;
    line-height: 140%;
  }

  .aratama-hero h2 {
    font-size: 1.6rem;
    font-weight: 600;
  }

  .aratama-intro h2 {
    font-size: 1.3rem;
    font-weight: 600;
  }

  .aratama-button {
    min-width: auto;
    width: 100%;
    font-size: 18px;
    padding: 14px 20px;
    box-sizing: border-box;
  }
.aratama-office__logo img{
  width: 120px;
}
.aratama-profile-card__text{
  padding-top: 15px;
}
  .p_bikou1 {
    font-size: 1rem !important;
  }

  .aratama-tel {
    font-size: 1.6rem !important;
  }
}

#logo {
  height: 80%;
}

#logo a {
  font-size: 1.3rem;
}

#menubar_hdr {
  background-color: #298C66;
}

@media (min-width: 1025px) {
  .aratama-header nav ul li a{
    padding-top: 8px;
}
  #menubar_hdr {
    display: none !important;
  }

  #flow h3 {
    height: 50px;
  }
}

@media (max-width: 640px) {
  header {
    padding: 0 var(--headerH) 0 1rem !important;
  }
  .aratama-hero__logo img{
    width: 120px;
  }
.aratama-tabs li{
  font-size: 1rem;
}
 .aratama-step {
    padding: 20px 36px !important;
  }

  .aratama-office h2 {
    font-size: 1.6rem;
  }

  .pagetop a {
    left: 20px;
    bottom: 20px;
  }
.aratama-hero{
  padding-top: 80px;
}
  .aratama-hero__lead {
    font-size: 1rem;
    font-weight: 600;
  }

  .aratama-checklist {
    margin-top: 0px;
  }

  .aratama-checklist li {
    font-size: 1rem;
    font-weight: 600;
  }

  .aratama-hero__sub {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
  }
}

/* ---------- パーツ ---------- */
@media (min-width: 768px) {
  .br_sp {
    display: none;
  }
}

/* ---------- フローティングメニュー ---------- */
.sp-floating-contact {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 9999;
  display: none;
}

.sp-floating-contact__toggle {
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: #168eea;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 99;
}

.sp-floating-contact__toggle .icon-close {
  display: none;
  font-size: 24px;
  line-height: 1;
}

.sp-floating-contact.is-open .icon-open {
  display: none;
}

.sp-floating-contact.is-open .icon-close {
  display: block;
}

.sp-floating-contact__menu {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.25s ease;
  z-index: 99;
}

.sp-floating-contact.is-open .sp-floating-contact__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sp-floating-contact__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-decoration: none;
}

.sp-floating-contact__item span {
  background: #fff;
  color: #333;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.sp-floating-contact__item i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.sp-floating-contact__item.phone i {
  background: #62c84f;
}

.sp-floating-contact__item.mail i {
  background: #c2186a;
}

/* スマートフォンのみ表示 */
@media (max-width: 767px) {
  .sp-floating-contact {
    display: block;
  }
}

/* 背景オーバーレイ */
.sp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

/* 開いた時 */
.sp-floating-contact.is-open .sp-overlay {
  opacity: 1;
  visibility: visible;
}

/* ボタンを最前面に */
.sp-floating-contact {
  z-index: 9999;
}