@charset "utf-8";
/* CSS Document */
/* ============ ULTRAPRINT: Hero image ============ */
.up-hero {
  box-sizing: border-box;
  margin: 0 auto;
}
/* 中央寄せ・横幅上限・スマホ余白 */
.up-hero--contained {
  max-width: 100%;
  padding: 0;
}
/* a はブロック化してクリック範囲を画像全体に */
.up-hero__link {
  display: block !important; /* テーマ上書き対策 */
  text-decoration: none;
}
/* 画像は常に親幅フィット、比率維持 */
.up-hero__img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
/* 余白と角丸をスマホで少し控えめに */
@media (max-width: 768px) {
  .up-hero--contained {
    padding: 0 12px;
  }
  .up-hero__img {
    border-radius: 6px;
  }
}
/* 念のため：横スクロール抑止（他要素のはみ出し対策） */
html, body {
  overflow-x: hidden;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.blog-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.blog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.blog-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.blog-body {
  padding: 16px;
}
.blog-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
}
.blog-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  height: 4.8em;
  overflow: hidden;
}
.blog-meta {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}
.blog-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  overflow: hidden;
}
.blog-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
/* フォーム全体の枠と背景 */
.wpcf7 form {
  background-color: #f9f9fc;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
/* ラベル（テキストの上の説明） */
.wpcf7-form label {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 6px;
  margin-top: 16px;
}
.wpcf7-form label span {
  display: block;
  margin-top: 10px;
}
/* 入力欄の共通スタイル */
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
}
/* テキストエリア（お問い合わせ内容など） */
.wpcf7-form textarea {
  min-height: 120px;
}
/* 送信ボタン */
.wpcf7-form input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.wpcf7-form input[type="submit"]:hover {
  background-color: #0056b3;
}
/* 全体のベーススタイル */
.blog-text {
  font-size: 17px;
  line-height: 1.9;
  color: #222;
  font-family: "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}
/* タイトル（記事冒頭の大見出し） */
.article-ttl-h2 {
  display: block;
  font-size: 2em;
  font-weight: 700;
  color: #222;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 10px;
  margin: 60px 0 40px;
  line-height: 1.6;
}
/* 本文内のH2見出し（セクション主題） */
h2.wp-block-heading {
  background-color: #f0f4f8;
  border-left: 6px solid #0073aa;
  padding: 16px 22px;
  margin: 45px 0 35px;
  font-size: 1.6em;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
}
/* 本文内のH3見出し（小見出し） */
h3.wp-block-heading {
  border-left: 4px solid #0073aa;
  padding-left: 16px;
  margin: 35px 0 25px;
  font-size: 1.3em;
  font-weight: 600;
  color: #444;
  line-height: 1.6;
}
/* 本文内のH4見出し（補足） */
h4.wp-block-heading {
  border-left: 3px solid #ccc;
  padding-left: 14px;
  margin: 30px 0 20px;
  font-size: 1.15em;
  font-weight: 500;
  color: #555;
  line-height: 1.6;
}
/* 段落の余白をゆったりと */
.blog-text p {
  margin-bottom: 1.4em;
}
/* リスト項目の行間も調整 */
.blog-text ul, .blog-text ol {
  margin-left: 1.2em;
  margin-bottom: 1.4em;
  line-height: 1.8;
}
/* リストマークと文の間も少し余裕を */
.blog-text li {
  margin-bottom: 0.4em;
}

/* ブロックエディタ内でも同じサイズにする */
.editor-styles-wrapper p {
  font-size: 17px !important;
  line-height: 1.9;
}
.page-content3 .custom-enlarge {
  width: 125%;
  max-width: 1280px;
  height: auto;
  transition: transform 0.3s ease;
}
.page-content3 .custom-enlarge:hover {
  transform: scale(1.2);
}
.small-img {
  width: 100%; /* 画像の幅を50%に縮小 */
  height: auto; /* 高さは自動で調整 */
  max-width: 1200px; /* 最大幅を300pxに設定 */
}
.page-ttl-kaigyou {
  display: inline-block;
  font-size: 1.4em; /* タイトルより少し大きめのフォントサイズ */
  font-weight: bold; /* 強調のため太字 */
  color: #333; /* 文字色は視認性の高い濃いめのグレー */
  background-color: #f9f9f9; /* わずかな背景色で強調 */
  padding: 0.5em 1em; /* 内側余白を入れてブロック感を出す */
  border-left: 5px solid #5f9ea0; /* 左側にアクセントラインを追加 */
  margin-bottom: 0.5em; /* タイトル下部に余白を付ける */
  line-height: 1.3; /* 行間を確保して読みやすく */
}
/* 導入事例 */
#casestudy .cases-wrap .text-box .page-ttl {
  font-size: 1.1em; /* または必要なサイズに調整 */
}
/* お問い合わせありがとうございます ページのスタイル */
.page-ttl {
  color: #2c3e50;
  font-size: 2.5em; /* 2.2em から 2.5em に増加 */
  text-align: center;
  margin-bottom: 1em;
}
#thanks-content {
  background-color: #f8f9fa;
  padding: 30px 0;
  text-align: center;
}
#thanks-content .wrap-inner {
  max-width: 900px; /* 800px から 900px に増加 */
  margin: 0 auto;
  padding: 0 20px;
}
#thanks-content .thanks-message, #thanks-content .contact-info {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px; /* 25px から 30px に増加 */
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
#thanks-content .thanks-message .highlight {
  color: #e74c3c;
  font-size: 1.8em; /* 1.5em から 1.8em に増加 */
  font-weight: bold;
  margin-bottom: 25px; /* 20px から 25px に増加 */
}
#thanks-content .thanks-message ul {
  list-style-type: none;
  padding-left: 0;
  display: inline-block;
  text-align: left;
  margin-bottom: 25px; /* 20px から 25px に増加 */
}
#thanks-content .thanks-message li {
  margin-bottom: 20px; /* 15px から 20px に増加 */
  padding-left: 35px; /* 30px から 35px に増加 */
  position: relative;
  font-size: 1.3em; /* 1.2em から 1.3em に増加 */
  line-height: 1.6; /* 1.5 から 1.6 に増加 */
}
#thanks-content .thanks-message li::before {
  content: "✓";
  color: #27ae60;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em; /* チェックマークも大きく */
}
#thanks-content .thanks-message .business-hours {
  font-size: 1.3em; /* 1.1em から 1.3em に増加 */
  color: #34495e;
  font-weight: bold;
  margin-top: 25px; /* 20px から 25px に増加 */
  padding: 15px; /* 10px から 15px に増加 */
  background-color: #ecf0f1;
  border-radius: 5px;
  display: inline-block;
}
#thanks-content .contact-info h2 {
  color: #2c3e50;
  font-size: 1.7em; /* 1.5em から 1.7em に増加 */
  margin-bottom: 30px; /* 25px から 30px に増加 */
  padding-bottom: 15px; /* 10px から 15px に増加 */
  border-bottom: 2px solid #3498db;
}
#thanks-content .department {
  margin-bottom: 30px; /* 25px から 30px に増加 */
  padding: 20px; /* 15px から 20px に増加 */
  background-color: #f1f8ff;
  border-radius: 5px;
  display: inline-block;
  text-align: left;
}
#thanks-content .department h3 {
  color: #3498db;
  font-size: 1.4em; /* 1.2em から 1.4em に増加 */
  margin-bottom: 15px; /* 10px から 15px に増加 */
}
#thanks-content .department p {
  margin: 8px 0; /* 5px から 8px に増加 */
  font-size: 1.1em; /* 新しく追加 */
}
#thanks-content .contact-info a {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
}
#thanks-content .contact-info a:hover {
  text-decoration: underline;
}
#thanks-content .btn-box {
  text-align: center;
  margin-top: 35px; /* 30px から 35px に増加 */
}
#thanks-content .btn {
  display: inline-block;
  padding: 15px 30px; /* 12px 24px から 15px 30px に増加 */
  background-color: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.2em; /* 1.1em から 1.2em に増加 */
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
#thanks-content .btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}
@media (max-width: 768px) { /* 600px から 768px に変更 */
  body {
    font-size: 16px; /* モバイル向けにベースフォントサイズを少し小さく */
  }
  #thanks-content .wrap-inner {
    padding: 15px;
  }
  #thanks-content .page-ttl {
    font-size: 2em; /* 1.8em から 2em に増加 */
  }
  #thanks-content .thanks-message, #thanks-content .contact-info {
    padding: 25px; /* 20px から 25px に増加 */
  }
  #thanks-content .thanks-message .business-hours {
    font-size: 1.2em; /* 1em から 1.2em に増加 */
    padding: 10px;
  }
  #thanks-content .department {
    padding: 15px;
  }
  #thanks-content .btn {
    padding: 12px 24px;
    font-size: 1.1em;
  }
}
.red-c {
  color: #FF0000 !important;
}
.happa-c {
  color: #008000 !important;
}
.sora-c {
  color: #1E90FF !important;
}
h3.under-line.page-ttl {
  color: #000000; /* 完全な黒 */
}
.ultraprint-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  max-width: 100%; /* 最大幅を100%に設定 */
  margin: 0 auto;
}
.ultraprint-benefits li {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ultraprint-benefits li::before {
  content: '';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 2.5em;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}
.ultraprint-benefits li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: all 0.3s ease;
}
.ultraprint-benefits li:nth-child(1)::after {
  background-color: #ff6b6b;
}
.ultraprint-benefits li:nth-child(1)::before {
  content: '\f0d6';
  color: #ff6b6b;
}
.ultraprint-benefits li:nth-child(2)::after {
  background-color: #4ecdc4;
}
.ultraprint-benefits li:nth-child(2)::before {
  content: '\f1cd';
  color: #4ecdc4;
}
.ultraprint-benefits li:nth-child(3)::after {
  background-color: #45b7d1;
}
.ultraprint-benefits li:nth-child(3)::before {
  content: '\f11c';
  color: #45b7d1;
}
.ultraprint-benefits li:nth-child(4)::after {
  background-color: #ff8a5b;
}
.ultraprint-benefits li:nth-child(4)::before {
  content: '\f043';
  color: #ff8a5b;
}
.ultraprint-benefits li:nth-child(5)::after {
  background-color: #a3de83;
}
.ultraprint-benefits li:nth-child(5)::before {
  content: '\f155';
  color: #a3de83;
}
.ultraprint-benefits li:nth-child(6)::after {
  background-color: #f79d84;
}
.ultraprint-benefits li:nth-child(6)::before {
  content: '\f0c0';
  color: #f79d84;
}
.ultraprint-benefits li:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
.ultraprint-benefits li:hover::before {
  transform: scale(1.2);
}
.ultraprint-benefits li:hover::after {
  height: 100%;
  opacity: 0.1;
}
.ultraprint-benefits strong {
  font-size: 1.4em;
  color: #333;
  margin-bottom: 15px;
  display: block;
  position: relative;
  z-index: 1;
}
.ultraprint-benefits p {
  color: #666;
  margin: 0;
  font-size: 1.1em;
  position: relative;
  z-index: 1;
}
@media (max-width: 1200px) {
  .ultraprint-benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .ultraprint-benefits li {
    padding: 15px;
  }
  .ultraprint-benefits li::before {
    font-size: 2.2em;
  }
  .ultraprint-benefits strong {
    font-size: 1.2em;
  }
  .ultraprint-benefits p {
    font-size: 1em;
  }
}
@media (max-width: 850px) {
  .ultraprint-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .ultraprint-benefits li {
    padding: 15px;
  }
  .ultraprint-benefits li::before {
    font-size: 2em;
  }
  .ultraprint-benefits strong {
    font-size: 1.1em;
  }
  .ultraprint-benefits p {
    font-size: 0.9em;
  }
}
.centered-img {
  margin: 1em auto 3em;
  width: 80%;
  max-width: 500px;
  text-align: center;
}
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.use-case-item {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.use-case-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.use-case-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}
.use-case-item h3 {
  font-size: 1.4em;
  color: #0056b3;
  padding: 20px 20px 10px;
  margin: 0;
}
.use-case-item ul {
  list-style-type: none;
  padding: 0 20px 20px;
  margin: 0;
  flex-grow: 1;
}
.use-case-item li {
  position: relative;
  padding-left: 5px;
  margin-bottom: 15px;
  color: #555;
  font-style: italic;
  font-weight: 600;
  text-align: left;
  font-size: 1.7rem;
}
.use-case-item li::before {
  content: '"';
  position: absolute;
  left: 0;
  color: #0056b3;
  font-size: 1.5em;
  top: -5px;
}
@media (max-width: 768px) {
  .use-case-grid {
    grid-template-columns: 1fr;
  }
  .use-case-image {
    height: 200px;
  }
}
.customer-cases-title-container {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding: 30px 0;
}
.customer-cases-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
.customer-cases-subtitle-wrapper {
  position: relative;
  display: inline-block;
}
.customer-cases-subtitle {
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, #ff3333, #ff6666);
  color: white;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(255, 51, 51, 0.3);
  transform: rotate(-3deg);
  z-index: 2;
}
.customer-cases-subtitle::before, .customer-cases-subtitle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  z-index: -1;
}
.customer-cases-subtitle::before {
  top: 5px;
  left: 5px;
  opacity: 0.7;
  filter: blur(10px);
}
.customer-cases-subtitle::after {
  top: 10px;
  left: 10px;
  opacity: 0.5;
  filter: blur(20px);
}
.customer-cases-subtitle-wrapper::before, .customer-cases-subtitle-wrapper::after {
  content: '"';
  font-size: 4em;
  position: absolute;
  color: #ff3333;
  opacity: 0.2;
  z-index: 1;
}
.customer-cases-subtitle-wrapper::before {
  left: -20px;
  top: -30px;
}
.customer-cases-subtitle-wrapper::after {
  right: -20px;
  bottom: -60px;
  transform: rotate(180deg);
}
.customer-cases-title-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: linear-gradient(to right, #ff3333, #ff6666);
}
.page-section--white {
  background-color: #f8f9fa;
  padding: 60px 15px;
  position: relative;
  overflow: hidden;
}
.page-section--white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #ff8a5b, #a3de83, #f79d84);
}
.section-title {
  text-align: center;
  font-size: 25px;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
  line-height: 1.4;
}
.section-title--underline::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background-color: #0056b3;
  margin: 20px auto 0;
}
.page-con-block-white {
  color: #000000; /* 黒色 */
}
.page-con-block-white h3, .page-con-block-white h4 {
  color: #000000; /* 見出しも黒色に */
}
.page-con-block-white .red {
  color: #ff0000; /* 赤色のテキストは赤のままに */
}
.page-con-block-white .marker {
  background-color: yellow; /* マーカー部分の背景色を黄色に */
  color: #000000; /* マーカー部分のテキストも黒に */
}
.page-ttl {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: bold;
}
.page-icon.print {
  display: inline-block;
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.page-icon.print::before {
  content: "🖨️";
  margin-right: 10px;
  text-shadow: none;
  -webkit-text-fill-color: initial;
  text-fill-color: initial;
}
.sub-ttl {
  font-size: 1.3em;
  color: #ffffff;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
/* アニメーション */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
/*.block-ttl {
    animation: pulse 2s infinite;
}*/
/* レスポンシブデザイン */
@media (max-width: 768px) {
  .page-ttl {
    font-size: 25px;
    font-size: 2.5rem;
  }
  .sub-ttl {
    font-size: 1.1em;
  }
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.reason-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}
.reason-title {
  font-size: 1.2em;
  margin-bottom: 10px;
}
.reason-number {
  font-weight: bold;
  color: #007bff;
  margin-right: 5px;
}
.reason-description {
  flex-grow: 1;
}
.reason-image {
  text-align: center;
  margin-top: 15px;
}
.responsive-image {
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}
#con03 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ultraprint-wrap {
  justify-content: center;
}
.ultraprint-wrap-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* テーブル全体のスタイル */
#compare {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 2px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}
#compare th, #compare td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #ddd;
}
/* ヘッダー行のスタイル */
#compare thead th {
  background-color: #f0f0f0;
  font-weight: bold;
  font-size: 22px;
}
/* ウルトラプリントサービス列のスタイル */
#compare th:nth-child(2), #compare td:nth-child(2) {
  background-color: #FFFFE0;
  border: 2px solid #FF0000;
  font-weight: bold;
}
/* ウルトラプリントサービス列の内容を強調 */
#compare td:nth-child(2) {
  font-size: 24px;
  color: #FF0000;
}
/* 左列（項目名）のスタイル */
#compare td:first-child {
  background-color: #FFC0CB;
  text-align: left;
  font-weight: bold;
  font-size: 20px;
}
/* 数字や重要な情報のスタイル */
#compare td:not(:first-child) {
  font-size: 22px;
  font-weight: bold;
}
/* チェックマーク */
#compare .check-mark::before {
  content: '○';
  color: #FF0000;
  font-weight: bold;
  font-size: 28px;
}
/* 赤字スタイル */
#compare .red-text {
  color: #FF0000;
  font-weight: bold;
}
/* スクロール可能なテーブル */
.js-scrollable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
  #compare {
    font-size: 16px;
  }
  #compare th, #compare td {
    padding: 10px;
  }
  #compare thead th {
    font-size: 20px;
  }
  #compare td:first-child {
    font-size: 18px;
  }
  #compare td:not(:first-child) {
    font-size: 20px;
  }
  #compare td:nth-child(2) {
    font-size: 22px;
  }
  #compare .check-mark::before {
    font-size: 24px;
  }
}
/* Contact Form 7 包括的カスタムCSS */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.contact-form-container h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}
.contact-form-container .wpcf7-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}
.contact-form-container .wpcf7-form input[type="text"], .contact-form-container .wpcf7-form input[type="email"], .contact-form-container .wpcf7-form input[type="tel"], .contact-form-container .wpcf7-form select, .contact-form-container .wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
.contact-form-container .wpcf7-form textarea {
  height: 150px;
}
.contact-form-container .wpcf7-form .wpcf7-radio {
  display: block;
  margin-bottom: 15px;
}
.contact-form-container .wpcf7-form .wpcf7-radio .wpcf7-list-item {
  display: block;
  margin-left: 0;
  margin-bottom: 5px;
}
.contact-form-container .wpcf7-form input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
.contact-form-container .wpcf7-form input[type="submit"]:hover {
  background-color: #45a049;
}
.contact-form-container .wpcf7-form .wpcf7-not-valid-tip {
  color: #f00;
  font-size: 14px;
  margin-top: 5px;
}
.contact-form-container .wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}
.contact-form-container .wpcf7 form.invalid .wpcf7-response-output {
  background-color: #ffebee;
  color: #d32f2f;
}
.contact-form-container .wpcf7 form.sent .wpcf7-response-output {
  background-color: #e8f5e9;
  color: #4caf50;
}
/* 追加のスペーシング調整 */
.contact-form-container .wpcf7-form > p {
  margin-bottom: 15px;
}
.contact-form-container .wpcf7-form > p:last-of-type {
  margin-bottom: 0;
}
.claim_flow dd img.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.m_oshipoint {
  text-align: center;
}
/* formエラー時の対応 */
.form_temp {
  display: block;
  text-align: center;
  width: 300px;
  margin: 40px auto 0;
  background-color: red;
  color: white;
  height: 2.5em;
  line-height: 2.5em;
  border-radius: 24px;
  font-weight: bold;
}
.form_temp:hover {
  background-color: white;
  border: 1px solid red;
  color: red;
}
@media all and (min-width:1024px) {
  /*　699px以下の場合はこのCSSが適用されます　*/
  body {}
  header {
    position: fixed;
    z-index: 2000;
  }
  main {
    margin-top: 156px;
  }
}
.link-footer-contact {
  display: none;
}
@media only screen and (max-width: 1024px) {
  .link-footer-contact {
    display: block;
    position: absolute;
    top: 16px;
    left: calc(50% - 60px);
    width: 120px;
    background-color: red;
    text-align: center;
    color: #fff;
    font-weight: bold;
    border-radius: 12px;
    font-size: 12px;
    padding: 2px 0;
  }
  #footer-contact {
    padding-top: 60px;
  }
}
.customers-wrap {
  width: 100%;
  background-color: #e60012;
  color: #fff;
  text-align: center;
  padding-bottom: 40px;
/*  padding-top: 30px;*/
  margin-bottom: 60px;
}
.c-w-read-title {
  font-size: 32px;
  margin-bottom: 15px
}
.c-w-read-body {
  font-size: 20px;
}
.customers-wrap img {
  width: 80%;
  margin-top: 20px;
}
@media only screen and (max-width: 959px) {
  .c-w-read-title {
    font-size: 26px;
    margin-bottom: 15px
  }
  .c-w-read-body {
    font-size: 18px;
  }
  .customers-wrap img {
    width: 90%;
    margin-top: 20px;
  }
}
@media only screen and (max-width: 648px) {
  .customers-wrap {
    padding-bottom: 25px;
    padding-top: 20px
  }
  .c-w-read-title {
    font-size: 20px;
    margin-bottom: 15px
  }
  .c-w-read-body {
    font-size: 14px;
  }
}
@media only screen and (max-width: 470px) {
  .customers-wrap {
    padding-bottom: 20px;
    padding-top: 15px;
    margin-top: 20px;
  }
  .c-w-read-title {
    font-size: 20px;
    margin-bottom: 10px
  }
  .c-w-read-body {
    font-size: 8px;
  }
  .customers-wrap img {
    margin-top: 15px;
  }
}
/*　スライドショー矢印 */
.slick-arrow.slick-prev {
  width: 40px;
  height: 40px;
  border-top: 8px solid white;
  border-left: 8px solid white;
  transform: rotate(-45deg);
  opacity: .7;
}
.slick-arrow.slick-next {
  width: 40px;
  height: 40px;
  border-top: 8px solid white;
  border-right: 8px solid white;
  transform: rotate(45deg);
  opacity: .7;
}
/* 機種ページのお問い合わせボタン */
.button-to-contact {
  display: block;
  width: 300px;
  max-width: 100%;
  margin: 32px auto 0;
  background-color: red;
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 16px;
  padding: 8px;
  transition: all .3s !important;
  border: 1px solid red;
}
.button-to-contact:hover {
  background-color: white;
  color: red;
  transition: all .3s !important;
}
/* 以下、フッターのお問い合わせ部分の修正：LINE問い合わせを削除 */
/* LINE問い合わせ復活時はfooter.php修正の上、この部分を全削除 */
/*お問い合わせ全体*/
.f-contact .flex-wrap .flex-item {
  display: flex;
  justify-content: space-between;
}
/* LINE問い合わせ追加2023-11-20 */
.line-friend a {
  display: block;
}
.line-friend img {
  display: block;
  width: 120px;
}
.line-friend span {
  display: none;
}
/* メール */
#contact-mail {
  width: 20%;
  height: 120px;
  font-size: 24px !important;
  padding-top: 38px !important;
}
/* 電話 */
#contact-tel {
  width: 30%;
  height: 120px;
  background-color: #FEF5D9;
  border-radius: 14px;
  font-size: 26px;
  padding-top: 28px;
}
#contact-tel .red-c {
  font-size: 24px;
  margin: 0;
}
#contact-tel div {
  font-size: 14px;
}
#contact-tel span {
  margin-right: 8px;
}
/* カスタマーサポート */
#contact-customer {
  width: 30%;
  height: 120px;
}
#contact-customer p {
  font-size: 24px;
  margin-bottom: 8px;
}
#contact-customer span {
  display: block;
  color: black;
  font-size: 16px;
  padding: 0;
}
#contact-customer a {
  display: block;
  width: 100%;
  background-color: #FEF5D9;
  border-radius: 14px;
  font-size: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
@media only screen and (max-width: 1024px) {
  #contact-mail {
    width: 25%;
  }
  #contact-tel {
    width: 35%;
  }
  #contact-customer {
    width: 35%;
  }
  @media only screen and (max-width: 959px) {
    .f-contact .flex-wrap .flex-item {
      flex-direction: column;
    }
    .line-friend {
      width: 96%;
      margin: 16px auto 24px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 24px;
      font-weight: bold;
      background-color: #06c755;
      border-radius: 24px;
      box-shadow: 0px 4px #00b900;
    }
    .line-friend span {
      display: block;
      line-height: 1.5em;
    }
    #contact-mail {
      width: 96%;
      height: 80px;
      margin: 16px auto 24px;
      padding-top: 20px !important;
    }
    #contact-tel {
      width: 96%;
      margin: 0 auto 40px;
      height: 80px;
      padding-top: 10px !important;
    }
    #contact-customer {
      width: 96%;
      padding-top: 24px;
      border-top: 1px dotted red;
      margin: 0 auto 40px;
    }
  }
}
@media all and (max-width:699px) {
  /*　699px以下の場合はこのCSSが適用されます　*/
  body {}
  .line-friend {
    font-size: 18px;
    padding: 16px 0;
  }
  .line-friend img {
    width: 15%;
  }
  .line-friend span {
    line-height: 1.3em;
  }
}
/* LINE問い合わせ実施時の削除部分ここまで */
#model-flex-wrap {
  justify-content: center;
}
.page-sub-menu-wrap {
  justify-content: center;
}
/* エラーについてのよくあるご質問 */
.error_movie_inner {
  text-align: center;
}
.text_align_left {
  text-align: left;
}
/* faq ご請求の流れ */
.claim_flow dd img {
  display: block;
  width: 90%;
  max-width: 560px;
  margin: 24px;
}
@media all and (max-width:699px) {
  /*　699px以下の場合はこのCSSが適用されます　*/
  body {}
  .claim_flow dd img {
    width: 100%;
    margin: 12px 0;
  }
}
/* メーカー選択ボタン */
.error_select_maker ul {
  display: flex;
  justify-content: center;
  padding-bottom: 80px;
}
.error_select_maker ul li a {
  display: block;
  width: 30vw;
  max-width: 200px;
  background-color: #017c45;
  color: white;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 32px;
}
.error_select_maker ul li:first-of-type a {
  margin-right: 10vw;
}
/* メーカー選択ボタンページ内リンク */
.error_pagelink {
  padding-top: 40px;
  padding-bottom: 80px;
}
/* メーカータイトル */
.error_movie_inner h3 {
  font-size: 24px;
  font-weight: bold;
  color: #017c45;
  border-top: 2px solid #017c45;
  border-bottom: 2px solid #017c45;
  padding-top: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
}
/* エラー内容 */
.error_movie_inner .question {
  text-align: left;
}
/* 動画フレーム */
.error_movie {
  display: block;
  width: 80%;
  margin: 8px auto 0;
}
/* 料金プラン　機種の画像調整 */
.model-item .img-box {
  display: flex;
  align-items: center;
  height: 220px;
  vertical-align: middle;
}
@media all and (max-width:1023px) {
  /*　1023px以下の場合はこのCSSが適用されます　*/
   .model-item .img-box {
    height: 25vw;
  }
}
  @media all and (max-width:699px) {
    /*　699px以下の場合はこのCSSが適用されます　*/
     .model-item .img-box {
      height: 35vw;
    }
  }