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


/************************************
** Common
************************************/
body {
  background-color: var(--color-grayscale-100);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
/************************************
** Reset 
************************************/
ul,
ol,
.article ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
body .article,
.article p,
.article ul li,
.article dd {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none !important;
}

/* デバイスによる表示・非表示 */
.view--sp-small {
  display: none;
}
.view--sp {
  display: none;
}
.view--tab {
  display: none;
}

@media screen and (max-width: 1023px) {
  .view--pcOnly {
    display: none !important;
  }
  .view--tab {
    display: block;
  }
}

@media screen and (max-width: 640px) {
  .view--pc {
    display: none !important;
  }
  .view--sp {
    display: block;
  }
}

@media screen and (max-width: 375px) {
  .view--sp-small {
    display: block;
  }
}

/************************************
** コンテンツ用ボタンスタイル
************************************/
.button {
  border-radius: var(--border-radius-M);
  display: block;
  font-weight: bold;
  padding: 16px 24px;
  text-align: center;
}
.button--primary {
  background-color: var(--color-LinkusPrimary-030);
  background-size: 100%;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .25);
  color: var(--color-grayscale-100) !important;
  margin: 0 auto;
  transition: background-position .5s ease;
}
.button--primary:hover {
  background-image: linear-gradient(to right, var(--color-LinkusPrimary-030), var(--color-LinkusPrimary-050));
  background-position: 0 0;
}
.buttonContact::before {
  content: '\f0e0';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
}
.viewPhone {
  display: inline-block;
  font-size: var(--font-size-heading-S);
  font-weight: bold;
  padding-left: 32px;
  position: relative;
  width: fit-content;
}
.viewPhone::before {
  background-image: url(static/img/linkus/phone-volume-solid.png);
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  height: 24px;
  width: 24px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 640px) {
  .button {
    width: 100%;
  }
  .button--primary {
    width: 100%;
  }
  .buttonPhone {
    align-items: center;
    background-color: var(--color-LinkusSecondary-030);
    color: var(--color-grayscale-100) !important;
    display: flex;
    font-size: var(--font-size-emphasize);
    gap: 10px;
    justify-content: center;
  }
  .buttonPhone::before {
    background-image: url(static/img/linkus/phone-volume-solid-w.png);
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    height: 24px;
    width: 24px;
  }
}

/* 各種サービス誘導ボタン */
.consulting__button a {
  display: flex;
  justify-content: center;
  width: 100%;
}
.consulting__button a:hover {
  opacity: .8;
}

/************************************
** ボタン用アイコン
************************************/
.button.iconBack::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 8px;
}

/************************************
** テキストリンク
************************************/
.textLink {
  color: var(--color-LinkusPrimary-030);
  text-decoration: underline;
}

/************************************
** 汎用コンポーネント: lineClamp
************************************/
.lineClamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lineClamp.--2 {
  -webkit-line-clamp: 2;
}

.lineClamp.--3 {
  -webkit-line-clamp: 3;
}

.lineClamp.--4 {
  -webkit-line-clamp: 4;
}

/************************************
** Font Common 
************************************/
.inlineText--xsmall {
  font-size: 50%;
}
.inlineText--small {
  font-size: 90%;
}
.inlineText--large {
  font-size: 120%;
}
.spacing {
  letter-spacing: -6px;
}
