/* ===================================
    Crafto - Accounting
====================================== */



/* font */
@font-face {
  font-family: "Noto Serif JP";
  src: url("fonts/CerebriSans-Regular.woff2") format("woff2"),
    url("fonts/CerebriSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "cerebri-sans-medium";
  src: url("fonts/CerebriSans-Medium.woff2") format("woff2"),
    url("fonts/CerebriSans-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "cerebri-sans-semibold";
  src: url("fonts/CerebriSans-SemiBold.woff2") format("woff2"),
    url("fonts/CerebriSans-SemiBold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "cerebri-sans-bold";
  src: url("fonts/CerebriSans-Bold.woff2") format("woff2"),
    url("fonts/CerebriSans-Bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "cerebri-sans-light";
  src: url("fonts/CerebriSans-Light.woff2") format("woff2"),
    url("fonts/CerebriSans-Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* variable */
:root {
  --alt-font: "Noto Serif JP";
  --primary-font: "Noto Serif JP";
  --base-color: #a16207;
  --plan1-color: #3b4d84;
  --plan2-color: #d6a74b;
  --plan3-color: #7ca860;
  --plan4-color: #b4465e;
  --plan5-color: #4b9d97;
  --plan6-color: #836fb7;
  --plan7-color: #cc6c7a;

  --dark-gray: #1e3238;
  --very-light-gray: #f1efec;
  --yellow: #ecab23;
  --medium-gray: #7c898d;
  --solitude-blue: #f9f7f4;
}

/* reset */
body {
  font-size: 18px;
  line-height: 30px;
}
/* font weight */
.fw-400 {
  font-family: "Noto Serif JP" !important;
  font-weight: 400 !important;
}
.fw-300 {
  font-family: "Noto Serif JP" !important;
  font-weight: normal !important;
}
.fw-500 {
  font-family: "Noto Serif JP" !important;
  font-weight: 500 !important;
}
.fw-600 {
  font-family: "Noto Serif JP" !important;
  font-weight: 600 !important;
}
.fw-700 {
  font-family: "Noto Serif JP" !important;
  font-weight: 700 !important;
}
/* custom cursor */
.custom-cursor .circle-cursor-inner {
  background-color: var(--yellow);
}
.custom-cursor .circle-cursor-inner.cursor-link-hover {
  background-color: var(--yellow);
}
.custom-cursor .circle-cursor-outer {
  border: 1px solid var(--yellow);
}
/* heading */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 25px;
}
h1 {
  line-height: 4.375rem;
}
h2 {
  line-height: 3.438rem;
}
h3 {
  line-height: 3rem;
}
h4 {
  line-height: 2.6rem;
}
h5 {
  line-height: 2rem;
}
h6 {
  line-height: 1.75rem;
}
/* header */
.navbar .navbar-nav .nav-link {
  font-size: 18px;
  font-family: "Noto Serif JP" !important;
}
.navbar .navbar-nav .dropdown .dropdown-menu a {
  font-size: 16px;
  line-height: 28px;
  font-family: "Noto Serif JP" !important;
}
header .btn.btn-small {
  font-size: 14px;
}
header .btn.btn-small i {
  top: -2px;
}
header .navbar-brand img {
  max-height: 50px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
  width: 350px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
  border-bottom: 1px solid var(--very-light-gray);
  padding: 20px 30px;
  font-size: 17px;
  color: var(--dark-gray) !important;
  font-family: "Noto Serif JP" !important;
}
.navbar
  .navbar-nav
  .dropdown.dropdown-with-icon-style02
  .dropdown-menu
  li
  a:hover {
  background-color: var(--very-light-gray);
}
.navbar
  .navbar-nav
  .dropdown.dropdown-with-icon-style02
  .dropdown-menu
  li
  a
  img {
  width: 40px;
  margin-right: 10px;
}
/* btn */
.btn-link i {
  top: 0px;
}
.btn.btn-hover-animation-switch .btn-icon {
  margin-left: 6px;
}
.btn {
  font-family: "Noto Serif JP";
  font-weight: normal !important;
  text-transform: none;
  letter-spacing: normal;
}
.btn-yellow {
  background-color: var(--yellow) !important;
  color: var(--dark-gray) !important;
}
.btn.btn-box-shadow.btn-yellow:hover {
  background-color: var(--yellow) !important;
  color: var(--dark-gray) !important;
}
.btn.btn-box-shadow.btn-yellow:active {
  border-color: var(--yellow) !important;
}
.btn.btn-extra-large {
  font-size: 17px;
}
.btn.btn-large {
  font-size: 16px;
}
.btn.btn-medium {
  font-size: 15px;
}
.btn.with-rounded.btn-large > span {
  line-height: 34px;
}
.btn.with-rounded.btn-medium > span {
  line-height: 30px;
}
/* text color */
.text-emerald-green {
  color: #62cd54;
}
/* bg color */
.bg-orient-blue {
  background-color: #1f6668;
}
/* bg gradient color */
.bg-gradient-green-yellow-color {
  background: rgb(236, 171, 35);
  background: linear-gradient(
    306deg,
    rgba(236, 171, 35, 1) 0%,
    rgba(0, 83, 61, 1) 85%
  );
}
.bg-gradient-gray-light-dark-transparent {
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(32, 35, 41, 1)),
    to(transparent)
  );
  background-image: linear-gradient(
    to top,
    rgba(32, 35, 41, 1) 10%,
    transparent 50%
  );
}

.bg-plan1-color {
  background-color: var(--plan1-color);
}

.bg-plan2-color {
  background-color: var(--plan2-color);
}

.bg-plan3-color {
  background-color: var(--plan3-color);
}

.bg-plan4-color {
  background-color: var(--plan4-color);
}

.bg-plan5-color {
  background-color: var(--plan5-color);
}

.bg-plan6-color {
  background-color: var(--plan6-color);
}

.bg-plan7-color {
  background-color: var(--plan7-color);
}

/* homepage */
.contact-form-style-01 .btn.btn-large {
  padding: 13px 40px;
}
.terms-condition .box:before {
  top: 7px;
}
.terms-condition .box:after {
  top: 11px;
}
.contact-form-style-01 {
  margin-top: -100px;
}
/* page title */
.page-title-extra-small h1 {
  font-size: 18px;
  line-height: 22px;
}
.page-title-extra-small h2 {
  font-size: 2.5rem;
  line-height: 3.8rem;
}
/* team style */
.team-style-01 figure figcaption .social-icon a {
  margin: 0 5px;
}
/* text shadow */
.text-shadow-medium {
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
/* border color */
.border-color-yellow {
  border-color: var(--yellow) !important;
}
.pagination-style-01 .page-item.active .page-link,
.pagination-style-01 .page-item .page-link:hover {
  background: var(--dark-gray);
  color: var(--white);
}
.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
  background: transparent;
  box-shadow: none !important;
}
.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
  background: transparent;
  box-shadow: none !important;
}
.pagination-style-01 .page-item:first-child .page-link:hover,
.pagination-style-01 .page-item:last-child .page-link:hover {
  color: var(--dark-gray);
}
/* progress bar style 03 */
.progress-bar-style-03 .progress .progress-bar-title,
.progress-bar-style-03 .progress .progress-bar-percent {
  bottom: 10px;
}
.progress-bar-style-03 .progress {
  height: 6px;
}
/* tooltip */
.tooltip-inner {
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  color: var(--medium-gray);
  padding: 22px 35px;
  max-width: 260px;
  font-size: 16px;
  line-height: 26px;
  text-transform: none;
  font-weight: 400;
}
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow:before,
.bs-tooltip-bottom .tooltip-arrow:before {
  border-bottom-color: var(--white) !important;
  border-width: 0 1.7em 1.7em !important;
}

.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow:before,
.bs-tooltip-top .tooltip-arrow:before {
  border-top-color: var(--white) !important;
  border-width: 1.7em 1.7em 0 !important;
}
.bs-tooltip-auto[data-popper-placement^="bottom"] {
  margin-top: 15px !important;
}
.bs-tooltip-auto[data-popper-placement^="top"] {
  margin-bottom: 15px !important;
}
.tooltip {
  opacity: 1 !important;
}
.tooltip .tooltip-arrow {
  width: 3.5em;
  height: 1.2em;
}
.bs-tooltip-start.tooltip .tooltip-arrow {
  width: 1.2em;
  height: 3.2em;
  margin-top: -18px;
}
.bs-tooltip-auto[data-popper-placement^="left"] {
  margin-right: 15px;
}
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow:before,
.bs-tooltip-start .tooltip-arrow:before {
  border-width: 1em 0 1em 1em !important;
  border-left-color: var(--white) !important;
}
.bs-tooltip-end.tooltip .tooltip-arrow {
  width: 1.2em;
  height: 3.2em;
  margin-top: -18px;
}
.bs-tooltip-auto[data-popper-placement^="right"] {
  margin-left: 15px !important;
}
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow:before,
.bs-tooltip-end .tooltip-arrow:before {
  border-width: 1.7rem 1.7rem 1.7rem 0 !important;
  border-right-color: var(--white) !important;
}
.tooltip-title {
  font-weight: 600;
  display: block;
  font-size: 18px;
  margin-bottom: 7px;
  color: var(--dark-gray);
  letter-spacing: -0.5px;
}
/* top right bottom left */
.left-35px {
  left: 35px;
}
.bottom-35px {
  bottom: 35px;
}
/* footer */
footer .footer-logo img {
  max-height: 36px;
}
.footer-dark p,
.footer-dark .widget-text {
  color: var(--white);
  opacity: 0.4;
}
.footer-dark .elements-social .light li a {
  opacity: 1;
}
.footer-dark p a,
.footer-dark p a:hover {
  color: var(--white);
}
.footer-dark ul li a,
.footer-dark .widget-link {
  color: var(--white);
  opacity: 1;
}

.footer-dark ul li a:hover,
.footer-dark .widget-link:hover,
.footer-dark a:hover {
  opacity: 1;
  color: var(--white);
}
footer ul li {
  margin-bottom: 0;
}
.footer-dark .newsletter-style-02 input::placeholder {
  color: var(--white);
}
.footer-dark .newsletter-style-02 input::-webkit-input-placeholder {
  color: var(--white) !important;
  text-overflow: ellipsis;
  opacity: 0.4;
}
.footer-dark .newsletter-style-02 input::-moz-placeholder {
  color: var(--white) !important;
  text-overflow: ellipsis;
  opacity: 0.4;
}
.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
  color: var(--white) !important;
  text-overflow: ellipsis;
  opacity: 0.4;
}
.is-touchable .cursor-page-inner {
  display: none !important;
}
/* media query responsive */
@media (max-width: 1300px) {
  .sticky-wrap.shadow-in {
    left: 18px;
  }
}
@media (max-width: 1250px) {
  .sticky-wrap.shadow-in {
    left: 2px;
  }
}
@media (max-width: 1199px) {
  header .btn.btn-rounded.btn-small {
    padding: 9px 18px;
  }
}
@media (max-width: 991px) {
  .contact-form-style-01 {
    margin-top: 0;
  }
  .tab-style-08 ul .nav-item .nav-link {
    padding: 18px 20px;
  }
  .elements-social .large-icon li {
    margin: 0 5px;
  }
  .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    padding-left: 0px;
    padding-right: 0px;
  }
  .navbar
    .navbar-nav
    .dropdown.dropdown-with-icon-style02
    .dropdown-menu
    li
    a:hover {
    background-color: transparent;
  }
}
@media (max-width: 767px) {
  .process-step-style-03 .progress-step-separator {
    display: block;
  }
}
@media (max-width: 575px) {
  .process-step-style-03 .progress-step-separator {
    display: none;
  }
}

/* 本文小: デスクトップ、タブレット、モバイル対応 */
.fs-XS {
  font-size: clamp(12px, calc(0.75rem + 0.5vw), 16px);
  line-height: 1.7;
}

/* 本文: デスクトップ、タブレット、モバイル対応 */
.fs-S {
  font-size: clamp(14px, calc(0.875rem + 0.625vw), 18px);
  line-height: 1.5;
}

/* 本文大: デスクトップ、タブレット、モバイル対応 */
.fs-M {
  font-size: clamp(16px, calc(1rem + 0.625vw), 20px);
  line-height: 1.5;
}

/* サブヘッドライン小: デスクトップ、タブレット、モバイル対応 */
.fs-L {
  font-size: clamp(18px, calc(1.125rem + 0.625vw), 22px);
  line-height: 1.5;
}

/* サブヘッドライン: デスクトップ、タブレット、モバイル対応 */
.fs-XL {
  font-size: clamp(20px, calc(1.25rem + 0.625vw), 24px);
  line-height: 1.5;
}

/* 見出し小: デスクトップ、タブレット、モバイル対応 */
.fs-XXL {
  font-size: clamp(22px, calc(1.375rem + 0.625vw), 26px);
  line-height: 1.5;
}

/* 見出し: デスクトップ、タブレット、モバイル対応 */
.fs-XXXL {
  font-size: clamp(24px, calc(1.5rem + 0.625vw), 28px);
  line-height: 1.5;
}

/* 見出し大: デスクトップ、タブレット、モバイル対応 */
.fs-XXXXL {
  font-size: clamp(26px, calc(1.625rem + 0.625vw), 30px);
  line-height: 1.5;
}

/* 見出し特大: デスクトップ、タブレット、モバイル対応 */
.fs-XXXXXL {
  font-size: clamp(28px, calc(1.75rem + 0.625vw), 32px);
  line-height: 1.5;
}

/* 見出し超特大: デスクトップ、タブレット、モバイル対応 */
.fs-XXXXXXL {
  font-size: clamp(30px, calc(1.875rem + 0.625vw), 34px);
  line-height: 1.5;
}

.company-info {
  background: #fffef6;
  padding: 40px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.info-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  background-color: #fff;
  border-left: 6px solid #c89d48;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.info-label {
  font-weight: 700;
  color: #8b5e14;
  margin-bottom: 5px;
  font-size: 16px;
}

.info-value {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
}

/* 画面が大きい場合は横2カラムに */
@media screen and (min-width: 768px) {
  .info-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .info-item:nth-child(7) {
    grid-column: 1 / -1; /* ご提供サービスだけ全幅に */
  }
}

/* 全体スタイル */
.funeral-points {
  background-color: #222;
  color: #fff;
  padding: 60px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.section-title {
  text-align: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 40px;
  font-weight: bold;
  font-family: "Shippori Mincho", serif;
}

.section-title span {
  color: #ffd700;
}

/* グリッドレイアウト */
.points-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .points-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .points-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* 各カード */
.point-card {
  background-color: #2c2c2c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  font-family: var(--alt-font);
}

.point-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.point-content {
  padding: 20px;
}

.point-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.point-content h3 .highlight {
  color: #ffd700;
  font-weight: bold;
}

.point-content p {
  font-size: 14px;
  line-height: 1.8;
}

/* 和柄背景（市松模様） */
.offer-flowers {
  padding: 60px 20px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

/* セクションタイトル */

.section-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: #000000;
  margin: 10px auto 0;
}

/* カードグリッド */
.flower-grid {
  display: grid;
  gap: 30px;
  justify-content: center;
}

@media (min-width: 768px) {
  .flower-grid {
    grid-template-columns: repeat(2, 260px);
  }
}

/* カードスタイル */
.flower-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.flower-card:hover {
  transform: translateY(-4px);
}

.flower-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* リボン */
.ribbon {
  position: absolute;
  top: 10px;
  right: -10px;
  background: #e5c100;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 12px;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* 説明部分 */
.caption {
  padding: 20px;
}

.caption h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.caption .price {
  color: #b28d2c;
  font-weight: bold;
  margin-bottom: 15px;
}

/* 注文ボタン */
.order-btn {
  display: inline-block;
  background-color: #b28d2c;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s;
}

.order-btn:hover {
  background-color: #947312;
  color: white;
}

.video-background-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
  opacity: 0.2; /* 桜のさりげなさを出す */
  pointer-events: none;
}

section.pt-0 {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8); /* テキストの可読性を確保 */
  backdrop-filter: blur(2px);
}

.vertical-text-box {
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 2.5;
    font-family: "游明朝", "Hiragino Mincho Pro", serif;
    padding: 20px;
}

.vertical-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 100px;
}

.vertical-sub {
  font-size: 1rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  .vertical-text-box {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    line-height: 1.6;
  }
  .pricing-body {
    font-size: 16px;
  }

  .vertical-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
}

.bg-light-yellow {
  background-color: #fffaf3;
}

.border-color-golden {
  border-color: #a16207 !important;
}

.emergency-heading {
  font-weight: 700;
  font-size: 1.1rem;
  color: #a16207;
}

.emergency-phone {
  font-size: 1.8rem;
  font-weight: bold;
  color: #a16207;
}

.emergency-phone a {
  color: #a16207;
  text-decoration: none;
}

.sakura-heading h5 {
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #cc6c7a;
  letter-spacing: 0.5px;
}

.sakura-heading .subtitle {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
  margin-top: 2px;
}

/* 文字や枠を和風に近づける例（必要に応じて） */
.text-dark-gray {
  color: #444444;
}

.bg-light {
  background-color: #f9f9f6;
}

.border {
  border: 1px solid #ddd;
}

/* 和紙風にしたいとき（背景画像） */
/*
.bg-light {
  background-image: url('images/background/washi-texture.png');
  background-size: cover;
}
*/



