@charset "UTF-8";
:root {
  --primary: #031118;
  --accent: #02EFFD;
  --accent2: #066597;
  --light: #f0f8ff;
  --white: #ffffff;
  --grad: linear-gradient(96deg, #02EFFD -5.84%, #030303 21.42%, #031118 63.78%, #066597 93.56%);
  --section-pad: 80px 40px;
}
 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
/* ========== セクション共通 ========== */
.grant-section { padding: var(--section-pad); }
 
.grant-section-title {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}
 
.grant-section-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
}
 
.grant-section-heading::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--grad);
  border-radius: 2px;
}
 
/* ========== 研修コース ========== */
.grant-course-section {
  background: var(--white);
  border-top: 6px solid var(--accent2);
}
 
.grant-course-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
 
.grant-course-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
 
.grant-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
 
.grant-badge-iphone {
  background: var(--primary);
  color: var(--white);
}
 
.grant-badge-android {
  background: var(--accent2);
  color: var(--white);
}
 
.grant-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
 
.grant-course-card {
  background: var(--light);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
 
.grant-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(6, 101, 151, 0.15);
}
 
.grant-course-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 12px;
  font-family: "Oswald", sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: rgba(6, 101, 151, 0.08);
  line-height: 1;
}
 
.grant-course-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent2);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(6, 101, 151, 0.2);
}
 
.grant-course-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.grant-course-card ul li {
  font-size: 13px;
  color: #334;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
 
.grant-course-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-size: 11px;
  top: 2px;
}
 
/* ========== 受講料 ========== */
.grant-fee-section {
  background: var(--primary);
  color: var(--white);
}
 
.grant-fee-section .grant-section-heading {
  color: var(--white);
}
 
.grant-fee-section .grant-section-heading::after {
  background: var(--accent);
}
 
.grant-fee-section .grant-section-title {
  color: var(--accent);
}
 
.grant-fee-course-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.7);
}
 
.grant-fee-cards {
  display: flex;
  gap: 24px;
  align-items: stretch;
  flex-wrap: wrap;
}
 
.grant-fee-card {
  flex: 1;
  min-width: 220px;
  border-radius: 16px;
  padding: 32px;
}
 
.grant-fee-card.main {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
 
.grant-fee-card.highlight {
  background: linear-gradient(135deg, #02EFFD22, #06659733);
  border: 1px solid var(--accent2);
}
 
.grant-fee-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  font-family: "Oswald", sans-serif;
}
 
.grant-fee-amount {
  font-family: "Oswald", sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
 
.grant-fee-amount.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
 
.grant-fee-unit {
  font-size: 16px;
  font-weight: 400;
  margin-left: 4px;
  color: rgba(255,255,255,0.6);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-text-fill-color: rgba(255,255,255,0.6);
}
 
.grant-fee-note {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
 
/* ========== 助成対象 ========== */
.grant-target-section {
  background: linear-gradient(160deg, #e8f6fc 0%, #f5fbff 100%);
}
 
.grant-target-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
 
.grant-target-text {
  font-size: 15px;
  line-height: 2;
  color: #334;
}
 
.grant-target-highlight {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid var(--accent2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
 
.grant-target-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
 
.grant-target-icon {
  width: 32px;
  height: 32px;
  background: var(--accent2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 14px;
}
 
.grant-target-item-text {
  font-size: 14px;
  line-height: 1.7;
  color: #334;
  padding-top: 6px;
}
 
/* ========== お問い合わせ (CF7) ========== */
.grant-contact-section .wpcf7-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grant-contact-section .wpcf7-form p {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.grant-contact-section .wpcf7-form label {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.grant-contact-section .wpcf7-form input[type="text"],
.grant-contact-section .wpcf7-form input[type="email"] {
  padding: 12px 16px;
  border: 2px solid #d0e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--primary);
  background: #f5fbff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.grant-contact-section .wpcf7-form input[type="text"]:focus,
.grant-contact-section .wpcf7-form input[type="email"]:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(6, 101, 151, 0.1);
  background: white;
}

.grant-contact-section .wpcf7-form textarea {
  padding: 12px 16px;
  border: 2px solid #d0e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--primary);
  background: #f5fbff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  min-height: 120px;
  width: 100%;
}

.grant-contact-section .wpcf7-form textarea:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(6, 101, 151, 0.1);
  background: white;
}

.grant-contact-section .wpcf7-form .wpcf7-radio {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.grant-contact-section .wpcf7-form .wpcf7-list-item {
  margin: 0;
}

.grant-contact-section .wpcf7-form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid #d0e8f0;
  border-radius: 24px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  background: #f5fbff;
  font-weight: 400;
}

.grant-contact-section .wpcf7-form .wpcf7-list-item input[type="radio"]:checked + span {
  color: var(--accent2);
  font-weight: 700;
}

.grant-contact-section .wpcf7-form .wpcf7-list-item:has(input:checked) label {
  border-color: var(--accent2);
  background: rgba(6, 101, 151, 0.08);
  color: var(--accent2);
  font-weight: 700;
}

.grant-contact-section .wpcf7-form input[type="radio"] {
  accent-color: var(--accent2);
}

.grant-contact-section .wpcf7-form input[type="submit"] {
  align-self: flex-start;
  padding: 14px 48px;
  background: var(--grad);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(6, 101, 151, 0.3);
  width: 50%;
}

.grant-contact-section .wpcf7-form input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  :root { --section-pad: 56px 20px; }
 
  .grant-section-heading { font-size: 26px; }
 
  .grant-course-grid { grid-template-columns: 1fr; }
 
  .grant-fee-cards { flex-direction: column; }

  .grant-fee-amount { font-size: 40px; }

  .grant-target-content { grid-template-columns: 1fr; }
  .grant-contact-section .wpcf7-form label {font-size: 16px;}
}

.grant-fv {
    background-image: url('https://gorepair.jp/wp-content/themes/astra-child/img/grant-fv.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 805px;
}
.grant-h2{
  text-align: center;
  padding-top: 10rem;
}
.grant-fv h2 {
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 94px;
    font-style: normal;
    font-weight: 800;
    line-height: 90%;
    height: 180px;
    background: linear-gradient(96deg, #02EFFD -5.84%, #030303 21.42%, #031118 63.78%, #066597 93.56%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.ggrant-box01{
  height: 150px;
  width: 660px;
  background-image: url('https://gorepair.jp/wp-content/themes/astra-child/img/Union.png') ;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 90px;
  margin-bottom: 30px;
  position: relative;
}
.ggrant-box01::after{
  position: absolute;
  content: "";
  width: 158px;
  height: 11px;
  background-image: url('https://gorepair.jp/wp-content/themes/astra-child/img/design.png') ;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  inset: 0;
  margin: auto;
  margin-top: 0;
  margin-right: -100px;
}
.ggrant-box01::before{
  position: absolute;
  content: "";
  width: 256px;
  height: 12px;
  background-image: url('https://gorepair.jp/wp-content/themes/astra-child/img/design02.png') ;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  inset: 0;
  margin: auto;
  margin-bottom: 0;
  margin-left: -100px;
}
.ggrant-box01 p{
  color: #000;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.gfv-box02{
  width: 450px;
  text-align: center;
  margin: auto;
}
.gfv-box02 p{
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
@media (max-width: 768px) {
    .grant-fv {
        height: 575px;
        background-image: url('https://gorepair.jp/wp-content/themes/astra-child/img/grant-fv-sp.png');
        margin-top: 60px;
    }
    .grant-h2{
      padding-top: 8rem;
    }

    .grant-fv h2 {
        font-size: 39.111px;
        height: 80px;
    }
    .ggrant-box01{
      height: 85px;
      width: 350px;
      margin-top: 30px;
    }
    .ggrant-box01::after{
      width: 65px;
      height: 11px;
      margin-right: -10px;
    }
    .ggrant-box01::before{
      width: 75px;
      height: 12px;
      margin-left: -10px;
    }
    .ggrant-box01 p{
      font-size: 20px;
    }
    .gfv-box02{
      width: 100%;
    }
    .gfv-box02 p{
      font-size: 18px;
    }
}