/* 管理者挨拶：写真左・文章右 */
.manager-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 写真 */
.manager-photo img {
    width: 280px;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 文章側 */
.manager-text {
    flex: 1;
    line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .manager-flex {
        flex-direction: column;
    }
    .manager-photo img {
        width: 100%;
    }
}
/* =========================================================
   基本設定
========================================================= */
:root{
  --blue:#1B5FAE;
  --blue-dark:#144A87;
  --blue-2:#EAF3FF;
  --green:#57B37A;
  --green-dark:#3B9460;
  --green-2:#E9F7EF;
  --bg:#FFFFFF;
  --soft:#F6F7F9;
  --text:#1E2A3A;
  --muted:#667085;
  --line:#E6E8EC;
  --shadow: 0 10px 28px rgba(16,24,40,.10);
  --radius:14px;
  --radius-sm:12px;
}

*{
    box-sizing: border-box;
    padding-top: 0px;
}
html,body{ height:100%; margin:0; }
body{
  font-family:"Noto Sans JP", system-ui, sans-serif;
  color:var(--text);
  background:var(--bg);
}
a{ color:inherit; text-decoration:none; }

.container{
  width:min(1120px, calc(100% - 40px));
  margin-inline:auto;
}

/* =========================================================
   Header
========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  flex-direction:column; /* ← 2段構成に変更 */
  gap:12px;
  padding:14px 0;
}

.header-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.site-title {
  white-space: nowrap;          /* 改行禁止 */
  font-size: clamp(0.7rem, 4vw, 1.0rem); /* 画面幅に応じて自動調整 */
  font-weight: 700;
}

.header-right{
  text-align:right;
  font-size:1.0
	  rem;
  line-height:1.4;
}

/* ロゴ */
.brand-logo{
  width:28px;
  height:auto;
  display:block;
}

/* =========================================================
   PC メニュー（ヘッダー最下段）
========================================================= */
.nav-pc{
  display:flex;
  gap:20px;
  justify-content:center;
  width:100%;
  padding-top:10px;
  border-top:1px solid #e5e5e5;
  position:static;
}

/* 共通デザイン */
.nav-pc a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:10px;
  border:1px solid #d0d7e2;
  box-shadow:0 2px 4px rgba(0,0,0,0.08);
  white-space:nowrap;
  writing-mode:horizontal-tb !important;
  color:#333;
  font-weight:600;
}

/* 6色パレット */
.nav-pc a:nth-child(1){ background:#e8f2ff; }
.nav-pc a:nth-child(2){ background:#eaf7ef; }
.nav-pc a:nth-child(3){ background:#fff4e5; }
.nav-pc a:nth-child(4){ background:#f3e8ff; }
.nav-pc a:nth-child(5){ background:#e8faff; }
.nav-pc a:nth-child(6){ background:#87cefa; }

.nav-pc a:hover{
  transform:translateY(-2px);
  transition:0.2s;
}

/* =========================================================
   スマホメニュー
========================================================= */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
/* スマホでは表示 */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
}
.nav-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:#344054;
  margin:4px auto;
}

.mobile-menu{
  border-top:1px solid var(--line);
  background:#fff;
}
.mobile-menu a{
  display:block;
  padding:14px 6px;
  border-bottom:1px solid var(--line);
  color:#344054;
}

/* =========================================================
   Hero
========================================================= */
.hero{
  position:relative;
  overflow:hidden;
}
.hero-bg{
  height:420px;
  background:
    linear-gradient(90deg, rgba(234,243,255,.95) 0%, rgba(234,243,255,.72) 38%, rgba(234,243,255,.35) 55%, rgba(234,243,255,.10) 100%),
   url('../img/hero.jpg');
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

.hero-inner{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
}
.hero-copy{
  width:min(520px, 92%);
  padding:22px 0;
}
.hero-kicker{
  color:var(--blue);
  font-weight:700;
  margin:0 0 10px;
}
.hero-title{
  white-space: nowrap;          /* 改行禁止 */
  font-size: clamp(1rem, 4vw, 2.5rem); /* 画面幅に応じて自動調整 */
  font-weight: 700;
}
.hero-sub{ margin:0 0 14px; color:#344054; font-weight:500; }

.area-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 18px;
}
.tag{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(27,95,174,.08);
  border:1px solid rgba(27,95,174,.18);
  color:var(--blue);
  font-weight:700;
  font-size:13px;
}

.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-note{ margin:12px 0 0; color:var(--muted); font-size:12px; }

/* =========================================================
   Sections（カード・サービス・スタッフなど）
========================================================= */
.section{
    padding-top: 5px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 5px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    left: 0px;
}
.section-soft{ background:var(--soft); }
.section-blue{ background:linear-gradient(180deg, var(--blue-2), #fff 90%); }
.section-title{
  margin:0 0 20px;
  font-size:26px;
  letter-spacing:.02em;
}
.section-title-invert{ color:var(--blue-dark); }

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

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.card h3{ margin:0 0 8px; font-size:18px; }
.card p{ margin:0 0 14px; color:var(--muted); }
.card-link{ color:var(--blue); font-weight:800; }
.card-link:hover{ text-decoration:underline; }

.reasons{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  align-items:center;
}
.checklist{
  list-style:none;
  padding:0;
  margin:14px 0 0;
}
.checklist li{
  padding:10px 0 10px 28px;
  border-bottom:1px dashed rgba(27,95,174,.22);
  position:relative;
}
.checklist li::before{
  content:'✓';
  position:absolute;
  left:0;
  top:10px;
  color:var(--green-dark);
  font-weight:900;
}

.reasons-media{
  height:220px;
  border-radius:var(--radius);
  border:1px solid rgba(27,95,174,.18);
  background:
    linear-gradient(135deg, rgba(87,179,122,.18), rgba(27,95,174,.10)),
url('../img/team.jpg');
  background-size:contain;
  background-position:center;
  background-repeat: no-repeat;
  box-shadow:var(--shadow);
}

.staff{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  display:flex;
  gap:14px;
  align-items:center;
  box-shadow:var(--shadow);
}

.staff h3{ margin:0 0 6px; }
.staff p{ margin:0; color:var(--muted); }

.steps{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}
.steps li{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  display:flex;
  gap:12px;
}
.step-no{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--blue-2);
  color:var(--blue);
  font-weight:900;
}
.steps h3{ margin:0 0 6px; }
.steps p{ margin:0; color:var(--muted); }

.map{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.map iframe{ width:100%; height:320px; border:0; }

.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.panel-outline{ background:transparent; }
.bullets{ margin:10px 0 0; color:var(--muted); }

/* =========================================================
   CTA
========================================================= */
.cta{
  background:linear-gradient(180deg, var(--green-2), #fff);
  padding:44px 0;
  border-top:1px solid rgba(87,179,122,.25);
}
.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.cta h2{ margin:0 0 6px; }
.cta-phone{
  margin:0;
  font-size:24px;
  font-weight:900;
  color:var(--green-dark);
}
.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* =========================================================
   Footer
========================================================= */
.footer{
  padding:26px 0 90px;
  border-top:1px solid var(--line);
}
.footer .footer-inner a:not(.to-top) {
  display: none;
}

.to-top{
  color:var(--blue);
  font-weight:800;
}

/* =========================================================
   Bottom bar（スマホ）
========================================================= */
.bottom-bar{
  position:fixed;
  left:0; right:0; bottom:0;
  display:none;
  background:#fff;
  border-top:1px solid var(--line);
  box-shadow:0 -10px 30px rgba(16,24,40,.10);
  z-index:60;
}
.bottom-btn{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 10px;
  font-weight:900;
  color:var(--blue);
}
.bottom-btn + .bottom-btn{
  border-left:1px solid var(--line);
  color:var(--green-dark);
}

/* =========================================================
   Responsive
========================================================= */


@media (max-width: 768px){
  .header-inner{
    flex-direction:row;
    justify-content:space-between;
  }
  .nav-toggle{ order:-1; }
  .nav-pc{ display:none; }
}

@media (max-width: 760px){
  .hero-bg{ height:460px; background-position:70% center; }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .cta-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .cta-actions{
    width:100%;
    justify-content:flex-start;
  }
  .bottom-bar{ display:flex; }
}
@media (min-width: 769px) {
  .header-inner {
    flex-direction: column !important;  /* ← PC では必ず縦並び */
    align-items: flex-start;
    gap: 12px;
  }
}
/* 上段：ロゴ＋住所を横並びにする */
.header-top-row {
  width: 100%;
  display: flex;
  justify-content: space-between; /* 左：ロゴ　右：住所 */
  align-items: center;
}

/* 住所ブロックを右寄せ */
.header-right {
  text-align: right;
}
.reasons-media{
  position: relative;
  overflow: hidden;
}

.reasons-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(87,179,122,.18), rgba(27,95,174,.10)),
url('../img/team.jpg');
  background-size: cover;
  background-position: left center;
  filter: blur(18px);
  transform: scale(1.12);
  z-index: -1;
}
/* セクション全体の背景 */
.contact-section {
  padding: 40px 20px;
  background: #f7f9fb;
}

/* フォーム全体の白いBOX */
.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 35px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 見出し */
.contact-section h2 {
  text-align: center;
  margin-bottom: 15px;
}

.contact-lead {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 各フォーム項目 */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4aa3df;
  background: #fff;
  outline: none;
}

/* 送信ボタン */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: #4aa3df;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
}

.btn-submit:hover {
  background: #3a92c8;
}
/* ▼ PC：2列 × 2段（高さ揃え） */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch; /* ← 高さを揃える */
}

/* ▼ 各スタッフBOX */
.staff{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  box-shadow:var(--shadow);
  height:100%;
}

/* ▼ テキスト部分を伸ばす */
.staff > div {
  flex: 1;
}

/* ▼ スマホ：1列 */
@media (max-width: 768px){
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ▼ スマホ：content と body */
@media (max-width: 768px) {
  .content {
    padding: 0 20px;
  }
  body {
    background: #ffeeee;
  }
}

/* PC：横並び、画像は60×60固定 */
@media (min-width: 769px){
  .staff {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .avatar {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
  }
}

/* スマホ：縦並び、画像は正方形 */
@media (max-width: 768px){
  .staff {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .avatar {
    width: 100%;
    padding-top: 100%;
    height: 0;
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
  }
}

.avatar {
  display: none;
}

@media (max-width: 768px) {
  .header-right {
    display: none;
  }
}

/* ヒーロー調整 */
@media (max-width: 768px){
  .hero-inner {
    padding-top: 2px;
    padding-bottom: 20px;
  }
  .hero-copy > * {
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .container {
    padding-left: 0px;
    padding-right: 0px;
    right: 0px;
    left: 0px;
  }
}

@media (max-width: 768px){
  .hero-bg {
    height: 160px;
  }
  .hero-inner {
    padding-top: 0;
  }
}

/* カード（スマホ） */
@media (max-width: 768px) {
  .card {
    padding: 10px 10px;
  }
  .card h3 {
    margin-bottom: 4px;
    font-size: 15px;
  }
  .card p {
    margin-bottom: 8px;
    line-height: 1.4;
  }
}

/* ============================
   2カラムレイアウト（PC）
============================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

/* 右カラム：画像 */
.right {
  max-width: 420px;
  width: 100%;
}

/* スマホ：1カラム */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .right {
    max-width: 100%;
  }
}

/* --- PC 基本デザイン（統合版） --- */
.service {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1px;
    padding-top: 2px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 2px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1px;
}

.service h3 {
  margin:0 0 6px;
}

.service p {
  margin:0;
  color:var(--muted);
}

/* アイコン（統合版） */
.service-ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-2);
  border: 1px solid rgba(87,179,122,.25);
  font-size: 20px;
  flex-shrink: 0;
}

/* ホバー */
.service a.service-link:hover {
  background:#f4faff;
  box-shadow:0 8px 22px rgba(0,110,200,0.16);
  transform:translateY(-3px);
}

/* --- スマホ調整 --- */
@media (max-width: 768px) {
  .service {
    padding: 6px;
    flex-direction: row;
  }
  .service h3 {
    margin-bottom:2px;
    font-size:15px;
  }
  .service p {
    margin-bottom:2px;
    line-height:1.4;
  }
  .service a.service-link {
    padding: 6px;
    flex-direction: row;
  }
  .service a.service-link:active {
    background:#e3f1ff;
    box-shadow:0 4px 14px rgba(0,110,200,0.20);
    transform:scale(0.97);
  }
}

/* 画像 */
.service-img {
  width:100%;
  height:auto;
  border-radius:12px;
  object-fit:cover;
  display:block;
}
 @media (max-width: 768px) {
  .reasons {
    display: block;
  }
}
 /* スマホ（〜768px）では .tag と .hero-title を非表示 */
@media screen and (max-width: 768px) {
  .tag {
    display: none;
  }
  .hero-title {
    display: none;
  }
}

.qr-box {
  width: 180px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.qr-box img {
  width: 100%;
  height: auto;
  display: block;
}
