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

/************************************
** 子テーマ用のスタイルを書く
************************************/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Jost:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --primary-red: #C50018;
  --text-primary: #222222;
  --text-secondary: #737373;
  --text-tertiary: #D9D9D9;
  --bg-white: #FFFFFF;
  --bg-secondary: #F8F2F2;
  --font-en: 'Jost', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --container-width: 1200px;
  --site-header-padding-pc: 25px 6% 15px;
  --mobile-menu-nav-padding: 76px 8% 66px 7%;
  --breakpoint-sp-max: 767px;
  --breakpoint-tablet-min: 768px;
  --breakpoint-tablet-max: 991px;
  --breakpoint-pc-min: 992px;
  --footer-banner-offset-top: 70px;
  --footer-banner-gap: 40px;
  --footer-divider-offset-top: 70px;
  --section-head-gap: 40px;
  --section-head-gap-pc: 60px;
  --section-space-sp: 60px;
  --section-space-tablet: 80px;
  --section-space-pc: 100px;
  --section-space-pc-wide: 140px;
  --page-hero-height-base: 260px;
  --page-hero-height-sp: 250px;
  --page-hero-height-tablet: 320px;
  --page-hero-height-pc: 480px;
  --page-hero-height-about-pc: 420px;
  --page-hero-offset-sp: 60px;
  --page-hero-offset-tablet: 60px;
  --page-hero-offset-pc: 66px;
}

/*
 * Breakpoint reference:
 * CSS custom properties cannot be used inside @media conditions in plain CSS.
 * Keep @media values in sync with the breakpoint variables above.
 */

/* Base styles for custom pages */
.tai-custom-page {
  font-family: var(--font-ja);
  color: var(--text-primary);
  line-height: 1.6;
}

.tai-custom-page * {
  box-sizing: border-box;
}

.tai-custom-page h1,
.tai-custom-page h2,
.tai-custom-page h3,
.tai-custom-page h4,
.tai-custom-page h5,
.tai-custom-page p {
  /* margin: 0; */
  /* padding: 0; */
}

.tai-custom-page h2 {
  font-weight: 500;
  margin-bottom: -2px;
}

.tai-custom-page a {
  text-decoration: none;
  color: inherit;
}

.tai-custom-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.t-container {
  /*max-width: var(--container-width);*/
  margin: 0 auto;
  padding: 0 12%;
}

.top-aichip.t-container {
  padding-left: 6%;
  padding-right: 0;
}

.top-aichip.t-container .aichip-inner {
  padding-left: 6%;
}

.top-aichip.t-container .sec-ja {
  margin-bottom: 20px;
}

.t-flex {
  display: flex;
}

.t-flex-col {
  flex-direction: column;
}

.t-items-center {
  align-items: center;
}

.t-justify-between {
  justify-content: space-between;
}

.t-justify-center {
  justify-content: center;
}

.t-text-center {
  text-align: center;
}

.t-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 17px;
  background-color: var(--primary-red);
  color: white !important;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-red);
  text-decoration: none;
}

.t-btn-primary::after {
  --circle-size: 5px;
  content: '';
  width: 32px;
  height: calc(var(--circle-size) * 2);
  background-image: radial-gradient(circle, currentColor var(--circle-size), transparent var(--circle-size)),
                    linear-gradient(currentColor, currentColor);
  background-size: calc(var(--circle-size) * 2) calc(var(--circle-size) * 2), 100% 1px;
  background-position: 0% 50%, center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.t-btn-primary:hover {
  background-color: transparent;
  color: var(--primary-red) !important;
}

.t-btn-primary:hover::after {
  background-position: 100% 50%, center;
}

.t-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 10px 30px;
  border: 1px solid var(--primary-red);
  color: var(--primary-red) !important;
  border-radius: 50px;
  background-color: transparent;
  transition: all 0.3s ease;
  position: relative;
  font-size: 18px;
  text-decoration: none;
  font-weight: 500;
}

.t-btn-outline::after {
  --circle-size: 5px;
  content: '';
  width: 32px;
  height: calc(var(--circle-size) * 2);
  background-image: radial-gradient(circle, currentColor var(--circle-size), transparent var(--circle-size)),
                    linear-gradient(currentColor, currentColor);
  background-size: calc(var(--circle-size) * 2) calc(var(--circle-size) * 2), 100% 1px;
  background-position: 0% 50%, center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.t-btn-outline:hover {
  background-color: var(--primary-red);
  color: #fff !important;
}

.t-btn-outline:hover::after {
  background-position: 100% 50%, center;
}

.aichip-btns {
  display: flex;
  gap: 21px;
  flex-wrap: nowrap;
  max-width: 90%;
}

.aichip-btns .t-btn-outline {
  min-width: 171px;
  max-width: 190px;
  width: 50%;
  white-space: nowrap;
}

/* PC版基本フォントサイズ統一 16px */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .aichip-btns {
    gap: 15px;
  }
}

@media screen and (max-width: 767px) {
  .aichip-btns {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    max-width: 100%;
  }

  .aichip-btns .t-btn-outline {
    width: 50%;
    white-space: nowrap;
    gap: 8px;
    min-width: 148px;
  }
}

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

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

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