@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.4
*/

/* =========================================================
   受講者の声
   ========================================================= */

.ypc-voices {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto;
}

.ypc-voices-head {
  text-align: center;
  margin-bottom: 30px;
}

.ypc-voices-sub {
  display: inline-block;
  color: #0d4fa3;
  font-weight: 700;
  margin-bottom: 5px;
}

.ypc-voices-head h2 {
  margin: 0 0 10px;
  font-size: 30px;
  color: #0d4fa3;
}

.ypc-voices-head p {
  margin: 0;
}


/* 3列 × 2行 */
.ypc-voices .ypc-voices-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}


/* 各カード */
.ypc-voices .ypc-voice-card {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 25px 22px 20px;

  background: #fff;
  border: 2px solid #dbe8f7;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);

  float: none !important;
  clear: none !important;
  transform: none;
}


/* アイコン */
.ypc-voice-icon {
  font-size: 34px;
  margin-bottom: 8px;
}


/* タイトル */
.ypc-voice-card h3 {
  margin: 0 0 12px !important;
  padding: 0 0 8px !important;

  color: #0d4fa3;
  font-size: 18px;
  line-height: 1.5;
}


/* 本文 */
.ypc-voice-card p {
  margin: 0 !important;
  line-height: 1.8;
}


/* タブレット */
@media screen and (max-width: 900px) {

  .ypc-voices .ypc-voices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}


/* =========================================================
   YPC うさぎ ひょこっと案内
   ========================================================= */

.ypc-rabbit-pop {
  position: fixed;
  left: -260px;
  right: auto;
  bottom: 25px;
  z-index: 9998;

  width: 240px;
  opacity: 0;

  transition:
    left .65s cubic-bezier(.22,.8,.3,1),
    opacity .4s ease;
}

.ypc-rabbit-pop.is-show {
  left: 20px;
  right: auto;
  opacity: 1;
}


/* リンク全体 */

.ypc-rabbit-link {
  display: block;
  position: relative;
  text-decoration: none !important;
  color: inherit;
}


/* うさぎ */

.ypc-rabbit-img {
  display: block;
  width: 280px;
  height: auto;
  margin: 0;
  transition: transform .2s ease;
}


/* 吹き出し */

.ypc-rabbit-balloon {
  position: relative;

  margin: 0 30px 10px 0;
  padding: 12px 15px;

  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;

  text-align: center;
  line-height: 1.45;

  box-shadow: 3px 4px 0 rgba(0,0,0,.12);
}

.ypc-rabbit-balloon::after {
  content: "";

  position: absolute;
  right: 28px;
  bottom: -12px;

  width: 18px;
  height: 18px;

  background: #fff;

  border-right: 3px solid #111;
  border-bottom: 3px solid #111;

  transform: rotate(45deg);
}


.ypc-rabbit-balloon strong {
  display: block;

  margin-bottom: 4px;

  color: #0d4fa3;

  font-size: 16px;
}


.ypc-rabbit-balloon span {
  display: block;

  color: #111;

  font-size: 15px;
  font-weight: 700;
}


/* PCのみホバー */

@media (hover:hover) and (pointer:fine) {

  .ypc-rabbit-link:hover .ypc-rabbit-img {
    transform: translateY(-5px);
  }

}




/* ========================================
   トップページ 新着情報
======================================== */
.alignright0{
float: right;
margin: 0 0 1em 1.5em;
}


/* 更新日は非表示 */
.info1 .post-update {
  display: none !important;
}

/* 公開日 */
.info1 .post-date {
  font-size: 15px !important;
  color: #3261ab;
}

/* 日付を上、記事タイトルを下に */
.info1 .new-entry-card-content {
  display: flex !important;
  flex-direction: column !important;
}

.info1 .new-entry-card-meta {
  order: 1 !important;
}

.info1 .new-entry-card-title {
  order: 2 !important;
}

/* ========================================
   フッター サイト案内・便利なツール
======================================== */

.ypc-footer-links h3 {
  margin: 0 0 12px;
}

.ypc-footer-links h3:not(:first-child) {
  margin-top: 28px;
}

.ypc-footer-link-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.ypc-footer-link-list li {
  margin: 0 !important;
  padding: 0.4em 0 !important;
  line-height: 1 !important;
}
.ypc-footer-link-list li + li {
  margin-top: 4px !important;
}

.ypc-footer-link-list a {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit !important;
}

.ypc-footer-link-list a::before {
  content: "›";
  margin-right: 7px;
  color: #0d4fa3;
  font-weight: bold;
}
.ypc-footer-tools-all {
  margin-top: 14px;
}

.ypc-footer-tools-all a {
  font-weight: bold;
  color: #0d4fa3;
  text-decoration: none;
}

.ypc-footer-tools-all a:hover {
  text-decoration: underline;
}
.ypc-sitemap {
  max-width: 800px;
  margin: 20px auto;
}

.ypc-sitemap-section {
  margin-bottom: 40px;
}

.ypc-sitemap-section h2 {
  color: #0d4fa3;
  border-left: 6px solid #ffd84d;
  padding: 8px 0 8px 14px;
  margin-bottom: 20px;
}

.ypc-sitemap ul {
  margin: 0;
  padding-left: 24px;
}

.ypc-sitemap li {
  margin: 9px 0;
  line-height: 1.7;
}

.ypc-sitemap li::marker {
  color: #0d4fa3;
}

.ypc-sitemap a {
  text-decoration: none;
}

.ypc-sitemap a:hover {
  text-decoration: underline;
}

.ypc-sitemap-pages .children {
  margin-top: 6px;
  padding-left: 28px;
}

.ypc-sitemap-count {
  color: #777;
  font-size: 0.9em;
}

.code-scroll {
  max-height: 450px;
  overflow: auto;
  margin: 20px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f7f7f7;
}

.code-scroll pre {
  margin: 0;
  padding: 16px;
  white-space: pre;
  overflow: visible;
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  line-height: 1.6;
}
/* =====================================================
   入会までのご案内
   ===================================================== */

.ypc-join-flow {
  margin: 55px 0;
}

.ypc-join-head {
  margin-bottom: 30px;
  text-align: center;
}

.ypc-join-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 16px;
  background: #e8f1ff;
  color: #1457a6;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
}

.ypc-join-head h2 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #174f99;
  font-size: 27px;
}

.ypc-join-head h2::before,
.ypc-join-head h2::after {
  display: none;
}

.ypc-join-head p {
  margin: 0;
  line-height: 1.8;
}


/* 4ステップ */

.ypc-join-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ypc-join-item {
  position: relative;
  padding: 25px 18px 22px;
  background: #fff;
  border: 1px solid #dbe5f1;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,.05);
}

/* 次への矢印 */

.ypc-join-item:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 2;
  transform: translateY(-50%);
  color: #2468ba;
  font-size: 30px;
  font-weight: 700;
}

.ypc-join-num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 11px;
  background: #175ba8;
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.ypc-join-icon {
  height: 42px;
  color: #175ba8;
  font-size: 31px;
  line-height: 42px;
}

.ypc-join-item h3 {
  margin: 10px 0 9px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #174f99;
  font-size: 18px;
}

.ypc-join-item h3::before,
.ypc-join-item h3::after {
  display: none !important;
}

.ypc-join-item p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}


/* 初心者向けメッセージ */

.ypc-join-message {
  margin-top: 25px;
  padding: 18px 20px;
  background: #fff9dc;
  border-left: 5px solid #f3c622;
  border-radius: 7px;
  text-align: center;
}

.ypc-join-message strong {
  display: block;
  margin-bottom: 5px;
  color: #174f99;
  font-size: 18px;
}

.ypc-join-message span {
  color: #555;
  font-size: 14px;
}


/* お問い合わせ */

.ypc-join-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 25px;
  padding: 20px;
  background: #f4f8fd;
  border-radius: 10px;
}

.ypc-join-contact-text {
  text-align: center;
}

.ypc-join-contact-text span {
  display: block;
  margin-bottom: 3px;
  color: #555;
  font-size: 13px;
}

.ypc-join-contact-text a {
  color: #174f99;
  font-size: 23px;
  font-weight: 700;
  text-decoration: none;
}

.ypc-join-contact-btn {
  display: inline-block;
  padding: 13px 25px;
  background: #ffd84d;
  color: #222 !important;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none !important;
  transition: .2s;
}

.ypc-join-contact-btn:hover {
  transform: translateY(-2px);
  filter: brightness(.97);
}


/* スマホ */

@media screen and (max-width: 700px) {

  .ypc-join-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ypc-join-item {
    padding: 18px 18px 18px 75px;
    text-align: left;
    min-height: 100px;
  }

  .ypc-join-item:not(:last-child)::after {
    display: none;
  }

  .ypc-join-num {
    position: absolute;
    top: 18px;
    left: 15px;
  }

  .ypc-join-icon {
    display: none;
  }

  .ypc-join-item h3 {
    margin-top: 0 !important;
  }

  .ypc-join-message {
    text-align: left;
  }

  .ypc-join-contact {
    display: block;
  }

  .ypc-join-contact-btn {
    display: block;
    margin-top: 15px;
    text-align: center;
  }
}

/* =====================================================
   料金シミュレーション
   ===================================================== */

.ypc-sim-field-note {
  margin-top: 6px;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}
.ypc-price-simulator {
  margin: 50px 0;
}

.ypc-sim-head {
  margin-bottom: 25px;
  text-align: center;
}

.ypc-sim-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 16px;
  background: #fff1b8;
  color: #8a6200;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
}

.ypc-sim-head h2 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #174f99;
  font-size: 27px;
}

.ypc-sim-head h2::before,
.ypc-sim-head h2::after {
  display: none;
}

.ypc-sim-head p {
  margin: 0;
  line-height: 1.8;
}


/* 本体 */

.ypc-sim-box {
  max-width: 850px;
  margin: 0 auto;
  padding: 30px;
  background: #f7faff;
  border: 1px solid #d8e4f3;
  border-radius: 14px;
}


/* 選択部分 */

.ypc-sim-inputs {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
}

.ypc-sim-field label {
  display: block;
  margin-bottom: 7px;
  color: #174f99;
  font-size: 14px;
  font-weight: 700;
}

.ypc-sim-field select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #bfcde0;
  border-radius: 7px;
  color: #222;
  font-size: 15px;
}

.ypc-sim-field select:focus {
  border-color: #1f67d2;
  outline: none;
}


/* 矢印 */

.ypc-sim-arrow {
  margin: 15px 0;
  text-align: center;
  color: #1f67d2;
  font-size: 30px;
  font-weight: 700;
}


/* 結果 */

.ypc-sim-result {
  overflow: hidden;
  background: #fff;
  border: 2px solid #2468ba;
  border-radius: 12px;
}

.ypc-sim-result-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ypc-sim-result-item {
  padding: 18px;
  text-align: center;
  border-bottom: 1px solid #dbe5f2;
}

.ypc-sim-result-item:first-child {
  border-right: 1px solid #dbe5f2;
}

.ypc-sim-result-item span {
  display: block;
  margin-bottom: 4px;
  color: #666;
  font-size: 13px;
}

.ypc-sim-result-item strong {
  color: #174f99;
  font-size: 21px;
}


/* 1回あたり */

.ypc-sim-result-main {
  padding: 22px 15px;
  background: #175ba8;
  color: #fff;
  text-align: center;
}

.ypc-sim-result-main > span {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.ypc-sim-result-main div {
  font-size: 22px;
  font-weight: 700;
}

.ypc-sim-result-main strong {
  margin: 0 5px;
  color: #ffe34d;
  font-size: 42px;
}


/* 計算内容 */

.ypc-sim-breakdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  color: #555;
  font-size: 13px;
}


/* 注釈 */

.ypc-sim-note {
  margin: 15px 0 0;
  text-align: center;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
}




/* =====================================================
   山形パソコン教室 料金案内
   ===================================================== */

.ypc-price-intro {
  margin: 35px 0 50px;
  padding: 35px;
  background: #f7faff;
  border: 1px solid #dbe6f5;
  border-radius: 14px;
}

.ypc-price-head {
  text-align: center;
}

.ypc-price-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 16px;
  background: #e8f1ff;
  color: #1457a6;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
}

.ypc-price-head h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #174f99;
  font-size: 28px;
}

.ypc-price-head h2::before,
.ypc-price-head h2::after {
  display: none;
}

.ypc-price-head p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.8;
}

.ypc-price-head p strong {
  color: #ff0000;
}


/* 料金カード */

.ypc-price-system {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 25px;
}

.ypc-price-card {
  position: relative;
  flex: 1;
  padding: 28px 20px 24px;
  background: #fff;
  border: 2px solid #2b69b7;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.ypc-price-card-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 15px;
  background: #2b69b7;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.ypc-price-card-title {
  margin-bottom: 8px;
  color: #174f99;
  font-size: 27px;
  font-weight: 700;
}

.ypc-price-card-text {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.ypc-price-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b69b7;
  font-size: 38px;
  font-weight: 700;
}


/* 月額側を黄色で強調 */

.ypc-price-card-main {
  border-color: #f3bd18;
  background: #fffdf3;
}

.ypc-price-card-main .ypc-price-card-label {
  background: #f3bd18;
  color: #222;
}

.ypc-price-month {
  color: #ff0000;
  line-height: 1;
}

.ypc-price-month strong {
  font-size: 48px;
}

.ypc-price-month span {
  margin-left: 3px;
  font-size: 22px;
  font-weight: 700;
}

.ypc-price-tax {
  margin-top: 7px;
  font-size: 13px;
}


/* 約20回 */

.ypc-price-point {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px;
  background: #175ba8;
  color: #fff;
  border-radius: 10px;
  text-align: center;
}

.ypc-price-point-main {
  font-size: 22px;
  font-weight: 700;
}

.ypc-price-point-main strong {
  display: inline-block;
  margin: 0 5px;
  color: #ffe34d;
  font-size: 34px;
}

.ypc-price-point-sub {
  margin-top: 5px;
  font-size: 14px;
}


/* 特徴 */

.ypc-price-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 22px 0 10px;
  color: #174f99;
  font-weight: 700;
}

.ypc-price-note {
  margin: 12px 0 0;
  text-align: center;
  color: #666;
  font-size: 12px;
}








.ypc-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ypc-work-card {
  display: block;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  color: #222 !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ypc-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

.ypc-work-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin: 0;
}

.ypc-work-body {
  padding: 16px;
}

.ypc-work-body h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #0d4fa3;
  font-size: 18px;
}

.ypc-work-body h3::before,
.ypc-work-body h3::after {
  display: none !important;
}

.ypc-work-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}


/* =========================================
   ホームページ制作の流れ
   ========================================= */

.ypc-flow {
  margin: 50px 0;
}

.ypc-flow > h2 {
  margin-bottom: 30px;
}

.ypc-flow-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.ypc-flow-item {
  position: relative;
  padding: 24px 14px 20px;
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
}
.ypc-flow-item:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -13px;
  transform: translateY(-50%);
  color: #1f67d2;
  font-size: 28px;
  font-weight: bold;
  z-index: 2;
}

.ypc-flow-num {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1f67d2;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
}

.ypc-flow-item h3 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #124f9c;
  font-size: 17px;
}

.ypc-flow-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/************************************
** メインメニュー
************************************/
.ypc-footer {
  background: #f5f8fb;
  border-top: 4px solid #1f67d2;
  color: #222;
}

.ypc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h3,
.ypc-footer-block h3 {
  margin: 0 0 18px;
  padding-bottom: 8px;
  color: #0d4fa3;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 3px solid #0d4fa3;
}

.ypc-footer-block p {
  line-height: 1.8;
  margin: 0 0 15px;
}

.ypc-footer-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ypc-footer-block li {
  margin-bottom: 10px;
}

.ypc-footer-block a {
  color: #175fca;
  text-decoration: none;
}

.ypc-footer-block a:hover {
  text-decoration: underline;
}

.ypc-footer-tel a {
  display: inline-block;
  font-size: 26px;
  font-weight: 700;
  color: #175fca;
}

.ypc-footer-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 24px;
  background: #ffd84d;
  color: #222 !important;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
}

.ypc-footer-bottom {
  background: #164f9c;
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 14px;
}

.left0 {
    width: 48.7%;
    float: left;
    margin: 1% 0 0 1%;
}
.clear{clear:both;}
/* =========================================================
   YPC Fade Animation
   ========================================================= */

/* 基本：下からふわっと */
.fade-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

/* 表示状態 */
.fade-item.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 左から */
.fade-item.fade-left {
  transform: translateX(-30px);
}

.fade-item.fade-left.is-show {
  transform: translateX(0);
}

/* 右から */
.fade-item.fade-right {
  transform: translateX(30px);
}

.fade-item.fade-right.is-show {
  transform: translateX(0);
}

/* 少し拡大しながら */
.fade-item.fade-zoom {
  transform: scale(0.96);
}

.fade-item.fade-zoom.is-show {
  transform: scale(1);
}

/* 少し遅らせたい場合 */
.fade-delay-1 {
  transition-delay: 0.1s;
}

.fade-delay-2 {
  transition-delay: 0.2s;
}

.fade-delay-3 {
  transition-delay: 0.3s;
}

/* アニメーション軽減設定 */
@media (prefers-reduced-motion: reduce) {
  .fade-item,
  .fade-item.fade-left,
  .fade-item.fade-right,
  .fade-item.fade-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.content{
margin-top: 5px;
}
.main{
padding-top:5px;
padding-bottom:0px;
}
.entry-content{
margin-bottom: 0em;
}
#navi .navi-in > ul {
  display: flex;
  align-items: center;
}

#navi .navi-in > ul > li > a {
  width: auto;
  flex: 1 1 auto;
  position: relative;
  padding: 16px 14px;
  font-weight: 600;
  color: #ffffff;
  transition: 0.25s;
}

#navi .navi-in > ul > li:not(:last-child) > a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 30%;
  width: 1px;
  height: 40%;
  background: #ddd;
}

#navi .navi-in > ul > li > a:hover {
  color: #0b7f86;
  background: #f7fbfb;
}

#navi .navi-in > ul > li > a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 3px;
  background: #f7c733;
  transform: translateX(-50%);
  transition: 0.25s;
  border-radius: 2px;
}

#navi .navi-in > ul > li > a:hover::before {
  width: 45%;
}


/************************************
** スマホメニュー
************************************/
.slicknav_parent > .slicknav_item > a[href="#"] {
  pointer-events: none;
}

.slicknav_parent > .slicknav_item:has(> a[href="#"]) {
  cursor: pointer;
}


/************************************
** ヘッダー全体
************************************/
#header-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#header-in.wrap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}


/************************************
** ロゴ
************************************/
.logo-header {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.logo-header .site-name-text-link {
  display: block;
  margin: 0 !important;
  text-align: left !important;
}

.logo-header .site-name-text {
  text-align: left !important;
}

.logo-header img {
  display: block;
  margin: 0 !important;
  width: auto;
  max-height: 80px;
}


/************************************
** キャッチフレーズ
************************************/
.tagline {
  display: none;
}


/************************************
** ヘッダー右側
************************************/
.ypc-header-contact {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  text-align: right;
  line-height: 1.4;
}

.ypc-header-contact-top {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.ypc-header-address {
  font-size: 13px;
  color: #555;
}

.ypc-header-tel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #28569a;
  font-size: 23px;
  font-weight: 700;
  text-decoration: none;
}

.ypc-header-tel:hover {
  color: #0e6268;
  text-decoration: none;
}

.ypc-header-tel-icon {
  font-size: 18px;
}

.ypc-header-contact-bottom {
  margin-top: 5px;
}

.ypc-header-contact-btn {
  display: inline-block;
  padding: 5px 18px;
  background: #f7c733;
  border-radius: 16px;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.ypc-header-contact-btn:hover {
  background: #eab91c;
  color: #333;
  text-decoration: none;
}

/* ========================================
   計算・換算ツール
======================================== */
.ypc-tools-onepage {
  max-width:820px;
  margin:auto}

.ypc-tools-nav {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:20px 0 30px}

.ypc-tools-nav a {
  background:#0d4fa3;
  color:#fff!important;
  text-decoration:none!important;
  text-align:center;
  padding:12px 6px;
  border-radius:7px;
  font-weight:700}

.ypc-tool {
  scroll-margin-top:20px;
  border:1px solid #dbe5f1;
  border-radius:12px;
  padding:24px;
  margin:0 0 28px;
  background:#fff}

.ypc-tool h2 {
  color:#0d4fa3;
  border-left:6px solid #ffd84d;
  padding-left:12px}

.ypc-calc,.ypc-fx {
  display:grid;
  grid-template-columns:1fr 150px 35px 1fr 150px;
  gap:10px;
  align-items:center}

.ypc-tool input,.ypc-tool select {
  box-sizing:border-box;
  width:100%;
  min-height:44px;
  padding:8px;
  border:1px solid #b8c7d9;
  border-radius:6px;
  background:#fff}

.ypc-calc span,.ypc-fx span {
  text-align:center;
  font-weight:700}

.ypc-three,.ypc-dims {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px}

.ypc-three label,.ypc-dims label {
  font-weight:700}

.ypc-dims label {
  display:grid;
  grid-template-columns:1fr 80px;
  gap:6px}

.ypc-dims label input {
  grid-column:1}

.ypc-dims label select {
  grid-column:2;
  grid-row:1/3;
  align-self:end}

.ypc-answer,.results>div {
  padding:12px;
  background:#f3f8ff;
  border-radius:8px;
  text-align:center}

.ypc-answer strong,.results strong {
  display:block;
  color:#0d4fa3;
  font-size:20px}

.results {
  margin-top:18px}

.note {
  font-size:13px;
  color:#666}
/* スマホ・タブレットのフッター */
@media screen and (max-width: 1023px) {


  .ypc-footer-hours,.ypc-footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .ypc-footer-hours-box,
  .ypc-footer-schedule-box {
    min-width: 0;
  }

  .ypc-footer-hours h3,.ypc-footer-links h3 {
    margin-top: 0;
  }

  .ypc-footer-hours p {
    line-height: 1.8;
  }

  .ypc-footer-break {
    display: inline-block;
    padding-left: 54px;
  }
}

@media screen and (max-width: 900px) {
  .ypc-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .ypc-flow-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .ypc-flow-item::after {
    display: none;
  }
}


@media screen and (max-width: 768px) {
  .ypc-works-grid {
    grid-template-columns: 1fr;
  }

  .ypc-work-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
.ypc-tools-nav { grid-template-columns: repeat(3, 1fr); }
  .ypc-tool { padding: 17px; }
  .ypc-calc, .ypc-fx { grid-template-columns: 1fr 1fr; }
  .ypc-calc span, .ypc-fx span { display: none; }
  .ypc-three, .ypc-dims { grid-template-columns: 1fr; }


  .ypc-voices {
    margin: 40px auto;
  }

  .ypc-voices .ypc-voices-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .ypc-voices-head h2 {
    font-size: 24px;
  }

  .ypc-voices .ypc-voice-card {
    padding: 20px;
  }
}

@media screen and (max-width: 600px) {

  .ypc-sim-box {
    padding: 20px 15px;
  }

  .ypc-sim-inputs {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ypc-sim-result-small {
    grid-template-columns: 1fr;
  }

  .ypc-sim-result-item:first-child {
    border-right: 0;
  }

  .ypc-sim-result-main strong {
    font-size: 38px;
  }

  .ypc-sim-breakdown {
    display: block;
    text-align: center;
  }

  .ypc-sim-breakdown span {
    display: block;
    margin: 3px 0;
  }

  .ypc-price-intro {
    padding: 25px 15px;
    margin: 25px 0 35px;
  }

  .ypc-price-head h2 {
    font-size: 23px;
  }

  .ypc-price-head p {
    font-size: 15px;
  }

  .ypc-price-system {
    display: block;
  }

  .ypc-price-plus {
    height: 45px;
    font-size: 30px;
  }

  .ypc-price-card {
    padding: 22px 15px;
  }

  .ypc-price-month strong {
    font-size: 43px;
  }

  .ypc-price-point-main {
    font-size: 18px;
  }

  .ypc-price-point-main strong {
    font-size: 29px;
  }

  .ypc-price-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-left: 15px;
  }

  .ypc-flow-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ypc-flow-item {
    text-align: left;
    padding: 18px 18px 18px 72px;
    min-height: 74px;
  }

  .ypc-flow-num {
    position: absolute;
    left: 18px;
    top: 18px;
    margin: 0;
  }

  .ypc-flow-item h3 {
    font-size: 17px;
  }
  .ypc-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px 20px;
  }

  .ypc-footer-tel a {
    font-size: 23px;
  }

  #navi {
    display: none !important;
  }

  #header-in {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }

  .logo-header {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .logo-header img {
    max-width: 100% !important;
    height: auto !important;
  }

  .ypc-header-contact {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 4px 0 0 0 !important;
    text-align: right;
  }

  .ypc-header-contact-top {
    align-items: flex-end;
  }
.alignright0{
float: none;
margin: 0 0 1em 1.5em;
}



  .ypc-rabbit-pop {
    position: fixed;
    left: -280px;
    bottom: 65px;  /* 画面下から65px */
    width: 240px;
  }

  .ypc-rabbit-pop.is-show {
    left: 8px;
  }

  .ypc-rabbit-img {
    width: 240px;
  }

  .ypc-rabbit-balloon {
    margin-right: 20px;
    padding: 9px 10px;
  }

  .ypc-rabbit-balloon strong {
    font-size: 14px;
  }

  .ypc-rabbit-balloon span {
    font-size: 13px;
  }

}


/* 動きを減らす設定 */

@media (prefers-reduced-motion: reduce) {

  .ypc-rabbit-pop {
    transition: none;
  }

}