/* =========================
   共通ヘッダー
========================= */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #d8e6f3;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  max-height: 70px;
  width: auto;
}

.global-nav ul {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  color: #005bac;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
}

.global-nav a:hover {
  text-decoration: underline;
}


/* =========================
   トップページ
========================= */

.top-main {
  background: #ffffff;
}

.top-visual {
  background: linear-gradient(135deg, #005bac, #1e88d1);
  color: #ffffff;
  text-align: center;
  padding: 70px 20px;
}

.top-visual h1 {
  font-size: 38px;
  margin-bottom: 18px;
}

.top-visual p {
  font-size: 18px;
  line-height: 1.9;
}

.top-buttons {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.top-buttons a {
  display: block;
  min-width: 180px;
  padding: 14px 20px;
  background: #005bac;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
}

.top-buttons a:hover {
  background: #003f7f;
}

.content-box {
  max-width: 1000px;
  margin: 45px auto;
  padding: 30px 25px;
  background: #ffffff;
  border: 1px solid #d8e6f3;
  border-radius: 14px;
}

.content-box h2 {
  color: #005bac;
  font-size: 26px;
  margin-bottom: 20px;
  text-align: center;
}

.content-box p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-section {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 20px;
}

.service-section h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

.service-list {
  display: flex;
  gap: 22px;
}

.service-card {
  flex: 1;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  padding: 25px 20px;
}

.service-card h3 {
  color: #005bac;
  font-size: 21px;
  margin-bottom: 15px;
  text-align: center;
}

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

.center-btn {
  text-align: center;
  margin-top: 25px;
}

.center-btn a {
  display: inline-block;
  padding: 14px 30px;
  background: #005bac;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
}

.center-btn a:hover {
  background: #003f7f;
}


/* =========================
   共通CTA
========================= */

.common-cta {
  max-width: 1100px;
  margin: 55px auto 35px;
  padding: 35px 20px;
  background: linear-gradient(135deg, #005bac, #1e88d1);
  color: #ffffff;
  text-align: center;
  border-radius: 16px;
}

.common-cta h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

.common-cta p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.common-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.common-cta-buttons a {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
}

.cta-main {
  background: #ffffff;
  color: #005bac;
}

.cta-sub {
  background: #ffcc33;
  color: #333333;
}


/* =========================
   下部リンク
========================= */

.bottom-links {
  max-width: 1100px;
  margin: 50px auto 30px;
  padding: 28px 20px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
}

.bottom-links h2 {
  color: #005bac;
  font-size: 23px;
  text-align: center;
  margin-bottom: 18px;
}

.bottom-links h3 {
  color: #005bac;
  font-size: 19px;
  text-align: center;
  margin: 28px 0 16px;
}

.bottom-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bottom-links a {
  display: block;
  padding: 10px 18px;
  background: #ffffff;
  color: #005bac;
  border: 1px solid #b7d8f2;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.bottom-links a:hover {
  background: #005bac;
  color: #ffffff;
}


/* =========================
   フッター
========================= */

.site-footer {
  background: #003f7f;
  color: #ffffff;
  text-align: center;
  padding: 35px 15px;
  margin-top: 50px;
}

.site-footer p {
  margin: 8px 0;
  line-height: 1.7;
}

.footer-logo {
  font-size: 21px;
  font-weight: bold;
}

.copyright {
  font-size: 13px;
  opacity: 0.8;
}


/* =========================
   スマホ対応
========================= */

@media screen and (max-width: 768px) {

  .header-inner {
    display: block;
    text-align: center;
  }

  .site-logo img {
    max-height: 65px;
    margin-bottom: 12px;
  }

  .global-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .global-nav a {
    display: block;
    background: #f4f9ff;
    border: 1px solid #d7e8f8;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .top-visual {
    padding: 50px 15px;
  }

  .top-visual h1 {
    font-size: 28px;
  }

  .top-visual p {
    font-size: 15px;
    text-align: left;
  }

  .top-buttons {
    display: block;
    padding: 0 15px;
  }

  .top-buttons a {
    margin-bottom: 12px;
    width: auto;
  }

  .content-box {
    margin: 35px 12px;
    padding: 24px 16px;
  }

  .content-box h2 {
    font-size: 22px;
  }

  .content-box p {
    font-size: 15px;
  }

  .service-list {
    display: block;
  }

  .service-card {
    margin-bottom: 18px;
  }

  .common-cta {
    margin: 40px 12px 30px;
    padding: 28px 16px;
  }

  .common-cta h2 {
    font-size: 22px;
  }

  .common-cta p {
    font-size: 14px;
    text-align: left;
  }

  .common-cta-buttons {
    display: block;
  }

  .common-cta-buttons a {
    display: block;
    margin-bottom: 12px;
  }

  .bottom-links {
    margin: 35px 12px 25px;
    padding: 22px 14px;
  }

  .bottom-links ul {
    display: block;
  }

  .bottom-links li {
    margin-bottom: 10px;
  }

  .bottom-links a {
    text-align: center;
    font-size: 14px;
  }

}




/* =========================
   下層ページ共通
========================= */

.sub-main {
  background: #ffffff;
}

.page-title {
  background: linear-gradient(135deg, #005bac, #1e88d1);
  color: #ffffff;
  text-align: center;
  padding: 55px 20px;
}

.page-title h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.page-title p {
  font-size: 17px;
  line-height: 1.7;
}

.check-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 12px 12px 38px;
  margin-bottom: 10px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 10px;
  font-weight: bold;
  color: #333333;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 10px;
  color: #005bac;
  font-weight: bold;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.info-table th,
.info-table td {
  border: 1px solid #d7e8f8;
  padding: 15px;
  line-height: 1.8;
  vertical-align: top;
}

.info-table th {
  width: 28%;
  background: #f4f9ff;
  color: #005bac;
  text-align: left;
}

.info-table td {
  background: #ffffff;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .page-title {
    padding: 42px 15px;
  }

  .page-title h1 {
    font-size: 28px;
  }

  .page-title p {
    font-size: 14px;
  }

  .check-list li {
    font-size: 14px;
    line-height: 1.6;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    box-sizing: border-box;
    border-bottom: none;
  }

  .info-table td {
    box-sizing: border-box;
    margin-bottom: 10px;
  }

}



/* =========================
   加盟メリットページ
========================= */

.merit-section {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 20px;
}

.merit-section h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

.merit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.merit-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  padding: 28px 20px 24px;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.08);
}

.merit-number {
  display: inline-block;
  background: #005bac;
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 15px;
}

.merit-card h3 {
  color: #005bac;
  font-size: 20px;
  margin-bottom: 14px;
}

.merit-card p {
  font-size: 15px;
  line-height: 1.8;
}

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

.flow-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #d7e8f8;
}

.flow-item:last-child {
  border-bottom: none;
}

.flow-item span {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #005bac;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.flow-item h3 {
  color: #005bac;
  font-size: 19px;
  margin-bottom: 8px;
}

.flow-item p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .merit-section {
    margin: 40px auto;
    padding: 0 12px;
  }

  .merit-section h2 {
    font-size: 23px;
  }

  .merit-list {
    display: block;
  }

  .merit-card {
    margin-bottom: 18px;
    padding: 24px 18px;
  }

  .merit-card h3 {
    font-size: 19px;
  }

  .flow-item {
    gap: 12px;
  }

  .flow-item span {
    width: 36px;
    height: 36px;
  }

  .flow-item h3 {
    font-size: 17px;
  }

  .flow-item p {
    font-size: 14px;
  }

}




/* =========================
   よくある質問ページ
========================= */

.faq-section {
  max-width: 1000px;
  margin: 55px auto;
  padding: 0 20px;
}

.faq-section h2 {
  color: #005bac;
  font-size: 27px;
  text-align: center;
  margin-bottom: 28px;
}

.faq-list {
  display: block;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
}

.faq-item h3 {
  background: #f4f9ff;
  color: #005bac;
  font-size: 18px;
  line-height: 1.6;
  padding: 18px 20px;
  margin: 0;
  border-bottom: 1px solid #d7e8f8;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.9;
  padding: 18px 20px;
  margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .faq-section {
    margin: 40px auto;
    padding: 0 12px;
  }

  .faq-section h2 {
    font-size: 23px;
    line-height: 1.5;
  }

  .faq-item {
    border-radius: 12px;
    margin-bottom: 15px;
  }

  .faq-item h3 {
    font-size: 16px;
    padding: 15px 14px;
  }

  .faq-item p {
    font-size: 14px;
    padding: 15px 14px;
  }

}




/* =========================
   業種別ページ 共通追加
========================= */

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

.relation-card {
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  padding: 20px 18px;
}

.relation-card h3 {
  color: #005bac;
  font-size: 19px;
  margin-bottom: 10px;
  text-align: center;
}

.relation-card p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.case-item {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
}

.case-item h3 {
  color: #005bac;
  font-size: 20px;
  margin-bottom: 12px;
}

.case-item p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .relation-grid {
    display: block;
  }

  .relation-card {
    margin-bottom: 15px;
  }

  .case-list {
    display: block;
  }

  .case-item {
    margin-bottom: 16px;
  }

  .case-item h3 {
    font-size: 18px;
  }

}



/* =========================
   業種別ページ 共通追加
========================= */

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

.relation-card {
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  padding: 20px 18px;
}

.relation-card h3 {
  color: #005bac;
  font-size: 19px;
  margin-bottom: 10px;
  text-align: center;
}

.relation-card p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.case-item {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
}

.case-item h3 {
  color: #005bac;
  font-size: 20px;
  margin-bottom: 12px;
}

.case-item p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .relation-grid {
    display: block;
  }

  .relation-card {
    margin-bottom: 15px;
  }

  .case-list {
    display: block;
  }

  .case-item {
    margin-bottom: 16px;
  }

  .case-item h3 {
    font-size: 18px;
  }

}


/* =========================
   建築工事ページ：募集業種カード調整
   PCは3列、スマホは今まで通り見やすく
========================= */

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: auto;
  padding: 26px 22px;
  line-height: 1.8;
}

.service-card h3 {
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 14px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.service-card p {
  font-size: 15px;
  line-height: 1.9;
  word-break: normal;
  overflow-wrap: break-word;
}

/* タブレットは2列 */
@media screen and (max-width: 900px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホは1列 */
@media screen and (max-width: 600px) {
  .service-list {
    display: block;
  }

  .service-card {
    margin-bottom: 18px;
  }
}



/* =========================
   加盟店募集ページ
========================= */

.member-entry-box {
  max-width: 1000px;
  margin: 60px auto 40px;
  padding: 42px 24px;
  background: linear-gradient(135deg, #005bac, #1e88d1);
  color: #ffffff;
  text-align: center;
  border-radius: 18px;
}

.member-entry-box h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.member-entry-box p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.member-entry-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.member-entry-buttons a {
  display: inline-block;
  min-width: 230px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
}

.entry-main {
  background: #ffffff;
  color: #005bac;
}

.entry-sub {
  background: #ffcc33;
  color: #333333;
}

.entry-main:hover {
  background: #eaf5ff;
}

.entry-sub:hover {
  background: #ffd95c;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .member-entry-box {
    margin: 42px 12px 30px;
    padding: 32px 16px;
  }

  .member-entry-box h2 {
    font-size: 23px;
  }

  .member-entry-box p {
    font-size: 14px;
    text-align: left;
  }

  .member-entry-buttons {
    display: block;
  }

  .member-entry-buttons a {
    display: block;
    min-width: auto;
    margin-bottom: 12px;
    font-size: 15px;
  }

}



/* =========================
   加盟申込みフォーム
========================= */

.form-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

.member-form {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  padding: 35px 28px;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
}

.member-form h2 {
  color: #005bac;
  font-size: 24px;
  margin: 35px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d7e8f8;
}

.member-form h2:first-child {
  margin-top: 0;
}

.form-item {
  margin-bottom: 22px;
}

.form-item label {
  display: block;
  font-weight: bold;
  color: #333333;
  margin-bottom: 8px;
  line-height: 1.6;
}

.form-item label span {
  display: inline-block;
  background: #d93025;
  color: #ffffff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

.form-item input[type="text"],
.form-item input[type="email"],
.form-item input[type="tel"],
.form-item input[type="file"],
.form-item textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  background: #ffffff;
}

.form-item textarea {
  line-height: 1.8;
}

.checkbox-list,
.radio-list {
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 12px;
  padding: 16px;
}

.checkbox-list label,
.radio-list label {
  display: block;
  font-weight: normal;
  margin-bottom: 10px;
  line-height: 1.7;
}

.checkbox-list label:last-child,
.radio-list label:last-child {
  margin-bottom: 0;
}

.checkbox-list input,
.radio-list input {
  margin-right: 8px;
}

.form-note {
  font-size: 13px;
  color: #666666;
  margin-top: 8px;
  line-height: 1.6;
}

.form-privacy {
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 12px;
  padding: 18px;
  margin: 30px 0;
}

.form-privacy p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.form-submit {
  text-align: center;
}

.form-submit button {
  display: inline-block;
  min-width: 260px;
  padding: 16px 35px;
  background: #005bac;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

.form-submit button:hover {
  background: #003f7f;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .form-section {
    margin: 35px auto;
    padding: 0 12px;
  }

  .member-form {
    padding: 26px 16px;
  }

  .member-form h2 {
    font-size: 21px;
  }

  .form-item input[type="text"],
  .form-item input[type="email"],
  .form-item input[type="tel"],
  .form-item input[type="file"],
  .form-item textarea {
    font-size: 16px;
  }

  .form-submit button {
    width: 100%;
    min-width: auto;
    font-size: 16px;
  }

}


/* =========================
   トップページ：無料見積チェック導線
========================= */

.estimate-check-banner {
  max-width: 1100px;
  margin: 45px auto;
  padding: 0 20px;
}

.estimate-check-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #f4f9ff, #ffffff);
  border: 2px solid #b7d8f2;
  border-radius: 20px;
  padding: 35px 32px;
  box-shadow: 0 6px 18px rgba(0, 91, 172, 0.10);
}

.estimate-label {
  display: inline-block;
  background: #ffcc33;
  color: #333333;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.estimate-check-text h2 {
  color: #005bac;
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.estimate-lead {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 14px;
}

.estimate-check-text p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.estimate-check-box {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  padding: 26px 22px;
}

.estimate-check-box h3 {
  color: #005bac;
  font-size: 21px;
  text-align: center;
  margin-bottom: 18px;
}

.estimate-check-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.estimate-check-box li {
  position: relative;
  padding: 10px 10px 10px 32px;
  margin-bottom: 8px;
  background: #f4f9ff;
  border-radius: 10px;
  font-weight: bold;
  font-size: 14px;
}

.estimate-check-box li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 9px;
  color: #005bac;
  font-weight: bold;
}

.estimate-btn {
  display: block;
  background: #005bac;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  padding: 15px 18px;
  border-radius: 999px;
  font-size: 16px;
}

.estimate-btn:hover {
  background: #003f7f;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .estimate-check-banner {
    margin: 35px auto;
    padding: 0 12px;
  }

  .estimate-check-inner {
    display: block;
    padding: 28px 16px;
    border-radius: 16px;
  }

  .estimate-label {
    font-size: 13px;
  }

  .estimate-check-text h2 {
    font-size: 24px;
  }

  .estimate-lead {
    font-size: 17px;
  }

  .estimate-check-text p {
    font-size: 14px;
  }

  .estimate-check-box {
    margin-top: 24px;
    padding: 22px 16px;
  }

  .estimate-check-box h3 {
    font-size: 19px;
  }

  .estimate-btn {
    font-size: 15px;
  }

}





/* =========================
   トップページ：カード内ボタン
========================= */

.card-btn {
  text-align: center;
  margin-top: 20px;
}

.card-btn a {
  display: inline-block;
  padding: 10px 22px;
  background: #005bac;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
}

.card-btn a:hover {
  background: #003f7f;
}




/* =========================
   加盟店ログインページ
========================= */

.login-section {
  max-width: 760px;
  margin: 55px auto;
  padding: 0 20px;
}

.login-box {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 18px;
  padding: 38px 32px;
  box-shadow: 0 6px 18px rgba(0, 91, 172, 0.10);
}

.login-box h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 18px;
}

.login-lead {
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
}

.login-form {
  max-width: 520px;
  margin: 0 auto;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  padding: 13px;
  font-size: 16px;
  background: #ffffff;
}

.login-note {
  margin-top: 28px;
  padding: 18px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 12px;
}

.login-note p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 8px;
}

.login-note p:last-child {
  margin-bottom: 0;
}

.login-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.login-links a {
  display: inline-block;
  padding: 10px 18px;
  background: #ffffff;
  color: #005bac;
  border: 1px solid #b7d8f2;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.login-links a:hover {
  background: #005bac;
  color: #ffffff;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .login-section {
    margin: 40px auto;
    padding: 0 12px;
  }

  .login-box {
    padding: 30px 16px;
  }

  .login-box h2 {
    font-size: 23px;
  }

  .login-lead {
    text-align: left;
    font-size: 14px;
  }

  .login-links {
    display: block;
  }

  .login-links a {
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }

}



/* =========================
   加盟店専用ページ
========================= */

.member-menu-section {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 20px;
}

.member-menu-section h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

.member-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.member-menu-card {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  padding: 24px 18px;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
}

.member-menu-card h3 {
  color: #005bac;
  font-size: 19px;
  text-align: center;
  margin-bottom: 12px;
}

.member-menu-card p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.member-menu-card a {
  display: block;
  background: #005bac;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 14px;
}

.member-menu-card a:hover {
  background: #003f7f;
}

.member-news-list {
  display: block;
}

.member-news-item {
  border-bottom: 1px solid #d7e8f8;
  padding: 20px 0;
}

.member-news-item:first-child {
  padding-top: 0;
}

.member-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.member-news-item span {
  display: inline-block;
  background: #f4f9ff;
  color: #005bac;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.member-news-item h3 {
  color: #005bac;
  font-size: 20px;
  margin-bottom: 8px;
}

.member-news-item p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.member-logout-box {
  max-width: 900px;
  margin: 45px auto;
  padding: 24px 20px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  text-align: center;
}

.member-logout-box p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.member-logout-box a {
  display: inline-block;
  padding: 11px 24px;
  background: #005bac;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
}

.member-logout-box a:hover {
  background: #003f7f;
}

/* タブレット対応 */
@media screen and (max-width: 1000px) {

  .member-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .member-menu-section {
    margin: 40px auto;
    padding: 0 12px;
  }

  .member-menu-section h2 {
    font-size: 23px;
  }

  .member-menu-grid {
    display: block;
  }

  .member-menu-card {
    margin-bottom: 16px;
  }

  .member-news-item h3 {
    font-size: 18px;
  }

  .member-news-item p {
    font-size: 14px;
  }

  .member-logout-box {
    margin: 35px 12px;
  }

  .member-logout-box a {
    display: block;
  }

}


/* =========================
   ログインエラー表示
========================= */

.login-error {
  max-width: 520px;
  margin: 0 auto 20px;
  padding: 14px 16px;
  background: #fff0f0;
  border: 1px solid #e5a5a5;
  color: #b00020;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

/* =========================
   PC版ヘッダーナビ 2段表示 余裕あり版
========================= */

@media screen and (min-width: 769px) {

  .header-inner {
    align-items: center;
  }

  .global-nav {
    max-width: 680px;
  }

  .global-nav ul {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 12px 22px;
    justify-content: end;
    align-items: center;
  }

  .global-nav a {
    white-space: nowrap;
    font-size: 15px;
  }

}


/* =========================
   加盟業者一覧ページ
========================= */

.partner-category-nav {
  max-width: 1100px;
  margin: 45px auto;
  padding: 28px 20px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
}

.partner-category-nav h2 {
  color: #005bac;
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.partner-category-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.partner-category-nav a {
  display: block;
  padding: 10px 18px;
  background: #ffffff;
  color: #005bac;
  border: 1px solid #b7d8f2;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.partner-category-nav a:hover {
  background: #005bac;
  color: #ffffff;
}

.partners-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

.partner-category-block {
  margin-bottom: 60px;
}

.partner-category-block > h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #d7e8f8;
}

.partner-empty {
  text-align: center;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 12px;
  padding: 20px;
  font-size: 15px;
  line-height: 1.8;
}

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

.partner-card {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(0, 91, 172, 0.08);
}

.partner-image {
  height: 180px;
  background: #f4f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-image.no-image span {
  color: #005bac;
  font-weight: bold;
  font-size: 18px;
}

.partner-content {
  padding: 24px 20px;
}

.partner-category {
  display: inline-block;
  background: #005bac;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.partner-content h3 {
  color: #005bac;
  font-size: 22px;
  margin-bottom: 16px;
}

.partner-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.partner-table th,
.partner-table td {
  border: 1px solid #d7e8f8;
  padding: 10px;
  font-size: 14px;
  line-height: 1.7;
  vertical-align: top;
}

.partner-table th {
  width: 32%;
  background: #f4f9ff;
  color: #005bac;
  text-align: left;
}

.partner-comment {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.partner-btn {
  text-align: center;
}

.partner-btn a {
  display: inline-block;
  padding: 11px 24px;
  background: #005bac;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
}

.partner-btn a:hover {
  background: #003f7f;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .partner-category-nav {
    margin: 35px 12px;
    padding: 22px 14px;
  }

  .partner-category-nav ul {
    display: block;
  }

  .partner-category-nav li {
    margin-bottom: 10px;
  }

  .partner-category-nav a {
    text-align: center;
  }

  .partners-section {
    margin: 40px auto;
    padding: 0 12px;
  }

  .partner-category-block > h2 {
    font-size: 23px;
  }

  .partners-grid {
    display: block;
  }

  .partner-card {
    margin-bottom: 22px;
  }

  .partner-image {
    height: 150px;
  }

  .partner-content {
    padding: 22px 16px;
  }

  .partner-content h3 {
    font-size: 20px;
  }

  .partner-table,
  .partner-table tbody,
  .partner-table tr,
  .partner-table th,
  .partner-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .partner-table th {
    border-bottom: none;
  }

  .partner-table td {
    margin-bottom: 10px;
  }

}



/* =========================
   案件事例ページ
========================= */

.cases-section {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 20px;
}

.cases-section h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

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

.case-large-card {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 5px 16px rgba(0, 91, 172, 0.08);
}

.case-label {
  display: inline-block;
  background: #005bac;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.case-large-card h3 {
  color: #005bac;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.case-large-card p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.case-large-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-large-card li {
  background: #f4f9ff;
  color: #005bac;
  border: 1px solid #d7e8f8;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: bold;
}

.case-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 25px;
}

.case-benefit-card {
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  padding: 26px 22px;
}

.case-benefit-card h3 {
  color: #005bac;
  font-size: 21px;
  text-align: center;
  margin-bottom: 14px;
}

.case-benefit-card p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .cases-section {
    margin: 40px auto;
    padding: 0 12px;
  }

  .cases-section h2 {
    font-size: 23px;
  }

  .cases-grid {
    display: block;
  }

  .case-large-card {
    margin-bottom: 20px;
    padding: 24px 18px;
  }

  .case-large-card h3 {
    font-size: 19px;
  }

  .case-large-card p {
    font-size: 14px;
  }

  .case-benefit-grid {
    display: block;
  }

  .case-benefit-card {
    margin-bottom: 18px;
  }

}




/* =========================
   管理者ページ
========================= */

.login-success {
  max-width: 520px;
  margin: 0 auto 20px;
  padding: 14px 16px;
  background: #f0fff4;
  border: 1px solid #9bd3a8;
  color: #1b7f3a;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

.admin-menu-section {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 20px;
}

.admin-menu-section h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

.admin-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.admin-menu-card {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  padding: 26px 20px;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
}

.admin-menu-card h3 {
  color: #005bac;
  font-size: 21px;
  text-align: center;
  margin-bottom: 14px;
}

.admin-menu-card p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.admin-menu-card a {
  display: block;
  background: #005bac;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
}

.admin-menu-card a:hover {
  background: #003f7f;
}

.admin-status-box {
  max-width: 1000px;
  margin: 50px auto;
  padding: 32px 24px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
}

.admin-status-box h2 {
  color: #005bac;
  font-size: 25px;
  text-align: center;
  margin-bottom: 24px;
}

/* タブレット */
@media screen and (max-width: 1000px) {

  .admin-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* スマホ */
@media screen and (max-width: 768px) {

  .admin-menu-section {
    margin: 40px auto;
    padding: 0 12px;
  }

  .admin-menu-section h2 {
    font-size: 23px;
  }

  .admin-menu-grid {
    display: block;
  }

  .admin-menu-card {
    margin-bottom: 18px;
  }

  .admin-status-box {
    margin: 35px 12px;
    padding: 26px 16px;
  }

  .admin-status-box h2 {
    font-size: 21px;
  }

}



/* =========================
   管理画面：加盟業者一覧
========================= */

.admin-table-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.admin-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #d7e8f8;
  padding: 13px 12px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #f4f9ff;
  color: #005bac;
  font-weight: bold;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.status-public {
  display: inline-block;
  background: #e8f8ee;
  color: #1b7f3a;
  border: 1px solid #9bd3a8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.status-private {
  display: inline-block;
  background: #f2f2f2;
  color: #666666;
  border: 1px solid #cccccc;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.admin-small-btn {
  display: inline-block;
  background: #005bac;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.admin-small-btn:hover {
  background: #003f7f;
}

/* select調整 */
.form-item select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  background: #ffffff;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .admin-table-section {
    margin: 35px auto;
    padding: 0 12px;
  }
}


/* =========================
   加盟業者個別ページ
========================= */

.partner-detail-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

.partner-detail-card {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 18px;
  box-shadow: 0 5px 16px rgba(0, 91, 172, 0.08);
  overflow: hidden;
}

.partner-detail-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px 30px;
}

.partner-detail-text h2 {
  color: #005bac;
  font-size: 32px;
  line-height: 1.5;
  margin: 14px 0 18px;
}

.partner-detail-pr {
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

.partner-detail-photo {
  height: 260px;
  background: #f4f9ff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d7e8f8;
}

.partner-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-detail-noimage {
  width: 100%;
  height: 100%;
  color: #005bac;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.partner-detail-table th,
.partner-detail-table td {
  border: 1px solid #d7e8f8;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
}

.partner-detail-table th {
  width: 28%;
  background: #f4f9ff;
  color: #005bac;
  text-align: left;
}

.partner-detail-table a {
  color: #005bac;
  word-break: break-all;
}

.partner-gallery-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

.partner-gallery-section h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 28px;
}

.partner-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.partner-gallery-item {
  height: 220px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
}

.partner-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .partner-detail-section {
    margin: 38px auto;
    padding: 0 12px;
  }

  .partner-detail-main {
    display: block;
    padding: 26px 16px;
  }

  .partner-detail-text h2 {
    font-size: 24px;
  }

  .partner-detail-pr {
    font-size: 14px;
  }

  .partner-detail-photo {
    height: 200px;
    margin-top: 24px;
  }

  .partner-detail-table,
  .partner-detail-table tbody,
  .partner-detail-table tr,
  .partner-detail-table th,
  .partner-detail-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .partner-detail-table th {
    border-bottom: none;
  }

  .partner-detail-table td {
    margin-bottom: 10px;
  }

  .partner-gallery-section {
    margin: 38px auto;
    padding: 0 12px;
  }

  .partner-gallery-section h2 {
    font-size: 23px;
  }

  .partner-gallery-grid {
    display: block;
  }

  .partner-gallery-item {
    height: 200px;
    margin-bottom: 18px;
  }

}



/* =========================
   管理画面：現在の登録画像
========================= */

.admin-current-image {
  max-width: 280px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.admin-current-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.admin-current-image p {
  font-size: 13px;
  color: #005bac;
  font-weight: bold;
  text-align: center;
  margin: 8px 0 0;
}





/* =========================
   管理画面：画像削除チェック
========================= */

.image-delete-check {
  display: inline-block;
  background: #fff0f0;
  border: 1px solid #e5a5a5;
  color: #b00020;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: bold;
  font-size: 14px;
  margin: 0 0 14px;
}

.image-delete-check input {
  margin-right: 6px;
}







/* =========================
   管理画面：変更申請
========================= */

.status-pending {
  display: inline-block;
  background: #fff7df;
  color: #9a6500;
  border: 1px solid #e6c46a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.request-compare-wrap {
  overflow-x: auto;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  background: #ffffff;
}

.request-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

.request-compare-table th,
.request-compare-table td {
  border: 1px solid #d7e8f8;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.7;
  vertical-align: top;
  text-align: left;
}

.request-compare-table thead th {
  background: #005bac;
  color: #ffffff;
  text-align: center;
}

.request-compare-table tbody th {
  width: 18%;
  background: #f4f9ff;
  color: #005bac;
}

.request-changed td,
.request-changed th {
  background: #fff8e8 !important;
}

.request-image-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.request-image-box {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  padding: 18px;
}

.request-image-changed {
  border: 2px solid #f0b43c;
  background: #fffaf0;
}

.request-image-box h3 {
  color: #005bac;
  text-align: center;
  font-size: 20px;
  margin-bottom: 15px;
}

.request-image-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.request-image-two h4 {
  color: #333333;
  font-size: 14px;
  text-align: center;
  margin-bottom: 8px;
}

.request-image-two img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d7e8f8;
  background: #f4f9ff;
}

.no-image-text {
  height: 140px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 10px;
  color: #005bac;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .request-image-compare {
    display: block;
  }

  .request-image-box {
    margin-bottom: 18px;
  }

  .request-image-two {
    display: block;
  }

  .request-image-two div {
    margin-bottom: 14px;
  }

}





/* =========================
   案件情報ページ
========================= */

.project-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

.project-list {
  display: block;
}

.project-card {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 28px;
  box-shadow: 0 5px 16px rgba(0, 91, 172, 0.08);
}

.project-card-head {
  margin-bottom: 20px;
}

.project-type {
  display: inline-block;
  background: #005bac;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.project-card-head h2 {
  color: #005bac;
  font-size: 25px;
  line-height: 1.5;
  margin: 0;
}

.project-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}

.project-table th,
.project-table td {
  border: 1px solid #d7e8f8;
  padding: 13px 14px;
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
}

.project-table th {
  width: 28%;
  background: #f4f9ff;
  color: #005bac;
  text-align: left;
}

.project-detail,
.project-note {
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
}

.project-detail h3,
.project-note h3 {
  color: #005bac;
  font-size: 19px;
  margin-bottom: 10px;
}

.project-detail p,
.project-note p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

.project-contact {
  text-align: center;
  background: #fffaf0;
  border: 1px solid #ead19b;
  border-radius: 14px;
  padding: 20px;
}

.project-contact p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.project-contact a {
  display: inline-block;
  background: #005bac;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 999px;
}

.project-contact a:hover {
  background: #003f7f;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .project-section {
    margin: 38px auto;
    padding: 0 12px;
  }

  .project-card {
    padding: 24px 16px;
  }

  .project-card-head h2 {
    font-size: 21px;
  }

  .project-table,
  .project-table tbody,
  .project-table tr,
  .project-table th,
  .project-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .project-table th {
    border-bottom: none;
  }

  .project-table td {
    margin-bottom: 10px;
  }

  .project-contact a {
    display: block;
  }

}




/* =========================
   管理画面：件数表示
========================= */

.admin-summary-section {
  max-width: 1100px;
  margin: 45px auto;
  padding: 0 20px;
}

.admin-summary-section h2 {
  color: #005bac;
  font-size: 28px;
  text-align: center;
  margin-bottom: 28px;
}

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

.admin-summary-card {
  display: block;
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.06);
  transition: 0.2s;
}

.admin-summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 91, 172, 0.12);
}

.admin-summary-card span {
  display: block;
  color: #005bac;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.admin-summary-card strong {
  color: #005bac;
  font-size: 42px;
  line-height: 1;
  font-weight: bold;
}

.admin-summary-card em {
  color: #333333;
  font-style: normal;
  font-weight: bold;
  font-size: 17px;
  margin-left: 4px;
}

.admin-summary-card.alert {
  border: 2px solid #ffcc33;
  background: #fffaf0;
}

.admin-summary-card.alert span {
  color: #9a6500;
}

.admin-summary-card.alert strong {
  color: #d97900;
}

/* タブレット */
@media screen and (max-width: 1000px) {
  .admin-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .admin-summary-section {
    margin: 35px auto;
    padding: 0 12px;
  }

  .admin-summary-section h2 {
    font-size: 23px;
  }

  .admin-summary-grid {
    display: block;
  }

  .admin-summary-card {
    margin-bottom: 14px;
  }

  .admin-summary-card strong {
    font-size: 38px;
  }
}


/* =========================
   案件応募：採用・見送りステータス
========================= */

.status-candidate {
  display: inline-block;
  background: #fff7df;
  color: #9a6500;
  border: 1px solid #e6c46a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.status-adopted {
  display: inline-block;
  background: #e8f8ee;
  color: #1b7f3a;
  border: 1px solid #9bd3a8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.status-rejected {
  display: inline-block;
  background: #fff0f0;
  color: #b00020;
  border: 1px solid #e5a5a5;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.entry-status-change {
  margin-top: 28px;
  padding: 22px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
}

.entry-status-change h3 {
  color: #005bac;
  font-size: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.entry-status-change form {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.entry-status-change select {
  min-width: 220px;
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  background: #ffffff;
}

.entry-status-change button {
  background: #005bac;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

.entry-status-change button:hover {
  background: #003f7f;
}

@media screen and (max-width: 768px) {
  .entry-status-change form {
    display: block;
  }

  .entry-status-change select,
  .entry-status-change button {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
  }
}



/* =========================
   管理画面：上部ショートカットボタン
========================= */

.admin-shortcut-section {
  max-width: 1100px;
  margin: 28px auto 10px;
  padding: 0 20px;
}

.admin-shortcut-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-shortcut-buttons a {
  display: inline-block;
  background: #ffffff;
  color: #005bac;
  border: 1px solid #b7d8f2;
  border-radius: 999px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(0, 91, 172, 0.06);
}

.admin-shortcut-buttons a:hover {
  background: #005bac;
  color: #ffffff;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .admin-shortcut-section {
    margin: 22px auto 5px;
    padding: 0 12px;
  }

  .admin-shortcut-buttons {
    display: block;
  }

  .admin-shortcut-buttons a {
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }

}




/* =========================
   案件：受付終了表示
========================= */

.status-closed {
  display: inline-block;
  background: #eeeeee;
  color: #555555;
  border: 1px solid #bbbbbb;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.project-label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.project-closed-label {
  display: inline-block;
  background: #eeeeee;
  color: #555555;
  border: 1px solid #bbbbbb;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 14px;
  border-radius: 999px;
}

.project-contact.closed {
  background: #f2f2f2;
  border: 1px solid #cccccc;
}

.project-contact.closed p {
  color: #555555;
  font-weight: bold;
  margin-bottom: 0;
}




/* =========================
   変更申請：差戻し・却下
========================= */

.rejected-notice-box {
  border: 2px solid #e5a5a5;
  background: #fff8f8;
}

.admin-comment-box {
  background: #ffffff;
  border: 1px solid #e5a5a5;
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
}

.admin-comment-box h3 {
  color: #b00020;
  font-size: 18px;
  margin-bottom: 10px;
}

.admin-comment-box p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}



/* =========================
   要注意取引先情報
========================= */

.caution-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

.caution-list {
  display: block;
}

.caution-card {
  background: #ffffff;
  border: 1px solid #d7e8f8;
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 28px;
  box-shadow: 0 5px 16px rgba(0, 91, 172, 0.08);
}

.caution-card-head {
  margin-bottom: 20px;
}

.caution-type {
  display: inline-block;
  background: #b00020;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.caution-card-head h2 {
  color: #005bac;
  font-size: 25px;
  line-height: 1.5;
  margin: 0;
}

.caution-detail,
.caution-note {
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
}

.caution-detail h3,
.caution-note h3 {
  color: #005bac;
  font-size: 19px;
  margin-bottom: 10px;
}

.caution-detail p,
.caution-note p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

.caution-date {
  text-align: right;
  font-size: 13px;
  color: #666666;
  margin: 0;
}

@media screen and (max-width: 768px) {

  .caution-section {
    margin: 38px auto;
    padding: 0 12px;
  }

  .caution-card {
    padding: 24px 16px;
  }

  .caution-card-head h2 {
    font-size: 21px;
  }

}


/* =========================
   トップページ：加盟業者数表示
========================= */

.top-partner-count {
  max-width: 1100px;
  margin: 45px auto;
  padding: 0 20px;
}

.top-partner-count-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 28px;
  align-items: center;
  background: #ffffff;
  border: 2px solid #b7d8f2;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 6px 18px rgba(0, 91, 172, 0.10);
}

.top-partner-count-text span {
  display: inline-block;
  background: #f4f9ff;
  color: #005bac;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.top-partner-count-text h2 {
  color: #005bac;
  font-size: 28px;
  margin-bottom: 12px;
}

.top-partner-count-text p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.top-partner-count-number {
  text-align: center;
  background: linear-gradient(135deg, #005bac, #2d8bd8);
  color: #ffffff;
  border-radius: 18px;
  padding: 30px 18px;
}

.top-partner-count-number strong {
  font-size: 60px;
  line-height: 1;
  font-weight: bold;
}

.top-partner-count-number em {
  font-style: normal;
  font-size: 24px;
  font-weight: bold;
  margin-left: 6px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .top-partner-count {
    margin: 35px auto;
    padding: 0 12px;
  }

  .top-partner-count-inner {
    display: block;
    padding: 26px 18px;
  }

  .top-partner-count-text h2 {
    font-size: 23px;
  }

  .top-partner-count-text p {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .top-partner-count-number strong {
    font-size: 50px;
  }

  .top-partner-count-number em {
    font-size: 22px;
  }

}




/* =========================
   加盟申込み：添付画像プレビュー
========================= */

.application-attachment-preview {
  max-width: 320px;
  background: #f4f9ff;
  border: 1px solid #d7e8f8;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.application-attachment-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  display: block;
}

.application-attachment-preview p {
  font-size: 13px;
  color: #005bac;
  font-weight: bold;
  text-align: center;
  margin: 8px 0 0;
}
































