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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  word-break: break-all;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  text-align: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  box-sizing: border-box;
}

body * {
  box-sizing: inherit;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  line-height: 0;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th,
td {
  padding: 0;
  text-align: left;
}

a,
a:hover {
  color: inherit;
  text-decoration: none;
}

:active,
:focus {
  outline: 0;
}

hr {
  height: 0;
  border: 0;
}

/* --------------------------------
  Common
-------------------------------- */
.top_content {
  padding: 40px 0;
}

.top_content_header {
  margin-bottom: 30px;
}

.top_content_header .title--en {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", "Hiragino Mincho Pro", serif;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.top_content_header .title--jp {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.top_content_header .title--jp-sub {
  display: inline-block;
  font-size: 13px;
  letter-spacing: normal;
}

.top_content_body {
  margin-top: 30px;
}


.top_content_body .catch {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 30px;
}

.top_content_body .text {
  font-size: 16px;
  line-height: 2;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .top_content {
    padding: 100px 0;
  }

  .top_content_header .title--en {
    font-size: 50px;
  }

  .top_content_header .title--jp {
    font-size: 18px;
  }

  .top_content_header .title--jp-sub {
    font-size: 14px;
  }

  .top_content_body .catch {
    font-size: 30px;
  }

  .top_content_body .text {
    line-height: 2.4;
  }
}

@media screen and (min-width: 1024px) {
  .top_content_header .title--en {
    font-size: 64px;
  }
}

@media screen and (min-width: 1100px) {
  .top_content_header {
    margin-bottom: 50px;
  }

  .top_content_body {
    margin-top: 50px;
  }

  .top_content .d--flex {
    display: flex;
    gap: 100px;
  }

  .top_content .row--reverse {
    flex-direction: row-reverse;
  }

  .top_content .col--30 {
    width: 30%;
  }

  .top_content .col--50 {
    width: 50%;
  }

  .top_content .col--70 {
    width: 70%;
  }

  .top_content_body .catch {
    margin-bottom: 50px;
  }
}

/* --------------------------------
  firstview
-------------------------------- */
.firstview {
  width: 100%;
  height: 100svh;
  overflow: hidden;
  position: relative;
}

.firstview_inner {
  width: 100%;
  height: 100%;
  padding: 0 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(255, 255, 255, 0));
  /*text-align:center; テキスト中央*/
}

.firstview_title_wrap {
  width: 100%;
  max-width: 600px;
  height: 50%;
  margin: auto;
}

.swiper-wrapper {
  margin: 0;
}

.swiper1 .swiper-slide {
  width: 100%;
  height: 100svh;
}

.swiper1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.firstview_title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.firstview_title_copy {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 20%;
}

.firstview_title_logo {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

.firstview_title_logo .sm-block,
.firstview_title_logo .sm-inline {
  font-size: 24px;
}
.firstview_title_logo .sm-block {
  display: block;
}
.firstview_title_logo .sm-inline {
  display: inline-block;
}

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

  .firstview,
  .swiper1 .swiper-slide {
    height: calc(100svh - 40px);
  }

  .firstview_inner {
    padding: 0 50px;
  }

  .firstview_title_wrap {
    height: 60%;
  }

  .firstview_title_copy {
    font-size: 24px;
    letter-spacing: .25em;
  }

  .firstview_title_logo {
    font-size: 42px;
    letter-spacing: 0.05em;
  }

  .firstview_title_logo .sm-block,
  .firstview_title_logo .sm-inline {
    font-size: 32px;
  }
}

/* --------------------------------
  Concept, About
-------------------------------- */
.section_concept,
.section_about {
  width: 100%;
  overflow: hidden;
}

.layout-flex {
  display: flex;
  width: 100%;
  min-height: 100dvh;
  align-items: stretch;
}

@media screen and (min-width: 768px) {
  .layout-flex.layout-flex-reverse {
    flex-direction: row-reverse;
  }
}

.block-column-text {
  width: 50%;
  background: var(--color-theme-light);
}

.block-column-text .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 80px 10%;
  box-sizing: border-box;
}

.text-inner {
  width: 100%;
  max-width: 520px;
}

/* PC最適画像サイズ 3:2　2400 × 1600px 200〜500KB webp */
.block-column-image {
  width: 50%;
  min-height: 100dvh;
}

.block-column-image-bg {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.image-bg-concept {
  background-image: url("../../../img/home/concept-pc.webp");
}

.image-bg-about {
  background-image: url("../../../img/home/about-pc.webp");
}

@media screen and (max-width: 1024px) {
  .block-column-text .inner {
    padding: 60px 8%;
  }
}

/* SP最適画像サイズ 1200 × 1600px 200〜400KB webp */
@media screen and (max-width: 767px) {
  .layout-flex {
    display: block;
    min-height: auto;
  }

  .block-column-text,
  .block-column-image {
    width: 100%;
  }

  .block-column-text .inner {
    min-height: auto;
    padding: 70px 25px;
  }

  .text-inner {
    max-width: none;
  }

  .block-column-image {
    min-height: 500px;
  }

  .block-column-image-bg {
    min-height: 500px;
    background-attachment: scroll;
  }

  .image-bg-concept {
    background-image: url("../../../img/home/concept-sp.webp");
  }

  .image-bg-about {
    background-image: url("../../../img/home/about-sp.webp");
  }
}

.top_concept_lists {
  margin: 20px 0 0;
  padding: 0;
  list-style-type: none;
}

.top_concept_lists li {
  position: relative;
  padding-left: 1.2em;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.top_concept_lists li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-theme);
}

.top_concept_lists li:not(:last-child) {
  margin-bottom: 0.5em;
}

/* --------------------------------
  case
-------------------------------- */
.index_case {
  padding: 60px 0;
}

.case-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-card {
  flex: 1;
}

.case-card-outer {
  display: block;
  position: relative;
}

.case-card-label {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
  font-size: 10px;
  color: #fff;
  background-color: #000;
  padding: 0.7em 1.2em;
}

.case-card a:hover .case-card-img {
  filter: brightness(100%);
  transition: filter 0.3s ease;
}

.case-card a:hover .case-card-img {
  filter: brightness(70%);
}

@media screen and (min-width: 768px) {
  .index_case {
    padding: 80px 0;
  }

  .case-cards {
    display: flex;
    flex-direction: row;
  }

  .case-card {
    flex: 0 0 calc((100% - 3 * 20px) / 4);
  }
}

/* --------------------------------
  Post
-------------------------------- */
.index_post {
  padding: 60px 0;
}

.index_posts_lists {
  margin-bottom: 40px;
  padding: 0;
}

.index_post_list {
  margin: 0 0 20px;
}

.index_post_list_link {
  width: 100%;
}

.index_post_list_thum {
  width: 100%;
  margin: 0 0 15px;
}

.index_post_list_body {
  width: 100%;
}

.index_post_list_title {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: #484851;
}

.index_post_list_meta {
  font-size: 12px;
  line-height: 1;
  color: #999;
  margin-top: 1em;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.index_post_list_meta .post_date {
  margin: 0;
  padding: 0 10px 0 0;
  white-space: nowrap;
}

.index_post_list_meta .post_date:last-of-type {
  border-right: 1px solid #ddd;
  margin-right: 10px;
}

.index_post_list_meta .post_category_list {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
}

.index_post_list_meta .post_category_text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
}

.index_post_list_meta .post_category_list a {
  margin: 0 10px 5px 0;
  padding: 0 10px 0 0;
  border-right: 1px solid #ddd;
}

.index_post_list_meta .post_category_list a:last-of-type {
  border: none;
}

@media screen and (min-width: 768px) {
  .index_post {
    padding: 80px 0;
  }

  .index_posts_lists {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 64px;
  }

  .index_post_list {
    flex: 0 0 calc((100% - 2 * 30px) / 3);
    margin: 0;
  }

  .index_post_list_link {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .index_post_list_body {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .index_post_list_meta {
    margin-top: auto;
  }

  .index_post_list_title {
    margin-bottom: 0.5em;
  }
}