@charset "utf-8";

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* =================================================
   root
================================================= */
:root{
  --main: #0f4c81;
  --main-dark: #08375d;
  --main-light: #eef5fb;
  --accent: #f08a24;
  --accent-dark: #d96d06;
  --danger: #c8332d;
  --danger-dark: #a91f1a;
  --line: #06c755;
  --mail: #1976d2;
  --text: #333;
  --subtext: #555;
  --border: #d8e1ea;
  --soft-border: #e5d6ae;
  --soft-bg: #fffdf7;
  --box-bg: #f9fbfd;
  --shadow: 0 4px 14px rgba(0,0,0,0.08);
  --radius: 12px;
  --content: min(94%, 1100px);
  --narrow: min(94%, 900px);
}

/* =================================================
   reset / base
================================================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  font-size: 16px;
  scroll-behavior: smooth;
}

body{
  margin: 0;
  padding: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img{
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}

figure,
dd{
  margin: 0;
}

nav ul,
ul,
ol{
  margin: 0;
  padding: 0;
}

table{
  border-collapse: collapse;
}

iframe,
video{
  max-width: 100%;
}

a{
  color: inherit;
  text-decoration: none;
  transition: .25s ease;
}

a:hover{
  filter: brightness(1.05);
}

p{
  margin: 0 0 1.15em;
}

section{
  padding: 52px 0;
}

@media (max-width: 767px){
  body{
    font-size: 19px;
  }

  section{
    padding: 38px 10px;
  }
}

/* PC 768px以上 PCでは電話リンク無効*/
/* +++++++++++++++++++++++++++++++++++++++ */
@media (min-width:768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}

/* =================================================
   layout
================================================= */
#container{
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#contents{
  flex: 1;
}

main > section > *{
  margin-left: auto;
  margin-right: auto;
}

/* =================================================
   header
================================================= */
header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  color: #fff;
  z-index: 20;
}

header h1{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}


#logo a{
  display: inline-block;
}

#logo img{
  display: block;
  width: 240px;
}


/* PC 768px以上 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media (min-width:768px){
  header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 28px;
  }

  h1{
    font-size: 13px;
    left: 28px;
    top: 6px;
  }

  #logo img{
    width: 360px;
  }
}



/* =================================================
   header buttons
================================================= */
#header-box{
  display: none;
}

#header-box .btn{
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: center;
}

#header-box .btn li{
  list-style: none;
}

#header-box .btn a{
  display: block;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
}

#header-box .btn i{
  margin-right: 8px;
}

@media (min-width:1100px){
  #header-box{
    display: block;
    margin-right: 90px;
  }
}

/* =================================================
   hamburger menu
================================================= */
.menu-wrapper{
  position: relative;
}

.menu-icon{
  width: 58px;
  height: 58px;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 40;
  cursor: pointer;
  background: #000;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.menu-icon span{
  width: 30px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: .35s ease;
}

#menu-toggle:checked + .menu-icon span:nth-child(1){
  transform: translateY(12px) rotate(45deg);
}
#menu-toggle:checked + .menu-icon span:nth-child(2){
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3){
  transform: translateY(-12px) rotate(-45deg);
}

.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: .35s ease;
  z-index: 25;
}

#menu-toggle:checked ~ .overlay{
  opacity: 1;
  pointer-events: auto;
}

.menu{
  position: fixed;
  top: 0;
  right: -340px;
  width: min(340px, 86vw);
  height: 100vh;
  background: #111;
  color: #fff;
  overflow-y: auto;
  box-shadow: -6px 0 18px rgba(0,0,0,0.18);
  transition: right .35s ease;
  z-index: 30;
}

#menu-toggle:checked ~ .menu{
  right: 0;
}

.menu ul{
  list-style: none;
  padding: 88px 22px 28px;
}

.menu li + li{
  margin-top: 12px;
}

.menu a{
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
}

.menu a:hover{
  background: rgba(255,255,255,0.08);
  color: #7fc6ff;
}

@media (max-width: 767px){
  .menu-icon{
    width: 54px;
    height: 54px;
    top: 12px;
    right: 12px;
  }
}




/* =================================================
   main visual
================================================= */
#mainimg{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

#mainimg img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-title{
  position: absolute;
  top: 60vh;
  left:50vh;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  text-align: center;
}

.top-title h2{
  margin: 0;
	font-size: 4rem;
	font-weight: bold;
  line-height: 1.28;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.35);
  font-weight: 800;
}

/* スマホ用768px以下 */
@media (max-width: 767px) {
  #mainimg{
    height: 78vh;
    min-height: 420px;
  }

.top-title {
	position: absolute;
	top: 40vh;
        left:20vh;
	z-index: 1;
	width: 100%;
	margin-left: 0vw;
}

  .top-title h2{
    font-size: 28px;
    line-height: 1.4;
  }
}




/* =================================================
   floating CTA
================================================= */

#btn-special{
  position: fixed;
  right: 14px;
  top: 20vh;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* PC */

#btn-special a{
  display: block;
  color: #fff;
  padding: 1.2rem 0.8rem;
  font-weight: 700;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}

.btn-tel{
  background: #e53935;
}

.btn-line{
  background: #06c755;
}

#btn-special i{
  padding-bottom: .6rem;
  font-size: 18px;
}


/* ==============================
   スマホ
============================== */

@media (max-width: 767px){

  #btn-special{
    top: auto;
    bottom: 140px;
    right: 14px;
    gap: 12px;
  }

  #btn-special a{

    writing-mode: horizontal-tb;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    font-size: 0;
  }

  #btn-special i{
    font-size: 26px;
  }

}

/* =================================================
   section titles
================================================= */
.h2_waku{
  width: min(94%, 900px);
  color: var(--main);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.5;
  padding: .75em 1em;
  border: 3px solid var(--main);
  position: relative;
  text-align: center;
  margin: 0 auto 24px;
  background: #fff;
  border-radius: 10px;
}

.h2_waku::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-width: 24px 24px 0 0;
  border-style: solid;
  border-color: var(--main) #fff var(--main);
  border-top-left-radius: 6px;
}

.heading03{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.5;
  text-align: center;
  margin: 0 0 18px;  /*上 左右 下*/
  padding: 20px 0 0;
  color: var(--text);
}

.heading03::before,
.heading03::after{
  content: "";
  width: 60px;
  height: 3px;
  background-color: #ff6a00;
  border-radius: 999px;
}

.midashi{
  width: min(94%, 900px);
  background: #192f60;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 800;
  text-align: center;
  margin: 0 auto 26px;
}

@media (max-width: 767px){
  .h2_waku{
    width: 100%;
    font-size: 1.3rem;
    padding: .8em .75em;
  }

  .heading03{
    gap: 10px;
  }

  .heading03::before,
  .heading03::after{
    width: 28px;
  }
}

/* =================================================
   common box
================================================= */
.waku_box{
  width: var(--narrow);
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  background: var(--box-bg);
  box-shadow: var(--shadow);
}

.waku_box p{
  margin: 0 0 1em;
}

.waku_box p:last-child{
  margin-bottom: 0;
}

.waku_box img{
  display: block;
  margin: 0 auto;
}

@media (max-width: 767px){
  .waku_box{
    width: 100%;
    padding: 18px 14px;
  }
}

/* =================================================
   CTA contact
================================================= */
.cta-contact{
  background: #fffdf6;
  border: 2px solid #e4d6a6;
  border-radius: 16px;
  padding: 30px 22px;
  margin: 0 auto;
  text-align: center;
  max-width: 900px;
  box-shadow: var(--shadow);
}

.cta-label{
  display: inline-block;
  background: #b8860b;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.cta-title{
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin: 4px 0 10px;
  line-height: 1.45;
  color: var(--text);
}

.cta-lead{
  font-size: 1rem;
  line-height: 1.9;
  color: var(--subtext);
  margin-bottom: 18px;
}

.cta-main-btn{
  display: block;
  background: var(--danger);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 16px 18px;
  border-radius: 12px;
  margin: 18px auto 0;
  max-width: 460px;
}

.cta-main-btn:hover{
  background: var(--danger-dark);
}

.cta-main-btn i{
  margin-right: 8px;
}

.cta-sub{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.cta-line,
.cta-mail{
  display: block;
  color: #fff;
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.cta-line{
  background: var(--line);
}

.cta-mail{
  background: var(--mail);
}

.cta-line i,
.cta-mail i{
  margin-right: 6px;
}


/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media (max-width: 767px){
  .cta-contact{
    padding: 22px 14px;
  }

  .cta-label{
    font-size: 1rem;
    padding: 8px 16px;
  }

  .cta-title{
    font-size: 1.3rem;
  }

  .cta-lead{
    font-size: 0.95rem;
  }

  .cta-main-btn{
    font-size: 1.1rem;
    padding: 14px 12px;
  }

  .cta-sub{
    grid-template-columns: 1fr;
  }
}

/* =================================================
   worries list
================================================= */
.parent{
  width: 100%;
  display: flex;
  justify-content: center;
}

ul.nayami{
  width: min(94%, 900px);
  font-size: 1.15rem;
  font-weight: 700;
  border: 2px solid #9dc2ea;
  background: #f4f9ff;
  padding: 14px 18px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

ul.nayami li{
  position: relative;
  line-height: 1.7;
  padding: .75em 0 .75em 2em;
  list-style: none;
  border-bottom: 1px dashed #7ca9da;
}

ul.nayami li:last-child{
  border-bottom: none;
}

ul.nayami li::before{
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f1b0";
  color: #5e93d0;
  position: absolute;
  left: 0;
  top: .85em;
}


/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media (max-width: 767px){
  .parent{
    display: block;
  }

  ul.nayami{
    width: 100%;
    font-size: 1.05rem;
    padding: 10px 12px;
  }
}

/* =================================================
   explanation box
================================================= */
.waku-4{
  width: var(--narrow);
  margin: 0 auto;
  border: 2px solid var(--main);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.waku-4 > div{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  background-color: var(--main);
  color: #fff;
  font-weight: 800;
  text-align: center;
  line-height: 1.6;
}

.waku-4 p{
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  text-align: center;
  padding: 0 18px;
}

.waku-4 p:first-of-type{
  padding-top: 18px;
}

.waku-4 p:last-child{
  padding-bottom: 18px;
  margin-bottom: 0;
}

@media (max-width: 767px){
  .waku-4{
    width: 100%;
  }

  .waku-4 p{
    text-align: left;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* =================================================
   numbered list
================================================= */
ol.gomi_ul{
  width: min(94%, 720px);
  counter-reset: list;
  list-style: none;
  padding: 0;
  margin: 18px auto;
}

ol.gomi_ul li{
  position: relative;
  line-height: 1.7;
  margin: 0 0 12px 40px;
  padding: 0 0 10px 12px;
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: 1px solid #8b0000;
}

ol.gomi_ul li::before{
  counter-increment: list;
  content: counter(list);
  position: absolute;
  left: -40px;
  top: 0;
  width: 30px;
  height: 30px;
  background: #8b0000;
  color: #fff;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  font-size: .95rem;
}


/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media (max-width: 767px){
  ol.gomi_ul{
    width: calc(100% - 10px);
  }

  ol.gomi_ul li{
    font-size: 1rem;
  }
}

/* =================================================
   reasons
================================================= */
.reason-section{
  width: min(94%, 1000px);
  margin: 0 auto;
  padding-top: 10px;
}

.reason-section h2{
  text-align: center;
  font-size: clamp(1.45rem, 2vw, 2rem);
  color: #0b3c72;
  margin: 0 0 28px;
  font-weight: 800;
  line-height: 1.5;
}

.reason-box{
  background: #fff;
  border-left: 8px solid #1565c0;
  border-radius: 10px;
  padding: 22px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.reason-box h3{
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.5;
  color: #7f1d1d;
  font-weight: 800;
}

.reason-box p{
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.9;
}


/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media (max-width: 767px){
  .reason-section{
    width: 100%;
  }

  .reason-box{
    padding: 18px 14px;
    border-left-width: 6px;
  }

  .reason-box h3{
    font-size: 1.1rem;
  }
}


/* =================================================
   service cards
================================================= */
.service-grid{
  width: min(94%, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card{
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-card figure img{
  width: 100%;
  display: block;
}

.service-text{
  padding: 18px 16px 8px;
  flex: 1;
}

.service-text h4{
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #8b0000;
  line-height: 1.5;
}

.service-text p{
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.service-btn{
  padding: 0 16px 18px;
  margin: 0;
}

.service-btn a{
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--main);
  color: #fff;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 10px;
}

.service-btn a:hover{
  background: var(--main-dark);
}

@media (max-width: 991px){
  .service-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px){
  .service-grid{
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* =================================================
   flow
================================================= */
.flow-section{
  width: min(94%, 1000px);
  margin: 0 auto;
}

.flow-lead{
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  margin: 0 auto 28px;
}

.flow-list{
  max-width: 980px;
  margin: 0 auto;
}

.flow-item{
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fffdf7;
  border: 2px solid var(--soft-border);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.flow-number{
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #b8860b;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 78px;
  text-align: center;
}

.flow-content{
  flex: 1;
}

.flow-content h3{
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: #333;
  line-height: 1.5;
}

.flow-content p{
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
}

.flow-arrow{
  text-align: center;
  font-size: 28px;
  color: #b8860b;
  margin: 10px 0;
}

@media (max-width: 767px){
  .flow-item{
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 14px;
  }

  .flow-number{
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 20px;
  }

  .flow-content h3{
    font-size: 1.15rem;
  }

  .flow-content p{
    font-size: .95rem;
  }

  .flow-lead{
    font-size: .95rem;
  }
}

/* =================================================
   FAQ
================================================= */
.faq-section{
  width: min(94%, 1000px);
  margin: 0 auto;
}

.faq-lead{
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 28px;
  color: #444;
}

.faq-box{
  max-width: 900px;
  margin: 0 auto;
}

.faq-item{
  border: 2px solid var(--soft-border);
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--soft-bg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.faq-item summary{
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 48px 16px 18px;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.65;
}

.faq-item summary::-webkit-details-marker{
  display: none;
}

.faq-item summary::after{
  content: "＋";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--main);
}

.faq-item[open] summary::after{
  content: "－";
}

.faq-item p{
  padding: 0 18px 18px;
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
  margin: 0;
}

@media (max-width: 767px){
  .faq-item summary{
    font-size: 1rem;
    padding: 14px 42px 14px 14px;
  }

  .faq-item p{
    font-size: .95rem;
    padding: 0 14px 16px;
  }
}


/* =================================================
   review accordion
================================================= */
.review-section{
  width: min(94%, 1000px);
  margin: 0 auto;
}

.modern-accordion{
  max-width: 960px;
  margin: 0 auto;
}

.accordion-item{
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

.accordion-header{
  width: 100%;
  background: #fff;
  border: none;
  text-align: left;
  padding: 18px 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.header-content{
  flex: 1;
}

.header-content img{
  width: 24px;
  height: 24px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}

.faq_name{
  font-weight: 800;
  margin-right: 8px;
}

.faq_stars{
  color: #f5a623;
  font-weight: 800;
  margin-right: 8px;
}

.review-text{
  margin: 10px 0 0;
  color: #444;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-text.expanded{
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.icon-wrap{
  position: relative;
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin-top: 6px;
}

.icon-wrap .plus{
  position: absolute;
  background: var(--main);
  border-radius: 999px;
  transition: .3s ease;
}

.icon-wrap .plus:first-child{
  width: 24px;
  height: 3px;
  top: 10px;
  left: 0;
}

.icon-wrap .plus:last-child{
  width: 3px;
  height: 24px;
  left: 10px;
  top: 0;
}

.accordion-header.active .icon-wrap .plus:last-child{
  transform: scaleY(0);
}

.accordion-body{
  height: 0;
  overflow: hidden;
  transition: height .35s ease;
}

.body-content{
  padding: 0 18px 18px;
}

.label{
  display: inline-block;
  font-weight: 800;
  color: #8b0000;
  margin-bottom: 8px;
}

.btn_14{
  display: block;
  width: min(94%, 420px);
  margin: 26px auto 0;
  text-align: center;
  background: var(--main);
  color: #fff;
  font-weight: 800;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.btn_14:hover{
  background: var(--main-dark);
}

@media (max-width: 767px){
  .accordion-header{
    padding: 14px;
  }

  .body-content{
    padding: 0 14px 14px;
  }
}


/* =================================================
   swiper
================================================= */
.works-section{
  width: min(94%, 1100px);
  margin: 0 auto;
}

.mySwiper{
  width: 100%;
  padding: 10px 40px;
}

.swiper-slide{
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.swiper-slide img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev{
  color: var(--main);
}

@media (max-width: 767px){
  .mySwiper{
    padding: 10px 26px;
  }

  .swiper-slide img{
    height: 220px;
  }
}

/* =================================================
   PR grid
================================================= */
.pr-grid{
  width: min(94%, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pr-item{
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pr-item img{
  display: block;
  width: 100%;
}

@media (max-width: 767px){
  .pr-grid{
    width: 100%;
    grid-template-columns: 1fr;
  }
}


/* =================================================
   case examples
================================================= */
.case-box{
  width: min(94%, 980px);
  margin: 0 auto 28px;
  padding: 22px;
  background: #fff;
  border: 1px solid #d9e3f0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.case-layout{
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.case-left{
  width: 52%;
}

.case-right{
  width: 48%;
}

.case-image img{
  width: 100%;
  display: block;
  border-radius: 10px;
}

.case-text{
  margin-bottom: 16px;
}

.case-text h3{
  margin: 0 0 .8rem;
  font-size: 1.4rem;
  color: #0b3c72;
  line-height: 1.5;
}

.case-text p{
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.85;
}

.case-table{
  width: 100%;
  border-collapse: collapse;
  background: #f8fbff;
  border: 2px solid #2589d0;
  border-radius: 8px;
  overflow: hidden;
}

.case-table th,
.case-table td{
  padding: .5rem 1rem;
  border-bottom: 1px solid #cfe2f3;
  font-size: 1rem;
}

.case-table th{
  width: 40%;
  background: #e8f4fd;
  color: #004d99;
  text-align: left;
  font-weight: 800;
}

.case-table td{
  background: #fff;
  color: #333;
}

.case-table tr:last-child th,
.case-table tr:last-child td{
  border-bottom: none;
}

@media (max-width: 767px){
  .case-box{
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
  }

  .case-layout{
    flex-direction: column;
    gap: 14px;
  }

  .case-left,
  .case-right{
    width: 100%;
  }

  .case-text h3{
    font-size: 1.18rem;
  }

  .case-text p,
  .case-table th,
  .case-table td{
    font-size: .95rem;
  }

  .case-table th,
  .case-table td{
    padding: .75rem;
  }
}

/* =================================================
   generic 3-column cards
================================================= */
.grid3b{
  width: min(94%, 1100px);
  margin: 0 auto 28px;
}

.list_3b{
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 1rem;
  margin-bottom: 1.2rem;
  background: #fff;
  color: #111;
  box-shadow: var(--shadow);
  border-radius: 12px;
  overflow: hidden;
}

.list_3b figure{
  margin: -1rem -1rem .8rem;
}

.list_3b figure img{
  display: block;
  width: 100%;
}

.list_3b h4{
  font-size: 1.2rem;
  color: #8b0000;
  margin: 0;
  line-height: 1.5;
}

@media (min-width:768px){
  .grid3b{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .list_3b{
    margin-bottom: 0;
  }
}

/* =================================================
   grid multi
================================================= */
.grid_multi{
  width: min(94%, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.clmn-list{
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-weight: 800;
  text-align: center;
  padding-bottom: 14px;
}

.clmn-list img{
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

@media (max-width: 991px){
  .grid_multi{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px){
  .grid_multi{
    width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =================================================
   flex box content
================================================= */
.flex_box{
  width: min(94%, 1000px);
  margin: 0 auto;
}

.flex_box .case_pict{
  background: #fff;
  color: #333;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border-radius: 12px;
  overflow: hidden;
}

.flex_box figure{
  width: 100%;
  margin: 0;
}

.flex_box figure img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex_box .case_text{
  text-align: left;
  line-height: 1.8;
  font-size: 1rem;
  padding: 18px;
}

.flex_box .case_text h3,
.flex_box .case_text h4{
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 0 0 12px;
  color: #8b0000;
  font-weight: 800;
}

.flex_box .case_text p{
  margin: 0 0 1em;
}

.flex_box .case_text p:last-child{
  margin-bottom: 0;
}

/* PC 768px以上 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media (min-width: 768px){
  .flex_box .case_pict{
    display: flex;
    gap: 0;
    align-items: flex-start;
  }

  .flex_box figure{
    width: 42%;
    flex: 0 0 42%;
  }

  .flex_box .case_text{
    width: 58%;
    padding: 24px;
  }

  .flex_box .case_text h3,
  .flex_box .case_text h4{
    font-size: 1.35rem;
  }
}


/* flex_l 画像左 文字右 */
/* ======================================= */
.flex_l  {
    width: 100%;
    margin: 0 auto;
}

.flex_l .list {
  padding: 0;
  border: none;
}

.flex_l .list figure {
  margin-bottom: 1rem;
  width: 100%;
  margin: 0 auto 1rem; /* 中央寄せ */

}

.flex_l .list figure img {
  width: 100%;
  height: auto;
  display: block;
}

.flex_l .list h4 {
  margin: 0 0 0.5em;
  padding: 0 10px;
  font-size: 26px;
  line-height: 1.5;
  color: #8b0000; /* darkred */
  font-weight: 600;
}

.flex_l .list p {
  color: #333;
  margin: 0;
  padding: 0 10px;
  line-height: 1.5;
}

.flex_l .list p,
.flex_l .list h4 {
    padding-left: 1rem;
    padding-right: 1rem;
}


/* PC 768px以上 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (min-width: 768px) {
  .flex_l {
    width: min(94%, 1000px);
    margin: 0 auto;
  }

  .flex_l .list {
    display: flex;
    align-items: flex-start;
  box-shadow: var(--shadow);
  border-radius: 12px;
  }

  .flex_l .list figure {
    width: 40%;
    margin-right: 2rem;
    margin-bottom: 0;
  }

  .flex_l .list figure img {
    width: 100%;
    height: auto;
    display: block;
  }

  .flex_l .list div {
    flex: 1;
  }

  .flex_l .list h4 {
    font-size: 22px;
    padding: 0;
  }
}

/* =================================================
   qualification cards
================================================= */
.flex-container{
  width: min(94%, 1100px);
  margin: 0 auto;
}

.wrapper{
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  box-sizing: border-box;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.img-wrapper img{
  width: 100%;
  vertical-align: bottom;
  border-radius: 8px;
}

.content-wrapper{
  padding: 12px 4px 4px;
}

.content-wrapper .heading{
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #8b0000;
  font-weight: 800;
  line-height: 1.5;
}

.content-wrapper .text{
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

@media (min-width: 768px){
  .flex-container{
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  .wrapper{
    width: calc(33.333% - 14px);
    margin: 0;
  }
}

/* =================================================
   table
================================================= */

/* 会社概要 */
/* ======================================= */
.f_table{
  table-layout: fixed;
  width: min(94%, 900px);
  margin: 0 auto;
  background: #fff;
  color: #333;
  border-collapse: collapse;
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: 12px;
}

.f_table th,
.f_table td{
  border: 1px solid #ccc;
  word-break: break-word;
  padding: 12px 10px;
  line-height: 1.7;
}

.f_table th{
  background: #f5f8fb;
  text-align: center;
  font-weight: 600;
  width: 30%;
}

.f_table td{
  text-align: left;
}

@media (max-width: 767px){
  .f_table{
    width: 100%;
    font-size: .95rem;
  }

  .f_table th,
  .f_table td{
    padding: 10px 8px;
  }
}


/* 営業エリア */
/* ======================================= */
.area {
  border-collapse: collapse;
  width: min(94%, 1000px);
}

.area th {
  background: #eaedf7;
  color: #111;
  width: 30%;
  padding: 10px;
  border: solid 1px #ccc;
  text-align:center;
  box-sizing:border-box;
}

.area td {
  background: #fff;
  color: #111;
  padding: 10px;
  border: solid 1px #ccc;
  text-align:left;
  box-sizing:border-box;
}


@media screen and (max-width: 768px) {
  .area {
    width: 100%;
  }
  table.area th,
  table.area td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  .area tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}

/* =================================================
   underline / icon
================================================= */
.double-underline{
  border-bottom: 6px double #dc143c;
}

.icon-paw::before{
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f1b0";
  margin-right: 0.5em;
  display: inline-block;
  color: #e91e63;
}


/* =================================================
   formWrap メールフォーム
================================================= */
#formWrap {
	width:700px;
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:90%;
}
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}
p.error_messe{
	margin:5px 0;
	color:red;
}


/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width:768px) {
#formWrap {
	width:95%;
	margin:0 auto;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:5px;
	border-bottom:0;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}
}


/* =================================================
   footer
================================================= */
.footer-3{
  padding: 3rem 1.5rem 1.5rem;
  background-color: #202020;
}

.footer-3__container{
  display: grid;
  justify-items: center;
  grid-template-columns: 150px 2fr 1fr 1fr;
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
}

.footer-3__logo{
  width: 110px;
  height: auto;
}

.footer-3__title{
  margin: 0 0 .8em;
  font-size: .95rem;
  font-weight: 800;
  color: #ff7a59;
}

.footer-3__list{
  padding: 0;
  list-style-type: none;
  color: #fff;
}

.footer-3__list li{
  margin-bottom: .45em;
  line-height: 1.7;
}

.footer-3__list a{
  color: inherit;
}

.footer-3__list a:hover{
  color: #9fd2ff;
}

.footer-3__copyright{
  text-align: center;
  color: #ccc;
  font-size: .82rem;
  margin-top: 2rem;
}

@media (max-width: 767px){
  .footer-3{
    padding: 2.4rem 1rem 1.2rem;
  }

  .footer-3__container{
    justify-items: start;
    grid-template-columns: 1fr;
    gap: 1.1em;
  }

  .footer-3__logo{
    margin: 0 auto;
  }

  .footer-3__copyright{
    text-align: center;
  }
}

/* =================================================
   pagetop
================================================= */
#pagetop{
  position: fixed;
  right: 14px;
  bottom: 14px;
  margin: 0;
  z-index: 60;
}

#pagetop a{
  display: flex;
  width: 58px;
  height: 58px;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: rgba(15,76,129,0.88);
  text-decoration: none;
  font-size: 24px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

#pagetop a:hover{
  background: var(--accent);
}

@media (max-width:767px){
  #pagetop{
    right: 10px;
    bottom: 12px;
  }

  #pagetop a{
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

/* =================================================
   utility
================================================= */
.clearfix::after{
  content: "";
  display: block;
  clear: both;
}

.clear{
  clear: both;
}

.red{
  color: #ff4500 !important;
  font-weight: 800;
}

.red_b{
  color: #ff4500 !important;
  font-size: 1.2em;
  font-weight: 800;
}

.blue{
  color: #0000cd !important;
  font-weight: 800;
}

.aqua{
  color: #00ffff !important;
  font-weight: 800;
}

.c{
  text-align: center !important;
}

.l{
  text-align: left !important;
}

.r{
  text-align: right !important;
}

.mb30{
  margin-bottom: 30px !important;
}