/*
Theme Name:     TEN
Template:       lightning
Author:         CM.inc
Description:    TEN用のカスタムテーマ
Version:        1.0
*/

@import url("../lightning/style.css"); /* Lightning本体のCSSを読み込み */

@media (min-width: 992px) {
    .siteHeader_logo img {
        max-height: 60px;
        height: 60px;
    }
}
@media (max-width: 768px) {
  .siteHeader .container {
      padding-bottom: 8px;
  }
}
.gMenu>li .gMenu_name {
    letter-spacing: 1px;
    font-weight: 500;
}

.btn-gradient {
  background: linear-gradient(45deg, #fff200, #ffea00, #ffd600); /* 黄色のグラデーション */
  color: #000; /* 文字色は黒でコントラストを確保 */
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  font-weight: bold;
}

.btn-gradient:hover {
  opacity: 0.8;
}

/* Set global font */
body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif !important;
  font-weight: 500;
  line-height: 1.7;
  color: #333;
  font-size: 18px;
}
.section {
  padding: 20px 20px !important;
}

.hero-section {
  background: #000; /* 黒背景 */
  color: #fff;       /* 白文字 */
  padding: 100px 20px;
  text-align: center;
  width: 600px;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title, .hero-sub-title {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.hero-title {
  animation-delay: 0.4s;
}
.hero-sub-title {
  animation-delay: 1.2s;
}


.main-bg {
  background: linear-gradient(270deg, #000, #111, #222, #000); /* モノクロの濃淡グラデーション */
  background-size: 600% 600%;
  animation: gradientMove 20s ease infinite;
  background-color: #1d1e1f;
  background-image: 
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-repeat: repeat;
  animation: gradientMove 15s ease infinite;
}

@media (min-width: 769px) {
    .pc-only-break {
        display: none; /* 要素を非表示にし、改行を無効にする */
    }
}
@media (max-width: 768px) {
    .sp-only-break {
        display: none; /* 要素を非表示にし、改行を無効にする */
    }
}


.hero-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-weight: normal;
  font-size: clamp(2.5rem, 6vw, 5rem); /* スマホ〜PCで大きく可変 */
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.hero-sub-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: clamp(2rem, 5vw, 3.5rem); /* スマホでも大きめ */
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  background: linear-gradient(transparent 60%, rgba(255, 242, 0, 0.4) 60%);
 text-shadow: 0 0 4px rgba(0, 0, 0, 0.6); /* 黒っぽい影で視認性UP */
}

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

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}
h2, .mainSection-title {
    border-top-color: #FFF;
}


.strengths {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  color: #111;
}

.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #555;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.strength-card {
  background: #FFF;
  padding: 30px 20px;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.strength-card:hover {
  transform: translateY(-5px);
}

.strength-card .icon {
  font-size: 3.5rem;
  color: #111; /* アクセントカラー（黄色） */
  margin-bottom: 12px;
}


.subSection-title:after, h3:after {
    content: "";
    line-height: 0;
    border-bottom: 0;
}

.strengths-grid h3 {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  line-height: 1.5;
  padding-bottom: 4px;
  font-weight: bold;
}

.strengths-grid h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.4em;
  background-color: rgba(238, 255, 0, 0.9);
  z-index: -1;
}

.strengths-grid h3 {
  background: linear-gradient(transparent 65%, rgba(238, 255, 0, 0.9) 65% 65%);
  max-width: -webkit-fit-content;
  max-width: fit-content;
  display: inline;
  line-height: 1.5;
  font-size: 1.5rem;
}




/* Responsive heading size for target heading */
.wp-block-heading.is-style-vk-heading-plain {
  font-size: clamp(2.8rem, 5vw, 3rem);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .wp-block-heading.is-style-vk-heading-plain {
    white-space: normal;
    display: inline-block;
    line-height: 1.3;
  }
  .wp-block-heading.is-style-vk-heading-plain::after {
    content: "";
    display: block;
  }
}


.cta {
  font-weight: 500;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column; /* スマホ（デフォルト）では縦並び */
  align-items: center;   /* 縦並び時に中央に配置 */
}

.cta a {
  max-width: 100%;
  margin: 10px;
  padding: 12px 2em;
  border: 4px solid #1d1e1f;
  border-radius: 30px;
  color: #1d1e1f;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
  display: flex;
  justify-content: center;
  line-height: 1.35em;
  text-align: center;
  box-sizing: border-box;
  width: calc(100% - 20px);
  position: relative
}

/* PC（タブレットを含む）のレイアウト */
@media (min-width: 768px) {
  .cta {
    flex-direction: row; /* PCでは横並び */
    align-items: flex-start; /* 横並びの時はデフォルトの配置（上に合わせる） */
  }

  .cta a {
    width: auto; /* PCではコンテンツの幅に合わせて調整 */
    max-width: none; /* PCでは最大幅の制限をなくすか、適切な値を設定 */
    /* 必要に応じて、PCでのmarginを調整することもできます */
  }
}

.cta a:hover {
  background: #fff;
  color: #1d1e1f;
}

.cta-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  flex-wrap: wrap;
}
.cta-text::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f105";
  font-size: 1em;
  margin-left: 5px;
  position: absolute;
  right: 20px;
  color: #666;
}
.cta-text .cta-text-detail {
  font-size:0.9em;
  background-color: transparent; /* 背景色は透明に */
  box-shadow: inset 0 -0.5em 0 rgb(238,255,0); /* 下から0.5emの高さで影を付ける */
  padding: 0 0.3em; /* 左右の余白はそのままに、上下のパディングは調整 */
  border-radius: 0.2em;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.arrow-icon {
  font-size: 1rem;
  color: #444; /* アクセントカラー。モノクロにしたい場合は #fff に変更 */
}


/*サービスページ HERO*/
.service-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    max-height: 350px;
}
@media (max-width: 768px) {
  .service-hero {
    height: calc(100vh - 53px);
  }
}
@media (min-width: 769px) {
 .service-hero {
    height: calc(100vh - 100px);
  }
}


.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover; /* 画像を拡大・トリミングしてフィット */
    z-index: 0;
}
.hero-text {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55); /* テキスト背景に軽く透過黒を追加 */
}

.service-main-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.service-sub-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 1rem;
    max-width: 600px;
    margin: 0;
}



.info-links {
  background: #FFF;
  padding: 60px 20px;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.info-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 3px solid #000;
  color: #000;
  padding: 30px 20px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  position: relative;
  border-radius: 12px;
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  position: relative;
}

.info-sub {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #666;
}
.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  background-color: rgba(238, 255, 0, 0.9);
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.info-grid h3 {
    border-bottom: 0;
    padding: 0;
}
.info-grid a {
  text-decoration: none;
}

.service-list ul {
  list-style: none;
  padding: 0;
}
.service-list li {
  margin-bottom: 10px;
}

.insta-profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.insta-profile-item {
  text-align: center;
  text-decoration: none;
  color: #333;
  width: 180px;
  font-weight: 500;
}

.insta-profile-item img {
  width: 100%;
  border-radius: 50%;
  border: 2px solid #ccc;
  transition: transform 0.3s;
}

.insta-profile-item:hover img {
  transform: scale(1.05);
}

.insta-profile-item span {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
  word-break: break-word;
}

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

.button-center a {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(45deg, #333, #666);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
}

.service-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-list ul li {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 160px;
  box-sizing: border-box;
  text-align: center;
  cursor: default;
  transition: transform 0.3s ease;
}

.service-list ul li:hover {
  transform: translateY(-8px);
}

/* アイコンは上、テキストは下 */
.icon-wrap {
  font-size: 4.5rem; /* アイコン大きめ */
  margin-bottom: 0.7rem;

  /* グラデーションカラーの設定 */
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* テキストの色 */
.text-wrap {
  font-size: 1.15rem;
  color: #222;
  font-weight: 600;
}

/* スマホ対応：3個ずつ改行 */
@media (max-width: 600px) {
  .service-list ul li {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: auto;
  }
}

.second-view {
  background-color: #fff;
  padding: 10px 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #111;
}

.service-title {
  line-height: 1.45em;
  text-align: left;
  font-size: 2.1rem;
}
.service-title span.marker-text{
background-color: transparent; /* 背景色は透明にする */
  box-shadow: inset 0 -0.57em 0 rgb(238,255,0); /* 下から0.5emの高さで影を付ける */
  padding: 0 0.1em; /* 左右の余白は維持し、上下のパディングは調整 */
  border-radius: 0.1em; /* 必要に応じて調整 */
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 24px;
  width: 100%;
}
.card-grid a{
  text-decoration: none;
  color: #1e1e1e;
}
.card {
  background: #ffffff;
  border: none;
  padding: 20px;
  box-shadow: 0;
  transition: transform 0.2s ease;
  text-align: left;
  border-radius: 0.5em;
  cursor: pointer;
}
.card:hover {
  background-color: #f8f8f8; /* ホバー時の背景色 */
  border-color: #ddd; /* ホバー時のボーダー色 */
  box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* ホバー時の影を濃くする */
  transform: translateY(-5px); /* 少し上に移動させる効果 */
}
/* ホバー時にカード内のテキストやアイコンの色を変えたい場合 */
.card:hover .card-title,
.card:hover .card-icon,
.card:hover ul li {
  color: #333; /* ホバー時にテキストやアイコンの色を少し濃くする */
}

.card a {
  text-decoration: none;
}

.card ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 6px;
  color: #333;
  line-height: 1.6;
}

.card ul li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #1e1e1e; /* アクセントの黄色 */
  font-size: 0.75em;
  line-height: 1;
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 6em;
}

.card-title {
  font-size: 1.0rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #111;
  text-align: center;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  margin-bottom: 6px;
  color: #333;
}

.siteFooter {
    border-top: 3px solid #222;
    background-color: #f9f9f9;
}

.news ul {
  padding: 0;
}


.section.results ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.section.results li {
  font-size: 20px;
  padding: 12px 0;
  border-bottom: 1px dashed #b2dfdb;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.section.results li strong {
  color: #00796b;
  font-weight: bold;
  font-size: 2em;
}


.p-wide-visual.-dark {
  background: linear-gradient(to right, #0c2239, #18314f);
  padding: 60px 20px;
  color: #fff;
}

.p-wide-visual__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.p-wide-visual__breadcrumb {
  margin-bottom: 20px;
}

.c-breadcrumb {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  color: #fff;
  font-size: 14px;
}

.c-breadcrumb__item svg {
  width: 1em;
  height: 1em;
  fill: white;
}

.p-wide-visual__page-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.p-wide-visual__message {
  font-size: 16px;
  line-height: 1.6;
}

.p-wide-visual__cta {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.c-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s;
}

.-white {
  background: #fff;
  color: #0c2239;
}

.-outline-white {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.c-button__icon {
  margin-left: 8px;
  fill: currentColor;
}

@media screen and (min-width: 768px) { /* 768px以上の画面幅（PCなど）に適用 */
  .footerMenu .container {
    display: flex;
    justify-content: center;
  }
}



/* Contact Form 7 モダンデザイン */
.wpcf7 form {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-color: #0073e6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.15);
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  background: linear-gradient(135deg, #333, #444, #555, #666);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  filter: brightness(1.1);
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #d32f2f;
  font-size: 14px;
  margin-top: -16px;
  margin-bottom: 16px;
  display: block;
}

.wpcf7-response-output {
  margin-top: 20px;
  padding: 1em;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
}


/* Contact Form 7 の input, textarea を100%に広げる */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* 各フォームフィールドを100%に強制 */
.wpcf7-form .wpcf7-form-control {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* ラベル下の余白調整 */
.wpcf7-form p {
  margin-bottom: 1.5em;
}

/* 送信ボタンも100%に広げる */
.wpcf7-form input[type="submit"] {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.wpcf7-form-control-wrap {
  width: 100% !important;
  display: block;
  max-width: 100% !important;
  box-sizing: border-box;
}
.wpcf7-form-control {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box;
}
.wpcf7-form p {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.5em;
  box-sizing: border-box;
}
.wpcf7-form label {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


.insta-banner-link {
  display: block;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  text-decoration: none;
  padding: 20px 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.insta-banner-title {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.insta-banner-text {
  font-size: 14px;
  opacity: 0.9;
}





/* ===== サイドバー全体のベース調整 ===== */
.sideSection {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  font-size: 14px;
  color: #333;
}

.sideSection aside {
  margin-bottom: 24px;
}

.sideSection h2.wp-block-heading {
    margin-bottom: 12px;
    padding-left: 12px;
    color: #222;
    position: relative;
}


/* ===== 検索フォームスタイル調整 ===== */
.wp-block-search__input {
  border-radius: 4px 0 0 4px;
  border: 1px solid #ccc;
  padding: 8px;
  width: 70%;
}


/* ===== リスト系ウィジェット（カテゴリ・アーカイブなど） ===== */
.wp-block-categories,
.wp-block-archives,
.wp-block-latest-posts {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.wp-block-categories li,
.wp-block-archives li,
.wp-block-latest-posts li {
  padding: 6px 0;
  border-bottom: 1px dotted #ddd;
}

.wp-block-categories a,
.wp-block-archives a,
.wp-block-latest-posts a {
  color: #007bff;
  text-decoration: none;
}

.wp-block-categories a:hover,
.wp-block-archives a:hover,
.wp-block-latest-posts a:hover {
  text-decoration: underline;
}



.wp-block-search__inside-wrapper {
  display: flex;
  flex-wrap: nowrap; /* 改行させない */
  gap: 4px; /* 入力欄とボタンの間の隙間 */
  align-items: center;
}

.wp-block-search__input {
  flex-grow: 1;
  min-width: 0; /* 幅制限解除 */
  padding: 8px;
  border-radius: 4px 0 0 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  flex: 1; /* 入力欄が残り幅を全部使う */
  min-width: 0; /* 幅の縮小を可能に */
}

.wp-block-search__button {
    flex-shrink: 0;
    width: 70px;
    border-radius: 0 4px 4px 0;
    /* 以前の background-color は不要 */
    background: linear-gradient(45deg, #333333, #444, #555, #666); /* モノクログラデーション */
    color: #fff; /* 文字色は白のまま */
    padding: 8px 0;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.wp-block-search__button:hover {
  background-color: #0056b3;
}





/* 全体のコンテナ */
.download-archive {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

/* 資料一覧：レスポンシブ3列グリッド */
.download-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ここが3列 */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 各資料カード */
.download-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.download-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* サムネイル画像 */
.download-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* コンテンツ部分 */
.download-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* タイトル */
.download-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.4;
}

/* 説明文 */
.download-description {
  font-size: 15px;
  color: #666;
  flex-grow: 1;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ダウンロードボタン */
.download-button {
  display: inline-block;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.download-button:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* モバイル対応：画面幅が900px未満で2列、600px未満で1列 */
@media screen and (max-width: 900px) {
  .download-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .download-list {
    grid-template-columns: 1fr;
  }
}





/* 投稿一覧コンテナ */
.post-archive {
  padding: 60px 20px;
  background-color: #f9f9f9;
  max-width: 1200px;
  margin: 0 auto;
}

/* 投稿一覧をflexで横並び（3列） */
.postList {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  align-items: stretch; /* これで高さ揃う */
}



/* 投稿カード */
.post-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0px;
  padding: 0.5em;
  display: flex;
  flex-direction: column; /* 高さ揃えるために縦並び */
  height: 100%; /* これで親に合わせて伸びる */
  box-sizing: border-box;
  flex: 0 1 calc((100% - 48px) / 3);
  margin: 0;
  transition: box-shadow 0.3s ease;
}

.post-item:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* サイドバーと親コンテナの幅をflexで管理 */



/* スマホ用レスポンシブ */
@media screen and (max-width: 767px) {
  .row {
    display: block; /* 縦並び */
  }

  .mainSection,
  .sideSection {
    flex: none;
    width: 100%;
    min-width: auto;
    margin: 0 0 24px 0;
    box-sizing: border-box;
  }

  /* 投稿カードは横幅100% */
  .post-item {
    flex: none;
    width: 100%;
  }
}

/* 投稿カードの高さを揃えるflex子の中身が伸びるように */
/* 例えば記事抜粋が可変なら */
.post-item > .media-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}



.pagination {
  margin-top: 40px;
  text-align: center;
  width: 100%;
}
/* nav-linksをフレックスで中央揃え */
.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
}

/* ulに余計なスタイルがないようにリセット */
.page-numbers {
  display: flex;
  gap: 8px; /* 数字間のスペース */
  list-style: none;
  padding: 0;
  margin: 0;
}


/* 横並び解除して縦並びに */
.media-left.postList_thumbnail {
  float: none !important; /* float解除 */
  width: 100% !important;  /* 親幅いっぱい */
  margin: 0 !important;    /* 余白リセット */
  padding: 0 !important;
}

/* 画像を幅いっぱいに */
.media-left.postList_thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

/* メディアボディも幅いっぱいに */
.media-body {
  width: 100% !important;
  margin-top: 10px; /* タイトル等と画像の間のスペース */
  font-weight: bold;
  font-family: 'Roboto', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

.media-left.postList_thumbnail {
  width:100%;
}

.media-left.postList_thumbnail img {
  width: 100%;
  height: 100px;
  display: block;
  object-fit: cover;
}




.column-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.column-item a {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 16px; /* ← 画像とテキストの間のスペース */
}

.column-thumbnail img {
  width: auto;
  height: 180px; /* 高さを固定して横長表示に */
  object-fit: cover;
  border-radius: 4px;
}

.column-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.column-title {
  margin: 0;
  font-size: 1.2em; /* ← タイトルを少し大きく */
  font-weight: bold;
  line-height: 1.4;
}

.column-date {
  font-size: 0.9em;
  color: #666;
  margin-top: 4px;
}


.news-section {
  margin: 0px auto;
  max-width: 800px;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.news-item {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.news-item:hover {
  background-color: #f5faff;
}

.news-item h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #004085;
  line-height: 1.3;
}

.news-item p {
  margin: 0 0 12px 0;
  color: #495057;
  font-size: 1rem;
  line-height: 1.5;
}

.news-item a.external-link {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.news-item a.external-link:hover {
  border-bottom: 2px solid #0d6efd;
}

/* 日付 */
.news-item .news-date {
  font-size: 0.875rem;
  color: #868e96;
  margin-bottom: 12px;
}

/* モバイルで少し詰める */
@media (max-width: 600px) {
  .news-section {
    padding: 20px 15px;
  }

  .news-item h3 {
    font-size: 1.2rem;
  }

  .news-item p {
    font-size: 0.95rem;
  }
}


.pricing-feature-list li {
  white-space: nowrap;
}


/* ===== Instagram運用サービスバナー ===== */
.sidebar-insta-banner {
  position: sticky;
  top: 20px;
  margin-top: 40px;
  z-index: 10;
}

.insta-banner-link {
  display: block;
  background-color: #222;
  color: #fff;
  padding: 16px;
  text-align: center;
  border-radius: 10px;
  transition: background-color 0.3s;
  text-decoration: none;
}

.insta-banner-link:hover {
  background-color: #444;
}

.insta-banner-title {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}

.insta-banner-text {
  font-size: 13px;
  opacity: 0.8;
}






.insta-banner-link {
  display: block;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  text-decoration: none;
  padding: 20px 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.insta-banner-title {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.insta-banner-text {
  font-size: 14px;
  opacity: 0.9;
}



.news-item {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 20px !important;
  margin-bottom: 30px !important;
  width: 100% !important;
}

.news-thumb {
  flex-shrink: 0 !important;
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  overflow: hidden !important;
}

.news-thumb img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 4px !important;
}

.news-content {
  flex-grow: 1 !important;
  min-width: 0 !important; /* テキストのはみ出し防止 */
}

.news-title {
  font-size: 1.2rem !important;
  margin: 0 0 5px !important;
}

.news-date {
  font-size: 0.9rem !important;
  color: #666 !important;
}

/* 採用情報ページ*/
/* 全体的なリセットと基本スタイル */
.recruit-page-container {
    max-width: 1000px; /* ページの最大幅 */
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif; /* フォントの指定 */
    color: #333; /* 基本の文字色 */
}

/* 各セクションの共通スタイル */
.recruit-section {
    background-color: #FFF;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.recruit-section h2 {
    font-size: 2em;
    color: #222;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.recruit-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #666; /* 下線の色 */
    margin: 10px auto 0;
}

/* ハイライトセクション（インターン） */
.recruit-section.highlight {
    text-align: center;
    padding: 10px;
    border: none;
    background: #FFF;
    box-shadow: none;
}

.recruit-page-container .highlight h2 {
  display: inline-block;
  background: linear-gradient(to top, rgba(255, 255, 0, 0.7) 0%, rgba(255, 255, 0, 0.7) 50%, transparent 50%, transparent 100%);
  padding: 2px 5px;
  color: #1e1e1e;
}

.recruit-section.highlight h2 {
    color: #1e1e1e;
}

.recruit-section.highlight h2::after {
    background-color: #ccc; /* ハイライトセクションの下線 */
}

.highlight-details p {
    font-size: 1.3em;
    margin: 15px 0;
    font-weight: bold;
}

/* リストスタイル */
.recruit-list {
    list-style: none; /* デフォルトのリストマーカーを削除 */
    padding: 0;
    text-align: center;
}

.recruit-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    display: inline-block; /* 横並びにする */
    margin: 0 15px 10px;
}

.recruit-list li::before {
    content: '✔'; /* チェックマーク */
    color: #666; /* チェックマークの色 */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 募集職種カード */
.job-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* レスポンシブ対応のグリッド */
    gap: 25px;
    margin-top: 30px;
}

.job-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.job-card h3 {
    font-size: 1.5em;
    color: #444;
    margin-bottom: 10px;
}

.job-card p {
    font-size: 0.9em;
    color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recruit-header h1 {
        font-size: 2.2em;
    }

    .recruit-header p {
        font-size: 1em;
    }

    .recruit-section h2 {
        font-size: 1.8em;
    }

    .recruit-list li {
        display: block; /* スマホで縦並びにする */
        margin: 0 auto 10px;
    }
}

@media (max-width: 480px) {
    .recruit-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .recruit-section h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .highlight-details p {
        font-size: 1.1em;
    }
}

/* 番号 */
.p-feature-panel__number-area {
    width: 120px;
    height: 120px;
}
.p-feature-panel__number-area {
    border: solid 1px #999;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px auto 1em auto;
}
.p-feature-panel__number {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-weight: 400;
    font-size: 2em;
}

/* 共通セクション見出し */
.service-section-heading {
    font-size: 2em;
    color: #222;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    border: none;
    font-weight: 700;
}
.service-hero, .service-page-container {
    font-family: "Noto Sans JP", sans-serif, "メイリオ", "Meiryo", "ヒラギノ角ゴProN", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "游ゴシック Medium", "Yu Gothic Medium", "Yu Gothic";
}
.c-num-title {
    display: flex;
    align-items: flex-start;
}
@media print, screen and (min-width: 48em) {
    .c-num-title__num {
        width: 56px;
        height: 56px;
    }
}
.c-num-title__num {
    background-color: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
@media only screen and (max-width: 47.9375em) {
    .c-num-title__num {
        width: 48px;
        height: 48px;
    }
}
@media print, screen and (min-width: 48em) {
    .c-num-title__num::before {
        line-height: 1.5;
        font-size: 24px;
        font-weight: 500;
    }
}
.service-body {
    display: flex; /* Flexboxを有効にする */
    flex-direction: row; /* PCでは要素を横に並べる */
    align-items: flex-start; /* アイテムのY軸の配置を上揃えにする */
    gap: 20px; /* アイテム間の余白を設定（必要に応じて調整） */
    align-items: center;
    margin-bottom: 2em;
}

.service-body img {
    flex-shrink: 0; /* 画像が縮小されないようにする */
    width: 140px; /* 画像の幅を調整（必要に応じて調整） */
    height: auto; /* 画像のアスペクト比を維持 */
}

.service-detail-item {
    flex-grow: 1; /* 詳細テキストが利用可能なスペースを埋めるようにする */
}

/* スマートフォン向けのスタイル */
@media (max-width: 768px) { /* 768px以下をスマートフォンと見なす（ブレイクポイントは調整可能） */
    .service-body {
        flex-direction: column; /* スマホでは要素を縦に並べる */
        align-items: center; /* アイテムのX軸の配置を中央揃えにする */
        text-align: center; /* テキストを中央揃えにする */
    }

    .service-body img {
        margin-bottom: 15px; /* 画像の下に余白を追加 */
    }
}

.p-step {
    margin-top:1em;
    list-style: none;
    counter-reset: number;
    width: 100%;
}
.c-num-title__num::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    counter-increment: number;
    content: counter(number, decimal-leading-zero);
    color: #fff;
}
@media only screen and (max-width: 47.9375em) {
    .c-num-title__num::before {
        line-height: 1.75;
        font-size: 20px;
        font-weight: 500;
    }
}
@media print, screen and (min-width: 48em) {
    .c-num-title__num-text {
        line-height: 1.5;
        font-size: 24px;
        font-weight: 500;
    }
}
@media only screen and (max-width: 47.9375em) {
    .c-num-title__num-text {
        line-height: 1.75;
        font-size: 20px;
        font-weight: 500;
    }
}
.c-num-title__num-text {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    color: #fff;
}
@media print, screen and (min-width: 48em) {
    .c-num-title__title-area {
        margin-left: 15px;
        margin-top: 9px;
    }
}
@media only screen and (max-width: 47.9375em) {
    .c-num-title__title-area {
        margin-left: 13px;
        margin-top: 7px;
    }
}
.c-num-title__title-area h3{
    border: none;
    margin: 0;
    font-weight: 700;
}
.service-detail-item p{
  font-weight: 400;
}

.card-grid img {
    max-width: 180px;
    height: auto;
    margin: 0 auto;
}
.card-title-sub {
  font-size: 0.6em;
  color: #666;
  text-align: center;
}

/* スマホ対応（Flexboxのflex-wrap: wrap;だけでも基本OKですが、必要なら） */
@media (max-width: 768px) { /* 768px以下の画面幅に適用 */
    .service-icon img {
        max-width: 45%; /* スマホでは2列にするなど、調整できます */
    }
}

/* CTAサービスコンテナのスタイル */
.cta-service {
    display: flex; /* 子要素をFlexboxで横並びにする */
    gap: 20px; /* ボタン間のスペース */
    justify-content: center; /* ボタンを中央に配置 */
    align-items: stretch; /* 高さの違うボタンでも揃える */
    width: 100%; /* 親要素の幅いっぱいに広げる */
    max-width: 800px; /* 最大幅を設定（適宜調整してください） */
    margin: 0 auto; /* 中央寄せにする場合 */
}

/* 各ボタンの共通スタイル */
.cta-service-text {
    flex: 1; /* 利用可能なスペースを均等に分け合う */
    display: flex; /* テキストをFlexboxで中央寄せにするため */
    flex-direction: column; /* テキストを縦に配置する場合 */
    justify-content: center; /* 垂直方向の中央寄せ */
    align-items: center; /* 水平方向の中央寄せ */
    padding: 15px 20px; /* ボタンのパディング */
    border: 1px solid #000; /* 黒い線 */
    border-radius: 8px; /* 角を少し丸く */
    text-decoration: none; /* 下線を削除 */
    font-weight: bold; /* テキストを太く */
    text-align: center; /* テキストを中央寄せ */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
    min-height: 80px; /* ボタンの最小高さを設定（必要に応じて） */
    box-sizing: border-box; /* パディングとボーダーを幅に含める */
}

/* 1つ目のボタン（白背景、黒文字） */
.cta-service a:nth-child(1) {
    background-color: #fff; /* 白背景 */
    color: #000; /* 黒文字 */
}

/* 2つ目のボタン（黒背景、白文字） */
.cta-service a:nth-child(2) {
    background-color: #000; /* 黒背景 */
    color: #fff; /* 白文字 */
}

/* ホバー時のスタイル */
.cta-service a:nth-child(1):hover {
    background-color: #f0f0f0; /* 白背景ボタンのホバー */
}

.cta-service a:nth-child(2):hover {
    background-color: #333; /* 黒背景ボタンのホバー */
}

/* PCのみの改行を非表示にする（PCでは横並びなので改行不要） */
.cta-service .pc-only-break {
    display: none;
}
@media (max-width: 768px) { /* 画面幅が768px以下の場合に適用（スマホ向け） */
    .cta-service {
        flex-direction: column; /* 縦並びにする */
        gap: 15px; /* 縦並びになった時のボタン間のスペース */
        padding: 0 15px; /* スマホで左右に少し余白を持たせる */
    }

    .cta-service-text {
        width: 100%; /* スマホでは幅いっぱいに広げる */
        max-width:none;
     }
    .cta-service .pc-only-break {
        display: block; /* スマホでは改行を表示 */
    }
}
.cta-service-prompt {
  font-weight: 400;
}