@charset "utf-8";
@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";

/* CSS Document */

/*
============================================================
 Functions / Function Index / Feature Index
 整理方針:
 - 元ファイルの内容は削除しない
 - セレクタや値は変更しない
 - 見つけやすいように用途ごとに順番のみ整理
============================================================
*/

/* =========================================================
   INDEX
   1. General page / helper styles
   2. SmartCore Functions Index (tab-content scoped styles)
   3. Shared buttons / symbols / legacy core-panel cards
   4. Functions Module Cards
   5. Function Tabs / small tabs / tab helpers
   6. Description / Process cards
   7. Page title / module title visuals
   8. Function Templates (dekirukoto / boxes / gallery)
   9. Side menu (functions-menu-modern)
   10. Functions Core Table
   11. Page-specific overrides / core index adjustments
   12. Core Function Common Layout
   13. Core Option Function Common Layout
========================================================= */

/* =========================================================
   1. General page / helper styles
========================================================= */

/* ----sub-function list---- */
.sub-function_box {
  padding: 1rem;
  background-color: #f5f5f547;
  border: 1px solid #cfcfcf;
}

.sub-function_box .lead {
  font-size: 1rem;
}

/* ----tab navigation---- */
.tab_nav-container {
  height: 2em;
}

.tab_nav-container ul {
  list-style-type: none;
}

.tab_nav-container li {
  float: left;
  margin: 20px 0 0 0;
  padding: 10px 20px 10px 20px;
  border: 1px solid #dee2e6;
  background: #f5f5f5;
}

/**---------- Styles for function list---------**/
#function .page-top-bg {
  background: #c01920;
}

#functions h2::after {
  background: var(--main-color_core2);
}

.h3_padding_adjusted {
  padding: 3rem 0 1.5rem 0;
}

/* ==============================
	FUNCTIONS
============================== */
#functions h2 img {
  max-width: 44px;
  width: 4rem;
  top: -4px;
  display: inline-block;
  margin: 1rem 1.5rem;
}

.func-table-1 {
  box-shadow: 2px 2px 7px rgba(190, 190, 190, 0.1);
}

.func-table-1 .col-sm-3 {
  font-weight: bold;
  background: #f5f5f5;
  border-bottom: 1px dashed #bbb;
}

.func-table-1 div[class^="col"] {
  border-bottom: 1px dashed #dadada;
  padding: 1rem 1.5rem;
}

#obj_intro .feature-list_wrap {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  border-radius: .5rem;
}

#obj_intro .feature-list_wrap figure {
  background: white;
  position: relative;
  padding: 1.5rem;
  border-radius: 7px;
  margin: 1rem 0;
  filter: drop-shadow(0 0px 1px rgba(0, 0, 0, 0.2)) drop-shadow(0 4px 5px rgba(0, 0, 0, 0.14)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

#obj_intro .feature-list_wrap figcaption {
  font-size: 2rem;
  padding: 1rem 0 1.5rem 0;
  font-weight: bold;
}

.function_features .feature-list_wrap {

  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  border-radius: .5rem;

}

.function_features .feature-list_wrap figure {
  background-color: #f0f8ff;
  list-style: none;
  border: 1px solid rgba(0, 0, 0, .1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
  border-radius: 1rem;
}

.function_features .feature-list_wrap figcaption {
  font-size: 1.7rem;
  font-weight: bold;
  padding: 2rem 0 2rem 0;
  text-align: center;
  letter-spacing: 0.1rem;
  line-height: 2.5rem;
}

.function_features .feature-list_wrap p {
  padding: 1rem;
  font-size: .95rem;
}

/* =========================================================
   2. SmartCore Functions Index (tab-content scoped styles)
========================================================= */

/* =========================================
   SmartCore Functions Index
   tab-content scoped styles
========================================= */

/* -------------------------
   Base
------------------------- */
.sc-func-tab-content {}

.sc-func-tab-content a {}

/* -------------------------
   Hero
------------------------- */
.sc-func-tab-content .sc-func-hero {}

.sc-func-tab-content .sc-func-hero-copy {}

.sc-func-tab-content .sc-func-lead {}

/* -------------------------
   Category cards
------------------------- */
.sc-func-tab-content .sc-func-category-row {
  margin-top: 0.5rem;
}

.sc-func-tab-content .sc-func-category-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dbe6ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.sc-func-tab-content .sc-func-category-card:hover {
  transform: translateY(-4px);
  border-color: #bdd4e5;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.sc-func-tab-content .func_index_card_image {
  min-height: 180px;
}

.sc-func-tab-content .func_index_card_body {
  padding: 24px 24px 22px;
}

.sc-func-tab-content .sc-func-category-num {
  display: inline-block;
  margin-bottom: 10px;
  color: #7d96ab;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sc-func-tab-content .func_index_card_title {
  margin-bottom: 12px;
  color: #12385b;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 700;
}

.sc-func-tab-content .func_index_card_text {
  margin-bottom: 16px;
  color: #55697b;
  font-size: 0.96rem;
  line-height: 1.9;
}

.sc-func-tab-content .sc-func-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-func-tab-content .sc-func-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f8fc;
  color: #2e628c;
  font-size: 0.82rem;
  font-weight: 600;
}

/* -------------------------
   Section heading
------------------------- */
.sc-func-tab-content .sc-func-section-title-wrap {
  margin-bottom: 10px;
}

.sc-func-tab-content .sc-func-section-title {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f6ea7 0%, #1c5f90 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sc-func-tab-content .sc-func-section-lead {
  margin: 0 0 1.5rem;
  color: #5d7183;
  line-height: 1.9;
}

/* -------------------------
   Feature cards
------------------------- */
.sc-func-tab-content .sc-func-card-grid .col-sm-6 {
  margin-bottom: 1.4rem;
}

.sc-func-tab-content .sc-func-link-card {
  display: block;
  height: 100%;
}

.sc-func-tab-content .sc-func-feature-card {
  height: 100%;
  border: 1px solid #dde7ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.sc-func-tab-content .sc-func-feature-card:hover {
  transform: translateY(-3px);
  border-color: #bfd5e4;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.sc-func-tab-content .sc-func-feature-card .card-body {
  padding: 24px 24px 22px;
}

.sc-func-tab-content .sc-func-feature-card h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: #153b5d;
  font-size: 1.12rem;
  line-height: 1.6;
  font-weight: 700;
}

.sc-func-tab-content .sc-func-feature-card h4 img {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.sc-func-tab-content .sc-func-feature-card p {
  margin-bottom: 0;
  color: #55697b;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* -------------------------
   Table area
------------------------- */
.sc-func-tab-content h3 {
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  color: #12385b;
  font-weight: 700;
}

.sc-func-tab-content .func-core-table {
  margin-top: 1rem;
  border-color: #d9e3eb;
  background: #fff;
}

.sc-func-tab-content .func-core-table th,
.sc-func-tab-content .func-core-table td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
  border-color: #d9e3eb;
  line-height: 1.8;
}

.sc-func-tab-content .func-core-table th.table-light {
  background: #f6fafc !important;
}

.sc-func-tab-content .core-title {
  margin-bottom: 0;
}

.sc-func-tab-content .core-title a {
  color: #12385b;
  font-weight: 700;
}

/* -------------------------
   Responsive
------------------------- */
@media screen and (max-width: 991px) {
  .sc-func-tab-content .func_index_card_image {
    min-height: 160px;
  }

  .sc-func-tab-content .sc-func-feature-card .card-body,
  .sc-func-tab-content .func_index_card_body {
    padding: 20px;
  }
}

@media screen and (max-width: 767px) {
  .sc-func-tab-content .sc-func-hero {
    margin-bottom: 3rem;
  }

  .sc-func-tab-content .sc-func-hero h2 {
    font-size: 1.75rem;
    line-height: 1.55;
  }

  .sc-func-tab-content .sc-func-lead,
  .sc-func-tab-content .func_index_card_text,
  .sc-func-tab-content .sc-func-feature-card p,
  .sc-func-tab-content .sc-func-section-lead {
    line-height: 1.85;
  }

  .sc-func-tab-content .func_index_card_image {
    min-height: 150px;
  }

  .sc-func-tab-content .sc-func-feature-card h4 {
    font-size: 1.04rem;
  }

  .sc-func-tab-content .func-core-table th,
  .sc-func-tab-content .func-core-table td {
    padding: 0.75rem 0.8rem;
    font-size: 0.92rem;
  }
}


/* =========================================================
   3. Shared buttons / symbols / legacy core-panel cards
========================================================= */

/*----------- lp contact button ----------*/
.lp-contact-btn {
  font-size: 1rem;
  font-weight: bold;
  display: inline-block;
  padding: 1.2rem 2rem;
  text-align: center;
  border-radius: 200px;
  border: solid 2px #29A56A;
  background-color: #fff;
  color: #29A56A;
  position: absolute;
  top: 80%;
}

/*----------- symbol image ----------*/
.img-symbol {
  max-width: 50px;
  height: auto;
}

div[class*="core-panel"] .card {
  border-radius: 10px;
  margin-bottom: 2rem;
  /*    min-height: 160px;*/
  box-shadow: 0 5px 10px rgb(107 107 107 / 10%);
  height: calc(100% - 2rem);
}

div[class*="core-panel"] .card h4 {
  font-size: 1.2rem;
  padding: 0;
  margin-bottom: .8rem;
}

.core-panel-1 h4 {
  display: -webkit-box;
  display: flex;
}

div[class*="core-panel"] .card p {
  font-size: .82rem;
  margin-bottom: 0;
  color: #747474;
  line-height: 1.5rem;
  letter-spacing: 1px;
}

/* =========================================================
   4. Functions Module Cards
========================================================= */

/* ----module-function card--- */

/* =========================================
   Functions Module Cards
   先ほどのHTMLに対応した完全版CSS
========================================= */
.func-panel {
  margin-top: 10px;
  margin-bottom: 10px;
}

.func-panel>[class*="col-"] {
  margin-bottom: 28px;
}

.func-panel .func-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.func-panel .card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e6edf5;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(18, 52, 86, 0.06);
  transition:
    transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.func-panel .func-card-link:hover .card,
.func-panel .func-card-link:focus .card,
.func-panel .func-card-link:focus-visible .card {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(18, 52, 86, 0.12);
  border-color: #cfdceb;
}

.func-panel .card-img-top {
  position: relative;
  padding: 22px 22px 0;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
}

.func-panel .card-img-top img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform .35s ease;
}

.func-panel .func-card-link:hover .card-img-top img,
.func-panel .func-card-link:focus .card-img-top img,
.func-panel .func-card-link:focus-visible .card-img-top img {
  transform: scale(1.015);
}

.func-panel .card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 22px 26px;
}

.func-panel .card-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 10px;
  margin-bottom: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #3f6f96;
  background: #eef6fd;
  border: 1px solid #d8e8f6;
  border-radius: 999px;
}

.func-panel .card-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #183b56;
}

.func-panel .card-title small {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.82em;
  font-weight: 600;
  line-height: 1.4;
  color: #5f7488;
}

.func-panel .card-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #4f6477;
  flex-grow: 1;
  min-height: 5.8em;
  padding-right: 52px;
}

.func-panel .card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 16px;
  border-radius: 50%;
  background: #f4f8fb;
  border: 1px solid #e2ebf3;
  color: #315b7d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}

.func-panel .func-card-link:hover .card-arrow,
.func-panel .func-card-link:focus .card-arrow,
.func-panel .func-card-link:focus-visible .card-arrow {
  transform: translateX(3px);
  background: #eaf4fc;
  border-color: #cfe0ef;
  color: #224d70;
}

.func-panel .card-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e3ebf3;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(18, 52, 86, 0.08);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.func-panel .card-badge img {
  display: block;
  max-width: 28px;
  max-height: 28px;
  width: auto;
  height: auto;
}

.func-panel .func-card-link:focus,
.func-panel .func-card-link:focus-visible {
  outline: none;
}

.func-panel .func-card-link:focus-visible .card {
  box-shadow:
    0 0 0 4px rgba(61, 131, 196, 0.16), 0 18px 44px rgba(18, 52, 86, 0.12);
}

/* 3カラム時の見た目を整える */
@media (min-width: 768px) {
  .func-panel .col-sm-4 {
    display: flex;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .func-panel>[class*="col-"] {
    margin-bottom: 22px;
  }

  .func-panel .card-title {
    font-size: 1.12rem;
  }

  .func-panel .card-text {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .func-panel {
    margin-top: 0;
    margin-bottom: 0;
  }

  .func-panel>[class*="col-"] {
    margin-bottom: 18px;
  }

  .func-panel .card {
    border-radius: 18px;
  }

  .func-panel .card-img-top {
    padding: 16px 16px 0;
  }

  .func-panel .card-img-top img {
    border-radius: 14px;
  }

  .func-panel .card-body {
    padding: 18px 18px 22px;
  }

  .func-panel .card-chip {
    margin-bottom: 10px;
    font-size: 0.7rem;
    padding: 6px 9px;
  }

  .func-panel .card-title {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .func-panel .card-title small {
    display: block;
    margin-top: 4px;
    margin-left: 0;
    font-size: 0.8em;
  }

  .func-panel .card-text {
    font-size: 0.92rem;
    line-height: 1.75;
    padding-right: 46px;
  }

  .func-panel .card-arrow {
    width: 32px;
    height: 32px;
    margin-top: 14px;
    font-size: 16px;
  }

  .func-panel .card-badge {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .func-panel .card-badge img {
    max-width: 24px;
    max-height: 24px;
  }
}

/* =========================================================
   5. Function Tabs / small tabs / tab helpers
========================================================= */

/**----------Tab Menues for Core and Module---------**/

/* =========================================
   Function Tabs - current style refresh
   現状のタブ感を残した更新版
========================================= */
.function_tab_cover {
  position: relative;
  margin: 60px 0 28px;
}

/* 全体のベースライン（奥の線） */
.function_tab_cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #dce6f0;
}

.function_tab_row {
  margin-left: -6px;
  margin-right: -6px;
  align-items: stretch;
}

.function_tab_col {
  display: flex;
  padding-left: 6px;
  padding-right: 6px;
}

.function_tab_item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid #dce6f0;
  border-bottom: 1px solid #dce6f0;
  /* 非アクティブタブの下線 */
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #f8fbfe 0%, #eef4f9 100%);
  color: #46627d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(18, 52, 86, 0.05);
  transition:
    transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.function_tab_item img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.function_tab_item:hover {
  transform: translateY(-2px);
  border-color: #cddceb;
  border-bottom: none;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7fb 100%);
  color: #274f73;
  box-shadow: 0 10px 24px rgba(18, 52, 86, 0.09);
}

.function_tab_item.current {
  z-index: 2;
  background: #ffffff;
  color: #183b56;
  border-color: #d7e2ed;
  border-bottom: 1px solid #ffffff;
  box-shadow: 0 10px 24px rgb(255 255 255 / 8%);
}

.function_tab_item:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(61, 131, 196, 0.16), 0 10px 24px rgba(18, 52, 86, 0.09);
}

/* モバイル */
@media (max-width: 767.98px) {
  .function_tab_cover {
    margin: 8px 0 22px;
  }

  .function_tab_row {
    margin-left: -4px;
    margin-right: -4px;
  }

  .function_tab_col {
    padding-left: 4px;
    padding-right: 4px;
  }

  .function_tab_item {
    min-height: 62px;
    padding: 12px 10px;
    gap: 8px;
    font-size: 0.88rem;
    border-radius: 14px 14px 0 0;
  }

  .function_tab_item img {
    width: 20px;
    height: 20px;
  }

  .function_tab_item.current::after {
    left: 12px;
    right: 12px;
    height: 3px;
  }
}

/* ----Core Top Small tab---- */
.nav-tabs {
  line-height: 3rem;
  padding: 2rem 0 0 0;
  font-size: 1.2rem;
}

.tab-content .small-title {
  padding: .5rem;
  font-size: 1rem;
  border-bottom: 1px dashed #6c757d;
}

.func-op-carddeck .card-title {
  color: #fe861f;
  font-size: 1.75rem;
  margin: .5rem 0 1rem 0;
}

@media (max-width: 768px) {
  .function_tab_cover div[class*="tab_"] {
    padding: 0 4px;
  }

  div[class*="core-panel"] .card-body {
    padding: 5px;
  }

  .function_tab_cover div[class*="tab_"] img {
    max-width: 50px;
  }
}

@media (max-width: 480px) {
  .img-symbol {
    width: 30px;
    margin-right: .5rem;
  }

  .tab_01_current>div,
  .tab_01_current>div a {
    font-size: 20px;
  }

  .function_tab_cover div[class*="tab_"]>div {
    padding: 8px 5px;
    font-size: 15px;
  }
}

/**----------customize---------**/
@media (max-width: 480px) {
  .flex-center {
    display: flex;
    justify-content: center;
  }
}

/* =========================================================
   6. Description / Process cards
========================================================= */

/**----------Funtions Description Card---------**/
.functions-description {
  background-color: #FFF;
}

.functions-description h4 {
  padding: 0px;
}

.functions-description .card {
  margin: 20px 0px 20px 10px;
  padding: 10px;
  background-color: #f5faff7a;
}

.functions-description .imagebox {
  margin: 20px 0;
}

.functions-description .imagebox img {
  max-width: 100%;
  border: 2px solid rgb(218 230 245 / 34%);
  border-radius: 0.25rem;
  box-shadow: 1px 1px 3px rgb(0 0 0 / 10%);
}

/**----------Funtions Process Card---------**/
.functions-process {
  background-color: #FFF;
}

.functions-process h4 {
  padding: 0px;
}

.functions-process .card {
  font-size: 1.05rem;
  margin: 2px 0;
  padding: 2px 7px 2px 0px;
  background-color: #fff;
  line-height: 1.8em;
  text-align: center;
  border-radius: 10px;
  box-shadow: 1px 1px 3px rgb(0 0 0 / 10%);
}

.functions-process .card a {
  font-weight: 700;
}

/* =========================================================
   7. Page title / module title visuals
========================================================= */

/* ----pagetitle for core--- */
.pagetitle-coreFunction {
  height: 130px;
  border-bottom: 1px solid #e2e2e2;
}

/*-------function Options-------*/
.module h2 img {
  max-width: 100px;
  padding: 0 1.5rem;
}

/* ----pagetitle for modules--- */
.pagetitle-election {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-election.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-group {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-group.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-event {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-event.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-questionnaire {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-questionnaire.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-payment {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-payment.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-e-learning {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-e-learning.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-forumevent {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-forumevent.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-businessmatching {
  background-image: url(../businessmatching/_images/pagetitle-businessmatching.png);
  background-position: center;
  height: 400px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-abstract {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-abstract.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-corporate {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-corporate.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-bbs {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-bbs.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-cms {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-cms.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-point {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-point.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-license {
  background-image: url(../homepage/2.functions/module/_images/pagetitle-license.png);
  background-position: center;
  height: 300px;
  border-bottom: 1px solid #e2e2e2;
}

.pagetitle-coreFunction,
.pagetitle-forumevent,
.pagetitle-election,
.pagetitle-e-learning,
.pagetitle-group,
.pagetitle-event,
.pagetitle-payment,
.pagetitle-businessmatching,
.pagetitle-abstract,
.pagetitle-questionnaire,
.pagetitle-corporate,
.pagetitle-bbs,
.pagetitle-cms,
.pagetitle-point,
.pagetitle-license {
  font-size: 35px;
  display: flex;
  align-items: center;
}

.function-innerlinks {
  margin: 30px;
}

.function-innerlinks ul {
  list-style-type: none;
  text-align: center;
}

.function-innerlinks li {
  font-size: 20px;
  padding: 0 20px;
  display: inline;
}

/* =========================================================
   8. Function Templates (dekirukoto / boxes / gallery)
========================================================= */

/*-------function Templates-------*/
.functions-dekirukoto {
  padding: 72px 0 88px;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 220px);
  /*padding: 50px 0 60px 0;
	background: linear-gradient(#e9fbfd, #f6feff, #FFF);*/
}

.functions-dekirukoto .heading-section {
  text-align: center;
  margin-bottom: 40px;
}

.functions-dekirukoto .heading-section h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
}

.functions-dekirukoto h1 {
  border: none;
}

.functions-dekirukoto h2 {
  color: #333;
  padding: 25px 0 10px 0;
}

.functions-dekirukoto h3 {
  font-size: 20px;
  border: none;
  margin-top: 1rem;
  padding: 0px 5px 5px 5px;
}

.functions-dekirukoto h3:before {
  content: "";
  display: block;
  background-image: url(../_images/function-icon1.png);
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  position: relative;
  top: 30px;
  left: -40px;
  background-size: cover;
  line-height: unset;
}

.functions-dekirukoto p {
  padding: 0 2.2rem;
}

.functions-dekirukoto .enlarge {
  font-size: 77px;
  color: var(--main-color_sky2);
  font-weight: bold;
  position: relative;
  top: -30px;
}

.functions-dekirukoto .inquiry-area {
  text-align: center;
  padding: 0 0 40px 0;
}

.functions-dekirukoto-boxes {
  max-width: 700px;
  min-height: 300px;
  background: #FFFFFF;
  border: 1px solid #f4f4f4;
  margin: 100px 0 50px 0;
  padding: 30px 35px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgb(0 0 0 / 12%);
}

.functions-dekirukoto-boxes p {
  padding: 0 0 15px 0;
}

.functions-dekirukoto-boxes p a {
  color: inherit;
  text-decoration: none;
}

/*----boxes election-------*/
.functions-dekirukoto-election-boxes-1 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-election-box1.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 30px 0;
}

.functions-dekirukoto-election-boxes-2 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-election-box2.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-election-boxes-3 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-election-box3.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-election-boxes-4 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-election-box4.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

/*----boxes forumevent-------*/
.functions-dekirukoto-forumevent-boxes-1 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-forumevent-box1.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 30px 0;
}

.functions-dekirukoto-forumevent-boxes-2 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-forumevent-box2.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-forumevent-boxes-3 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-forumevent-box3.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-forumevent-boxes-4 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-forumevent-box4.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

/*----boxes abstract-------*/
.functions-dekirukoto-abstract-boxes-1 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-abstract-box1.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 30px 0;
}

.functions-dekirukoto-abstract-boxes-2 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-abstract-box2.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-abstract-boxes-3 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-abstract-box3.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-abstract-boxes-4 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-abstract-box4.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-abstract-boxes-5 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-abstract-box5.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-abstract-boxes-6 {
  background-image: url(../homepage/2.functions/_images/functions-dekirukoto-abstract-box6.png);
  background-repeat: no-repeat;
  background-position-x: 250px;
  margin: 70px 0;
}

.functions-dekirukoto-abstract-boxes-1 h2,
.functions-dekirukoto-abstract-boxes-2 h2,
.functions-dekirukoto-abstract-boxes-3 h2,
.functions-dekirukoto-abstract-boxes-4 h2,
.functions-dekirukoto-abstract-boxes-5 h2,
.functions-dekirukoto-abstract-boxes-6 h2 {
  padding: 25px 0;
  text-align: left;
}

.functions-dekirukoto-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
}

.functions-dekirukoto-contents {
  list-style: none;
  padding: 0;
  margin: 0 0 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.functions-dekirukoto-contents img {
  padding: 0;
  width: 250px;
  position: relative;
  top: -30px;
}

.functions-dekirukoto-contents .number {
  font-size: 38px;
  color: #009698;
  font-weight: bold;
  position: relative;
  top: -20px;
}

.functions-dekirukoto-function-icons {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0 20px;
  padding: 0 0 50px 0;
  flex-wrap: wrap;
}

.functions-dekirukoto-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  position: relative;
  padding: 28px 24px 22px;
  border: 1px solid #e6edf5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 55, 99, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.functions-dekirukoto-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(25, 55, 99, 0.12);
  border-color: #cfe0f5;
}

.functions-dekirukoto-item .number {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  margin: 18px 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a9bd8 0%, #4db7ea 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  font-style: normal;
  font-family: inherit;
}

.functions-dekirukoto-item h3 {
  color: #333;
  position: relative;
}

.functions-dekirukoto-item h3:before {
  content: none;
}

.functions-dekirukoto-cells {
  column-count: 2;
}

.functions-dekirukoto-item p {
  padding: 10px;
  position: relative;
  line-height: 1.5em;
  grid-column: 1 / -1;
}

@media (max-width:960px) {
  .functions-dekirukoto-contents {
    display: block;
  }

  .functions-dekirukoto-item {
    width: 100%;
  }
}

.functions-goriyourei {
  padding: 15px;
  background-color: #f5f5f5;
}

.functions-goriyourei h2 {
  color: #333;
  padding: 25px 0 10px 0;
}

/*----design templates-------*/
.image_gallery .img-thumbnail {
  margin: 0 0 30px 0;
}

/* =========================================================
   9. Side menu (functions-menu-modern)
========================================================= */

/* ==============================
	2.functions
============================== */


/* 全体 */
.functions-menu-modern {
  top: 100px;
  z-index: 10;
}

.functions-menu-modern .functions-menu-panel {
  background: #ffffff;
  border: 1px solid #e7edf4;
  border-radius: 22px;
  padding: 16px 14px;
  box-shadow: 0 14px 38px rgba(20, 45, 90, 0.08);
  overflow: hidden;
  margin: 50px 0;
}

/* ヘッダー */
.functions-menu-modern .functions-menu-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef3f8;
}

.functions-menu-modern .functions-menu-title {
  margin: 0;
  font-size: 1rem;
  padding: 0;
}

.functions-menu-modern h2::after {
  display: none;
}

/* セクション */
.functions-menu-modern .functions-menu-section+.functions-menu-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.functions-menu-modern .functions-menu-section-title {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  color: #123456;
}

.functions-menu-modern .functions-menu-section-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.functions-menu-modern .functions-menu-section-title a:hover {
  color: #1890c9;
}

/* リスト */
.functions-menu-modern .functions-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.functions-menu-modern .functions-menu-list li+li {
  margin-top: 4px;
}

/* リンク */
.functions-menu-modern .functions-menu-list a {
  position: relative;
  display: block;
  padding: 7px 10px 7px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #44546a;
  text-decoration: none;
  background: transparent;
  transition:
    background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.functions-menu-modern .functions-menu-list a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9fb4c8;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* hover */
.functions-menu-modern .functions-menu-list a:hover {
  background: #f4f9fd;
  color: #1890c9;
  transform: translateX(2px);
  box-shadow: inset 0 0 0 1px #d8ebf7;
}

.functions-menu-modern .functions-menu-list a:hover::before {
  background: #1890c9;
  transform: translateY(-50%) scale(1.25);
}

/* 現在ページ用 */
.functions-menu-modern .functions-menu-list a.is-current {
  background: linear-gradient(180deg, #eef8ff 0%, #f7fbff 100%);
  color: #0f7fb2;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px #cfe7f5;
}

.functions-menu-modern .functions-menu-list a.is-current::before {
  background: #1890c9;
  transform: translateY(-50%) scale(1.35);
}

/* =========================================
   タブレット以下
========================================= */
@media (max-width: 991.98px) {
  .functions-menu-modern {
    top: 20px;
  }

  .functions-menu-modern .functions-menu-panel {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .functions-menu-modern .functions-menu-title {
    font-size: 1rem;
  }

  .functions-menu-modern .functions-menu-section-title {
    font-size: 0.82rem;
  }

  .functions-menu-modern .functions-menu-list a {
    padding: 7px 9px 7px 15px;
    font-size: 0.82rem;
    line-height: 1.4;
  }
}

/* =========================================
   スマホ
========================================= */
@media (max-width: 767.98px) {
  .functions-menu-modern {
    top: auto;
    margin-bottom: 20px;
  }

  .functions-menu-modern.sticky-top {
    position: static;
    top: auto;
  }

  .functions-menu-modern .functions-menu-panel {
    padding: 12px 10px;
    border-radius: 16px;
  }

  .functions-menu-modern .functions-menu-head {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .functions-menu-modern .functions-menu-title {
    font-size: 0.95rem;
  }

  .functions-menu-modern .functions-menu-section+.functions-menu-section {
    margin-top: 10px;
    padding-top: 10px;
  }

  .functions-menu-modern .functions-menu-section-title {
    font-size: 0.78rem;
    margin-bottom: 5px;
  }

  .functions-menu-modern .functions-menu-list li+li {
    margin-top: 3px;
  }

  .functions-menu-modern .functions-menu-list a {
    padding: 6px 8px 6px 14px;
    font-size: 0.78rem;
    line-height: 1.35;
    border-radius: 10px;
    word-break: break-word;
  }

  .functions-menu-modern .functions-menu-list a::before {
    left: 5px;
    width: 3px;
    height: 3px;
  }

  .functions-menu-modern .functions-menu-list a:hover {
    transform: none;
  }
}

/* =========================================================
   10. Functions Core Table
========================================================= */

/* =========================================================
   Functions Core Table（シンプル版：太字はタイトルのみ）
========================================================= */
.func-core-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 28px rgba(20, 45, 90, 0.06);
  font-size: 0.95rem;
  line-height: 1.7;
}

.func-core-table th,
.func-core-table td {
  padding: 16px 18px;
  vertical-align: top;
  border-right: 1px solid #dbe4ee;
  border-bottom: 1px solid #dbe4ee;
  background: #ffffff;
  font-weight: normal;
  /* ← 全部通常 */
}

.func-core-table tr:last-child th,
.func-core-table tr:last-child td {
  border-bottom: none;
}

.func-core-table th:last-child,
.func-core-table td:last-child {
  border-right: none;
}

/* 左カテゴリ */
.func-core-table th.table-light {
  width: 28%;
  min-width: 220px;
  background: #f3f7fb;
  color: #123d72;
  font-weight: normal;
  /* ← 太字やめる */
}

/* 機能名 */
.func-core-table td:nth-child(2) {
  width: 25%;
  color: #173b66;
  background: #ffffff;
  font-weight: normal;
  /* ← 太字削除 */
}

/* 説明 */
.func-core-table td:nth-child(3) {
  width: 47%;
  color: #40566f;
  background: #ffffff;
}

/* タイトルだけ太字 */
.func-core-table .core-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 700;
}

.func-core-table .core-title a {
  color: #123d72;
  text-decoration: none;
}

/* リンク */
.func-core-table a {
  color: #0f63c9;
  text-decoration: none;
}

.func-core-table a:hover {
  text-decoration: underline;
}

/* 注記 */
.func-core-table .text-danger {
  color: #d94444 !important;
  font-weight: normal;
  /* ← ここも太字やめるなら */
}

/* アンカー位置 */
.func-core-table [id] {
  scroll-margin-top: 110px;
}

/* =========================================
   レスポンシブ
========================================= */
@media (max-width: 991.98px) {

  .func-core-table,
  .func-core-table tbody,
  .func-core-table tr,
  .func-core-table th,
  .func-core-table td {
    display: block;
    width: 100% !important;
  }

  .func-core-table {
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .func-core-table tr {
    margin-bottom: 16px;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(20, 45, 90, 0.06);
  }

  .func-core-table th,
  .func-core-table td {
    border-right: none;
    border-bottom: 1px solid #e6edf5;
    padding: 14px 16px;
    background: #ffffff !important;
    font-weight: normal;
  }

  .func-core-table tr>*:last-child {
    border-bottom: none;
  }

  .func-core-table th.table-light {
    min-width: 0;
    background: #f3f7fb !important;
  }
}


/* =========================================================
   11. Page-specific overrides / core index adjustments
========================================================= */

#functions div[class*="core-panel"] h4,
#functions .func-core-table h4 {
  color: #111;
}

.core-index .core-panel-1 img {
  max-width: 1.5rem;
  margin: 0 0 0 1.5rem;
}

.core-index .func_index_h4 {
  background: #c01920;
}

#functions .func-panel .card-img-top {
  background: #1890c9;
  padding: 20px 10px 0 10px;
  border-bottom: 2px solid #1890c9;
}

#functions .func-panel img {
  max-width: 100%;
}


/* =========================================================
   12. Core Function Common Layout
========================================================= */

.core-func {
  max-width: 1040px;
  margin: 0 auto;
}

.core-func-hero {
  margin-bottom: 48px;
}

.core-func-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.4;
}

.core-func-title img {
  flex: 0 0 auto;
}

.core-func-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.core-func-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.core-func-section {
  margin-top: 64px;
}

.core-func-section-title {
  margin-bottom: 22px;
  padding: .5rem 0 .5rem 14px;
  border-left: 4px solid var(--main-color_sky2);
  line-height: 1.45;
}

.core-func-section h3::before {
  display: none;
}

.core-func-section-lead {
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
}

.core-func-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.core-func-card {
  position: relative;
  padding: 24px 24px 22px;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.core-func-card h4 {
  margin: 0 0 12px;
  padding: 1rem 0 .5rem;
  font-size: 18px;
  line-height: 1.5;
  color: #111827;
}

.core-func-card h4 .oi,
.core-func-media h4 .oi {
  margin-right: 8px;
  color: var(--main-color_sky2);
}

.core-func-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #4b5563;
}

.core-func-card p+p {
  margin-top: 10px;
}

.core-func-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #6b7280;
}

/* =========================
   Core Function Media Block
========================= */

.core-func-media {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  padding: 26px;
  margin-top: 30px;
  border: 1px solid #e5edf7;
  border-radius: 18px;
  background: #f8fbff;
}

.core-func-media>* {
  min-width: 0;
}

.core-func-media h4 {
  padding: 1rem 0;
}

.core-func-media img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* =========================
   Core Function Responsive Device Images
========================= */

.core-func-device-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.core-func-device-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.core-func-device-shot.is-pc img {
  max-width: 450px;
}

.core-func-device-shot.is-mobile img {
  max-width: 200px;
}

/* =========================
   Core Function Template Gallery
========================= */

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

.core-func-template-gallery figure {
  margin: 0;
  padding: 10px;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.core-func-template-gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.core-func-template-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* =========================
   Core Function Certification Logo
========================= */

.core-func-cert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border: 1px solid #e5edf7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.core-func-cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 18px;
  border-radius: 14px;
  background: #f8fbff;
}

.core-func-cert-logo img {
  display: block;
  width: auto;
  max-width: 120px;
  max-height: 100px;
  height: auto;
}

.core-func-cert-logo.is-wide img {
  max-width: 150px;
}

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

@media (max-width: 991px) {
  .core-func-template-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .core-func-title {
    align-items: flex-start;
    font-size: 24px;
  }

  .core-func-title img {
    width: 36px;
    height: 36px;
  }

  .core-func-grid,
  .core-func-media,
  .core-func-cert {
    grid-template-columns: 1fr;
  }

  .core-func-card {
    padding: 20px;
  }

  .core-func-cert-logo {
    min-height: 110px;
  }
}

@media (max-width: 540px) {
  .core-func-template-gallery {
    grid-template-columns: 1fr;
  }

  .core-func-device-shot.is-pc img {
    max-width: 100%;
  }

  .core-func-device-shot.is-mobile img {
    max-width: 180px;
  }
}

/* =========================
   Core Function Hero Visual (Centered)
========================= */

.core-func-visual {
  margin: 28px auto 0;
  text-align: center;
}

.core-func-visual img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  margin: 0 auto;

  border-radius: 14px;
}

/* =========================================================
   13. Core Option Function Common Layout
========================================================= */

.core-option-func {
  margin: 0 auto;
}

.core-option-func-hero {
  margin-bottom: 48px;
}

.core-option-func-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.4;
}

.core-option-func-title img {
  flex: 0 0 auto;
}

.core-option-func-lead {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
}

/* =========================
   Section
========================= */

.core-option-func-section {
  margin-top: 64px;
}

.core-option-func-section-title {
  margin-bottom: 22px;
  padding: .5rem 0 .5rem 14px;
  border-left: 4px solid var(--main-color_sky2);
  line-height: 1.45;
}

.core-option-func-section h3::before {
  display: none;
}

/* =========================
   Cards
========================= */

.core-option-func-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.core-option-func-card {
  position: relative;
  padding: 24px 24px 22px;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.core-option-func-card::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--main-color_sky2);
}

.core-option-func-card h4 {
  margin: 0 0 12px;
  padding: .5rem 0;
  font-size: 18px;
  line-height: 1.5;
  color: #111827;
}

.core-option-func-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #4b5563;
}

.core-option-func-card p+p {
  margin-top: 10px;
}

.core-option-func a {
  font-weight: 700;
}

/* =========================
   Note Box
========================= */

.core-option-func-note-box {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid #f5efe1;
  border-radius: 16px;
  background: #fffcf7;
}

.core-option-func-note-box h4 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #92400e;
}

.core-option-func-note-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #5f4b32;
}

/* =========================
   CTA
========================= */

.core-option-func .btn-wide-wrap {
  margin-top: 46px;
}

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

@media (max-width: 991px) {
  .core-option-func-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .core-option-func-title {
    align-items: flex-start;
    font-size: 24px;
  }

  .core-option-func-title img {
    width: 36px;
    height: 36px;
  }

  .core-option-func-card {
    padding: 20px;
  }

  .core-option-func-note-box {
    padding: 20px;
  }
}

/* 横幅広いカード（文章多いとき用） */
.core-option-func-card-wide {
  grid-column: span 3;
}

/* タブレット以下では通常表示 */
@media (max-width: 991px) {
  .core-option-func-card-wide {
    grid-column: span 1;
  }
}

/* =========================
   Core Option Function Step List
========================= */

.core-option-func-step-list {
  display: grid;
  gap: 14px;
}

.core-option-func-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.core-option-func-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f0f7ff;
  color: var(--main-color_sky2);
  font-size: 14px;
  font-weight: 800;
}

.core-option-func-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #4b5563;
}

@media (max-width: 540px) {
  .core-option-func-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}