@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.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*トップページ*/
.about-company {
  max-width: 480px;
  margin: 2em auto;
  padding: 1em;
  background: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(60,80,120,0.08);
}
.about-company h2 {
  font-size: 1.3em;
  margin-bottom: 1em;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th, .company-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.5em 0.8em;
  vertical-align: top;
  font-size: 1em;
}
.company-table th {
  width: 36%;
  background: #f1f5f9;
  text-align: left;
  font-weight: 600;
  color: #345480;
}
.company-table td ul {
  margin: 0.3em 0 0 0.6em;
  padding: 0;
}
.company-table td ul li {
  list-style: disc;
  margin-left: 1em;
  line-height: 1.5;
}
/* フォーム */
.contactform-light {
  max-width: 480px;
  margin: 2.6em auto;
  padding: 2em 1.2em;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(40,80,140,0.10);
}
.contactform-light label {
  font-weight: 600;
  margin: 1.1em 0 0.6em;
  display: block;
  color: #354060;
  font-size: 1em;
}
.contactform-light input,
.contactform-light textarea {
  width: 96%;
  margin-bottom: 1.2em;
  padding: 0.7em 0.9em;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 1em;
  box-sizing: border-box;
}
.contactform-light input:focus,
.contactform-light textarea:focus {
  outline: none;
  border-color: #90cdf4;
  background: #fff;
}
.contactform-light .wpcf7-submit {
  padding: 0.8em 2.3em;
  background: #2171b7;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
.contactform-light .wpcf7-submit:hover {
  background: #184c7d;
}

/* Contactform7 の responseタグデザイン変更 */
.wpcf7-response-output {
  margin: 1.2em auto 0;
  padding: 1.1em 1.7em;
  font-size: 1.08em;
  border-radius: 7px;
  background: #f6faff;
  color: #2171b7;
  border: 2px solid #2171b7;
  box-shadow: 0 2px 10px rgba(33,113,183,0.06);
  font-weight: 600;
  text-align: left;
  position: relative;
  letter-spacing: 0.04em;
}
.wpcf7-mail-sent-ok {
  background: #eaf5fb;
  border-color: #2171b7;
  color: #2171b7;
}
.wpcf7-validation-errors, .wpcf7-mail-sent-ng {
  background: #fff5f7;
  border-color: #c82333;
  color: #c82333;
}
.wpcf7-response-output:before {
  content: "✔ ";
  font-size: 1.2em;
  vertical-align: middle;
  margin-right: 0.45em;
  color: #2171b7;
  opacity: 0.7;
}
.wpcf7-mail-sent-ng:before,
.wpcf7-validation-errors:before {
  content: "⚠ ";
  color: #c82333;
}
/* 固定ページの日付削除 */
.page .date-tags {
  display: none;
}
/* 小固定ページ一覧用 */
.child-card-list {
  display: flex;
  gap: 2.3em;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2em 0 1.5em 0;
}
.child-card {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 13px rgba(33,113,183,0.11);
  text-decoration: none;
  color: #232e41;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.12s;
}
.child-card:hover {
  box-shadow: 0 5px 30px rgba(33,113,183,0.19);
  transform: translateY(-4px) scale(1.03);
}
.child-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.child-card-body {
  padding: 0em 1em 1em 1em;
}
.child-card-title {
  font-size: 1.12em;
  color: #2171b7;
  font-weight: bold;
  margin-bottom: 0.35em;
}
.child-card-desc {
  font-size: 0.98em;
  color: #57687c;
  margin: 0;
}
/* footer logo 調整 */
.footer-bottom-logo img {
	max-width: 150px;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
