@charset "UTF-8";
@font-face {
  font-family: "KosugiMaru";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/KosugiMaru-Regular.woff2") format("woff2"); }

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  src: url("/fonts/Montserrat-VariableFont_wght.woff2") format("woff2"); }

@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 100 900;
  src: url("/fonts/Overpass-VariableFont_wght.woff2") format("woff2"); }

/* Noto Sans */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/NotoSansJP-Regular.woff2") format("woff2"); }

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/NotoSansJP-Medium.woff2") format("woff2"); }

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/NotoSansJP-Bold.woff2") format("woff2"); }

/* Noto Serif */
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 200;
  src: url("/fonts/NotoSerifJP-ExtraLight.woff2") format("woff2"); }

@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 300;
  src: url("/fonts/NotoSerifJP-Light.woff2") format("woff2"); }

@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/NotoSerifJP-Regular.woff2") format("woff2"); }

@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/NotoSerifJP-Bold.woff2") format("woff2"); }

/* Lato - Normal */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 100;
  src: url("/fonts/Lato-Thin.woff2") format("woff2"); }

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  src: url("/fonts/Lato-Light.woff2") format("woff2"); }

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Lato-Regular.woff2") format("woff2"); }

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/Lato-Bold.woff2") format("woff2"); }

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  src: url("/fonts/Lato-Black.woff2") format("woff2"); }

rem {
  display: none; }

body:not(#home) {
  background-color: #fcf8eb;
  background-image: url("/wp-content/uploads/head-line-back3.svg");
  background-size: cover;
  background-position: center; }

header {
  background-color: #fff; }

footer {
  background-color: #fff; }

.headline h1.masthead {
  margin-bottom: 0.2rem;
  padding: 0.5rem;
  border-left: 10px solid;
  color: #fff;
  font-weight: bold;
  font-size: 26px; }

#green-strong {
  margin: 1em 0em;
  color: #25b692; }

#with-frame {
  padding: 0em 1em;
  margin: 1em 0em;
  border: solid 1px #25b692;
  background: #fff;
  color: #25b692; }

/* grid 親コンテナ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* スマホは1列 */
  gap: 24px;
  padding: 20px; }

/* PC(768px以上)では2列 */
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr); } }

/* カード */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 0; }

/* タイトルは上部に */
.card-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 16px;
  border-bottom: 2px solid #1d8e5e; }

/* タイトルの下に画像＋内容を横並び */
.card-body {
  display: flex;
  flex-direction: row;
  /* 縦並びはcolumn */ }

@media (min-width: 768px) {
  .card-body {
    flex-direction: row;
    /* PCは横並び */ } }

/* 画像と本文 */
.card-image {
  flex: 1;
  object-fit: cover;
  width: 18vw;
  /* 横幅の指定 */
  aspect-ratio: 4 / 3;
  /* ここにアスペクト比を入れる */ }

@media (min-width: 768px) {
  .card-image {
    flex: 1;
    object-fit: cover;
    width: 200px;
    /* 横幅の指定 */
    aspect-ratio: 4 / 3;
    /* ここにアスペクト比を入れる */ } }

.card-content {
  padding: 14px;
  flex: 2;
  flex-wrap: wrap;
  min-width: 120px; }

.card-subtitle {
  font-size: 15px;
  font-weight: bold;
  color: #1d8e5e;
  margin: 0 0 12px; }

.card-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px; }

.card-link {
  position: relative;
  display: block;
  width: 240px;
  min-width: 120px;
  padding: 15px 0;
  background-color: #fff;
  border-radius: 8px;
  font-size: 14px;
  color: #b3b3b3;
  text-decoration: none;
  text-align: center; }

.card-link::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 22px;
  height: 22px;
  margin: auto;
  border-radius: 20px;
  background-color: #b3b3b3; }

.card-link::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #fff;
  border-bottom: 6px solid transparent;
  box-sizing: border-box; }

@media only screen and (max-width: 767px) {
  .card .card-body {
    flex-direction: column; }
    .card .card-body .card-image {
      width: 70%;
      margin: 0 auto; } }
