@charset "utf-8";

/* ==================================================
   common_sp
   375px基準
================================================== */
@media screen and (max-width: 768px) {

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .sp_view {
    display: block;
  }

  .pc_view {
    display: none;
  }

  .hover:hover {
    opacity: 1;
  }

  html.fixed,
  body.fixed {
    overflow: hidden;
    width: 100%;
  }

  /* ==================================================
     mainvisual
  ================================================== */
  #wrapper {
    overflow: hidden;
  }
	/*
  #mainvisual {
    --ios-safari-bottom: max(80px, env(safe-area-inset-bottom));
    position: relative;
    min-height: calc(100dvh + var(--ios-safari-bottom));
    overflow: hidden;
    background: url("../images/sp_mv.webp") center center / cover no-repeat;
  }

  #mainvisual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/sp_mv.webp") center center / cover no-repeat;
    animation-duration: 10s;
    z-index: 0;
  }

  #mainvisual > * {
    position: relative;
    z-index: 1;
  }

  #mainvisual::after {
    background:
      linear-gradient(90deg, rgba(0,0,0,.48), rgba(0,0,0,.08)),
      linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,0));
  }
	*/
	
	#mainvisual {
    --mv-safe-bottom: max(32px, env(safe-area-inset-bottom));

    position: relative;

    /* 古いブラウザ用 */
    min-height: 100vh;

    /* スマホのブラウザUIを含めた安定した高さ */
    min-height: 100svh;

    padding:
      clamp(88px, 16svh, 150px)
      5vw
      var(--mv-safe-bottom);

    box-sizing: border-box;
    overflow: hidden;

    background:
      url("../images/sp_mv.webp")
      center center / cover no-repeat;
  }

  #mainvisual::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
      url("../images/sp_mv.webp")
      center center / cover no-repeat;

    animation-duration: 10s;
    z-index: 0;
  }

  #mainvisual::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.48),
        rgba(0, 0, 0, 0.08)
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.32),
        rgba(0, 0, 0, 0)
      );

    z-index: 0;
    pointer-events: none;
  }

  /* ハンバーガーメニューはMVのoverflowの影響を受けないようにする */
  #mainvisual > .global_menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 閉じるボタンも最前面へ */
  #mainvisual .menu_close {
    position: fixed;
    z-index: 10000;
  }
  
  
  
  #mainvisual h1 {
    display: none;
  }
	/*
  #sp_logo {
    top: 16vh;
    left: 10vw;
    width: 80vw;
    display: block;
    position: absolute;
    z-index: 3;
  }
  #sp_logo img {
    display: block;
    width: 100%;
    height: auto;
  }
	*/
  #sp_logo {
    position: relative;

    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;

    display: block;
    width: min(74vw, 430px);
    margin: 0 auto;

    transform: none;
    z-index: 3;
  }

  #sp_logo img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* メインコピー */
  #mainvisual h2 {
    position: relative;

    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;

    width: 100%;
    max-width: 92vw;

    margin:
      clamp(72px, 13svh, 132px)
      auto
      0;

    padding: 0;
    box-sizing: border-box;

    font-size: clamp(27px, 7.7vw, 40px);
    line-height: 1.55;
    letter-spacing: 0.1em;
    text-align: center;

    white-space: normal;
    transform: none;
  }

  /* サブコピー */
  #mainvisual h3 {
    position: relative;

    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;

    width: 100%;
    max-width: 92vw;

    margin:
      clamp(16px, 3svh, 28px)
      auto
      0;

    padding: 0;
    box-sizing: border-box;

    font-size: clamp(16px, 4.4vw, 23px);
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-align: center;

    white-space: normal;
    transform: none;
  }

  #mainvisual ul {
    top: 2vh;
    right: 5vw;
    gap: 5vw;
  }

  #mainvisual .h_mail img {
    width: 10.5vw;
  }

  #mainvisual .h_mail a:hover {
    transform: none;
    opacity: 1;
  }

  #mainvisual .hm {
    width: 11.5vw;
    height: 9.5vw;
  }

  #mainvisual .hm:hover {
    opacity: 1;
  }

  #mainvisual .hm::before,
  #mainvisual .hm::after,
  #mainvisual .hm span {
    width: 11.5vw;
    height: 0.5vw;
  }

  #mainvisual .hm::before {
    top: 1.5vw;
  }

  #mainvisual .hm::after {
    bottom: 1.5vw;
  }

  #mainvisual .hm.active::before {
    top: 50%;
    transform: rotate(35deg);
  }

  #mainvisual .hm.active span {
    opacity: 0;
    transform: translateX(4vw);
  }

  #mainvisual .hm.active::after {
    bottom: auto;
    top: 50%;
    transform: rotate(-35deg);
  }
/*
  #mainvisual h2 {
    top: 50vh;
    left: 2vw;
    width: 100vw;
    font-size: 7.7vw;
    line-height: 1.55;
    text-align: center;
    letter-spacing: 0.1em;
  }

  #mainvisual h3 {
    top: 64vh;
    left: 0vw;
    width: 100vw;
    font-size: 4.4vw;
    line-height: 1.8;
    text-align: center;
    letter-spacing: 0.08em;
  }
*/
  /* menu */
  .global_menu {
    background: rgba(104, 62, 39, .94);
    transform: scale(1.02);
  }

  .global_menu_inner {
    gap: 10vw;
    padding: 0 6vw;
    box-sizing: border-box;
  }

  .global_menu_inner a {
    font-size: 6.0vw;
    letter-spacing: .12em;
    transform: translateY(5vw);
  }

  .global_menu_inner a:hover {
    letter-spacing: .12em;
    opacity: 1;
  }

  .menu_close {
    top: 6vw;
    right: 5vw;
    width: 13vw;
    height: 13vw;
  }

  .menu_close:hover {
    transform: none;
  }

  .menu_close span {
    width: 6.8vw;
    height: 0.5vw;
  }

  /* ==================================================
     concept
  ================================================== */
  #concept {
    padding-top: 16vw;
    padding-bottom: 18vw;
  }

  #concept::before {
    top: 8vh;
    right: 16vw;
    width: 10vw;
    height: 10vw;
    box-shadow: 13vw 14vw 0 -3vw #f8b500;
  }

  #concept::after {
    right: -8vw;
    top: 78vh;
    width: 58vw;
    height: 42vw;
  }
  #concept.is-bg-show::after {
    opacity: 0.5;
  }

  #concept .t_title {
    width: 64vw;
    height: 18vw;
    text-align: left;
    justify-content: flex-start;
    padding-left: 6.4vw;
    margin-bottom: 10vw;
  }

  #concept .t_title p {
    font-size: 9.5vw;
    padding-right: 8vw;
  }

  #concept > h2 {
    writing-mode: horizontal-tb;
    position: relative;
    top: auto;
    left: auto;
    width: 86vw;
    margin: 0 auto 7vw;
    font-size: 6.6vw;
    line-height: 1.8;
    letter-spacing: 0.12em;
  }

  #concept > p {
    width: 86vw;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 12vw;
    font-size: 4.0vw;
    line-height: 2.2;
    letter-spacing: 0.06em;
  }

  .three_photo {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    width: 88vw;
    margin: 0 auto;
  }

  .three_photo img {
    width: 100% !important;
    height: 58vw;
    object-fit: cover;
    transform: translateY(12vw);
  }

  /* ==================================================
     service
  ================================================== */
  #service {
    padding: 16vw 0 20vw;
  }

  .service_head {
    width: 88vw;
    margin: 0 auto;
  }

  .service_head h2 {
    font-size: 12vw;
  }

  .service_head .jp {
    margin-top: 3vw;
    font-size: 3.6vw;
  }

  .service_head .lead {
    margin-top: 9vw;
    font-size: 3.7vw;
    line-height: 2.1;
    letter-spacing: 0.06em;
    text-align: left;
  }

  .service_btn {
    width: 72vw;
    height: 15vw;
    margin-top: 8vw;
    font-size: 4vw;
  }

  .service_btn::after {
    width: 3vw;
    height: 3vw;
    margin-left: 3.5vw;
  }

  .service_btn:hover {
    color: #f8b500;
  }

  .service_btn:hover::before {
    left: -100%;
  }

  .service_btn:hover::after {
    border-color: #f8b500;
    transform: rotate(45deg);
  }

  .faq_area {
    width: 88vw;
    height: auto;
    margin: 10vh auto 0;
  }

  .faq_photo {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 58vw;
  }

  .faq_box {
    position: relative;
    left: auto;
    top: auto;
    width: 82vw;
    height: auto;
    margin: -10vw auto 0;
    padding: 10vw 5vw 11vw;
    box-sizing: border-box;
    box-shadow: 0 4vw 6vw rgba(0, 0, 0, 0.12);
  }

  .faq_box h3 {
    font-size: 12vw;
  }

  .faq_jp {
    margin-top: 3vw;
    font-size: 3.6vw;
  }

  .faq_text {
    margin-top: 8vw;
    font-size: 3.7vw;
    line-height: 1.8;
  }

  .more_btn {
    margin-top: 9vw;
    padding: 0 12vw 3.5vw 3vw;
    font-size: 4vw;
  }

  .more_btn::after {
    right: 2.8vw;
    top: 1vw;
    width: 2.8vw;
    height: 2.8vw;
  }

  .more_btn:hover::after {
    right: 2.8vw;
  }

  /* ==================================================
     column
  ================================================== */
  #column {
    padding: 16vw 0 18vw;
  }

  .column_head h2 {
    font-size: 12vw;
  }

  .column_head p {
    margin-top: 3vw;
    font-size: 3.6vw;
  }

  .column_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10vw;
    width: 88vw;
    margin: 13vw auto 0;
  }

  .column_img {
    height: 58vw;
  }

  .column_item a:hover .column_img img {
    transform: scale(1) translateZ(0);
  }

  .column_meta {
    margin-top: 4vw;
  }

  .column_meta time {
    font-size: 3.8vw;
  }

  .column_meta .cat {
    width: 22vw;
    height: 7.5vw;
    border-radius: 1.3vw;
    font-size: 3.5vw;
  }

  .column_item h3 {
    margin-top: 4vw;
    font-size: 4.2vw;
    line-height: 1.7;
    letter-spacing: 0.06em;
  }

  .column_more {
    margin-top: 12vw;
  }

  /* ==================================================
     company
  ================================================== */
  #company {
    padding: 15vw 0 18vw;
  }

  .company_inner {
    width: 90vw;
    padding: 12vw 5.5vw 13vw;
    border-radius: 7vw;
    box-shadow: 0 4vw 7vw rgba(0, 0, 0, 0.16);
  }

  .company_head h2 {
    font-size: 8vw;
    letter-spacing: 0.025em;
    line-height: 1.15;
  }

  .company_head p {
    margin-top: 3.5vw;
    font-size: 3.6vw;
  }

  .company_table {
    margin-top: 10vw;
  }

  .company_table dl {
    display: block;
    padding: 5.5vw 0;
  }

  .company_table dt,
  .company_table dd {
    font-size: 3.75vw;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }

  .company_table dt {
    padding-top: 0;
    margin-bottom: 2vw;
    color: #8a6a22;
  }

  .company_map {
    height: 62vw;
    margin-top: 10vw;
  }

  /* ==================================================
     contact
  ================================================== */
  #contact {
    padding: 18vw 0;
  }

  .contact_inner {
    width: 90vw;
    padding: 12vw 5.5vw 14vw;
    border-radius: 7vw;
    box-shadow: 0 4vw 7vw rgba(0, 0, 0, 0.14);
  }

  .contact_head h2 {
    font-size: 10.5vw;
  }

  .contact_head p {
    margin-top: 3vw;
    font-size: 3.8vw;
  }

  .contact_lead {
    margin-top: 9vw;
    text-align: left;
    font-size: 3.75vw;
    line-height: 2;
    letter-spacing: 0.04em;
  }

  .contact_form {
    margin-top: 10vw;
  }

  .contact_form dl {
    display: block;
    margin-bottom: 6vw;
  }

  .contact_form dt {
    justify-content: flex-start;
    gap: 3vw;
    padding-top: 0;
    margin-bottom: 2.5vw;
    font-size: 3.9vw;
  }

  .contact_form dt span {
    width: 9vw;
    height: 5vw;
    border-radius: 4vw;
    font-size: 2.7vw;
  }

  .contact_form input,
  .contact_form textarea {
    padding: 0 4vw;
    font-size: 4.27vw;
  }

  .contact_form input {
    height: 12vw;
  }

  .contact_form textarea {
    height: 52vw;
    padding-top: 4vw;
  }

  .contact_form input:focus,
  .contact_form textarea:focus {
    box-shadow: 0 0 0 0.8vw rgba(248, 181, 0, 0.18);
  }

  .privacy_box {
    margin-top: 10vw;
    padding: 6vw 5vw 7vw;
  }

  .privacy_title {
    font-size: 3.8vw;
    padding: 4vw 0;
  }

  .privacy_text {
    margin-top: 5vw;
    max-height: 38vw;
  }

  .privacy_text p {
    font-size: 3.6vw;
    line-height: 1.9;
  }

  .agree_check {
    gap: 3vw;
    margin-top: 7vw;
  }

  .agree_check input {
    width: 5.8vw;
    height: 5.8vw;
  }

  .agree_check input:checked::after {
    left: 1.6vw;
    top: 0.5vw;
    width: 1.8vw;
    height: 3.5vw;
  }

  .agree_check span {
    font-size: 3.6vw;
  }

  .recaptcha_area {
    margin-top: 7vw;
  }

  .recaptcha_area img {
    width: 56vw;
  }

  .submit_area {
    margin-top: 9vw;
  }

  .submit_area button {
    width: 66vw;
    height: 14vw;
    font-size: 4vw;
    letter-spacing: 0.25em;
  }

  .submit_area button:hover {
    transform: none;
    box-shadow: none;
  }

  /* ==================================================
     footer
  ================================================== */
  #footer {
    padding: 16vw 0 8vw;
  }

  .footer_inner {
    width: 88vw;
  }

  .footer_logo img {
    width: 70vw;
  }

  .footer_info {
    margin-top: 10vw;
  }

  .footer_info p {
    font-size: 3.8vw;
    line-height: 1.8;
  }

  .footer_tel {
    margin-top: 5vw;
    font-size: 8vw !important;
    line-height: 1.3;
  }

  .footer_nav {
    margin-top: 12vw;
    padding-bottom: 9vw;
  }

  .footer_nav ul {
    flex-wrap: wrap;
    gap: 4vw 0;
  }

  .footer_nav li {
    width: 50%;
    padding: 0;
    box-sizing: border-box;
  }

  .footer_nav li:not(:last-child)::after {
    display: none;
  }

  .footer_nav a {
    font-size: 3.8vw;
    letter-spacing: 0.08em;
  }

  .footer_nav a:hover {
    opacity: 1;
  }

  .copyright {
    margin-top: 8vw;
    font-size: 3.4vw;
    line-height: 1.6;
  }

  /* ===============================
     個人情報保護方針ページ用CSS
  =============================== */
  .poli_wrap {
    padding: 2.5vw 2.5vw 5vw;
  }

  .privacy-policy {
    font-size: 3.6vw;
    height: 64vw;
    padding: 7vw 6vw;
    line-height: 1.7;
  }

  .privacy-policy::-webkit-scrollbar {
    width: 3vw;
  }

  .privacy-policy::-webkit-scrollbar-thumb {
    border-radius: 2.5vw;
    border: 0.8vw solid transparent;
  }

  .privacy-policy h4 {
    font-size: 4.6vw;
    margin-bottom: 6vw;
  }

  .privacy-policy p {
    margin: 0 0 1.2em;
  }

  .privacy-policy h5 {
    font-size: 4vw;
    margin: 2em 0 0.8em;
  }

  .privacy-policy h5::before {
    font-size: 4vw;
    margin-right: 1.5vw;
  }

  .privacy-policy ol,
  .privacy-policy ul {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
  }

  .privacy-policy ol li,
  .privacy-policy ul li {
    margin-bottom: 0.5em;
  }

  .privacy-policy address,
  .privacy-policy .contact {
    padding: 3vw 4vw;
    border-left: 0.8vw solid #ccc;
    margin: 1em 0;
  }

  #policy_agree {
    width: 88vw;
    font-size: 4.2vw;
    margin: 0 auto 5vw;
  }

  #policy_agree label {
    display: inline-block;
  }

  #bt_submit {
    margin-bottom: 9vw;
  }

  #bt_submit input[type="submit"] {
    width: 74vw;
    height: 14vw;
    font-size: 4.5vw;
    border-radius: 999px;
  }

  #bt_submit input[type="submit"]:hover {
    background: #505050;
  }

  .g-recaptcha {
    width: 82vw;
    margin: 0 auto 5vw !important;
    transform: scale(0.88);
    transform-origin: center top;
  }

}