@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){
  /*必要ならばここにコードを書く*/
}

/* Garden record buttons */
.garden-record-button {
  display: block;
  width: 100%;
  margin: 1.35em 0;
  text-align: center;
}

.garden-record-button .wp-block-button__link {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 560px);
  min-height: 58px;
  margin: 0 auto;
  padding: 14px 72px 14px 24px;
  color: #fff !important;
  background: linear-gradient(135deg, #30312d 0%, #1f211e 100%) !important;
  border: 2px solid #f3a052;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(31, 33, 30, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.garden-record-button .wp-block-button__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid #f3a052;
  border-radius: 50%;
  color: #f3a052;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.garden-record-button .wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 32px;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  padding: 0;
  border-top: 2px solid #f3a052;
  border-right: 2px solid #f3a052;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .garden-record-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(31, 33, 30, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .garden-record-button .wp-block-button__link:hover::after {
    color: #fff;
    background-color: #f3a052;
  }

  .garden-record-button .wp-block-button__link:hover::before {
    border-color: #fff;
  }
}

.garden-record-button .wp-block-button__link:focus-visible {
  outline: 3px solid rgba(243, 160, 82, 0.42);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .garden-record-button .wp-block-button__link {
    width: calc(100% - 24px);
    min-height: 56px;
    padding: 13px 64px 13px 18px;
    font-size: 0.95em;
  }

  .garden-record-button .wp-block-button__link::after {
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .garden-record-button .wp-block-button__link::before {
    right: 27px;
  }
}
