
/*--- グローバルナビのアクティブバー＆ホバースタイル (PC表示時) ---*/
@media screen and (min-width: 1200px) {
  .p-global-nav > ul {
    display: flex !important;
    height: 100% !important;
    margin-bottom: 0 !important;
  }
  .p-global-nav > ul > li {
    position: relative !important;
    width: 120px !important;
    height: 100% !important;
    margin-left: -1px !important;
    border-right: 1px solid #ddd !important;
    border-left: 1px solid #ddd !important;
  }
  .p-global-nav > ul > li > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    padding: 0 !important;
    color: #000 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
  }
  .p-global-nav__item-icon {
    margin-bottom: 12px !important;
    font-size: 26px !important;
    line-height: 1 !important;
  }
  .p-global-nav > ul > li.current-menu-item > a,
  .p-global-nav > ul > li.current_page_item > a,
  .p-global-nav > ul > li > a:hover {
    color: #2879cf !important;
  }
  .p-global-nav > ul > li.current-menu-item > a::before,
  .p-global-nav > ul > li.current_page_item > a::before,
  .p-global-nav > ul > li > a:hover::before {
    content: "" !important;
    position: absolute !important;
    top: -1px !important;
    left: -1px !important;
    width: 120px !important;
    height: 5px !important;
    background-color: #2879cf !important;
    display: block !important;
  }
}

/*--- トップページ ---*/
.l-main {
	padding-top: 155px;
}

.corona {
	margin-top: 25px;
}

.p-header-slider {
  width: 100%;
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}

.p-header-slider__item {
  height: 770px;
  width: 100%;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.p-header-slider__item--1 {
  background-image: url('../img/TOP.webp') !important;
}

.p-header-youtube {
  height: 550px;
}

/*--- 下層ページヘッダー (PC表示: 992px以上) ---*/
@media screen and (min-width: 992px) {
  .p-page-header {
    height: 300px !important;
    margin-bottom: 50px !important;
    position: relative !important;
    background-image: url('../img/header_back_200914.webp') !important;
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }

  .p-page-header::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 35% !important;
    height: 100% !important;
    background-color: #2879cf !important;
    z-index: 1 !important;
    display: block !important;
  }

  .p-page-header::after {
    display: none !important;
  }

  .p-page-header__inner {
    position: relative !important;
    width: 93.75% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    height: 300px !important;
    padding-bottom: 0 !important;
  }

  .p-page-header__upper {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    width: 35% !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }

  .p-page-header__upper-title {
    font-size: 32px !important;
    color: #fff !important;
    margin-bottom: 8px !important;
    white-space: normal !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
  }

  .p-page-header__upper-sub {
    font-size: 16px !important;
    color: #fff !important;
    margin: 0 !important;
  }

  .p-page-header__lower {
    display: none !important;
  }
}

/*--- 下層ページヘッダー (スマホ・タブレット表示: 991px以下) ---*/
@media screen and (max-width: 991px) {
  .p-page-header {
    height: auto !important;
    margin-bottom: 30px !important;
    background: none !important;
    position: static !important;
    overflow: visible !important;
  }

  .p-page-header::before,
  .p-page-header::after {
    display: none !important;
  }

  .p-page-header__inner {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .p-page-header__upper {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    background-color: #2879cf !important;
    padding: 16px 20px 18px !important;
    box-sizing: border-box !important;
    color: #fff !important;
  }

  .p-page-header__upper-title {
    font-size: 26px !important;
    color: #fff !important;
    margin: 0 0 6px !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
  }

  .p-page-header__upper-sub {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
  }

  .p-page-header__lower {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    background-image: url('../img/header_back_200914.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    padding: 0 !important;
    transform: none !important;
  }

  .p-page-header__lower-title,
  .p-page-header__lower-desc {
    display: none !important;
  }
}

/*--- スマホ・タブレット時のヘッダー上下余白改善 (ギリギリ感解消) ---*/
@media screen and (max-width: 1199px) {
  .l-header {
    height: auto !important;
    min-height: 76px !important;
    line-height: normal !important;
    padding-top: 16px !important;
    padding-bottom: 14px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  }

  .l-header__lower {
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .l-header__logo {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .l-header__logo a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .l-header__logo img {
    max-height: 44px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
  }

  #js-menu-btn,
  .p-menu-btn,
  .c-menu-btn {
    position: static !important;
    margin-left: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
  }
}

.top-2-bn {
  width: 80%;
  margin: 0 auto;	
}

.p-hover-effect--type2:hover img {
  -webkit-transform: scale(1.3) translate3d(0, 0, 0) !important;
  transform: scale(1.05) translate3d(0, 0, 0) !important;
}

.p-cb__item:nth-child(1) .p-headline02__title,
.p-cb__item:nth-child(2) .p-headline02__title,
.p-cb__item:nth-child(3) .p-headline02__title,
.p-cb__item:nth-child(5) .p-headline02__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 35px;	
}

.top_midashi {
  text-align: center;	
  margin-bottom: 40px;
}

.p-headline02__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 35px;		
}

.top_midashi p {
  line-height: 2.2;
}

.p-article02__img::before {
  display: none;
}

.p-footer-links {
  padding: 30px 0 20px;
}

.p-cb__item:last-child {
  margin-bottom: 90px;
}

.p-article02__title {
  color: #333;
}

.p-footer-links__header .p-headline02__title {
  display: none;
}

/*--- CTA お問い合わせセクション ---*/
.top_contact {
  margin-bottom: 40px;
}
	
.top_contact_btn {
  width: 500px !important;
  max-width: 100% !important;
  margin: 0 auto 25px auto !important;
  text-align: center !important;
}

.top_contact_btn img {
  width: 100% !important;
  max-width: 500px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.top_contact_btn a:hover img {
  opacity: 0.85;
}

.top_contact_flow {
  width: 855px !important;
  max-width: 100% !important;
  margin: 0 auto 50px auto !important;
  clear: both !important;
}

.top_contact_flow_left {
  width: 49% !important;
  height: auto !important;
  float: left !important;
  margin-right: 2% !important;
}

.top_contact_flow_left img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.top_contact_flow_right {
  width: 49% !important;
  height: auto !important;
  float: left !important;
}

.top_contact_flow_right img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.p-footer-widgets__item-title {
  border-bottom: #055dac solid 3px;
  padding-bottom: 15px;
  line-height: 3;
  color: #055dac;
}

/* 見出し横の青い縦棒と文字の間隔(ページ個別のpadding指定より優先) */
.tcd-pb-widget.pb-widget-headline {
  padding: 2px 0 2px 12px !important;
}

.p-copyright {
  background: #ffffff;
  position: relative;
  bottom: 60px;
  text-align: center;
  padding: 15px 0;
}

/* 固定バー(.free-call)のないページ(確認・完了画面)ではフッターを上に引き上げない */
body.no-free-call .p-copyright {
  bottom: 0;
}

/* ----------------------------------------------------
 * お問い合わせフォーム本体 (inquiry/index.html)
 * ---------------------------------------------------- */
.inquiry-form { width: 100%; margin: 0 0 2.5em; padding: 0; border: 1px solid #ddd; background: #fafafa; font-size: 14px; box-sizing: border-box; }
.inquiry-form__form { margin: 1.5em 1.5em 0; }
.inquiry-form p { margin-bottom: 1em; font-size: 12px; }
.inquiry-form input, .inquiry-form textarea { box-sizing: border-box; width: 100%; padding: 8px; border: 1px solid #ccc; line-height: 1.2; }
.inquiry-form select, .inquiry-form input[type=radio] { width: auto; max-width: 97%; padding: 8px; border: 1px solid #ccc; }
.inquiry-form select, .inquiry-form__item-label { font-size: 14px; line-height: 1.2; }
.inquiry-form__item { display: block; }
.inquiry-form textarea { height: 300px; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border: 1px solid #bbb; outline: none; }

/* 送信ボタン(文字を中央寄せ) */
.inquiry-form .inquiry-form__submit {
  display: block;
  width: auto;
  min-width: 225px;
  height: auto;
  margin: 30px auto 0;
  padding: 12px 60px;
  border: none;
  background-color: #0096ae;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: background-color .3s;
}
.inquiry-form .inquiry-form__submit:hover { background-color: #007a8e; }
.inquiry-confirm-form button {
  line-height: 1.5;
  text-align: center;
}

.free-call {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background: rgba(51, 51, 51, 0.95);
  padding: 6px 0;
  z-index: 9999;
}

.free-call a {
  width: 250px;
  display: inline-block;
}

.free-call a img {
  width: 100%;
  height: auto;
  display: block;
}

.p-pagetop {
  z-index: 9998;
  position: fixed;
  right: 20px;
  bottom: 60px;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.3s, transform 0.3s;
}

.p-pagetop.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.p-pagetop a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
}

.p-pagetop a::after {
  font-family: "design_plus";
  font-size: 14px;
  content: "\e911";
  color: #ffffff;
}


.top-page-banner {
	display: flex;
	justify-content: space-between;
}

.p-entry__body ul, .p-entry__body ol, .p-entry__body dl{
	margin-bottom: 0px;
}



@media screen and (max-width: 767px) { 
	
.l-main {
    padding-top: 10px;
}
	
.p-header-slider {
    height: 44.85vw !important;
    min-height: 160px;
    margin-bottom: 25px !important;
}
	
.p-header-slider__item {
    height: 44.85vw !important;
    min-height: 160px;
    background-size: contain !important;
    background-position: center top !important;
}

.top-2-bn{
width:100%;
}

.top-2-bn .post_col{
padding-right:0;
padding-left:0;	
}
	

.top_midashi h2{   
font-size: 30px;
}

.p-article01__title{
font-size:14px;
}
	
.top_contact_btn {
  width: 100% !important;
}

.top_contact_btn img {
  width: 100% !important;
  height: auto !important;
}
	
.top_contact{
  margin-top: 50px !important;
}
	
.top_contact_flow{
  width: 100% !important;
}

.top_contact_flow_left{
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
  margin-bottom: 15px !important;
}

.top_contact_flow_right{
  width: 100% !important;
  float: none !important;
}

	
.p-footer-links {
  padding: 20px 0 20px;
}
	
.top_toiawase .post_col{
margin-bottom:12px;
}
	
.top_toiawase_btn{
padding-top:0;
padding-bottom:0;
background:none;	
margin-bottom:50px;
}
	
.p-cb__item:last-child {
margin-bottom: 50px;
}
	
.p-footer-widgets__item-title{
padding-bottom:10px;
	}
	
.p-copyright {
    bottom: 50px;
}
	
.free-call {
text-align: center;
height:50px;
}

.free-call a {
width:50%;
}
	
	.top-page-banner{
	display: block;
}


}

/* ----------------------------------------------------
 * お問い合わせフォーム (Birthスタイル)
 * ---------------------------------------------------- */
.form_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  background: #ffffff;
}

.form_table th,
.form_table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.form_table th {
  width: 28%;
  background: #f8fafc;
  color: #333333;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
}

.form_table td {
  color: #4a5568;
  font-size: 15px;
}

.req {
  background: #e53e3e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.unreq {
  background: #a0aec0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px 14px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #ff5722;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 15px;
}

.form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 45px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.form-btn.submit-btn {
  background: #ff5722;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.form-btn.submit-btn:hover {
  background: #e64a19;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.4);
}

.form-btn.back-btn {
  background: #edf2f7;
  color: #4a5568;
  border: 1px solid #cbd5e0;
}

.form-btn.back-btn:hover {
  background: #e2e8f0;
}

@media screen and (max-width: 767px) {
  .form_table th,
  .form_table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
  }
  .form_table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
  .form-input,
  .form-select,
  .form-textarea {
    max-width: 100%;
  }
}

