@charset "UTF-8";

/*=================================
  追加スタイル
  元デザインに無かったパーツ（ブログ・料金表・フロー等）
  変数は common.css のものを継承
==================================*/


/*=================================
  JS無効時のフォールバック
  common.css の .fadein{opacity:0} は、
  JSが動かない環境で本文が消えるため上書きする
==================================*/
.fadein { opacity: 1; }
.js .fadein { opacity: 0; }

.ogk_inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/*=================================
  ロゴ
  高さを基準に指定する。幅基準だと、ロゴの縦横比が
  変わったときにヘッダーの高さが動いて下の余白が狂うため。
==================================*/
header h1 img {
  width: auto;
  height: 70px;
}

@media screen and (min-width: 950px) {
  header h1 img {
    height: 84px;
  }
}

/* 元CSSは width/height 両方を固定していて、縦横比が合わないと潰れる */
footer img {
  width: auto;
  height: 110px;
  max-width: 100%;
}

/*=================================
  トップビジュアル（本人写真版）
  PC＝横位置／SP＝縦位置を picture で出し分け。
  文字が空・雲に重なっても読めるよう暗色を重ねる。
==================================*/
.ogk_vs_photo picture {
  display: block;
}

.ogk_vs_photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(26, 54, 93, 0.42) 0%, rgba(26, 54, 93, 0.12) 45%, rgba(26, 54, 93, 0) 70%),
    linear-gradient(to right, rgba(26, 54, 93, 0.34) 0%, rgba(26, 54, 93, 0) 55%);
}

.ogk_vs_photo .vs_text {
  z-index: 2;
}

/* PC/SP用の改行制御 */
.ogk_br_pc { display: none; }
.ogk_br_sp { display: inline; }
@media screen and (min-width: 768px) {
  .ogk_br_pc { display: inline; }
  .ogk_br_sp { display: none; }
}

/*=================================
  トップ：コンセプト（3ステップ）
==================================*/
.ogk_lead_container {
  padding: var(--section-gutter) 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.ogk_lead,
.ogk_lead_container > .ogk_lead {
  text-align: center;
}

.ogk_lead h2,
.ogk_lead_container > .ogk_lead h2 {
  font-family: "Zen Old Mincho", serif;
  font-size: var(--size-lg);
  color: var(--acs-color);
  letter-spacing: 0.1em;
}

.ogk_lead h3 {
  font-size: var(--size-xl);
  margin-top: 5px;
}

.ogk_lead_text {
  text-align: center;
  margin: 30px auto 0;
  max-width: 720px;
}

.ogk_lead_text p {
  margin-bottom: 1em;
}

.ogk_flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 40px;
}

.ogk_flow_box {
  background-color: #fff;
  border-radius: 10px;
  padding: 24px 20px;
  flex: 1;
  box-shadow: 0px 11px 6px -7px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.ogk_flow_box span {
  display: inline-block;
  font-size: var(--size-sm);
  letter-spacing: 0.1em;
  color: #fff;
  background-color: var(--acs-color);
  border-radius: 999px;
  padding: 3px 16px;
}

.ogk_flow_box h4 {
  font-size: var(--size-md);
  margin: 12px 0 8px;
}

.ogk_flow_box p {
  font-size: 0.95rem;
}

.ogk_flow_arrow {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--acs-color);
}

@media screen and (min-width: 768px) {
  .ogk_flow {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .ogk_flow_arrow {
    margin: 0 14px;
    border-left: 12px solid var(--acs-color);
    border-right: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    flex-shrink: 0;
  }
}

/*=================================
  トップ：サービス3カラム対応
==================================*/
@media screen and (min-width: 768px) {
  .service_container.ogk_service3 {
    max-width: 1100px;
    gap: 24px;
    align-items: stretch;
  }
  .service_container.ogk_service3 .top_service_box {
    max-width: none;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
  }
  .service_container.ogk_service3 .top_service_box .next_btn {
    margin-top: auto;
  }
}

/*=================================
  カード列の高さ揃え
  （アイコンSVGの縦横比がバラバラなため、
    表示領域の高さを固定して見出し位置を揃える）
==================================*/
.marke_box,
.subsidy_box,
.about_inner_box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* SVGの縦横比が個別に違うため、表示枠の高さを固定して揃える */
.marke_box img,
.marke_box:nth-child(n+2) img,
.about_inner_box img,
.about_inner_box:nth-child(n+2) img {
  width: auto;
  max-width: 130px;
  height: 100px;
  object-fit: contain;
  object-position: center bottom;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

/* 見出しの行数差で本文の開始位置がずれないようにする（横並び時のみ） */
@media screen and (min-width: 768px) {
  .about_inner_box h2 {
    min-height: 5.8em;
  }
}

@media screen and (min-width: 768px) {
  .marke_box h2,
  .subsidy_box h2 {
    min-height: 5.8em;
  }
}

/* 元CSSは固定幅・固定高さのため、文字数が増えると溢れる */
.subsidy_box span {
  flex-shrink: 0;
  width: 100%;
  max-width: 230px;
  height: auto;
  min-height: 40px;
  padding: 5px 14px;
  text-align: center;
  line-height: 1.4;
}

.subsidy_box h2 small {
  display: block;
  font-size: var(--size-sm);
  color: #767676;
  font-weight: normal;
  margin-top: 4px;
}

/* タブレット幅（768〜949px）でも2列に。元は1列のままで間延びしていた */
@media screen and (min-width: 768px) and (max-width: 949px) {
  .marke_columns,
  .subsidy_columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 350px));
    justify-content: center;
    gap: 20px;
  }
}

/* マーケ／動画ページの2カラム（左寄せにならないよう中央に） */
@media screen and (min-width: 768px) {
  .marke_columns.ogk_col2 {
    max-width: 800px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 350px));
  }
}

/*=================================
  CTA（相談セクション）の背景
==================================*/
.cons_container {
  background-color: #EAF2FB;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.84)),
    url("../img/cta_sky.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

/*=================================
  「できないこと」セクション
==================================*/
.ogk_scope_container {
  background-color: var(--sub-color);
  padding: var(--section-gutter) 20px;
}

.ogk_scope_inner {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: 0px 11px 6px -7px rgba(0, 0, 0, 0.12);
}

.ogk_scope_inner h2 {
  font-size: var(--size-lg);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.ogk_scope_inner p {
  margin-bottom: 1em;
}

.ogk_scope_list {
  list-style: none;
  margin: 24px 0;
  border-top: 1px dashed #CCC;
}

.ogk_scope_list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 4px;
  border-bottom: 1px dashed #CCC;
  font-size: 0.95rem;
}

.ogk_scope_list li span {
  font-weight: bold;
}

.ogk_plain_list {
  list-style: none;
  margin: 8px 0;
}

.ogk_plain_list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.6em;
  font-size: 0.95rem;
}

.ogk_plain_list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--acs-color);
  font-weight: bold;
}

/*=================================
  実績
==================================*/
.ogk_record_container {
  padding: var(--section-gutter) 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.ogk_record {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px auto 0;
  max-width: 820px;
}

.ogk_record_box {
  background-color: #fff;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  flex: 1;
  box-shadow: 0px 11px 6px -7px rgba(0, 0, 0, 0.12);
}

.ogk_record_box span {
  display: block;
  font-size: 0.95rem;
}

.ogk_record_box strong {
  display: block;
  font-size: var(--size-xl);
  color: var(--acs-color);
  font-family: "Zen Old Mincho", serif;
  margin-top: 6px;
}

@media screen and (min-width: 768px) {
  .ogk_record { flex-direction: row; }
}

.ogk_note_box {
  max-width: 820px;
  margin: 30px auto 0;
  background-color: var(--bg-color-2);
  border-radius: 10px;
  padding: 24px 20px;
  font-size: 0.95rem;
}

.ogk_note_box p { margin-bottom: 0.8em; }
.ogk_note_box p:last-child { margin-bottom: 0; }

.ogk_note {
  font-size: var(--size-sm);
  color: #767676;
  margin-top: 12px;
  line-height: 1.8;
}

/*=================================
  補助金ページ：注意ボックス
==================================*/
.subsidy_box.ogk_box_alert {
  background-color: var(--bg-color-2);
}

.subsidy_box.ogk_box_alert h3 {
  color: #767676 !important;
}

/*=================================
  料金表
==================================*/
.ogk_price_container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px var(--section-gutter);
}

.ogk_price_block {
  margin-bottom: 48px;
}

.ogk_price_block h3 {
  font-size: var(--size-lg);
  border-left: 5px solid var(--acs-color);
  padding-left: 14px;
  margin-bottom: 18px;
}

.ogk_price_table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 11px 6px -7px rgba(0, 0, 0, 0.12);
}

.ogk_price_table th,
.ogk_price_table td {
  padding: 16px 14px;
  border-bottom: 1px solid #EFEFEF;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.ogk_price_table thead th {
  background-color: var(--sub-color);
  font-size: var(--size-sm);
  letter-spacing: 0.05em;
}

.ogk_price_table th {
  font-weight: bold;
}

.ogk_price_table td {
  white-space: nowrap;
  text-align: right;
}

.ogk_price_table thead th:not(:first-child) {
  text-align: right;
}

.ogk_price_table th span,
.ogk_price_table td span {
  display: block;
  font-size: var(--size-sm);
  font-weight: normal;
  color: #767676;
  margin-top: 3px;
  white-space: normal;
}

.ogk_price_table .ogk_free {
  color: var(--acs-color);
  font-weight: bold;
  font-size: var(--size-md);
}

.ogk_price_table tr:last-child th,
.ogk_price_table tr:last-child td {
  border-bottom: none;
}

/*=================================
  中央ボタン
==================================*/
.ogk_center_btn {
  text-align: center;
  margin: 30px auto 0;
}

.ogk_center_btn a {
  display: inline-block;
  background-color: var(--acs-color);
  color: #fff;
  border-radius: 999px;
  padding: 12px 40px;
  font-size: var(--size-md);
  transition: 0.3s;
}

.ogk_center_btn a:hover {
  opacity: 0.75;
}

/*=================================
  事務所概要
==================================*/
.ogk_office_section {
  padding: var(--section-gutter) 20px;
}

.ogk_office_section .office {
  max-width: 760px;
  margin: 0 auto;
}

/*=================================
  ブログ一覧
==================================*/
.ogk_archive_container {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--section-gutter) 20px;
}

.ogk_archive_lead {
  text-align: center;
  margin-bottom: 40px;
}

.ogk_card_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 600px) {
  .ogk_card_list { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 900px) {
  .ogk_card_list { grid-template-columns: repeat(3, 1fr); }
}

.ogk_card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 11px 6px -7px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.ogk_card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 14px 10px -7px rgba(0, 0, 0, 0.2);
}

.ogk_card a {
  display: block;
  color: var(--text-color);
  height: 100%;
}

.ogk_card_thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-color-2);
}

.ogk_card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ogk_card_body {
  padding: 18px 16px 22px;
}

.ogk_card_date {
  font-size: var(--size-sm);
  color: #767676;
  margin-right: 8px;
}

.ogk_card_cat {
  display: inline-block;
  font-size: var(--size-sm);
  background-color: var(--sub-color);
  border-radius: 999px;
  padding: 2px 12px;
}

.ogk_card_body h2 {
  font-size: var(--size-md);
  line-height: 1.6;
  margin: 10px 0 8px;
}

.ogk_card_body p {
  font-size: 0.9rem;
  color: #555;
}

/*=================================
  ページネーション
==================================*/
.ogk_pagination {
  margin-top: 48px;
  text-align: center;
}

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

.ogk_pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 5px;
  color: var(--text-color);
  box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.2);
}

.ogk_pagination .page-numbers.current {
  background-color: var(--acs-color);
  color: #fff;
}

.ogk_pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/*=================================
  記事ページ
==================================*/
.ogk_sub_vs_short img {
  max-height: 260px;
  object-fit: cover;
}

.ogk_single_container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--section-gutter) 20px;
}

.ogk_breadcrumb {
  font-size: var(--size-sm);
  margin-bottom: 20px;
  color: #767676;
}

.ogk_breadcrumb a {
  color: #767676;
}

.ogk_breadcrumb a:hover {
  color: var(--acs-color);
}

.ogk_breadcrumb span {
  margin: 0 6px;
}

.ogk_single {
  background-color: #fff;
  border-radius: 10px;
  padding: 32px 24px;
  box-shadow: 0px 11px 6px -7px rgba(0, 0, 0, 0.12);
}

@media screen and (min-width: 768px) {
  .ogk_single { padding: 48px 44px; }
}

.ogk_single_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: var(--size-sm);
  color: #767676;
  margin-bottom: 14px;
}

.ogk_single_head h1 {
  font-size: var(--size-xl);
  line-height: 1.5;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--acs-color);
}

.ogk_single_thumb {
  margin: 28px 0;
}

.ogk_single_thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 記事本文 */
.ogk_single_body {
  margin-top: 32px;
  line-height: 2;
}

.ogk_single_body > * {
  margin-bottom: 1.4em;
}

.ogk_single_body h2 {
  font-size: var(--size-lg);
  background-color: var(--sub-color);
  border-left: 6px solid var(--acs-color);
  padding: 12px 16px;
  margin-top: 2em;
  line-height: 1.5;
}

.ogk_single_body h3 {
  font-size: var(--size-md);
  border-bottom: 2px dashed var(--acs-color);
  padding-bottom: 8px;
  margin-top: 1.8em;
}

.ogk_single_body h4 {
  font-size: var(--size-md);
  margin-top: 1.6em;
}

.ogk_single_body p {
  margin-bottom: 1.4em;
}

.ogk_single_body a {
  color: #1F7A70;
  text-decoration: underline;
}

.ogk_single_body ul,
.ogk_single_body ol {
  padding-left: 1.6em;
  margin-bottom: 1.4em;
}

.ogk_single_body li {
  margin-bottom: 0.5em;
}

.ogk_single_body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.ogk_single_body blockquote {
  background-color: var(--bg-color-2);
  border-left: 4px solid #CCC;
  padding: 16px 20px;
  margin: 1.6em 0;
  font-size: 0.95rem;
}

.ogk_single_body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.6em;
  font-size: 0.95rem;
}

.ogk_single_body table th,
.ogk_single_body table td {
  border: 1px solid #DDD;
  padding: 10px 12px;
  text-align: left;
}

.ogk_single_body table th {
  background-color: var(--sub-color);
}

.ogk_single_body strong {
  background: linear-gradient(transparent 62%, rgba(99, 210, 198, 0.4) 62%);
  font-weight: bold;
}

/* 記事末尾の注意書き */
.ogk_disclaimer {
  margin-top: 40px;
  padding: 18px 20px;
  background-color: var(--bg-color-2);
  border-radius: 8px;
  font-size: var(--size-sm);
  color: #555;
  line-height: 1.9;
}

/* 著者ボックス */
.ogk_author {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding: 24px;
  background-color: var(--sub-color);
  border-radius: 10px;
}

.ogk_author img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ogk_author span {
  font-size: var(--size-sm);
  color: #767676;
}

.ogk_author h3 {
  font-size: var(--size-md);
  margin: 4px 0 8px;
}

.ogk_author p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.ogk_author a {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #1F7A70;
  text-decoration: underline;
}

@media screen and (min-width: 600px) {
  .ogk_author { flex-direction: row; }
}

.ogk_tags {
  margin-top: 24px;
  font-size: var(--size-sm);
}

.ogk_tags a {
  display: inline-block;
  background-color: var(--bg-color-2);
  border-radius: 999px;
  padding: 3px 14px;
  margin: 0 6px 6px 0;
  color: #555;
}

/* 前後の記事 */
.ogk_post_nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  font-size: 0.9rem;
}

.ogk_post_nav a {
  color: var(--text-color);
}

.ogk_post_nav a:hover {
  color: var(--acs-color);
}

.ogk_post_nav_next {
  text-align: right;
}

/* 関連記事 */
.ogk_related {
  margin-top: 60px;
}

.ogk_related > h2 {
  font-size: var(--size-lg);
  text-align: center;
  margin-bottom: 24px;
}

/*=================================
  お問い合わせフォーム
==================================*/
.ogk_hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ogk_form_error {
  background-color: #FDECEC;
  border: 1px solid #E5A0A0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.ogk_form_error ul {
  padding-left: 1.4em;
  margin-top: 8px;
}

.ogk_form_done {
  background-color: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0px 11px 6px -7px rgba(0, 0, 0, 0.12);
}

.ogk_form_done h2 {
  font-size: var(--size-lg);
  color: var(--acs-color);
  margin-bottom: 18px;
}

.ogk_form_done p {
  margin-bottom: 1em;
}

.ogk_privacy {
  font-size: var(--size-sm);
  color: #767676;
  margin: 20px 0 10px;
  line-height: 1.8;
}

/* セレクトボックス（元CSSに定義が無いため補完） */
.contact_inner select {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #CCC;
  border-radius: 5px;
  background-color: #fff;
  font-size: 1rem;
  color: var(--text-color);
  font-family: inherit;
}

.contact_inner label span {
  color: #D45C5C;
  margin-right: 4px;
}

/*=================================================================
  レスポンシブの手当て
  元CSSに残っていた「固定px」「縦横比の無視」「はみ出し」をまとめて修正。
  このファイルは最後に読み込まれるので、上の各CSSを上書きします。
=================================================================*/

/*-----------------------------------------------------------------
  1. 画像のゆがみ
  幅と高さを両方pxで指定しているのに object-fit が無く、
  写真が引き伸ばされていた箇所をまとめて修正。
-----------------------------------------------------------------*/
.marketing img,
.subsidy img,
.top_blog_text img,
.top_blog_box img,
.top_about_flex img,
.about_office img,
.about_profile_inner img,
.sub_vs_inner img,
.vs_inner img {
  object-fit: cover;
}

/*-----------------------------------------------------------------
  2. 横スクロールの発生源
  閉じている状態のスマホメニューが画面の外にはみ出して、
  横スクロールが出ていた。位置ではなく transform で退避させる。
-----------------------------------------------------------------*/
html,
body {
  overflow-x: hidden;
}

/*  あわせて 3. スマホメニューが画面に収まらない問題も解消する。
    項目が9つあり、小さい端末では下の方が画面外に出て押せなかったので、
    はみ出す分はメニュー内でスクロールさせる。 */
.sp_nav {
  right: 0;
  transform: translateX(105%);
  transition: transform 0.3s;
  max-height: calc(100vh - 100px);
  max-height: calc(100svh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.sp_nav.active {
  right: 0;
  transform: translateX(0);
}

/*-----------------------------------------------------------------
  4. トップビジュアルの高さ
  100vh はスマホでアドレスバーが出入りするたびに高さが変わり、
  画面がガタつく。svh に変え、固定ヘッダーの分も差し引く。
-----------------------------------------------------------------*/
.vs_inner img {
  height: calc(100vh - 100px);
  height: calc(100svh - 100px);
  min-height: 420px;
}

/*-----------------------------------------------------------------
  5. PCメニューが950〜1200pxで折り返す
  項目の間隔とボタン幅が固定で、横幅が足りていなかった。
-----------------------------------------------------------------*/
header {
  gap: 10px;
  flex-wrap: nowrap;
}

@media screen and (min-width: 950px) and (max-width: 1199px) {
  .pc_nav li {
    margin-left: 20px;
  }

  .pc_nav li .header_btn a {
    width: 160px;
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .pc_nav .bottom {
    font-size: 0.7rem;
  }

  header h1 img {
    height: 74px;
  }
}

/*-----------------------------------------------------------------
  6. よくあるご質問（トップ）
  300px×3列が固定で、950px前後の幅では横にはみ出していた。
-----------------------------------------------------------------*/
@media screen and (min-width: 950px) {
  .ques_container {
    grid-template-columns: repeat(3, minmax(0, 300px));
  }
}

/*-----------------------------------------------------------------
  7. 料金表がスマホで画面からはみ出す
  金額の列が「折り返さない」指定だったため。
  スマホでは折り返しを許可し、それでも足りなければ横スクロール。
-----------------------------------------------------------------*/
.ogk_price_block {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 599px) {
  .ogk_price_table th,
  .ogk_price_table td {
    padding: 12px 8px;
    font-size: 0.85rem;
  }

  .ogk_price_table td {
    white-space: normal;
  }
}

/*-----------------------------------------------------------------
  8. 支援の流れの見出し
  ・word-break: break-all は日本語だと不自然な位置で改行される
  ・左に80pxの余白は番号バッジ（span）用だが、実際には未使用
-----------------------------------------------------------------*/
.support_box h3 {
  word-break: normal;
  overflow-wrap: anywhere;
  padding: 12px 14px 16px;
  line-height: 1.6;
}

.support_box h3:has(span) {
  padding-left: 80px;
}

/*-----------------------------------------------------------------
  9. トップの3ステップ
  横並び時に中央揃えだったため、文章量の差でカードの高さが揃わなかった。
-----------------------------------------------------------------*/
@media screen and (min-width: 768px) {
  .ogk_flow {
    align-items: stretch;
  }

  .ogk_flow_arrow {
    align-self: center;
  }
}

/*-----------------------------------------------------------------
  10. 入力欄
  文字サイズが16px未満だと、iPhoneでタップしたときに
  画面が勝手に拡大される。
-----------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  font-size: 16px;
  font-family: inherit;
  max-width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  height: 48px;
  padding: 0 12px;
}

.btn {
  width: 100%;
  max-width: 260px;
}

/*-----------------------------------------------------------------
  11. 余白が狭すぎて文字が画面端に着く箇所
-----------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .marketing_container h2,
  .subsidy_flex h2,
  .marke_inner p,
  .subsidy_inner p {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ogk_scope_inner {
    padding: 28px 20px;
  }
}

/*=================================
  記事が無い時のブログ欄の調整
==================================*/
.top_blog_box p {
  overflow-wrap: anywhere;
}
