/* style.css */
:root{
  --bg: #f7f7f8;
  --panel: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-ink: #ffffff;
  --ring: rgba(37, 99, 235, 0.25);
  --border: #e5e7eb;
  --error: #dc2626;
  --radius: 14px;
}
/* Body styling */
*{
    margin: 0;
    padding: 0;
}
html {
  scroll-behavior: smooth;
}

img{
  max-width: 100%;
}
ul{
    list-style: none;
  }
  ol li{
    margin-left: 20px;
    margin-bottom: 1rem;
  }
  ol ul{
    list-style-type: disc;
  }
  ol ul li{
    margin-bottom: 0.5rem;
  }
body {
    font-family: "Noto Sans JP" , "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    background-color: #fef8f1;
    color: #222;
    line-height: 1.6;
}
p{
    margin-bottom: 10px;
}
.table-wrap{
  overflow-x: auto;
}
/* form */
/* ベース */
.pippi-form .container{
  max-width: 880px;
  margin: 60px auto;
  padding: 32px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  font-family: system-ui,-apple-system,"Noto Sans JP",sans-serif;
  color:#1a1a1a;
}

/* 行（横並びに固定／上下の余白） */
.pippi-form .form .field{
  display:flex !important;           /* ← 強制で横並び */
  align-items:flex-start !important;
  gap:16px !important;
  margin:16px 0 !important;          /* ← インプット上下の余白 */
}

/* ラベル左・固定幅・右寄せ */
.pippi-form .form .label{
  width:160px !important;
  text-align:right !important;
  font-weight:600 !important;
  font-size:14px !important;
  color:#333 !important;
  flex-shrink:0 !important;
  line-height:1.4;
}

/* 補足文をラベルの下に積む */
.pippi-form .form .label .sub{
  display:block !important;
  font-weight:400 !important;
  color:#6b7280 !important;
  font-size:11px !important;
  margin-top:2px !important;
}

/* 必須バッジ */
.pippi-form .form .req{
  display:inline-grid !important;
  place-items:center !important;
  width:18px;height:18px;
  border-radius:4px;
  background:#fee2e2;
  color:#b91c1c;
  font-weight:700;font-size:12px;
  margin-right:6px;
}

/* 入力欄右・残り幅いっぱい */
.pippi-form .form .input,
.pippi-form .form .textarea{
  flex:1 1 auto !important;
  width:100% !important;
  border:1px solid #e5e7eb !important;
  border-radius:10px !important;
  background:#fff !important;
  padding:12px 14px !important;      /* ← 触感を少し厚めに */
  font-size:15px !important;
  line-height:1.6 !important;
  outline:none !important;
  transition: box-shadow .15s ease, border-color .15s ease !important;
  box-shadow:none !important;
}

.pippi-form .form .input:focus,
.pippi-form .form .textarea:focus{
  border-color:#2563eb !important;
  box-shadow:0 0 0 4px rgba(37,99,235,.25) !important;
}

/* 補助テキスト（電話の説明など）をインプット下に揃える */
.pippi-form .form .help{
  margin-left:176px !important;      /* ラベル幅160 + 余白16 */
  color:#6b7280 !important;
  font-size:12px !important;
  margin-top:4px !important;
}


.pippi-form .form .checkbox-label input{
  width:18px !important;height:18px;accent-color:#2563eb;
}

.pippi-form .form .btn{
  background:#2563eb !important;color:#fff !important;
  border:none !important;border-radius:999px !important;
  padding:12px 28px !important;font-size:16px !important;font-weight:700 !important;
  box-shadow:0 6px 18px rgba(37,99,235,.25) !important;
  cursor:pointer;transition:.2s;
}
.pippi-form .form .btn:hover{ filter:brightness(1.05) }
.pippi-form .form .btn:active{ transform:translateY(1px) }

/* レスポンシブ：スマホは縦並びに自動切替 */
@media (max-width: 768px){
  .pippi-form .form .field{ flex-direction:column !important; }
  .pippi-form .form .label{ width:100% !important; text-align:left !important; }
  .pippi-form .form .help,
  .pippi-form .form .checkbox,
  .pippi-form .form .actions{ margin-left:0 !important; }
}

.right{
  text-align: right;
}
.tableset1{
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin: 20px auto;
}
.tableset1 th{
  background-color: #EAF3F9;
  padding: 4px 10px;
  border: 1px solid #ddd;
}

.tableset1 td{
  padding: 4px 10px;
  border: 1px solid #ddd;
}
.youtube-wrap {
  text-align: center; /* 中央寄せ */
}

.youtube-wrap iframe {
  display: inline-block; /* インライン扱いで中央に */
  max-width: 100%;
  height: auto;
  min-height: 450px;
}
/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
/* Headings */
.global-nav a{
    font-size: 0.9rem;
    text-decoration: none;
    color: #222;
}
.global-nav a.logo{
    float: left;
}
.global-nav .logo img{
    width: 300px;
    height: auto;
    margin-top: 10px;
}
.global-nav ul{
    float:left;
    padding-left: 20px;
}
.global-nav ul li{
    display: inline-block;
    margin-right: 20px;
    padding: 26px 0;
}
.global-nav a.contact{
    position:fixed;
    z-index: 1000;
    top:0;
    right: 20px;
    height: 50px;
    padding:14px;
    background-color: #f09340;
    color: #fff;
    border-radius: 0px 0px 10px 10px;
}
.nav-check{ display:none; }
.nav-toggle{ display:none; }
.hero{
    position: relative;
    clear: both;
  width: 100%;
  height: auto;
}
#index .hero img{
    position: relative;
    z-index: -1;
  width: 100%;
  height: auto;
  clip-path: url(#heroClip);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
  -webkit-clip-path: url(#heroClip);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
}
#index .hero::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.4); 
    background-size: cover;
  aspect-ratio: 16/10.7; 
  pointer-events:none;
  clip-path: url(#heroClip);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
  -webkit-clip-path: url(#heroClip);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
}
#index .hero h1{
    position: absolute;
    z-index: 20;
    top: 52%;
    left:0;
    font-size: clamp(1.5em, 6vw, 3em);
    font-weight: 400;
}
#index .hero h1 span{
    display: block;
    padding: 10px 0 10px 40px;
    margin-bottom: 20px;
    line-height: 1.2;
    background-color: #fef8f1;
}
#index .hero .hero-txt{
    position: absolute;
    z-index: 10;
    top: 13%;
    left: 40px;
    width: 50%;
    color:#fff;
}
/* main */
main{
    clear: both;
    padding: 20px 40px 0 40px;
}
h2{
    position: relative;
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}
.plan h2::before{
    font-family: 'Century Gothic', sans-serif;
    font-weight: lighter;
    content: "PLAN";
    display: block;
    width: 50px;
    height: 1.6rem;
    font-size: 1rem;

}
.plan h2::after {
  content:"";
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  right: 101%;
  width: 100vw;
  height: 1px;       
  background: #222; 
  z-index: -1;      
}
.plan ul{
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 40px;
     gap: 20px;
}
.plan ul li{
  flex: 1;
  display: flex;
  flex-direction: column; 
  align-items: center;
  text-align: center; 
  background: #fff;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.plan ul li img{
    width: 80%;
    height: auto;
    margin:0 auto 10px auto;
}
.award{
    position: relative;
    width: 100%;
    height: auto;
    margin: 100px 0;
}
.award::before{
    font-family: 'Times New Roman', serif;
    content: "AWARDED";
    display: block;
    position: absolute;
    top: -90px;
    right: 0px;
    font-size: 5rem;
    color:#dfccaf;
    z-index: 1;

}
.award-inner{
    position: relative;
  border: 1px solid #bd9a58;
    background: #fff;
    z-index: 10;
    display: flex;
}
.award-inner h2{
  flex: 1;
    margin:0;
}
.award-inner h2 img{
    width: 100%;
    height: auto;
}
.award-txt{
  flex: 2;
    padding: 40px;
    font-size: 1rem;
    line-height: 1.4;
}
h2.service-title::before{
    font-family: 'Century Gothic', sans-serif;
    font-weight: lighter;
    content: "SERVICES";
    display: block;
    width: 50px;
    height: 1.6rem;
    font-size: 1rem;

}
h2.service-title::after {
  content:"";
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  right: 101%;
  width: 100vw;
  height: 1px;       
  background: #222; 
  z-index: -1;      
}
h2.service-title span{
    font-size: 1rem;
}

.care01, .care02, .security, .other{
    margin-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.care01 p, .care02 p, .security p, .other p{
    padding: 20px 0;
}
.care01 img, .care02 img, .security img, .other img{
  width: 60%; 
  height: auto;
  order: 2; 
}
.care01 .text, .care02 .text, .security .text, .other .text{
  flex: 1;                 /* 残りの幅いっぱい */
}
.care01, .security{
  flex-direction: row;
}
.care01 img{
      transform: translateX(20px);
  clip-path: url(#mainClip1);
  -webkit-clip-path: url(#mainClip1);
}
.care02 img{
    transform: translateX(-20px);
  clip-path: url(#mainClip2);
  -webkit-clip-path: url(#mainClip2);
}
.security img{
    transform: translateX(20px);
  clip-path: url(#mainClip3);
  -webkit-clip-path: url(#mainClip3);
}
.other img{
    transform: translateX(-20px);
  clip-path: url(#mainClip4);
  -webkit-clip-path: url(#mainClip4);
}

.care01 h3, .care02 h3, .security h3, .other h3{
    color:#f09340;
    font-size:2rem;
    line-height: 1.2;;
      display: flex; 
  align-items: center;
  gap: 16px;
  height: 70px; 
}

.care01 h3::before{
    content: "";
    width: 70px;
    height: 70px;
    display: inline-block;
    background: url(img/icon_care.png) no-repeat center center;
    background-size: cover;
}
.care02 h3::before{
    content: "";
    width: 70px;
    height: 70px;
    display: inline-block;
    background: url(img/icon_care02.png) no-repeat center center;
    background-size: cover;
}
.security h3::before{
    content: "";
    width: 70px;
    height: 70px;
    display: inline-block;
    background: url(img/icon_taxi.png) no-repeat center center;
    background-size: cover;
}
.other h3::before{
    content: "";
    width: 70px;
    height: 70px;
    display: inline-block;
    background: url(img/icon_other.png) no-repeat center center;
    background-size: cover;
}

.care02, .other{
  flex-direction: row-reverse;
}
.care01 li, .care02 li, .security li, .other li{
    text-align: right;
    margin-bottom: 20px;
}

.care01 li a,
.care02 li a,
.security li a,
.other li a{
    background-color:#f09340;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.care01 li a::after,
.care02 li a::after,
.security li a::after,
.other li a::after{
    content: "▶";
    margin-left: 8px;
    flex-shrink: 0;
}

footer{
  position: relative;
    background: #fff;
    text-align: center;
    padding: 40px 0 20px 0;
    font-size: 0.8rem;
}
footer .pagetop{
  position: absolute;
  top:0;
  right: 0;
  background-color: #3576a3;
  border-radius: 0 0 10px 10px;
}
footer .pagetop a,
footer .pagetop a:visited{
  color: #fff;
  text-decoration: none;
}
footer p,footer ul{
    display: inline-block;
    padding: 10px;
}
footer li{
    display: inline;
    margin-right: 20px;
}
footer a{
    color: #222;
}
.pagelink ul{
    position: relative;
    display: flex;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.pagelink ul li{
  counter-increment: item; /* 各liごとに+1 */
  position: relative;
    flex: 1;
    text-align: center;
    justify-content: center;
    border: 1px solid #222;
    padding: 14px 0;
    background-color: #fff;
}
.pagelink ul li::before {
  content: counter(item, decimal-leading-zero); 
  /* → 01, 02, 03 の形式 */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #bd9a58;
  font-size: 3rem;
  z-index: 1;
}

.pagelink ul li a{
    text-decoration: none;
    color: #222;
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
}
.pagelink ul li a:hover{
  text-decoration: underline;
}
.pagelink ul li a::after{
  content: "▼";
  display: block;
  width: 18px;
  height: 18px;
  margin: 8px auto 0; 
  background-color: #333;
  border: 1px solid #333;
  border-radius: 50%;
  font-size: 10px;
  line-height: 18px; 
  color: #fff;
}

.contents .cta{
  position: relative;
  z-index: 0;
    margin: 20px 0;
    padding: 20px 40px 60px 40px;
}
.contents .cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%); 
  width: 100vw;                
  height: 100%;               
  background-color: #3576a3;
  z-index: -1;                
}
.contents .cta h3{
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 60px;
    text-align: center;
}
.contents .cta h3::after{
    display: none;
}
.contents .cta-container{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 60px 40px 20px 40px;
    background-color: #fff;
    border-radius: 20px;
  gap: 20px;
}
.contents .cta-dl,.contents .cta_mail,.contents .cta-call{
  position: relative;
  flex: 1;
  text-align: center;
}
.contents .cta-dl img,.contents .cta_mail img,.contents .cta-call img{
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translate(-50%);
}
.contents .cta-container p{
    font-size: 0.8rem;
    padding:20px 0;
    line-height: 2;
}
.contents .cta-call span{
  background-color: #f09340;
  color: #fff;
  padding: 4px 8px;
    font-size: 0.8rem;
}
.contents .cta-call p{
    font-size: 1.4rem;
    font-weight: bold;
  padding: 4px 8px;
}

.contents .cta-call a{
  text-decoration: none;
  color: #3576a3;
}
.button {
  display: inline-block;
  padding: 12px 32px;
    background: #3576a3;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 999px;        /* pill型 */
  border: 2px solid #fff; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}
.cta_mail .button{
    background: #d64760;
}
.button:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  background: #41b6a6; 
}

.cta .pagetop{
  position: absolute;
  bottom:0;
  right: 0;
  background-color: #fff;
  border-radius:10px 10px 0 0 ;
  padding: 4px 10px;
  margin: 0;
}
.cta .pagetop a,
.cta .pagetop a:visited{
  font-size: 1rem;
  color: #3576a3;
    font-weight: bold;
  text-decoration: none;
}
#care01 .hero{
    background:transparent url(img/care1_hero.jpg) no-repeat center center;
}
#care02 .hero{
    background:transparent url(img/care2_hero.jpg) no-repeat center center;
}
#security .hero{
    background:transparent url(img/security.jpg) no-repeat center center;
}
#operation .hero{
    background:transparent url(img/operation_hero.jpg) no-repeat center center;
}
#group .hero{
    background:transparent url(img/group_hero.jpg) no-repeat center center;
}
#care01 .hero,
#care02 .hero,
#security .hero,
#other .hero,
#operation .hero,
#group .hero{
    background-size: cover;
  aspect-ratio: 16/9; 
  display: flex;
  justify-content: center; 
  align-items: center;
  clip-path: url(#heroClip);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
  -webkit-clip-path: url(#heroClip);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
}
#group .hero{
  aspect-ratio: 16/3; 
}
#care01 .hero::before,
#care02 .hero::before,
#security .hero::before,
#other .hero::before,
#operation .hero::before,
#group .hero::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.4); 
  pointer-events:none;
}
#care01 .hero h1,
#care02 .hero h1,
#security .hero h1,
#other .hero h1,
#operation .hero h1,
#group .hero h1{
  display: block;
  position: relative;
  top:auto;
  left:auto;
    color: #fff;
    font-size: 2rem;
}

#care02 .hero h1 span{
  display: block;
  text-align: center;;
  font-size: 1.4rem;
}
.read img{
    display: block;
    width: 80%;
    height: auto;
    margin:0 auto 40px auto;
}
.serviceSection{
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  padding-bottom: 40px;
}
.section-text{
  padding: 40px;
}
.section-text img{
  display:block;
  margin:0 auto 20px auto;
}
.contents h3{
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}
.contents h3 span{
    color:#f09340;
    display: block;
    font-size: 2rem;
}
.contents h3 span::before{
    content: "SERVICE";
    margin-right: 8px;
    font-size: 1rem;
    font-weight: 300;
}
.contents h3::after{
  display: block;
    position: relative;
    content: "………";
    font-size: 2rem;
    color:#dfccaf;
}
article{
  padding:0 40px;
}
.kome{
  font-size: 0.9rem;
  color:#bd9a58;
}
h5{
  font-size: 1rem;
  background-color: #F0F8FF;
  border-radius: 10px;
  padding: 4px;
  text-align: center;
  margin-bottom: 10px;
}
h4{
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}  
h4::before{
    color: #dfccaf;
    display: block;
    font-size: 1rem;
    font-weight: 300;
    margin-top: 40px;
}  
.pricing h4::before{
    content: "Pricing";
}
.kaketsuke-flow h4::before{
    content: "Flow";
} 
.kaketsuke-example h4::before{
    content: "Example";
}
.device h4::before{
    content: "Device";
} 
.usecase h4::before{
    content: "Use Case";
}
.guide h4::before{
    content: "Membership Guide";
}
.area h4::before{
    content: "Area";
}
.usersvoice h4::before{
    content: "User's Voice";
}
.recommend h4::before{
  content:"Recommend";
}
.merit h4::before{
  content:"Merit";
}
.qa h4::before{
  content:"Q&A";
}

.device-mamoru h4::before{
  content:"Device";
}
.securityPlan h4::before{
  content:"Plan";
}
h4::after{
    content: "";
    width:80px;
    height: 1px;
    background-color: #222;
    display: block;
    margin: 10px auto;
}
.kaketsuke-example ul ,
.grid2{
  display: grid;
  grid-template-columns	:50% 50%;
    padding: 20px;
    gap: 20px;
    justify-content: space-between;
}
.kaketsuke-example li,
.grid2 li{
  border: 1px solid #ddd;
  padding:10px;
}
.kaketsuke-example h5{
  text-align: center;
}
.kaketsuke-example img{
  width: 100%;
  height: auto;
}
.device div{
  display: grid;
  gap: 20px;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  grid-template-rows: repeat(2, auto);   /* 2行（高さは自動） */
}
.price-card{
  --pad: 16px;
  --bg: #e9f1f7; 
  background: var(--bg);
  border-radius: 12px;
  position: relative;

  /* Grid レイアウト */
  display: grid;
  grid-template-columns: 64px 1fr auto;  /* 左=アイコン, 中=テキスト, 右=数字 */
  grid-template-rows: auto auto;         /* 上段／下段 */
  column-gap: 12px;
  row-gap: 6px;

  /* 下に＋を重ねる余白を少し多めに */
  padding: var(--pad);
  margin-bottom: 18px;
}

/* アイコン：上下ぶち抜き＆中央合わせ */
.icon{
  grid-column: 1;
  grid-row: 1 / span 2;       /* 上下2行ぶち抜き */
  display: grid;
  place-items: center;
}
.icon img{
  width: 36px; height: 36px;  /* 適宜 */
  object-fit: contain;
}

/* 上段：中寄せ（= 中列に配置） */
.label{
  grid-column: 2;
  grid-row: 1;
  align-self: center;          /* 上段の垂直中央 */
  font-weight: 600;
}
.label .note{ font-size: .8em; }

/* 上段：右寄せの数字 */
.price{
  grid-column: 3;
  grid-row: 1 / span 2;       /* 上下2行ぶち抜き */
  align-self: center;
  justify-self: end;           /* 右寄せ */
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
}
.price .amount{ letter-spacing: .02em; margin-right: 2px; }
.label.span2{
  grid-row: 1 / span 2;       /* 上下2行ぶち抜き */
}
/* 下段：中～右ぶち抜きで中央寄せ */
.subtext{
  grid-column: 2 / 4;          /* 中＋右を横断 */
  grid-row: 2;
  text-align: center;          /* 中央寄せ */
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
}

/* ＋マーク：左右中央寄せでカード外に少しはみ出す */
.price-card::after{
  content: "+";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;               /* ちょいはみ出し */
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: #2a78c7;         /* ブルー */
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.price-card:nth-last-child(1)::after{
  display: none;               /* 最後のカードは＋を出さない */
}

.price-table {
  width: 100%;
  border-collapse: collapse;  /* セルの境界をなくす */
  
  margin-top: 20px;
}

.price-table th,
.price-table td {
  padding: 12px 16px;
  text-align: center;
  border: none;               /* 枠線を消す（色をつなげるため） */
}

/* 偶数・奇数で背景色を変える */
.price-table tbody tr:nth-child(odd) {
  background-color: #f4faff;  /* 薄いブルー */
}
.price-table tbody tr:nth-child(even) {
  background-color: #e9f3fa;  /* さらに薄いブルー */
}

/* hoverしたときに強調したい場合 */
.price-table tbody tr:hover {
  background-color: #d3ebf7;
}
.clubcard{
  max-width: 60%;
  border-radius: 20px;
}

.clubGuide{
  display: flex;
  gap: 24px;
  margin: 0 40px 40px 40px;

}
.clubGuide li{
  position: relative;
  width: 25%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: #ededed 2px 2px 2px;
}
.clubGuide li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 16px solid #3576a3;
  z-index: 100;
}
.clubGuide li h5{
    background-color:#3576a3;
    color: #fff;
    padding: 8px 16px;  
    border-radius: 10px 10px 0 0;
}
.clubGuide li img{
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
}
.clubGuide li p{
    padding: 0 16px;
    line-height: 1.4;
    font-size: 0.9rem;}
.serviceCenter{
  text-align: center;
  margin: 0 60px 20px 60px;
  background-color: #e9f1f7;
  padding: 40px;
  font-weight: 600;
  border-radius: 10px;
}
.serviceCenter a{
    color: #3576a3;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 3rem;
}
/*介護保険*/
.kaketsuke-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  grid-template-rows: repeat(2, auto);   /* 2行（高さは自動） */
  gap: 14px;                             
}
.kaketsuke-list li{
  background: #3576a3;
  text-align: center;
  color:#fff;
  line-height: 2;
}
.kaketsuke-list li img{
  margin:0;
}
.kaketsuke-flow {
  margin: 20px 40px;
}

.achievements{
    position: relative;
    max-width: 100%;
    height: auto;
    margin: 100px 0 0 0;
}
.achievements::before{
    font-family: 'Times New Roman', serif;
    content: "Achievements";
    display: block;
    position: absolute;
    top: -90px;
    right: 40px;
    font-size: 5rem;
    color:#dfccaf;
    z-index: 1;

}
.achievements-inner{
    position: relative;
  border: 1px solid #bd9a58;
    background: #fff;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    padding: 20px;
    align-items: center;
    justify-items: center;
}
.achievements-inner h4{
font-size: 1.4rem;
}
.voices {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 20px;                             /* カード間の余白 */
}

.voice-card {
  display: flex;
  gap: 16px;             /* 左右の間隔 */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
}

.voice-left {
  flex: 0 0 120px;        /* 左側の幅を固定 */
  text-align: center;
}

.voice-left img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.voice-left .name {
  font-size: 0.9rem;
  color: #e67342;         /* オレンジ系の色 */
  line-height: 1.4;
}

.voice-right {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.care-list {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px; /* li間の余白 */
}

.care-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f8ff;   /* 薄い青背景 */
  border-radius: 40px;
  padding: 10px 40px;
  gap: 20px;
}

/* 文字部分 */
.care-list li p {
  flex: 1;
  margin: 0;
  font-weight: bold;
  color: #2a5a85;
  line-height: 1.6;
}

/* アイコン部分 */
.care-list li .icon {
  flex: 0 0 60px;
  height: 60px;
}
.care-list li .icon img {
  width: 100%;
  height: auto;
}



/* 中央の縦ライン（＋の下からケースまで） */
.connector {
  width: 30px;   /* 全体幅 */
  height: 40px;
  margin: 18px auto 14px;
  border-left: 10px solid #2a78c7;
  border-right: 10px solid #2a78c7;
}

/* 下：左右ケース */
.cases{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:22px;
  position:relative;
}

/* ケースカード */
.case{
  position:relative;
  background:#eaf3f9;
  border-radius:14px;
  padding:20px 20px 24px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  text-align: center;
}
.case h3{ margin:0 0 10px; font-size:1.05rem; }
.case p{ margin:0; line-height:1.6; }
.case strong{ font-size:1.8rem; font-weight:800; }

/* ラベル（ケース1/2の帯） */
.case .tag{
  position:absolute; top:-12px; left:16px;
  background:#2a78c7; color:#fff;
  padding:6px 12px;
  border-radius:6px;
  font-weight:700; font-size:.9rem;
}

/*セキュリティ*/
.merit ul{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 14px; 

}
.kome li{
  list-style-type: circle; 
  margin-left: 2rem;
}
.drivers{
    position: relative;
    max-width: 100%;
    height: auto;
    margin: 100px 0 0 0;
}
.drivers::before{
    font-family: 'Times New Roman', serif;
    content: "Safety Drivers";
    display: block;
    position: absolute;
    top: -90px;
    right: 40px;
    font-size: 5rem;
    color:#dfccaf;
    z-index: 1;

}
.drivers-inner{
    position: relative;
  border: 1px solid #bd9a58;
    background: #fff;
    z-index: 10;
    padding: 20px;
}
ul.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 14px; 
}
ul.two-col li {
  background: #f0f8ff;
  padding: 12px;
  border-radius: 6px;
}
table.border {
  width: 100%;
  border:1px solid #2a5a85;
  border-collapse: collapse;
  margin-top: 20px;
}
table.border tr,table.border th,table.border td{
  padding: 1rem;
  border:1px solid #2a5a85;
}
table.border th{
  background-color: #d3ebf7;
  font-weight: normal;
}
.global-nav { display:flex; align-items:center; gap:24px; }
.global-nav ul { display:flex; gap:10px; list-style:none; margin:0; padding:0; }
.global-nav a { text-decoration:none; }
.device-mamoru{
  text-align: center;
}
.qa-static {
  margin: 0;
  padding: 0;
  border: 1px solid #e6edf3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

/* Q部分 */
.qa-static dt {
  position: relative;
  font-weight: 700;
  padding: 16px 20px 16px 60px;
  border-top: 1px solid #e6edf3;
  background: #f9fbfe;
  color: #0c2a4a;
}
.qa-static dt:first-of-type {
  border-top: none;
}

/* Qアイコン */
.qa-static dt::before {
  content: "Q";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-weight: 700;
  border-radius: 50%;
  background: #2a78c7;
  color: #fff;
  font-size: 14px;
}

/* A部分 */
.qa-static dd {
  position: relative;
  margin: 0;
  padding: 16px 20px 16px 60px;
  border-top: 1px solid #e6edf3;
  background: #fff;
  line-height: 1.8;
  color: #333;
}

/* Aアイコン */
.qa-static dd::before {
  content: "A";
  position: absolute;
  left: 20px;
  top: 18px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-weight: 700;
  border-radius: 50%;
  background: #d64760;
  color: #fff;
  font-size: 14px;
}
.ok ul, .ng ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}
.ok li, .ng li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
  line-height: 1.6;
}

/* 「できること」：○マーク */
.ok li::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 0;
  color: #2a78c7;       /* 明るいブルー */
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

/* 「できないこと」：×マーク */
.ng li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  color: #d64242;       /* 赤っぽい色 */
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

.ok, .ng {
  margin-bottom: 24px;
  font-weight: 700;
  color: #0c2a4a;
}
.list-dot li{
  list-style:square inside;
}
.miniservice{
  display: flex;
  gap: 20px;
}
.miniservice div{
  width: 50%;
}
.grid2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto); 
  gap: 14px; 
}
/* Responsive */
@media (max-width: 600px) {

 
  .global-nav{ position:relative; padding:10px 16px; }
  .global-nav .logo { z-index:3; }          /* 重なり順を上に */
  .global-nav .contact { margin-left:auto; }/* 必要なら隠す → display:none; でもOK */

  /* ハンバーガーボタン */
  .nav-toggle{
    display:inline-flex;
    flex-direction:column;
    justify-content:space-between;
    width:28px; height:22px;
    margin-left:auto;
    cursor:pointer;
    z-index:3;
  }
  .nav-toggle span{
    display:block; height:3px; width:100%;
    background:#0c2a4a; border-radius:3px;
    transition:transform .3s ease, opacity .3s ease;
  }

  /* メニュー（UL）をモバイルパネル化 */
  #global-menu{
    position:absolute;
    top:100%; left:0; right:0;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 24px rgba(0,0,0,.12);
    display:block;
    padding:8px 12px;
    z-index:9999;
    /* 開閉アニメ：max-height & transform & opacity */
    max-height:0;
    overflow:hidden;
    transform: translateY(-6px);
    opacity:0;
    transition: max-height .35s ease, transform .35s ease, opacity .3s ease;
  }
  #global-menu li{ display:block;border-bottom:1px solid #eef2f6; }
  #global-menu li:last-child{ border-bottom:none; }
  #global-menu a{
    display:block; padding:12px 8px;
    color:#0c2a4a; font-weight:600;
    transform: translateY(6px);
    opacity:0;
    transition: transform .35s ease, opacity .35s ease;
  }

  /* チェックONで開く */
  .nav-check:checked ~ #global-menu{
    max-height: 60vh;       /* 十分に大きい値でOK */
    transform: translateY(0);
    opacity:1;
  }
  /* 順番にふわっと出す（ディレイ） */
  .nav-check:checked ~ #global-menu li:nth-child(1) a{ transition-delay:.05s; transform:none; opacity:1; }
  .nav-check:checked ~ #global-menu li:nth-child(2) a{ transition-delay:.10s; transform:none; opacity:1; }
  .nav-check:checked ~ #global-menu li:nth-child(3) a{ transition-delay:.15s; transform:none; opacity:1; }
  .nav-check:checked ~ #global-menu li:nth-child(4) a{ transition-delay:.20s; transform:none; opacity:1; }

  /* ハンバーガー → × のアニメ */
  .nav-check:checked + .nav-toggle span:nth-child(1){ transform: translateY(9.5px) rotate(45deg); }
  .nav-check:checked + .nav-toggle span:nth-child(2){ opacity:0; }
  .nav-check:checked + .nav-toggle span:nth-child(3){ transform: translateY(-9.5px) rotate(-45deg); }

  /* PC時の横並びは隠す（スマホではドロワーのみ） */
  .global-nav ul{ gap:0; }

    .global-nav a.contact {
        position: fixed;
        top:auto;
        bottom:20px;
        right:0;
        writing-mode: vertical-rl;
  text-orientation: upright;
        width: 50px;
    height: auto;
        border-radius: 10px 0 0 10px;
    }
    main{
        padding: 20px;
    }
#index .hero h1{
    top: 17%;
}
#index .hero h1 span{
    padding: 10px 0 10px 20px;
}
#index .hero .hero-txt{
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding-left: 20px;
    color: #222;
}

h2{
    font-size: 1.8rem;
    line-height: 1.3;
}
.plan h2::before{
    border-bottom: 1px solid #222;
}
.plan h2::after {
    display: none;
}
  .plan ul {
    flex-direction: column; 
    margin: 20px;
  }
  .plan ul li {
    width: 100%;
  }
  .award{
    margin: 60px 0;
  }
.award::before{
    top: -54px;
    right: 0px;
    font-size: 3rem;
}
  .award-inner {
    flex-direction: column;
  }
  .award-inner h2,
  .award-txt {
    flex: none; 
    width: 100%; 
  }
  .award-txt {
    padding: 0 20px;
  }
  
h2.service-title::before{
    border-bottom: 1px solid #222;
}
h2.service-title::after {
    display: none;
}
h2.service-title span{
    font-size: 1rem;
    display: block;
}
  .care01,
  .care02,
  .security,
  .other {
    flex-direction: column;   /* 縦並び */
    align-items: center;      /* 中央寄せ */
    text-align: center;       /* テキストも中央 */
  }

  .care01 img,
  .care02 img,
  .security img,
  .other img {
    width: 100%;              /* 画面幅にフィット */
    order: 0;                 /* 並び順リセット */
    transform: none;          /* はみ出し解除 */
  }

  .care01 .text,
  .care02 .text,
  .security .text,
  .other .text {
    flex: none;               /* 横幅分配解除 */
    width: 100%;
  }

.kaketsuke-flow {
  margin: 20px 0px;
}
.kaketsuke-flow img{
  width: 100%;
}
.achievements-inner{
  display: block;
}
.kaketsuke-example ul{
  padding: 0;
}
.voice-card{
  display: block;
}
/* 基本：横スクロール */
.table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* iOSで慣性スクロール */
  width: 100%;
}

/* テーブルは縮みすぎないように最小幅を与える */
.price-table{
  min-width: 640px;        /* 列数に合わせて調整 */
  border-collapse: collapse;
  width: 100%;
}
.clubGuide{
  margin: 0;
}
.grid2{
  margin: 0;
  padding: 0;
  display: block;
}
.grid2 li{
  margin-bottom: 4px;
}
/* お好み：スクロールのヒント(左右グラデ) */
.table-wrap{
  position: relative;
  background:
    linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0)) left/24px 100% no-repeat,
    linear-gradient(-90deg, rgba(255,255,255,1), rgba(255,255,255,0)) right/24px 100% no-repeat;
  /* ↑ 白背景想定。色は親の背景に合わせて */
}
.kaketsuke-list{
  display: block;
}
  /*誰でも介助*/
  
.clubGuide{
  display: flex;
  flex-direction: column;
  gap: 24px;

}
.clubGuide li{
  position: relative;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: #ededed 2px 2px 2px;
}
.clubGuide li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 50%;
  top:auto;
  bottom: -20px;
  width: 0;
  height: 0;
  transform: translateX(50%);
 border-left: 30px solid transparent;   /* 左の余白 */
  border-right: 30px solid transparent;  /* 右の余白 */
  border-top: 16px solid #3576a3;
      border-bottom: 0px solid transparent;
  z-index: 100;
}
.clubGuide li h5{
    background-color:#3576a3;
    color: #fff;
    padding: 8px 16px;  
    border-radius: 10px 10px 0 0;
}
.clubGuide li img{
    display: block;
    width: 60%;
    height: auto;
    margin: 0 auto;
}
.clubGuide li p{
    padding: 0 16px;
    line-height: 1.4;
    font-size: 0.9rem;}
.serviceCenter{
  text-align: center;
  margin: 40px;
  background-color: #e9f1f7;
  padding: 20px;
  font-weight: 600;
  border-radius: 10px;
}
.serviceCenter a{
    color: #3576a3;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 2rem;
}

.contents .cta{
  background-color: #3576a3;
    margin: 20px 0;
    padding: 10px;
}
.contents .cta h3{
    font-size: 1.5rem;
    margin-bottom: 60px;
}
.contents .cta-container{
flex-direction: column;
background-color: transparent;
padding: 0;
}
.cta-dl,.cta_mail,.cta-call{
  text-align: center;
  background-color: #fff;
  border-radius: 20px;
  padding: 60px 20px 20px 20px;
  margin-bottom: 40px;
}
.cta-dl img,.cta_mail img,.cta-call img{
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translate(-50%);
}
.cta-container p{
    font-size: 0.8rem;
    padding:20px 0;
}
.cta-call span{
  background-color: #f09340;
  color: #fff;
  padding: 4px 8px;
    font-size: 0.8rem;
}
.cta-call p{
    font-size: 1.4rem;
    font-weight: bold;
  padding: 4px 8px;
}
.pagelink ul{
    flex-direction: column;
}
.section-text{
  padding: 40px 20px;
}

article{
  padding:0 20px;
}

.drivers::before{
    top: -60px;
    right: 20px;
    font-size: 3rem;

}

.contents .cta-dl img,.contents .cta_mail img,.contents .cta-call img{
  top: -40px;
}
.contents .cta-container p{
  padding: 10px 0;
}
ul.two-col{
  display: block;
}

ul.two-col li{
  margin-bottom: 10px;
}
.case{
  padding:40px 10px 20px 10px;
}

.device div{
  display: block;
}
.voices{
  display: block;
}
.voice-card{

  margin-bottom: 10px;
}

.achievements::before{
    top: -52px;
    right: 20px;
    font-size: 3rem;

}
.achievements-inner{
    grid-template-columns: repeat(3, 1fr);
}
.achievements-inner h4{
grid-column: 1 / span 3;
}

.kaketsuke-example ul {
  display: flex;
  flex-direction: column;
}
.merit ul{
  display: block;
}
}

@media (min-width: 769px) {
  .global-nav ul li a {
    position: relative;
    display: inline-block;
    color: #0c2a4a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }

  /* 下線（初期は非表示） */
  .global-nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -6px; /* 文字のすぐ下 */
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 2px;
    background-color: #3576a3;
    transition: transform 0.3s ease;
  }

  /* ホバー時にスッと下線が伸びる */
  .global-nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* 色を変えたい場合（任意） */
  .global-nav ul li a:hover {
    color: #3576a3;
  }
  
.read img{
    display: block;
    width: 60%;
    height: auto;
    margin:0 auto 40px auto;
}
}



/*フォームが本番で書き換えられる対策*/
/* MailformPro 変換後DOMの上書き（本番だけ戻る対策） */
.pippi-form form#mailformpro dl dt {
  float: left !important;
  width: 160px !important;           /* ラベル幅 */
  text-align: right !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #333 !important;
  padding: 14px 10px !important;     /* 上下の余白UP */
  border: none !important;
  clear: both !important;
}
.pippi-form form#mailformpro dl dd {
  margin: 0 !important;
  padding: 10px 10px 16px 176px !important; /* 160 + 16 */
  border: none !important;
  text-align: left !important;
  line-height: 1.6 !important;
}
.pippi-form form#mailformpro input,
.pippi-form form#mailformpro select,
.pippi-form form#mailformpro textarea {
  width: 100%;
  max-width: 520px;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;     /* 入力の上下余白 */
  font-size: 15px !important;
  box-shadow: none !important;
  outline: none !important;
}
.pippi-form form#mailformpro input:focus,
.pippi-form form#mailformpro select:focus,
.pippi-form form#mailformpro textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.25) !important;
}
.pippi-form form#mailformpro .must{
  display:inline-grid !important; place-items:center !important;
  width:18px !important; height:18px; margin-right:6px;
  background:#fee2e2 !important; color:#b91c1c !important;
  border:none !important; border-radius:4px !important;
  text-shadow:none !important; box-shadow:none !important; font-size:12px !important;
}
/* チェック/ボタンを右カラムに揃える */ 
.pippi-form form#mailformpro .mfp_element_checkbox{
 width: auto !important;
}
.pippi-form form#mailformpro .actions { margin-left:160px !important; }
/* スマホは縦並び */
@media (max-width: 768px){
  .pippi-form form#mailformpro dl dt { float:none !important; width:100% !important; text-align:left !important; padding:6px 0 !important; }
  .pippi-form form#mailformpro dl dd { padding:0 0 16px 0 !important; }
  .pippi-form form#mailformpro .checkbox,
  .pippi-form form#mailformpro .actions { margin-left:0 !important; }
}
/* テキストエリア高さ修正 */
form#mailformpro textarea,
.pippi-form form#mailformpro textarea {
  min-height: 180px !important; /* 約6行分 */
  height: auto !important;
  resize: vertical !important; /* 手動で高さ変更OK */
}
/* ===== 送信ボタン：文字が二重に見えないように正規化 ===== */
.actions .btn,
form#mailformpro .mfp_element_submit {
  /* 文字の重なりを消す */
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
  /* 見やすい基本値 */
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;            /* 文字の縦ズレ防止 */
  display: inline-flex;      /* テキスト中央寄せ安定 */
  align-items: center;
  justify-content: center;
}

/* 擬似要素に文字を出している場合の保険（重複表示の原因になりがち） */
.actions .btn::before,
.actions .btn::after,
form#mailformpro .mfp_element_submit::before,
form#mailformpro .mfp_element_submit::after {
  content: none !important;
}

/* あなたの青いボタンの見た目（必要なら調整） */
.actions .btn {
  background: #2563eb;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(37,99,235,.25);
  cursor: pointer;
}
.actions .btn:hover { filter: brightness(1.05); }
.actions .btn:active { transform: translateY(1px); }

/* ===== テキストエリアが1行になる問題の修正 ===== */
#mailformpro textarea,
.pippi-form #mailformpro textarea {
  min-height: 180px !important;   /* だいたい6行分 */
  height: auto !important;
  resize: vertical !important;     /* ユーザーが高さ変更可 */
  line-height: 1.6;
  padding: 12px 14px;
}