/* ===================================
    Crafto - Finance
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* variable */ :root {
    --base-color: #7ab01e;
    --stromboli-green: #3E6558;
    --dark-gray: #313e3b;
    --medium-gray: #5c6362;
    --extra-medium-gray: #e4e4e4;
}
/* reset */
body {
    overflow-x: hidden;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
    letter-spacing: 1px;
    font-weight: 700;
}
h1, .h1 {
    font-size: 2.675rem;
    line-height: 3.98rem;
}
h2, .h2 {
    font-size: 2.138rem;
    line-height: 3.45rem;
}
h3, .h3 {
    font-size: 1.683rem;
    line-height: 2.425rem;
}
h4, .h4 {
    font-size: 1.275rem;
    line-height: 2.3rem;
}
h5, .h5 {
    font-size: 1.18rem;
    line-height: 2.1rem;
}
h6, .h6 {
    font-size: 1.05rem;
    line-height: 1.95rem;
}
p {
    margin-bottom: 20px;
}
.small, small {
    font-size: .775em;
}
.lead {
    font-size: 1.14rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 2.22rem;
}
/* bg gradient color */
.bg-gradient-black-dark-brown {
    background-image: linear-gradient(to right top, #000000, #000000, #30281B, #493825, #DA7310);
}
.bg-gradient-green-light-brown {
    background-image: linear-gradient(to right top, #3C7663, #5B8365, #929A68, #B8AA6A, #DEBB6D);
}
.bg-gradient-light-brown-transparent {
    background-image: linear-gradient(to right top, rgba(45, 41, 37, .6), rgba(188, 137, 71, .9));
}
/* text gradient color */
.text-gradient-green-brown-color {
    background-image: linear-gradient(to right top, #3C7663, #5B8365, #929A68, #B8AA6A, #DEBB6D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* header */
.header-tagline {
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
	line-height: 1;
}

@media (max-width: 767px) {
  .header-tagline {
    font-size: 12px;
    text-align: center;
	  color: #000000;
  }
}
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}
.navbar .btn {
    font-size: 16px;
    padding: 8px 20px;
}
header .navbar-brand img {
    max-height: 30px;
}
.navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 18px;
    line-height: 32px;
}
.navbar .navbar-nav .simple-dropdown .dropdown-menu {
    border-radius: 5px;
}
.sticky .header-transparent .header-button .btn {
    color: var(--dark-gray);
    border-color: var(--dark-gray);
}
.sticky .header-transparent .header-button .btn:hover {
    border-color: var(--dark-gray);
    color: var(--white);
    background: var(--dark-gray);
}
/* subcribe style 02 */
.newsletter-style-02 .btn {
    padding: 10px 18px 9px 18px;
}
.newsletter-style-02 input {
    padding-right: 60px;
    font-size: 18px;
}
.input-small, .textarea-small {
    font-size: 16px;
}
/* page title */
.page-title-extra-large h1 {
    font-size: 3.8rem;
    line-height: 4.2rem;
    letter-spacing: 2px;
}
/* News */
.news_list {
    margin: 0 5%;
}
.news_list_item {
    padding: 25px 0;
    border-bottom: 1px solid #E6E6E6;
}
.news_list_item:first-child {
    border-top: 1px solid #E6E6E6;
}
.news_list_item a {
    position: relative;
    display: flex;
    padding-right: 30px;
}
.news_list_item a:hover {
    color: #a0a5a5;
}
.news_list_date {
    font-size: 15px;
    display: flex;
    margin-right: 15px;
    align-items: center;
}
.news_item {
    color: #fff;
    background: #F6C49E;
    ;
    border-radius: 14px;
    width: 6em;
    /* 親要素の文字サイズを基準 */
    text-align: center;
    margin-left: 20px;
}
.arrow {
    width: 25px;
    height: 1px;
    background: #707070;
    position: absolute;
    top: 50%;
    right: 0;
}
.arrow::after {
    content: "";
    display: block;
    width: 6px;
    height: 1px;
    background: #707070;
    transform: rotate(45deg);
    position: absolute;
    right: 0px;
    bottom: 2px;
}
/* CTA */
#cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #00000091;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 25px 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s ease;
    z-index: 9999;
}
#cta-bar.show {
    opacity: 1;
    transform: translateY(0);
}
#cta-bar .cta-btn {
    color: #fff;
    font-weight: bold;
    padding: 14px 45px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}
#cta-bar .cta-entry {
    background: #ff8c42; /* オレンジ */
}
#cta-bar .cta-personal {
    background: #7ab01e; /* 緑 */
}
#cta-bar .cta-corporate {
    background: #0077cc; /* 青 */
}
#cta-bar .cta-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Table */
table.custom-1 {
    width: 100%;
}
table.custom-1 th, table.custom-1 td {
    padding: 18px;
    border: 1px solid #ddd;
}
table.custom-1 th {
    color: var(--dark-gray);
    background-color: #f9f4eb;
    width: 24%;
    text-align: center;
    letter-spacing: 1px;
}
table.custom-1 h5 {
    margin: 0;
}
@media screen and (max-width: 400px) {
    table.custom-1 {
        border-top: 1px solid #cccccc;
    }
    table.custom-1 th, table.custom-1 td {
        padding: 12px;
    }
    table.custom-1 td {
        display: block;
    }
    table.custom-1 th {
        display: block;
        border-top: none;
        border-bottom: none;
        width: 100%;
        text-align: left;
    }
}
@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
    }
}
@media screen and (max-width: 769px) {
    .news_list_item a {
        font-size: 14px;
    }
}
@media screen and (max-width: 480px) {
    .arrow {
        display: none;
    }
    .news_list_item a {
        padding-right: 0;
    }
}
/* media query responsive */
@media (max-width: 1199px) {
    header .btn.btn-very-small {
        padding: 7px 11px;
    }
    .newsletter-style-02 input {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px;
    }
}
@media (max-width: 991px) {
    .md-outside-box-right-70 {
        margin-right: -70vw;
    }
    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav .nav-item .nav-link {
        font-size: 18px;
    }
    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav .nav-item .dropdown-menu a {
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .blog-classic .card .card-body p {
        margin-bottom: 15px;
    }
    .page-title-extra-large h1 {
        line-height: 44px;
    }
    .sm-outside-box-right-0 {
        margin-right: 0;
    }
}
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    header .navbar-brand {
        padding: 18px 0;
    }
    header .navbar-brand img {
        max-height: 28px;
    }
    .page-title-extra-large h1 {
        font-size: 2.85rem;
        line-height: 3.8rem;
    }
    h1, .h1 {
        font-size: 2.18rem;
        line-height: 3.65rem;
    }
    h2, .h2 {
        font-size: 1.86rem;
        line-height: 3.2rem;
    }
    h3, .h3 {
        font-size: 1.62rem;
    }
    h4, .h4 {
        font-size: 1.475rem;
        line-height: 2.8rem;
    }
    h5, .h5 {
        font-size: 1.52rem;
        line-height: 2.1rem;
    }
    h6, .h6 {
        font-size: 1.32rem;
        line-height: 1.95rem;
    }
    .lead {
        font-size: 1.15rem;
        line-height: 2.05rem;
    }
    .logo-text {
        display: none;
    }
    footer .footer-logo img {
        max-height: 24px;
    }
    .btn.btn-transparent-white-light:hover, .btn.btn-transparent-white-light:active {
        background-color: var(--white);
        border-color: rgba(255, 255, 255, 1);
        color: var(--dark-gray);
    }
    #cta-bar {
        padding: 15px 0;
        gap: 10px;
    }
    #cta-bar .cta-btn {
        padding: 8px 10px;
        font-size: 12px;
		border-radius: 5px;
    }
    .btn.with-rounded.btn-extra-large {
        padding-left: 70px;
    }
}

/* ContactForm7 全体調整 */
.wpcf7 {
  background-color: rgba(141, 173, 220, 0.2);
  padding: 40px;
  border-radius: 10px;
  max-width: 820px;
  margin: auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  font-family: "Helvetica Neue", sans-serif;
}
/* ラベルとインプット */
.wpcf7-form label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form select, .wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  margin-bottom: 20px;
  box-sizing: border-box;
}
/* テキストエリア調整 */
.wpcf7-form textarea {
  height: 150px;
  resize: vertical;
}
/* 2カラム */
.form-row.two-columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-col {
  flex: 1;
  min-width: 250px;
}
.form-row p {
  margin-bottom: 0;
}
/* チェックボックス */
.checkbox-row {
  margin-bottom: 20px;
}
.wpcf7-form .wpcf7-list-item {
  font-size: 14px;
}
/* 送信ボタン */
.submit-row {
  text-align: center;
}
.wpcf7-form input[type="submit"] {
  background-color: rgba(141, 173, 220, 1);
  color: white;
  font-size: 22px;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}
.wpcf7-form input[type="submit"]:hover {
  background-color: #009b85;
}
/* 必須マーク */
.required {
  background: #ff4d4f;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
/* 任意マーク */
.optional {
  background: #6c757d;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
/* チェックボックス行 全体 */
.checkbox-row {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 10px; /* 項目間の余白 */
  margin: 16px 0 24px;
}
/* CF7 が吐く wrap をブロック化して余白を統一 */
.checkbox-row .wpcf7-form-control-wrap {
  display: block;
}
/* ラベルとチェックの位置合わせ */
.checkbox-row label {
  display: flex;
  align-items: center; /* 文字の縦位置をチェックと揃える */
  gap: 8px;
  margin: 0;
  font-weight: 400; /* ラベルの太さは通常文と同じに */
}
/* リスト項目のデフォルト余白を打ち消し */
.checkbox-row .wpcf7-list-item {
  margin: 0;
}
/* チェックボックスのサイズ＆色（対応ブラウザで反映） */
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #8daddc; /* テーマ色に合わせる */
}
/* placeholder の色を薄める */
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder {
  color: #aaa !important; /* グレーで薄く */
  opacity: 1; /* Safari対応：必ず指定 */
}
@media (min-width: 640px) {
  .checkbox-row {
    flex-direction: row; /* 横並び */
    gap: 20px;
  }
  .checkbox-row .wpcf7-form-control-wrap {
    display: inline-block;
  }
}
@media (max-width: 768px) {
  .wpcf7 {
    padding: 20px;
  }
  .wpcf7 br {
    display: none;
  }
}
a.btn-dl {
  border-radius: 6px;
}
a.btn-dl:hover {
  background-color: rgba(10, 88, 202, 0.8);
  color: #fff;
}
a.btn-dl:visited {
  color: #fff;
}
ul.nav-tabs {
	margin-left: 0;
}

