@charset "UTF-8";
/* 全体の背景色（必要なら） */
  body {
  background-color: #fff;
} 

 /* 強みセクション全体 */
 #strength-section {
 background-color: #f9f9f9;
 padding: 40px 20px; 
}

#strength-section h2 {
  text-align: center;  /* h2中央寄せ */
  margin-bottom: 20px;
  color: #333;
  font-size: 28px;
  margin-bottom: 20px;
}

/* h3　小見出し（事務所の強みタイトル） */
#strength-section h3 {
  color: #555;
  font-size: 20px;           /* 見出しサイズは調整可 */
  margin-bottom: 15px;
}

#strength-section .strength-content {
  max-width: 800px;  /* コンテンツの最大幅 */
  margin: 0 auto;    /* ページ中央配置 */
  text-align: left;  /* 基本は左寄せ */
}

/* ボタン */
a.button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
}

a.button:hover {
  background-color: #0056b3;
}

/* 取扱業務メニュー全体 */
#menu-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.service-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-item {
  width: 200px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  text-align: center;
  transition: box-shadow 0.3s;
}

.service-item a {
  text-decoration: none;
  color: #333;
}

.service-item img {
  width: 120px;
  height: 120px;
}

.service-item span {
  display: block;
  font-weight: bold;
  font-size: 16px;
}

.service-item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


 /* セクション全体 */
#flow-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

/* セクション見出し */
#flow-section h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #333;
}

/* ステップ一覧 */
.flow-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* 各ステップボックス */
.flow-item {
  width: 200px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

/* マウスオーバー時の軽い浮き上がり */
.flow-item:hover {
  transform: translateY(-5px);
}

/* STEP番号デザイン */
.flow-num {
  font-size: 18px;
  font-weight: bold;
/*  color: #007BFF;
  margin-bottom: 10px;  */
 margin-bottom: none; 
}

/* 小見出し */
.flow-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

/* 説明文 */
.flow-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

#after-flow-link {
  padding: 40px 20px;
  text-align: center;
  background-color: #f5f5f5;
  margin-top: 40px;
}

#after-flow-link .after-flow-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

#after-flow-link .after-flow-buttons div {
  display: block;
}

#after-flow-link .btn-link {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  min-width: 180px;
  text-align: center;
}

#access-summary {
  padding: 40px 20px;
  background-color: #f9f9f9;
  margin-top: 40px;
}

#access-summary h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.access-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.access-info {
  max-width: 300px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.access-map iframe {
  max-width: 100%;
  height: 200px;
}

#faq-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#faq-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.faq-list {
  max-width: 600px;
  margin: 0 auto 20px auto;
  text-align: left;
}

.faq-list dt {
  font-weight: bold;
  margin-top: 15px;
/*  color: #007BFF; */
}

.faq-list dd {
  margin-left: 20px;
  margin-bottom: 10px;
  color: #555;
  line-height: 1.6;
}

.faq-link .btn-link {
  display: inline-block;
background-color: #007BFF;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
}

#contact-call {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background: url(./img/nagoya-bg.jpg) center center / cover no-repeat;
  color: #fff;
  overflow: hidden; /* 疑似要素はみ出し対策 */
}

#contact-call::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* 全体に黒い透過レイヤー */
  z-index: 0;
}

.contact-overlay {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  display: inline-block;
  max-width: 900px;
  background: none;
}

#contact-call h2 {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  
  display: inline-block;
  background-color: rgba(255,255,255,0.7);
  color: #333;
  padding: 30px 10px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 30px;
}

#contact-call .tel {
  font-size: 40px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

#contact-call .tel a {
  color: #fff;
  text-decoration: underline;
}

.contact-btn .btn-link {
  display: inline-block;
  background-color: rgba(255,255,255,0.8);
  color: #007BFF;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 24px;
}

#footer {
  background-color: #333;
  color: #fff;
  padding: 20px 10px;
  font-size: 14px;
}

#footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
}

#footer p {
  margin: 5px 0;
}

#footer small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #ccc;
}
#footer-inner {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  line-height: 1.8;
}

#footer-inner a {
  color: #fff;
  text-decoration: underline;
}

#footer-inner small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #ccc;
}

.tel-link {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 40px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.tel-link:hover {
  text-decoration: underline;
}

/* FAQセクション全体 */
#faq-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#faq-detail h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  font-size: 18px;
  color: #007BFF;
  margin-bottom: 10px;
/*  border-left: 4px solid #007BFF; */
  padding-left: 10px;
}

.faq-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}


/* プライバシーポリシー全体 */
#privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#privacy-policy h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

#privacy-policy h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #007BFF;
  border-left: 4px solid #007BFF;
  padding-left: 10px;
}

#privacy-policy p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

#access-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#access-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
}

.access-info p {
  margin: 5px 0;
  font-size: 15px;
  color: #555;
}

.map-wrap {
  margin: 20px 0;
}

.access-note {
  font-size: 14px;
  color: #555;
  margin: 20px 0;
}

.contact-btn .btn-link {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
}

#price-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#price-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.price-table th {
  background-color: #007BFF;
  color: #fff;
}

.price-table td {
  background-color: #fff;
  color: #333;
}

.price-note {
  font-size: 14px;
  color: #555;
  margin: 20px 0;
}

.contact-btn .btn-link {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
}
#price-section {
  padding: 40px 20px;
  text-align: center;
}

#price-section h2 {
  margin-bottom: 10px;  /* 見出し下の余白を小さくする */
}

#price-section p {
  margin-bottom: 10px;  /* 説明文下の余白を小さくする */
}

.price-table {
  margin-top: 10px;  /* 表の上の余白を詰める */
}

#price-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

#price-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.price-table {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.price-table th {
  background-color: #007BFF;
  color: #fff;
}

.price-note {
  font-size: 14px;
  color: #555;
  margin-top: 20px;
  line-height: 1.6;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  margin-top: 30px;
}

.contact-btn .button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
}

#greeting-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#greeting-section h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

#greeting-section p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

#greeting-section .profile {
  text-align: right;
  font-weight: bold;
  margin-top: 30px;
}

#service-souzoku {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#service-souzoku h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

#service-souzoku h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #007BFF;
}

#service-souzoku p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

#service-souzoku ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

#service-souzoku li {
  margin-bottom: 8px;
}

.contact-btn {
  text-align: center;
  margin-top: 30px;
}

.contact-btn .button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
}

#service-zairyuu {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#service-zairyuu h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

#service-zairyuu h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #007BFF;
}

#service-zairyuu p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

#service-zairyuu ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

#service-zairyuu li {
  margin-bottom: 8px;
}

.contact-btn {
  text-align: center;
  margin-top: 30px;
}

.contact-btn .button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
}

#service-kensetsu {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#service-kensetsu h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

#service-kensetsu h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #007BFF;
}

#service-kensetsu p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

#service-kensetsu ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

#service-kensetsu li {
  margin-bottom: 8px;
}

.contact-btn {
  text-align: center;
  margin-top: 30px;
}

.contact-btn .button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
}

#service-kouken {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#service-kouken h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

#service-kouken h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #007BFF;
}

#service-kouken p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

#service-kouken ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

#service-kouken li {
  margin-bottom: 8px;
}

.contact-btn {
  text-align: center;
  margin-top: 30px;
}

.contact-btn .button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
}

.service-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-item {
  width: 220px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  text-align: center;
  transition: box-shadow 0.3s;
}

.service-item a {
  text-decoration: none;
  color: #333;
}

.service-item img {
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
}

.service-item span {
  display: block;
  font-weight: bold;
  font-size: 16px;
}

.service-item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* 他の業務リンク部分 */
.other-services {
  margin-top: 40px;
  padding: 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.other-services h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.other-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.other-services li {
  display: inline-block;
  margin: 0 10px;
}

.other-services a {
  color: #007BFF;
  text-decoration: none;
}

.other-services a:hover {
  text-decoration: underline;
}

#contact-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#contact-section h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 20px;
}

#contact-section p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.form-item {
  margin-bottom: 20px;
}

.form-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-item .required {
  color: red;
  font-size: 12px;
  margin-left: 5px;
}

.form-item input[type="text"],
.form-item input[type="tel"],
.form-item input[type="email"],
.form-item textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.form-item input[type="submit"] {
  display: block;
  width: 100%;
  background-color: #007BFF;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-item input[type="submit"]:hover {
  background-color: #0056b3;
}

.contact-note {
  font-size: 13px;
  color: #555;
  margin-top: 30px;
}

/* 全体の調整 */
#contact-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

/* 見出し */
#contact-section h2,
.contact-form h4.fm.def {
  text-align: center;
  font-size: 26px;
  margin-bottom: 30px;
  color: #333;
}

/* 各項目のラベル */
.contact-form .item_t {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

/* 必須マーク */
.contact-form .def {
  color: red;
  font-size: 12px;
  margin-left: 5px;
}

/* 入力エリア */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

/* テキストエリア */
.contact-form textarea {
  height: 120px;
}

/* ボタン */
.contact-btnbox {
  text-align: center;
  margin-top: 20px;
}

.contact-btnbox input[type="submit"] {
  background-color: #007BFF;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-btnbox input[type="submit"]:hover {
  background-color: #0056b3;
}

/* 注意書き・プライバシーポリシー部分 */
.contact-form .agree,
.contact-form .notes {
  font-size: 13px;
  color: #555;
  margin-top: 15px;
  line-height: 1.6;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  #contact-section {
    padding: 20px 10px;
  }
}

#contact-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

#contact-section h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
}

#contact-section p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.contact-note {
  font-size: 13px;
  color: #555;
  margin-top: 30px;
  line-height: 1.6;
  text-align: left;
}

@media screen and (max-width: 600px) {
  #contact-section {
    padding: 20px 10px;
  }
}

/* フォーム全体 */
.contact-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: left;
  font-size: 15px;
  color: #555;
}

/* タイトル */
.contact-box h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
}

/* テーブルのラベル列 */
.contact-box th {
  text-align: left;
  vertical-align: top;
  padding: 10px 0;
  width: 160px;
  font-weight: bold;
}

/* 入力エリア */
.contact-box input[type="text"],
.contact-box input[type="email"],
.contact-box textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

/* テキストエリア */
.contact-box textarea {
  height: 120px;
}

/* ボタン部分 */
.button_box {
  text-align: center;
  margin-top: 20px;
}

.button_box input[type="submit"] {
  background-color: #007BFF;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.button_box input[type="submit"]:hover {
  background-color: #0056b3;
}

/* 注意書き */
.contact-box .contact-note,
.contact-box .agree {
  font-size: 13px;
  color: #555;
  margin-top: 15px;
  line-height: 1.6;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .contact-box {
    padding: 20px 10px;
  }
}

<style>
  .button-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }
  .button-outline:hover {
    background-color: #fff;
    color: #333;
  }
</style>

<style>
  .footer-link-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
    margin: 20px 0;
  }

  .footer-link-buttons a.button-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }

  .footer-link-buttons a.button-outline:hover {
    background-color: #fff;
    color: #333;
  }
</style>

<style>
  .button-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }

  .button-outline:hover {
    background-color: #fff;
    color: #333;
  }
</style>

#footer-inner p:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#footer-inner {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 支払方法エリア */
.pay-methods{
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #f9f9f9;
}
.pay-methods h3{
  margin: 0 0 10px;
  font-size: 20px;
}
.pay-intro{
  margin: 0 0 15px;
  color: #555;
}

/* グリッド */
.pay-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.pay-item{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px;
}
.pay-item h4{
  margin: 0 0 6px;
  font-size: 16px;
}
.pay-item p{
  margin: 6px 0 0;
  color: #555;
  line-height: 1.6;
}
.pay-item.is-optional{
  opacity: 0.95; /* 控えめ表示（必要なければ削除） */
}

/* カード画像（控えめサイズ＋自動縮小） */
.pay-cardimg{
  width: 140px;
  height: auto;
  display: block;
  margin: 8px 0 4px;
  opacity: 0.9;
}

/* 注意文 */
.pay-note{
  font-size: 12px;
  color: #777;
}
.pay-caution{
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}

/* 600px以上で2列、960px以上で4列に */
@media (min-width: 600px){
  .pay-grid{ grid-template-columns: 1fr 1fr; }
  .pay-cardimg{ width: 150px; }
}
@media (min-width: 960px){
  .pay-grid{ grid-template-columns: 1fr 1fr 1fr 1fr; }
  .pay-cardimg{ width: 160px; }
}

/* 支払方法エリア（中央寄せ＆間隔狭め＆レスポンシブ） */
#payment-info.pay-methods{
  margin-top:40px; padding:20px; border:1px solid #ddd; border-radius:10px; background:#f9f9f9;
}
#payment-info .pay-title{ margin:0 0 10px; font-size:20px; text-align:center; }
#payment-info .pay-intro{ margin:0 0 15px; color:#555; text-align:center; }

#payment-info .pay-grid{
  list-style:none; margin:0 auto; padding:0; max-width:900px;
  display:grid; grid-template-columns:1fr; gap:10px;
}
#payment-info .pay-item{
  background:#fff; border:1px solid #eee; border-radius:10px; padding:12px; text-align:center;
}
#payment-info .pay-item h4{ margin:0 0 6px; font-size:16px; }
#payment-info .pay-item p{ margin:6px 0 0; color:#555; line-height:1.7; }

#payment-info .pay-cardimg{ display:block; margin:8px auto 4px; width:120px; height:auto; opacity:.9; }
#payment-info .pay-note{ font-size:12px; color:#777; }
#payment-info .pay-caution{ margin-top:10px; font-size:13px; color:#666; text-align:center; }

/* 600px以上で2列、960px以上で4列 */
@media (min-width:600px){
  #payment-info .pay-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  #payment-info .pay-cardimg{ width:130px; }
}
@media (min-width:960px){
  #payment-info .pay-grid{ grid-template-columns:repeat(4,1fr); gap:14px; }
  #payment-info .pay-cardimg{ width:140px; }
}

/* 支払方法エリア：空段落だけ非表示 */
#payment-info .pay-grid > p { 
  display: none !important;   /* ul直下に入る<p><br></p>を潰す */
}
#payment-info p:empty { 
  display: none !important;   /* 本当に空の<p>も潰す */
}

/* 体裁調整：pの余白をやや控えめに（注意文はそのまま） */
#payment-info .pay-item p { 
  margin: 6px 0 0;
  line-height: 1.7;
}
#payment-info .pay-note { 
  font-size: 12px;
  color: #777;
  margin-top: 6px;
}

/* 支払方法エリア：PCでは料金表と同じ幅＆2列 */
#payment-info .pay-grid {
  list-style: none;
  margin: 0 auto;           /* 中央寄せ */
  padding: 0;
  max-width: 600px;         /* ←料金表の横幅に合わせる（必要に応じて調整） */
  display: grid;
  grid-template-columns: 1fr; /* 初期は1列 */
  gap: 12px;
}

/* 各ボックス */
#payment-info .pay-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

/* 画像 */
#payment-info .pay-cardimg {
  display: block;
  margin: 8px auto 4px auto;
  width: 120px;
  height: auto;
  opacity: 0.9;
}

/* 600px以上で2列 */
@media (min-width: 600px) {
  #payment-info .pay-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

#privacy-policy .note { font-size: 0.95em; opacity: .85; }

.footer-sns img {
  transition: opacity 0.3s;
}
.footer-sns img:hover {
  opacity: 0.7;
}

/* Instagram セクション */
.ig-section { margin: 44px 0; }

.ig-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.ig-title {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}
.ig-more {
  font-size: .95rem;
  text-decoration: underline;
}

/* 埋め込み枠（レスポンシブ比率ボックス） */
.ig-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 62.5%; /* 高さ調整: 55%〜70%で微調整可 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  background: #fafafa;
}
.ig-embed-wrap > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 誘導文 */
.ig-note {
  margin-top: 12px;
  font-size: 0.95rem;
  text-align: center;
  color: #333;
}
.ig-note a {
  color: #006699;
  text-decoration: underline;
}

/* モバイル最適化 */
@media (max-width: 768px) {
  .ig-title { font-size: 1.1rem; }
  .ig-section { margin: 32px 0; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ===== 配色（事務所ブルー） ===== */
:root{
  --brand:#005BAC; /* 事務所ブルー */
  --ink:#222;
  --ink-2:#555;
  --line:#E6E6E6;
  --bg:#fff;
  --bg-soft:#f7f7f7;
}

/* ===== セクション ===== */
.ig-3grid{
  background:var(--bg);
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
}
.ig-3grid h2{
  font-size:1.2rem;
  margin:0 0 12px;
  color:var(--ink);
  text-align:center;
}

/* ===== グリッド ===== */
.ig-3grid-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
@media (max-width:980px){
  .ig-3grid-list{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .ig-3grid-list{ grid-template-columns:1fr; }
}

/* ===== カード ===== */
.ig-card{
  position:relative;
  background:var(--bg-soft);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 1px 8px rgba(0,0,0,.04);
}
.ig-link{
  display:block;
  position:relative;
  outline:none;
}
.ig-link img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1/1;        /* 正方形を維持 */
  object-fit:cover;
  transition:transform .3s ease, opacity .3s ease;
}
.ig-link:focus-visible{
  box-shadow:0 0 0 3px rgba(0,91,172,.3);
}
.ig-link:hover img{
  transform:scale(1.04);
  opacity:.95;
}

/* バッジ（左上の「Reel」） */
.ig-badge{
  position:absolute;
  top:10px;
  left:10px;
  background:var(--brand);
  color:#fff;
  font-size:.78rem;
  padding:4px 8px;
  border-radius:999px;
}

/* 再生アイコン（中央の▶） */
.ig-card--reel .ig-play{
  position:absolute;
  inset:auto 0 0 0;  /* 中央配置のため上下左右0 */
  margin:auto;
  top:0;
  bottom:0;
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  font-size:1.4rem;
  font-weight:700;
  color:#fff;
  background:rgba(0,0,0,.28);
  border-radius:50%;
}

/* キャプション */
.ig-caption{
  margin:8px 10px 12px;
  font-size:.95rem;
  color:var(--ink-2);
  text-align:center;
}

/* CTAボタン */
.ig-cta{ margin:14px 0 0; text-align:center; }
.ig-btn{
  display:inline-block;
  padding:11px 18px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight:700;
}
.ig-btn:hover{ opacity:.9; }

/* ===== 配色・基本 ===== */
:root{
  --brand:#005BAC;  /* 事務所ブルー */
  --ink:#222;
  --ink-2:#555;
  --line:#E6E6E6;
  --bg:#fff;
  --bg-soft:#f7f7f7;
}

.ig-mixed{
  background:var(--bg);
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
}
.ig-mixed h2{
  font-size:1.2rem;
  margin:0 0 12px;
  color:var(--ink);
  text-align:center;
}

/* ===== グリッド：スマホ2列 → PC4列 ===== */
.ig-mixed-grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
  grid-template-columns:repeat(2, minmax(0,1fr)); /* デフォ：2列（スマホ） */
}

/* 1024px以上：4列（通常横4つ） */
@media (min-width:1024px){
  .ig-mixed-grid{
    grid-template-columns:repeat(4, minmax(0,1fr));
  }
}

/* 画面を狭めるとメディアクエリ条件を外れ、2列に自動復帰 */

/* ===== カード ===== */
.ig-item{
  position:relative;
  background:var(--bg-soft);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 1px 8px rgba(0,0,0,.04);
  min-width:0; /* 画像の縮小を許可 */
}
.ig-link{ display:block; position:relative; outline:none; }
.ig-link img{
  display:block; width:100%; height:auto;
  aspect-ratio:1/1; object-fit:cover;
  transition:transform .28s ease, opacity .28s ease;
}
.ig-link:hover img{ transform:scale(1.03); opacity:.97; }

/* バッジ（Reelのみ表示） */
.ig-badge{
  position:absolute; top:8px; left:8px;
  background:var(--brand); color:#fff;
  font-size:.78rem; padding:4px 8px; border-radius:999px;
}
.ig-item--reel .ig-badge{ display:inline-block; }
.ig-item:not(.ig-item--reel) .ig-badge{ display:none; }

/* 再生アイコン（Reelのみ） */
.ig-item--reel .ig-play{
  position:absolute; inset:auto 0 0 0; margin:auto; top:0; bottom:0;
  width:58px; height:58px;
  display:grid; place-items:center;
  font-size:1.2rem; font-weight:700; color:#fff;
  background:rgba(0,0,0,.28); border-radius:50%;
}

/* キャプション（2行で省略） */
.ig-cap{
  margin:8px 10px 12px;
  font-size:.95rem;
  line-height:1.25;
  color:var(--ink-2);
  text-align:center;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}

/* CTAボタン */
.ig-cta{ margin:14px 0 0; text-align:center; }
.ig-btn{
  display:inline-block; padding:11px 18px;
  border-radius:999px; background:var(--brand); color:#fff;
  text-decoration:none; font-weight:700;
}
.ig-btn:hover{ opacity:.9; }