@charset "UTF-8";
/*
Theme Name: Kousei Technical Consulting
Description: Kousei Technical Consulting公式サイト用WordPressテーマ
Version: 1.0.0
Author: 牟田修人
Text Domain: kousei-theme
*/
.page {
  position: relative;
}

.page__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}

.terms-info {
  background: #EBEBEC;
  padding: 0 24px 40px;
}

.article__content h2, .article__content h3, .article__content h4, .article__content h5, .article__content h6, .article__content p {
  color: #043F76;
  font-weight: 500;
}

.article__content h2, .article__content h3, .article__content h4, .article__content h5, .article__content h6 {
  /* margin-bottom: 20px; */
  margin: 20px 0;
}

.article__content__title {
  margin: 0;
  border-bottom: 0;
  margin-bottom: 10px;
  width: 100%;
  font-size: 1.5rem;
  text-align: center;
}

.article__content__img {
  margin-bottom: 30px;
}

.article__content h2 {
  border-bottom: 2px solid #043F76;
  font-size: 20px;
  padding: 0 0 5px 0;
  margin: 40px 0 0;
}

@media (min-width: 768px) {
  .article__content h2 {
    border-bottom: 2px solid #043F76;
    font-size: 26px;
  }
}

.article__content h3 {
  padding: 3px 10px;
  border-left: 4px solid #043F76;
  font-size: 20px;
}

@media (min-width: 768px) {
  .article__content h3 {
    padding: 10px;
    border-left: 4px solid #043F76;
    font-size: 20px;
  }
}

.article__content h4 {
  padding: 3px 10px;
  border-left: 4px dotted #000;
  font-size: 18px;
}

.article__content h5 {
  padding: 10px;
  border-left: 6px double #043F76;
  font-size: 16px;
}

.article__content h6 {
  padding: 10px;
  border-left: 6px double #043F76;
  font-size: 16px;
}

.article__content div {
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

.article__content p {
  font-size: 16px;
  margin: 16px 0 0;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

.article__content p a {
  border-bottom: 1px solid;
  padding: 0 0 2px;
  color: #043F76;
}

.article__content th, .article__content td {
  border: solid 1px;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 500;
}

.article__content table {
  border-collapse: collapse;
  margin: 0 auto 20px;
}

.article__content blockquote {
  position: relative;
  padding: 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-style: italic;
  background: #fff;
  border: 1px solid #043F76;
  margin: 0 0 20px;
}

.article__content blockquote a {
  color: #1A0DAB;
}

.article__content blockquote p {
  margin: 0;
}

.article__content ol {
  /* margin: 0 0 0 26px; */
  margin: 10px 0 0 26px;
  font-size: 1rem;
  gap: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.article__content ul {
  /* margin: 0 0 0 26px; */
  margin: 10px 0 0 26px;
  font-size: 1rem;
  list-style: circle;
  gap: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.article__content li {
  font-size: 16px;
  width: 100%;
}

.underpage .page__title::before, .underpage .page__title::after {
  content: none;
}

.underpage .page__header {
  width: 100%;
}

.underpage .news-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 24px;
}

.underpage .news-title {
  font-size: 20px;
  line-height: 1.75;
  border: none;
  margin: 8px 0 0;
  padding: 0;
}

.underpage .news-excerpt {
  font-size: 16px;
  line-height: 1.75;
  border: none;
}

.underpage .post__wrapper {
  max-width: 810px;
  margin: 0 auto;
}

.underpage .post-title {
  font-size: 32px;
}

.underpage .post-title--image {
  margin: 16px 0 24px;
}

.underpage .post-title--image img {
  width: 100%;
  border-radius: 10px;
}

@media screen and (max-width: 600px) {
  .underpage .news-list {
    -ms-grid-columns: (1fr)[1];
        grid-template-columns: repeat(1, 1fr);
  }
}

.underpage .header {
  background: #0f224e;
  width: 100%;
}

@media screen and (max-width: 600px) {
  .underpage .header {
    height: 64px;
  }
}

@media screen and (max-width: 600px) {
  .underpage .heading__subtitle {
    top: 100px;
    width: 80%;
    text-align: right;
    font-size: clamp(40px, 8vw, 60px);
  }
}

.underpage .common__wrapper {
  padding: 160px 0 80px;
}

@media screen and (max-width: 600px) {
  .underpage .common__wrapper {
    padding: 80px 0 48px;
  }
}

.article-footer {
  margin: 24px 0 0;
}

/* Contact Form 7 カスタムスタイル */
.cf7-custom-form {
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 24px;
}

.form-row {
  width: 100%;
}

.form-field {
  position: relative;
}

.form-field p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 100%;
}

@media (max-width: 600px) {
  .form-field p {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 8px;
  }
  .form-field br {
    display: none;
  }
}

.form-field label {
  display: block;
  font-weight: 500;
  font-size: 16px;
  color: #333;
  width: 30%;
  margin: 10px 0 0;
}

@media (max-width: 600px) {
  .form-field label {
    width: 100%;
    margin: 0;
  }
}

.required {
  background: #DA3636;
  color: white;
  font-size: 16px;
  padding: 3px 15px;
  border-radius: 4px;
  font-weight: 500;
  margin-left: 0.5rem;
}

.wpcf7-form-control-wrap {
  width: 70%;
}

@media (max-width: 600px) {
  .wpcf7-form-control-wrap {
    width: 100%;
  }
}

/* 入力フィールドのスタイル */
.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="email"],
.cf7-custom-form input[type="tel"],
.cf7-custom-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  background-color: #fafafa;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: inherit;
}

.cf7-custom-form input[type="text"]:focus,
.cf7-custom-form input[type="email"]:focus,
.cf7-custom-form input[type="tel"]:focus,
.cf7-custom-form textarea:focus {
  outline: none;
  border-color: #007cba;
  background-color: white;
  -webkit-box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
          box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* プレースホルダーのスタイル */
.cf7-custom-form input::-webkit-input-placeholder,
.cf7-custom-form textarea::-webkit-input-placeholder {
  color: #999;
  font-style: italic;
}
.cf7-custom-form input:-ms-input-placeholder,
.cf7-custom-form textarea:-ms-input-placeholder {
  color: #999;
  font-style: italic;
}
.cf7-custom-form input::-ms-input-placeholder,
.cf7-custom-form textarea::-ms-input-placeholder {
  color: #999;
  font-style: italic;
}
.cf7-custom-form input::placeholder,
.cf7-custom-form textarea::placeholder {
  color: #999;
  font-style: italic;
}

/* テキストエリアのスタイル */
.cf7-custom-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* 送信ボタンのスタイル */
.submit-row {
  text-align: right;
  margin-top: 2rem;
}

.submit-btn {
  background: #4a5d8a;
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  min-width: 200px;
  font-family: inherit;
}

.submit-btn:hover {
  background: #3d4f75;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 4px 8px rgba(74, 93, 138, 0.3);
          box-shadow: 0 4px 8px rgba(74, 93, 138, 0.3);
}

.submit-btn:active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-box-shadow: 0 2px 4px rgba(74, 93, 138, 0.3);
          box-shadow: 0 2px 4px rgba(74, 93, 138, 0.3);
}

/* エラーメッセージのスタイル */
.wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.wpcf7-validation-errors {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 1rem;
  font-size: 14px;
}

.wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 1rem;
  font-size: 14px;
}

/* フォーカス時のアニメーション */
.form-field {
  position: relative;
}

.cf7-custom-form input:focus + label,
.cf7-custom-form textarea:focus + label {
  color: #007cba;
}

/* 送信中の状態 */
.wpcf7-form.submitting .submit-btn {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

.wpcf7-form.submitting .submit-btn:hover {
  background: #6c757d;
  -webkit-transform: none;
          transform: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* 必須フィールドのハイライト */
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
}

/* スピナー（送信中のローディング） */
.wpcf7-spinner {
  margin-left: 10px;
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #4a5d8a;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.wpcf7-spinner {
  display: none !important;
}

.submit-btn {
  background: #282F6B;
  width: 320px;
  max-width: 90%;
}

.submit-row {
  margin: 0;
}

.submit-row p {
  margin: 0;
}

@media (max-width: 600px) {
  .cf7-custom-form {
    width: 100%;
  }
  .submit-row {
    text-align: center;
  }
}

.heading__subtitle {
  display: none;
}
/*# sourceMappingURL=page.css.map */