@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.p-mainVisual__textLayer {
justify-content: flex-end;
	    padding-bottom: 4vh;
}
.p-mainVisual__slideTitle {
	font-weight: bold;
}
@media (max-width: 959px) {
.p-mainVisual__textLayer {
padding-bottom: 10vh;
}
}
/* ========================================
   LOGO
======================================== */

/* TOP：通常ヘッダー白ロゴ */
.home #header .c-headLogo__img,
.front-page #header .c-headLogo__img {
  content: url("/wp-content/themes/swell_child/assets/images/cmcg_logo_wh.png");
}

/* 下層：通常ヘッダー カラーロゴ */
body:not(.home):not(.front-page) #header .c-headLogo__img {
  content: url("/wp-content/themes/swell_child/assets/images/cmcg_logo.png");
}

/* 追尾ヘッダー：全ページ カラーロゴ */
#fix_header .c-headLogo__img,
.l-fixHeader .c-headLogo__img {
  content: url("/wp-content/themes/swell_child/assets/images/cmcg_logo.png") !important;
}


/* SPスクロール時 */
@media (max-width: 959px) {

  [data-scrolled="true"] [data-spfix="1"] .c-headLogo__img,
  [data-scrolled="true"] [data-spfix="1"] .c-headLogo__img.-top {
    content: url("/wp-content/themes/swell_child/assets/images/cmcg_logo.png") !important;
    display: block;
    width: auto;
    max-height: 38px;
  }

  [data-scrolled="true"] #header .c-headLogo__img.-top {
    display: none !important;
  }
}
.home #header .c-headLogo__img,
.front-page #header .c-headLogo__img {
  content: url("/wp-content/themes/swell_child/assets/images/cmcg_logo_wh.png") !important;
}

/* ========================================
   HEADER LAYOUT
======================================== */

.l-header__inner,
.l-fixHeader__inner {
  display: flex;
  align-items: center;
}

.l-header__gnav,
.l-fixHeader__gnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.c-gnav {
  display: flex;
  align-items: center;
  white-space: nowrap;
}


/* ========================================
   HEADER CTA
======================================== */

.c-header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: 1em;
}


/* ========================================
   TEL
======================================== */

.c-header-cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity .25s ease;
}

.c-header-cta__tel:hover {
  opacity: .7;
}

.c-header-cta__telIcon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  font-size: 24px;
}

.c-header-cta__telNum {
  font-size: 1.6em;
  line-height: 1;
  letter-spacing: .05em;
}


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

.c-header-cta__contact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 45px;
  padding: 0 1.5em;
  border-radius: 999px;
  background: #0055a2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition:
    background .25s ease,
    transform .25s ease;
}

.c-header-cta__contact:hover {
  background: #004488;
  transform: translateY(-1px);
}

.c-header-cta__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 26px;
  font-size: 18px;
}


/* ========================================
   TOPページ：通常ヘッダー
======================================== */

.home #header .c-header-cta__tel,
.home #header .c-header-cta__telIcon,
.front-page #header .c-header-cta__tel,
.front-page #header .c-header-cta__telIcon {
  color: #fff;
}


/* ========================================
   下層ページ：通常ヘッダー
======================================== */

body:not(.home):not(.front-page) #header .c-header-cta__tel,
body:not(.home):not(.front-page) #header .c-header-cta__telIcon {
  color: #333;
}


/* ========================================
   追尾ヘッダー
======================================== */

#fix_header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}

#fix_header .c-header-cta__tel,
#fix_header .c-header-cta__telIcon,
.l-fixHeader .c-header-cta__tel,
.l-fixHeader .c-header-cta__telIcon {
  color: #333;
}
.home #header .c-header-cta__tel,
.home #header .c-header-cta__telIcon,
.front-page #header .c-header-cta__tel,
.front-page #header .c-header-cta__telIcon {
  color: #fff !important;
}

#fix_header .c-gnav > .menu-item > a::after {
  bottom: -34px !important;
}
/* ========================================
   SP MENU CTA
======================================== */

.c-sp-cta {
  display: none;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 959px) {

  /* PCグロナビ非表示 */
  .l-header__gnav,
  .c-gnavWrap,
  #gnav {
    display: none !important;
  }

  /* PC CTA非表示 */
  .c-header-cta {
    display: none;
  }

  /* SP CTA */
  .c-sp-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
    padding-top: 28px;
  }

  .c-sp-cta__tel,
  .c-sp-cta__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    border-radius: 12px;
    background: #0055a2;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
  }

  .c-sp-cta i {
    font-size: 18px;
  }

  .c-headLogo__img {
    max-height: 42px;
  }
}
/* ========================================
   TOP PAGE
======================================== */
.top_message {
background-image: linear-gradient(to right, #0055a2, #0262b8, #046fd0, #067ce7, #098aff);
}
.m_bottom_0 {
	margin-bottom: 0!important;
}
/* 3カラム全体 */
.top_businesscard .swell-block-columns__inner {
  align-items: stretch !important;
}

/* 各カード */
.top_businesscard .swell-block-column {
  display: flex !important;
  flex-direction: column;
  height: auto !important;
}

/* 文章部分を伸ばす */
.top_businesscard .wp-block-paragraph {
  flex: 1;
}

/* ボタンを下揃え */
.top_businesscard .swell-block-button {
  margin-top: auto !important;
}
/* ========================================
   コンテンツヘッダー
======================================== */
#top_title_area.l-topTitleArea {
  position: relative;
  background: linear-gradient(to right, #0055a2, #0262b8, #046fd0, #067ce7, #098aff) !important;
  overflow: hidden;
}

/* no image を非表示 */
#top_title_area .l-topTitleArea__img {
  display: none !important;
}

/* タイトル文字 */
#top_title_area .c-pageTitle {
  color: #fff;
}
/* ========================================
   FOOTER
======================================== */
@media (min-width: 960px) {

  .l-footer__widgetArea .w-footer.-col3 {
    display: grid !important;
    grid-template-columns: 5fr 2.5fr 2.5fr;
    gap: 40px;
    align-items: start;
  }

  .l-footer__widgetArea .w-footer__box {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

}
.l-footer__widgetArea {
	padding-top:3em;
}
/* ========================================
   CF7
======================================== */

.is-cf7-confirm-open {
  overflow: hidden;
}

.cf7-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.cf7-confirm-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.cf7-confirm-modal__content {
  position: relative;
  width: min(92vw, 760px);
  max-height: 86vh;
  overflow-y: auto;
  margin: 7vh auto;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
}

.cf7-confirm-modal__title {
  margin: 0 0 10px;
  color: #0055a2;
  font-size: 24px;
}

.cf7-confirm-modal__lead {
  margin: 0 0 24px;
}

.cf7-confirm-modal__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid #e5e5e5;
}

.cf7-confirm-modal__row:last-child {
  border-bottom: 1px solid #e5e5e5;
}

.cf7-confirm-modal__row dt,
.cf7-confirm-modal__row dd {
  padding: 14px 0;
}

.cf7-confirm-modal__row dt {
  font-weight: 700;
  color: #0055a2;
}

.cf7-confirm-modal__row dd {
  margin: 0;
}

.cf7-confirm-modal__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.cf7-confirm-modal__back,
.cf7-confirm-modal__send {
  min-width: 180px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.cf7-confirm-modal__back {
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
}

.cf7-confirm-modal__send {
  border: none;
  background: #0055a2;
  color: #fff;
}

@media (max-width: 599px) {
  .cf7-confirm-modal__content {
    padding: 24px;
  }

  .cf7-confirm-modal__row {
    display: block;
  }

  .cf7-confirm-modal__row dt {
    padding-bottom: 4px;
  }

  .cf7-confirm-modal__row dd {
    padding-top: 0;
  }

  .cf7-confirm-modal__actions {
    flex-direction: column;
  }

  .cf7-confirm-modal__back,
  .cf7-confirm-modal__send {
    width: 100%;
  }
}
.wpcf7-response-output {
  margin-top: 40px !important;
  padding: 40px !important;
  border: none !important;
  border-radius: 16px;
  background: linear-gradient(
    to right,
    #0055a2,
    #0262b8,
    #046fd0,
    #067ce7,
    #098aff
  ) !important;

  color: #fff !important;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}
.contact-form-table .required {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #d96b6b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
}
.contact-submit {
  text-align: center;
  margin-top: 40px;
}

.contact-submit .wpcf7-submit {
  min-width: 260px;
  height: 56px;
  padding: 0 2em;

  border: none;
  border-radius: 999px;

  background: #0055a2;
  color: #fff;

  font-size: 16px;
  font-weight: 700;

  cursor: pointer;
  transition: all .25s ease;
}

.contact-submit .wpcf7-submit:hover {
  background: #004488;
  transform: translateY(-2px);
}

.contact-submit .wpcf7-submit:disabled {
  opacity: .7;
  cursor: wait;
}