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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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



/* =====京ひめり TOP LP===== */

/* ヘッダー下～本文までの余白を縮める */
.home.page #content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home.page .content-in {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home.page .main {
  margin-top: 0 !important;
  padding-top: 20px !important;
}

.home.page .article,
.home.page .entry-content {
  margin-top: 0 !important;
}

/* 本文背景を外側と一体化 */
.home.page .main {
  background-color: transparent;
  box-shadow: none;
}

/* 投稿日・更新日を非表示 */
.home.page .date-tags {
  display: none;
}

/* ========================================
   ボタン
======================================== */

.himeri-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 300px;
}

.himeri-btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 64px;
  padding: 15px 26px;

  border-radius: 12px;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;

  text-decoration: none !important;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

/* オレンジボタン */
.himeri-btn-primary {
  background: #df6838;
  border: 1px solid #df6838;
  color: #fff !important;
}

.himeri-btn-primary:hover {
  background: #c9572e;
  border-color: #c9572e;
  color: #fff !important;
  transform: translateY(-1px);
}

/* 白・生成りボタン */
.himeri-btn-outline {
  background: #fffdf8;
  border: 1px solid #cdbeb3;
  color: #453b36 !important;
}

.himeri-btn-outline:hover {
  background: #f4eee4;
  border-color: #b5a297;
  color: #453b36 !important;
  transform: translateY(-1px);
}

.himeri-arrow {
  margin-left: 30px;
  font-size: 21px;
  font-weight: 400;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .himeri-buttons {
    max-width: 100%;
  }

  .himeri-btn {
    min-height: 58px;
    padding: 13px 20px;
    font-size: 16px;
  }
}

/* ========================================
   セクション見出し
======================================== */

.himeri-section-title {
  position: relative;

  margin: 60px 0 24px !important;
  padding: 0 0 5px 29px !important;

  background: none !important;

  border: none !important;
  border-bottom: 1px solid #659c97 !important;

  color: #659c97 !important;

  font-family:
    Georgia,
    "Times New Roman",
    "Yu Mincho",
    "YuMincho",
    serif;

  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* 左側の菱形 */
.himeri-section-title::before {
  content: "";

  position: absolute;
  left: 4px;
  top: 50%;

  width: 15px;
  height: 15px;

  background: #659c97;

  transform:
    translateY(-58%)
    rotate(45deg);
}

/* スマホ */
@media screen and (max-width: 768px) {
  .himeri-section-title {
    margin-top: 45px !important;
    padding-left: 25px !important;

    font-size: 22px !important;
  }

  .himeri-section-title::before {
    width: 13px;
    height: 13px;
  }
}


/* ========================================
   Contact Form 7 / 京ひめり
======================================== */

.himeri-contact-form {
  max-width: 760px;
  margin: 0 auto;
}

.himeri-form-row {
  margin-bottom: 28px;
}

.himeri-form-label {
  display: block;
  margin-bottom: 9px;

  color: #453b36;
  font-size: 16px;
  font-weight: 600;
}

.himeri-contact-form input[type="text"],
.himeri-contact-form input[type="email"],
.himeri-contact-form select,
.himeri-contact-form textarea {
  box-sizing: border-box;
  width: 100%;

  padding: 14px 16px;

  background: #fffdf8;
  border: 1px solid #d6c9bc;
  border-radius: 8px;

  color: #453b36;
  font-size: 16px;

  box-shadow: none;
}

.himeri-contact-form input:focus,
.himeri-contact-form select:focus,
.himeri-contact-form textarea:focus {
  outline: none;
  border-color: #659c97;
}

.himeri-contact-form textarea {
  min-height: 220px;
  resize: vertical;
}

/* 必須・任意 */
.himeri-contact-form .required,
.himeri-contact-form .optional {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;

  border-radius: 4px;

  font-size: 11px;
  font-weight: 400;
}

.himeri-contact-form .required {
  background: #df6838;
  color: #fff;
}

.himeri-contact-form .optional {
  background: #e7e1d8;
  color: #655a54;
}

/* プライバシーポリシー */
.himeri-form-privacy {
  margin: 30px 0 22px;
  padding: 18px;

  background: #f3eee5;
  border-radius: 8px;

  font-size: 14px;
  line-height: 1.8;
}

.himeri-form-privacy a {
  color: #568c87;
  text-decoration: underline;
}

/* 送信ボタン */
.himeri-form-submit {
  margin-top: 30px;
  text-align: center;
}

.himeri-contact-form input[type="submit"] {
  min-width: 260px;
  padding: 16px 45px;

  background: #df6838;
  border: 1px solid #df6838;
  border-radius: 10px;

  color: #fff;
  font-size: 17px;
  font-weight: 500;

  cursor: pointer;
  transition: 0.2s ease;
}

.himeri-contact-form input[type="submit"]:hover {
  background: #c9572e;
  border-color: #c9572e;
}

/* CF7エラー表示 */
.himeri-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b34f38;
  font-size: 13px;
}

.himeri-contact-form .wpcf7-response-output {
  margin: 25px 0 0 !important;
  padding: 14px 18px !important;

  border-radius: 8px;
  font-size: 14px;
}

/* スマホ */
@media screen and (max-width: 768px) {

  .himeri-form-row {
    margin-bottom: 22px;
  }

  .himeri-contact-form input[type="text"],
  .himeri-contact-form input[type="email"],
  .himeri-contact-form select,
  .himeri-contact-form textarea {
    font-size: 16px;
  }

  .himeri-contact-form input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

/* Contact Form 7 内の余計な段落余白を消す */
.himeri-contact-form p {
  margin: 0 !important;
}

/* フォーム内の不要な自動改行を消す */
.himeri-contact-form br {
  display: none;
}

/* 各入力項目の間隔は自分で管理 */
.himeri-form-row {
  margin: 0 0 28px 0 !important;
}

/* ラベルと入力欄の間隔 */
.himeri-form-label {
  display: block;
  margin: 0 0 8px 0 !important;
}

/* CF7が付けるspanも余計な余白を持たせない */
.himeri-contact-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0 !important;
}



/* ==============================
   FLOW
============================== */

.himeri-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0 60px;
}

.himeri-flow-item {
  position: relative;
  padding: 28px 18px 24px;
  background: #fffdf8;
  border: 1px solid #e1d8ce;
  border-radius: 10px;
  text-align: center;
}

/* ステップ番号 */
.himeri-flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  margin-bottom: 12px;

  background: #659c97;
  border-radius: 50%;

  color: #fff;
  font-size: 13px;
}

/* アイコン */
.himeri-flow-icon {
  margin-bottom: 10px;

  color: #df6838;
  font-size: 30px;
  line-height: 1;
}

/* 見出し */
.himeri-flow-item h3 {
  margin: 0 0 10px !important;
  padding: 0 !important;

  border: none !important;
  background: none !important;

  color: #453b36;
  font-size: 17px;
}

/* 説明 */
.himeri-flow-item p {
  margin: 0 !important;

  color: #655a54;
  font-size: 13px;
  line-height: 1.8;
}

/* 矢印 */
.himeri-flow-item:not(:last-child)::after {
  content: "→";

  position: absolute;
  top: 50%;
  right: -17px;

  z-index: 2;

  color: #659c97;
  font-size: 20px;

  transform: translateY(-50%);
}

/* スマホ */
@media screen and (max-width: 768px) {

  .himeri-flow {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .himeri-flow-item {
    padding: 22px 20px;
  }

  .himeri-flow-item:not(:last-child)::after {
    content: "↓";

    top: auto;
    right: 50%;
    bottom: -26px;

    transform: translateX(50%);
  }
}
.himeri-flow-item {
  background: transparent;
  border: none;
}


/* ========================================
   PROFILE PAGE / 京ひめり
======================================== */

.himeri-profile {
  max-width: 1100px;
  margin: 0 auto;
  color: #453b36;
}


/* ========================================
   PROFILE HERO
======================================== */

.himeri-profile-hero {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 55px;
  align-items: center;

  margin: 20px 0 80px;
  padding: 40px;

  background: #fffdf8;
  border-radius: 18px;
}


/* プロフィール画像 */

.himeri-profile-image {
  position: relative;
  text-align: center;
}

.himeri-profile-image img {
  display: block;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;

  border-radius: 18px;
  object-fit: cover;
}

/* 後ろの薄い丸 */
.himeri-profile-image::before {
  content: "";
  position: absolute;

  width: 230px;
  height: 230px;

  left: -25px;
  top: -25px;

  background: #e4efeb;
  border-radius: 50%;

  z-index: 0;
}

.himeri-profile-image img {
  position: relative;
  z-index: 1;
}


/* PROFILE文字 */

.himeri-profile-role {
  margin: 0 0 8px !important;

  color: #659c97;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.himeri-profile-intro h1 {
  margin: 0 0 24px !important;

  background: none !important;
  border: none !important;
  padding: 0 !important;

  color: #453b36;
  font-size: 32px;
  font-weight: 500;
}

.himeri-profile-intro p {
  margin: 0 0 14px !important;

  font-size: 15px;
  line-height: 2;
}


/* ========================================
   PROFILE BUTTON
======================================== */

.himeri-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  min-width: 220px;
  margin-top: 18px;
  padding: 14px 22px;

  background: #df6838;
  border: 1px solid #df6838;
  border-radius: 9px;

  color: #fff !important;
  text-decoration: none !important;

  transition: 0.2s ease;
}

.himeri-profile-btn span {
  margin-left: 30px;
}

.himeri-profile-btn:hover {
  background: #c9572e;
  border-color: #c9572e;

  transform: translateY(-1px);
}


/* ========================================
   SECTION
======================================== */

.himeri-profile-section {
  margin: 0 0 80px;
}

.himeri-section-lead {
  margin: -10px 0 30px !important;

  color: #70645e;
  font-size: 14px;
}


/* ========================================
   WORK EXPERIENCE
======================================== */

.himeri-history-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.himeri-history-card {
  position: relative;

  padding: 25px 27px;

  background: #fffdf8;
  border: 1px solid #e0d6cb;
  border-radius: 10px;

  overflow: hidden;
}

/* 左上アクセント */
.himeri-history-card::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 5px;
  height: 100%;

  background: #659c97;
}

.himeri-history-type {
  display: block;
  margin-bottom: 9px;

  color: #df6838;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.himeri-history-card h3 {
  margin: 0 0 9px !important;
  padding: 0 !important;

  background: none !important;
  border: none !important;

  color: #453b36;
  font-size: 17px;
  line-height: 1.6;
}

.himeri-history-card p {
  margin: 0 !important;

  color: #70645e;
  font-size: 14px;
  line-height: 1.8;
}

.himeri-history-note {
  margin: 22px 0 0 !important;

  color: #70645e;
  font-size: 13px;
}


/* ========================================
   OTHER EXPERIENCE
======================================== */

.himeri-other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.himeri-other-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;

  padding: 24px;

  background: #fffdf8;
  border-radius: 10px;
}

.himeri-other-icon {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  background: #edf4f1;
  border-radius: 50%;

  color: #659c97;
  font-size: 23px;
}

.himeri-other-item h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;

  background: none !important;
  border: none !important;

  color: #453b36;
  font-size: 16px;
}

.himeri-other-item p {
  margin: 0 !important;

  color: #70645e;
  font-size: 13px;
  line-height: 1.8;
}


/* ========================================
   TOOLS
======================================== */

.himeri-tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.himeri-tool-list span {
  display: inline-block;

  padding: 9px 16px;

  background: #fffdf8;
  border: 1px solid #83aaa6;
  border-radius: 999px;

  color: #536f6c;
  font-size: 13px;
}


/* ========================================
   CONTACT
======================================== */

.himeri-profile-contact {
  margin: 90px 0 20px;
  padding: 55px 35px;

  background: #edf3ed;
  border-radius: 18px;

  text-align: center;
}

.himeri-profile-contact-small {
  margin: 0 0 8px !important;

  color: #659c97;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.1em;
}

.himeri-profile-contact h2 {
  margin: 0 0 14px !important;
  padding: 0 !important;

  border: none !important;
  background: none !important;

  color: #453b36;
}

.himeri-profile-contact p {
  line-height: 1.9;
}

.himeri-profile-btn-large {
  min-width: 260px;
}


/* ========================================
   SMARTPHONE
======================================== */

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

  .himeri-profile-hero {
    grid-template-columns: 1fr;

    gap: 25px;

    padding: 25px 20px;
    margin-bottom: 55px;
  }

  .himeri-profile-image img {
    max-width: 250px;
  }

  .himeri-profile-image::before {
    width: 180px;
    height: 180px;

    left: calc(50% - 145px);
  }

  .himeri-profile-intro {
    text-align: center;
  }

  .himeri-profile-intro h1 {
    font-size: 26px;
  }

  .himeri-history-grid,
  .himeri-other-grid {
    grid-template-columns: 1fr;
  }

  .himeri-profile-section {
    margin-bottom: 55px;
  }

  .himeri-profile-contact {
    margin-top: 60px;
    padding: 38px 20px;
  }

  .himeri-profile-btn {
    width: 100%;
    max-width: 320px;
  }

}


