/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* =========================================
   1. Custom Fonts
========================================= */
@font-face {
  font-family: 'Noto Sans JP Custom';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/salient-child/fonts/noto-sans-jp-v56-japanese_latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans JP Custom';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/wp-content/themes/salient-child/fonts/noto-sans-jp-v56-japanese_latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans JP Custom';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/wp-content/themes/salient-child/fonts/noto-sans-jp-v56-japanese_latin-700.woff2') format('woff2');
}

/* =========================================
   2. Global Typography
========================================= */
body,
p,
li,
input,
textarea,
select,
button {
  font-family: 'Noto Sans JP Custom', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #333a42;
}

h1, h2, h3, h4, h5, h6,
#header-outer #top nav > ul > li > a,
.nectar-button,
.page-header-no-bg h1,
.page-header-bg-image h1 {
  font-family: 'Montserrat', 'Noto Sans JP Custom', sans-serif;
}

/* =========================================
   3. Transparent Header Styling
========================================= */
/* 透明ヘッダー開始時 */
#header-outer.transparent #top nav > ul > li > a,
#header-outer.transparent .slide-out-widget-area-toggle a,
#header-outer.transparent .mobile-search a,
#header-outer.transparent #logo {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* 透明ヘッダー開始時のhover */
#header-outer.transparent #top nav > ul > li > a:hover {
  color: rgba(255, 255, 255, 1) !important;
}

/* スクロール後・通常時 */
#header-outer:not(.transparent) #top nav > ul > li > a,
#header-outer[data-transparent-header="false"] #top nav > ul > li > a {
  color: #043D78 !important;
}

/* スクロール後・通常時のhover */
#header-outer:not(.transparent) #top nav > ul > li > a:hover,
#header-outer[data-transparent-header="false"] #top nav > ul > li > a:hover {
  color: #0091BA !important;
}

/* スクロール後のヘッダー */
#header-outer:not(.transparent),
#header-outer[data-transparent-header="false"] {
  box-shadow: 0 1px 12px rgba(4, 61, 120, 0.06);
}

/* =========================================
   4. Contact Form Styling
========================================= */
.contact-form-wrap .form-item {
  margin-bottom: 24px;
}

.contact-form-wrap label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #043D78;
}

.contact-form-wrap .required {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  color: #fff;
  background: #0091BA;
  padding: 2px 8px;
  border-radius: 999px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d7dde5;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: #0091BA;
  box-shadow: 0 0 0 3px rgba(0, 145, 186, 0.12);
}

/* =========================
   Footer Design
========================= */
#footer-outer {
  background: #1f2328;
  border-top: 1px solid rgba(255,255,255,0.08);
}

#footer-outer .row {
  padding-top: 60px;
  padding-bottom: 50px;
}

#footer-outer .widget,
#footer-outer .widget_nav_menu,
#footer-outer .textwidget {
  margin-bottom: 0;
}

#footer-outer .widget h4,
#footer-outer .widgettitle,
#footer-outer .menu-title,
#footer-outer .wp-block-heading {
  font-family: 'Montserrat', 'Noto Sans JP Custom', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}

#footer-outer,
#footer-outer p,
#footer-outer li,
#footer-outer a,
#footer-outer .textwidget {
  font-family: 'Noto Sans JP Custom', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.88);
}

#footer-outer p {
  margin-bottom: 0;
}

#footer-outer .widget_nav_menu ul,
#footer-outer .widget_nav_menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer-outer .widget_nav_menu li {
  margin-bottom: 8px;
}

#footer-outer .widget_nav_menu a {
  display: inline-block;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  transition: all .25s ease;
}

#footer-outer .widget_nav_menu a:hover {
  color: #5bb6d6 !important;
  transform: translateX(3px);
  opacity: 1;
}

/* 左カラムの文章幅 */
#footer-outer .textwidget,
#footer-outer .widget p {
  max-width: 260px;
}

/* 1列目の見出しだけ少し強くする */
#footer-outer .col:nth-child(1) .widgettitle,
#footer-outer .col:nth-child(1) .wp-block-heading,
#footer-outer .col:nth-child(1) .widget h4 {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #ffffff;
}

/* Footer内リンク全体 */
#footer-outer a {
  color: rgba(255,255,255,0.82);
}

#footer-outer a:hover {
  color: #5bb6d6 !important;
}

/* Copyright */
#copyright {
  background: #181c20;
}

#copyright,
#copyright p,
#copyright a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}