/* style.css
   ベースレイアウト＋指定のフォント/カラー/レスポンシブ/アニメーション
*/

/* -----------------------
   Variables & base
------------------------*/
:root{
  --accent:#388C77;
  --accent-dark:#2F403E;
  --title-bg:#E1F1F1;
  --line:#707070;
  --bg:#FFFFFF;
  --footer-bg:var(--accent);
  --text:#000000;
  --muted:#666;
  --max-width:1200px;
}

*{box-sizing:border-box}
html,body{height:100%;}
body{
  margin:0;
  font-family:"Zen Kaku Gothic New", "Noto Sans JP", Roboto, system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
  font-weight:500;
  font-size: 18px;
}

/* Container */
.container{
padding:40px 0px 0px;
}

/* Header */
.header{
  position: fixed !important;
  top: 0 !important;
  transform: none !important;
  width:100%;
  z-index:80;
  transition:background-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
  background:#fff;
}
.header.scrolled{
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 auto;
}

/* Desktop nav */
.main-nav{
display:flex; 
gap:18px; 
align-items:center;
    justify-content: flex-end;
}
.main-nav a{
  color:var(--accent);
  text-decoration:none;
  font-weight:500;
  padding:8px 6px;
  transition:opacity .18s ease, transform .18s ease;
   font-size: 18px;
}
.main-nav a:hover, .usermenu:hover, .header-inner a .usermenu:hover{opacity:0.5;}


/* Hero */
.hero{position:relative; height:60vh; min-height:420px; overflow:hidden}
.hero-slider{height:100%; position:relative}
.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.06);
  transition:opacity 1s ease, transform 6s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-slide.active{opacity:1; transform:scale(1); z-index:1}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.25));
}
.hero-content{
  position:relative;
  color:#fff;
  text-align:center;
  max-width:900px;
  padding:20px;
  transform:translateY(10px);
  opacity:0;
  transition:opacity .9s ease, transform .9s cubic-bezier(.2,.9,.3,1);
}
.hero-slide.active .hero-content.enter{
  transform:translateY(0);
  opacity:1;
}
.hero-sub{font-family:"Shippori Mincho B1", serif; margin:0;font-size:20px; letter-spacing:.06em}
.hero-title{font-family:"Shippori Mincho B1", serif; margin:10px 0; font-size:44px}
.hero-lead{margin:0;font-size:18px}

/* hero nav */
.hero-nav{position:absolute;right:20px;bottom:20px;display:flex;gap:8px;z-index:3}
.hero-nav button{background:rgba(255,255,255,0.85);border:0;padding:8px 12px;border-radius:6px;cursor:pointer;color:var(--accent);font-weight:700}

/* Section title */
.section{padding:60px 0 0}
.section-title{ 
text-align:center; 
margin-bottom:120px;
    background: var(--title-bg);
    padding: 50px 0;
}
.section-title-en{ 
display:inline-block; 
color:var(--accent); 
font-family:"Shippori Mincho B1"; 
font-size:40px;
}
.section-title-ja{ 
font-size:19px; margin:-6px 0 0; font-family:"Zen Kaku Gothic New"; 
}

/* Cards grid */
.cards-grid{display:grid; gap:20px}
.cards-grid.four{grid-template-columns:repeat(4,1fr)}
.cards-grid.two{grid-template-columns:repeat(2,1fr)}
.cards-grid.two .card:first-child {
    grid-column: 1 / -1; /* または grid-column: span 2; */
    max-width: 50%; /* 最初のカードを中央に配置したい場合 */
    margin: 0 auto; /* 中央寄せ */
}

@media(max-width:1024px){ .cards-grid.four{grid-template-columns:repeat(2,1fr)} }
@media(max-width:600px){ .cards-grid.four,.cards-grid.two{grid-template-columns:1fr}  .hero-title{font-size:32px} .hero{min-height:360px} }

/* Card */
.card{background:#fff;border-radius:8px;overflow:hidden; transition:transform .18s ease;opacity:0; transform:translateY(12px); }
.card img{width:100%; height:auto; object-fit:cover; display:block}
.card h3{margin:14px 16px 6px;color:var(--accent-dark)}
.card p{margin:0 16px 16px;font-size:14px}
.card:hover{transform:translateY(-6px)}

/* Service card */
.service-card{display:flex;gap:16px;align-items:center;padding:18px;border-radius:10px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,0.04); opacity:0; transform:translateY(12px)}
.icon-box{width:64px;height:64px;border-radius:10px;background:var(--accent-dark);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px}

/* Timeline */
.timeline{display:flex;gap:18px;flex-wrap:wrap;justify-content: space-between;max-width: 850px;margin: 0 auto;}
.time-item{display:flex;gap:12px;align-items:center; padding:12px 18px;background:#fff;border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,0.04);opacity:0; transform:translateY(12px)}
.time-icon{width:60px;height:60px; margin: 0 auto 15px;}

/* Contact form */
.contact-form{display:grid;gap:12px;max-width:700px;margin:0 auto}
.contact-form label{font-size:14px}
.contact-form input, .contact-form textarea{padding:8px;border:1px solid #707070;border-radius:6px;font-size:14px}
.form-actions{display:flex;gap:12px;justify-content:center;margin-left: 16%;}
.contact-form.forconfirm .form-actions{margin-left: 0;}
.btn-primary{border:1px solid #aaa; cursor:pointer;height: 30px;margin: 0;padding: 0 10px;}
.btn-secondary{background:#fff;border:1px solid #aaa;cursor:pointer;height: 30px;margin: 0;padding: 0 10px;color: var(--text);}

/* SNS */
.sns-grid{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}
.sns-card{display:flex;gap:12px;align-items:center;background:#fff;border-radius:8px;text-decoration:none;color:var(--accent-dark);}
.sns-icon{background:var(--accent);color:#fff;width:64px;height:64px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700}

/* Company grid */
.company-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;    max-width: 1064px;margin: 0 auto 120px;}
.photo-slider .slides{position:relative;overflow:hidden;height:320px;border-radius:6px}
.photo-slider .slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;display:flex;align-items:center;justify-content:center}
.photo-slider .slide.active{opacity:1}
.photo-slider img{width:100%;height:100%;object-fit:cover}
.photo-controls{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:10px}
.photo-arrow{background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:6px;cursor:pointer}
.dots{display:flex;gap:6px}
.dot {
    width: 10px;
    height: 18px;
    border-radius: 50%;
    background: #C4C4C4;
    border: 3px solid #F8F8F8;
    cursor: pointer;
}
.dot.active{background:var(--accent-dark)}

/* Footer */
.site-footer{background:var(--footer-bg);color:#fff;padding:28px 20px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;max-width:var(--max-width);margin:0 auto}
.footer-left h4{margin:0 0 6px 0}


/* FAQ styles */
details.faq-item{background:#fff;padding:12px;border-radius:8px;margin-bottom:10px;border:1px solid var(--line)}

/* Responsive adjustments */
@media(max-width:1400px){
.main-nav {
    gap: 5px;
}
    .main-nav a {
        font-size: 17px;
    }
    
}

@media(max-width:1300px){
 	.main-nav a {
    font-size: 16px;
	}
 }
 
 
 @media(max-width:1200px){
 	.main-nav {
    gap: 10px;
	}
 	.main-nav a {
    font-size: 14px;
	}
 }
@media(max-width:900px){
  .footer-inner{flex-direction:column;gap:8px}
  .main-nav{display:none}
  .mobile-menu-btn{display:block}
}
@media(min-width:1300px){
  :root{--max-width:1200px}
}

/* small niceties */
a{color:var(--text)}

/* フォーム追記用CSS */
.name-fields, .postal-fields, .tel-fields {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.contact-form select {
  padding: 8px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

.must {
  color: #d33;
  font-weight: bold;
  margin-left: 4px;
}

/* フッター調整 */

.site-footer .main-nav a{
  color:#fff;
  font-family: "Shippori Mincho B1", serif;
      font-weight: 500;
}


    /* ヘッダー調整 */
    .header-inner {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 20px;
    }
    
    .logo {
      display: flex;
      gap: 10px;
      align-items: center;
      padding-left: 20px;
    }
    
    .logo img {
      height: 90px;
      width: auto;
    }
    
    .logo img.logoimg, .logo picture img.logoimg {
      height: 92px;
      width: auto;
    }
    
    .sitetitle {
    	padding-top: 5px;
	}
        
    .usermenu {
      background: var(--accent);
      padding: 8px 40px;
      height: 102px;
      display: flex;
      align-items: center;
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      font-size: 18px;
      font-family: "Shippori Mincho B1";
    }
    
    .usermenu a, .header-inner a.usermenulink {
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      font-size: 18px;
      font-family: "Shippori Mincho B1";
    }
    
    /* セクション本文 */
    .section-body {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
      line-height: 1.9;
    }
    
    .section-body h3 {
    color: var(--accent);
    font-family: "Shippori Mincho B1";
    font-size: 28px;
      margin-bottom: 20px;
      margin-top: 0;
    }
    
    .lead-text {
      text-align: center;
      font-size: 20px;
      font-weight: 500;
      color: var(--accent-dark);
    }
    
    /* 工賃の目安一部フォントサイズ大きく */
    .lead-text b {
    font-size: 110%;
    }


    /* タイムライン調整 */
    .timeitem {
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      min-width: 280px;
    }
    
    .time-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    
    .time-text {
      margin: 6px 0;
      color: var(--accent-dark);
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 10px;
    }
    
    /* SNSカード調整 */
    .sns-cardwrapper {
      max-width: 750px;
      margin: 0 auto;
    }
    
    .sns-card {
      display: flex;
      gap: 20px;
      align-items: flex-start;
      padding: 0;
      background: #fff;
      border-radius: 12px;
    }
    
    .sns-body {
      flex: 1;
    }
    
    .sns-body h3, .sns-body-sp h3 {
      color: var(--accent-dark);
      margin-bottom: 12px;
      font-size: 20px;
      margin-top: 0;
    }
    
    
    .sns-icon {
      width: 120px;
      height: 120px;
      background: transparent;
      flex-shrink: 0;
    }
    
    .sns-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    
    /* 会社情報調整 */
    .company-info p {
      margin: 12px 0;
      line-height: 1.8;
    }
    
    .company-info strong {
      color: var(--accent-dark);
      font-weight: 600;
    }
    
    /* フッター調整 */
    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 40px;
      padding-top: 10px;
    }
    
    
    .footer-left img {
      height: 100px;
      width: auto;
    }
    
    .footer-left1 p {
      font-size: 12px;
      margin: 0;
      font-family: Roboto, system-ui, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    }
    
    .footer-left2 h2 {
        font-size: -10px 0 0 -7px;
    	margin: 0 0;
    	color: #fff;
    	font-family: "Shippori Mincho B1", serif;
    }
    
    .footer-left2 p {
      margin: 12px 0 0;
      font-size: 12px;
      font-family: "Shippori Mincho B1", serif;
    }
    
    .tellno {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 16px !important;
      font-weight: 600;
      margin-top: 0 !important;
    margin-left: 40px;
        margin-bottom: 10px;
    }
    
    
    .tellno img {
      height: 20px;
      width: auto;
    margin-top: 8px;
    }
    
    .footer-right {
      display: flex;
      gap: 0px;
      flex-direction: column;
    }
    
    #footermenu1, #footermenu2 {
      display: flex;
      gap: 8px;
    }
    
    .copytxt {
    text-align: center;
    font-size: 12px;
    margin: 0;
    font-family: Roboto, system-ui, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    }
    
    /* モバイルメニュー画像 */
    .mobile-nav img {
      width: 100%;
      max-width: 200px;
      margin: 30px 0 0;
      padding: 16px 30px;
    }
    
    /* レスポンシブ調整 */
    @media(max-width: 768px) {
      .header-inner {
        grid-template-columns: 1fr auto;
        padding: 8px 20px 0 0;
      }
      
      .logo img {
		    height: 58px;
		}
      
      .footer-inner {
        flex-direction: column-reverse;
      }
      
      
      .footer-right {
        flex-direction: column;
        gap: 0;
        width: 100%;
      }
    }

.hero-nav{
display:none;
}

#business .card h3 {
    background: rgba(0,0,0,0.26);
    position: absolute;
    top: 30%;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 15px 0;
    color: #fff;
    font-weight: 900;
    font-size: 30px;
}

#business .card p {
    font-size: 18px;
    text-align: center;
    padding: 10px 0;
    margin: 0;
}

#business .card {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
        position: relative;
}

#services.reveal.in-view .service-card {
    border: 5px solid #000;
    height: 158px;
    padding: 18px 70px 18px 50px;
    justify-content: space-between;
}
#services.reveal.in-view .service-card img {
    max-height: 120px;
}

.section-txt{
max-width: 850px;
    margin: 0 auto;
}

/* FAQ常時表示スタイル */
.faq-item {
  margin-bottom: 35px;
}

.faq-q {
    position: relative;
    margin: 0;
    padding-left: 35px;
    line-height: 2.2;
    display: inline-block;
    text-decoration: underline;
    text-indent: -35px;
    text-decoration-thickness: 1px;
    text-underline-offset: 10px;
  margin-bottom: 25px;
   /* border-bottom: 1px solid var(--line);*/
}

.faq-a {
  margin: 0;
  color: var(--text);
  /* border-bottom: 1px solid var(--line);*/
}

.faq-q span,
.faq-a span {
  display: inline-block;
  font-weight: 700;
  background: var(--accent-dark);
  margin-right: 6px;
    color: #fff;
    width: 35px;
    height: 35px;
    text-align: center;
    font-size: 16px;
}

.faq-a span {
	background: #88BFB5;
	margin-right: 0;
}



/* A行 */
.faq-a {
  position: relative;
  margin: 0;
  padding-left: 35px; /* ← Aの右側から本文を揃える */
  line-height: 2.2;
  /*border-bottom: 1px solid var(--line); /* 下線 */
  display: inline-block; /* 文字数に合わせて下線を描く */
  text-decoration: underline;
  text-indent: -35px; /* ← Aだけ左に出す */
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
}

.faq-q span, .faq-a span {
  display: inline-block;
   text-align: right;
   padding-right: 11px;
   margin-right: 0;
}

/* 横並びレイアウト */
.form-row {
  display: flex;
  align-items: center; /* 縦位置を揃える */
  margin-bottom: 12px;
  gap: 16px; /* ラベルとフォーム間の余白 */
}

/* ラベル部分を左に固定幅で */
.form-row label {
  flex: 0 0 150px;  /* ← ラベル幅（調整可） */
  text-align: right; /* ラベル右寄せ */
  font-weight: 500;
}

/* 入力部分は右側で可変幅 */
.form-row input,
.form-row textarea,
.form-row select,
.form-row .name-fields,
.form-row .postal-fields,
.form-row .tel-fields {
  flex: 1; /* 右側いっぱいに広がる */
  max-width: 100%;
}

/* テキストエリアの高さ調整 */
.form-row textarea {
  min-height: 100px;
}

/* 「お問い合わせ」だけ上揃えにする */
.form-row.textarea-row {
  align-items: flex-start;
}



/* ▼ ボタン風リンク共通スタイル ▼ */
a.btn-link {
  display: inline-block;
  text-decoration: none;        /* 下線なし */
  color: #FFFFFF;               /* 白文字 */
  padding: 2px 25px 4px;           /* ボタンっぽく内側余白 */
  font-size: 14px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ホバー時の軽いエフェクト */
a.btn-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* 各種ボタン色バリエーション */
a.btn-map {
  background-color: #2F403E;    /* ダークグリーン（Map） */
  font-family: Roboto, system-ui, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

a.btn-pdf {
  background-color: #388C77;    /* グリーン（パンフレット） */
}

.company-info p.btn-mapwapper{
    margin: 30px 0;
}

.company-info p.btn-pdfwapper {
    margin: 50px 0 30px;
}

.photo-arrow{
display:none;
}

.footer-left2 p.tellno {
    margin: 0;
    font-family: Roboto, system-ui, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-weight: 400;
}

.footer-left2 p.tellno span {
    font-size: 12px;
    margin-right: 2px;
}

.sns-icon-sp, .sns-body-sp, .copytxt-sp, .sns-icon-tab, br.tabbr {
    display: none;
   }
   
/* ====== ヒーロースライダー ====== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 656px;
  overflow: hidden;
  background: #fff; /* 自然な白背景 */
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease, transform 6s ease;
}

/* すべてのスライド共通：フェードイン＋ズームアウト */
.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1.0);
}

/* === キャッチコピー（ドロップシャドウ）=== */
.hero-caption {
  position: absolute;
  top: 50%;
  left: 150px;
  transform: translateY(-50%);
  color: #fff;
  font-family: 'Shippori Mincho B1', serif; /* ← フォント指定 */
  font-weight: 800; /* ExtraBold */
  font-size: 45px;
  letter-spacing: 1.2px;
  z-index: 10;
  text-align: left;
  white-space: nowrap;
  opacity: 0;

  /* ▼ 背景（控えめな透明ガラス風） */
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  /* ▼ 白文字の可読性を高めるドロップシャドウ */
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 1px 4px rgba(0, 0, 0, 0.35);
}

/* キャッチ表示アニメーション */
.hero-caption.active-caption {
  animation: slideInText 2.0s ease-out 1.8s forwards;
}

@keyframes slideInText {
  0%   { opacity: 0; transform: translate(30px, -50%); }
  100% { opacity: 1; transform: translate(0, -50%); }
}

/*モバイルメニュー*/

.mobile-menu-btn{display:none;background:none;border:0;font-size:30px;color:var(--text);cursor:pointer}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F0F2F5;
  flex-direction: column;
  padding: 60px 30px;
  z-index: 1000;
  overflow-y: auto;

  /* ▼ 初期状態：非表示＆上に隠す ▼ */
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: transform 1.4s ease, opacity 1.4s ease;
}

/* 開いたとき */
.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* 閉じるボタン */
.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #2F403E;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1010;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-close-btn:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

/* リンク */
.mobile-nav a {
  font-family: "Shippori Mincho B1";
  width: 100%;
  padding: 20px 30px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #707070;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* メニュー展開時に1つずつふわっと表示 */
.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}

/* 開くときに順番にフェードイン */
.mobile-nav.open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.3s; }
.mobile-nav.open a:nth-child(8) { transition-delay: 0.35s; }
.mobile-nav.open a:nth-child(9) { transition-delay: 0.4s; }


.service-card h3 {
    font-size: 25px;
}

br.spbr {
    display: none;
}

#vision .section-body p {
    line-height: 2.22;
}

#slide1{
background-image: url('img/slide1.webp');
}
#slide2{
background-image: url('img/slide2.webp');
}
#slide3{
background-image: url('img/slide3.webp');
}
#slide4{
background-image: url('img/slide4.webp');
}

#privacypolicy.section  {
    padding: 60px 0 100px;
}

#privacypolicy .section-body{
text-align: left;
}

#privacypolicy .section-body p {
    margin: 1.3em 0;
}

.form-control.inp_zip {
    display: inline;
    max-width: 5em;
}

.form-control.inp_pref {
    display: inline;
    max-width: 11.5em;
}

.confirm-notice, .confirm-table {
    max-width: 800px;
    margin: 0 auto 30px ;
}

#vision .section-txt {
    display: flex;
    max-width: 1064px;
    gap: 40px;
}
#vision .section-txt img {
    max-width: 400px;
}
#vision .section-txt p {
    margin-top: 0;
}


@media(min-width: 900px) {

.cards-grid {
    gap: 80px;
    max-width: 1064px;
    margin: 100px auto 0;
}

}

@media(min-width: 769px) {
body {
    margin-top: 98px;
}
body.privacypolicypage {
    margin-top: 0;
}
}

@media(max-width:1300px){
	.logo img {
    height: 75px;
    }
    .usermenu {
    padding: 8px 20px;
    }
 }
 
 @media(max-width:1200px){
	.logo img {
    height: 65px;
    }
 }
 @media(max-width:1100px){
    .main-nav {
        gap: 0px;
    }
    .main-nav a {
        font-size: 13px;
    }
 }
  @media(max-width:1000px){
    .logo img {
    height: 55px;
    }
    .main-nav a {
        font-size: 11px;
    }
 }


@media(max-width:769px){



.usermenu, .usermenulink {
    display: none;
}

.logo img.logoimg {
    display: none;
}

.header {
    height: 80px;
}

.section-title-en {
    font-size: 27px;
}

.section-title-ja {
    margin: 0 0;
}

body {
    font-size: 17px;
}

#business .card h3 {
    font-size: 28px;
}

#business .card p {
    font-size: 14px;
}

.cards-grid {
    gap: 35px;
}

.section-title {
    margin-bottom: 70px;
    padding: 23px 0;
}

.section-body {
    padding-top: 0;
}

.section-body h3 {
    font-size: 28px;
    margin-top: 0;
}

.section-body, .cards-grid.two, .section-txt, .contact-form, .sns-cardwrapper, .company-grid {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

.company-grid {
       gap: 40px;
}


.section-body p {
    margin-bottom: 0;
}

#services.reveal.in-view .service-card img {
    max-height: 90px;
    margin-top: 10px;
}

#services.reveal.in-view .service-card {
    height: 108px;
    padding: 5px 40px 5px 30px;
}

#services.reveal.in-view .service-card h3 {
    font-size: 26px;
    z-index: 1;
}

.cards-grid.two p {
    margin-bottom: 0;
}

.timeline {
    gap: 75px;
    justify-content: center;
}

.timeitem {
    padding: 20px 55px 0;
}

.lead-text {
    margin-bottom: 0;
}

.container {
    padding: 10px 0px 0px;
}

.toline .sns-body {
      display: none;
}

.sns-body-sp {
    display: block;
    flex: 1;
   }

.sns-body-sp a {
    text-decoration: none;
}

.sns-icon-tab {
    display: block;
}

.toline .sns-icon {
    display: none;
}

.sns-icon, .sns-icon-tab {
    width: 47%;
        display: flex;
    align-items: center;
    justify-content: center;
}
.sns-icon img, .sns-icon-tab img {
    width: 80px;
    height: 80px;
    margin-left: 30px;
}

br.tabbr{
display:block;
}

.photo-slider .slides {
    height: 250px;
}

#footermenu1, #footermenu2 {
    justify-content: center;
}

.footer-left {
    margin: 0 auto;
}

.tellno {
    justify-content: center;
    margin-left:0;
}

.footer-left img {
    height: 65px;
    width: auto;
}
.footer-left2 p {
    display: none;
}
.footer-left1 p {
    display: none;
}
.footer-left2 h2 {
    font-size: 22px;
}
.footer-left2 p.tellno {
    display: block;
}
.copytxt-sp{
display:block;
text-align:center;
font-family: Roboto, system-ui, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
        font-size: 12px;
        width: 100%;
        margin-top: -20px;
}

.mobile-menu-btn{display:block;}

body {
    margin-top: 80px;
}

.hero-caption {
    left: 50px;
    font-size: 35px;
}

.faq-q, .faq-a {
    text-underline-offset: 9px;
}

.site-footer .main-nav a {
    font-size: 16px;
}

#slide1{
background-image: url('img/slide1tab.webp');
}
#slide2{
background-image: url('img/slide2tab.webp');
}
#slide3{
background-image: url('img/slide3tab.webp');
}
#slide4{
background-image: url('img/slide4tab.webp');
}

.footer-left .tellno img {
    height: 20px;
    width: auto;
}

.copytxt {
    display: none;
}

.cards-grid.two .card:first-child {
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 0 auto;
}

#vision .section-txt {
    display: block;
}
#vision .section-txt img {
    width: 100%;
}

}


@media(max-width:480px){
.logo {
    gap: 0;
}
.section-title, #allowance .section-title {
    margin-bottom: 100px;
    padding: 31px 0;
}
#vision .section-title {
    margin-bottom: 60px;
}
.section-title-en {
    font-size: 24px;
}
.section-title-ja {
    margin: 0 0;
}
.section-body, .cards-grid.two, .section-txt, .contact-form, .sns-cardwrapper, .company-grid {
	width: 100%;
    padding: 0 17px;
}

.section-body h3 {
    font-size: 23px;
    margin-bottom: 50px;
    margin-top: 0;
}

body {
    margin-top: 80px;
}

.section-body p {
    text-align: left;
    margin-bottom: -10px;
}

br.pcbr {
    display: none;
}

br.spbr {
    display: block;
}

#business .card h3 {
    font-size: 26px;
}

.timeline {
    display: block;
}
.timeitem {
    margin: 0 auto 60px;
            width: 70%;
        min-width: 285px;
    padding:0;
}
.timeitem.pm {
    margin-bottom: 0;
}
.lead-text {
    font-size: 18px;
    margin: 0;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.form-row label {
    flex: initial;
}

.form-row input, .form-row textarea, .form-row select, .form-row .name-fields, .form-row .postal-fields, .form-row .tel-fields {
    width: 100%;
    max-width: 100%;
}

.toline .sns-icon {
    display: none;
}

.sns-icon-sp {
    display: block;
    text-align: center;
    margin-bottom: 50px;
}

.sns-icon-sp img {
    width: 100px;
}


.toinsta .sns-card {
    flex-direction: column-reverse;
}

.toinsta .sns-icon {
    margin: 0 auto;
    width: 100px;
}
.toinsta a {
    text-decoration: none;
}

.photo-slider .slides {
    height: 250px;
}

#footermenu1, #footermenu2 {
    display: block;
}

.site-footer .main-nav a {
    display: block;
    width: 100%;
    font-size: 20px;
    border-bottom: 1px solid #FFFDFD;
    padding: 10px 6px 10px 30px;
    font-family: "Shippori Mincho B1";
}



.footer-left1 {
    padding-left: 20px;
}

.footer-left2 h2 {
    font-size: 26px;
    font-weight: 400;
}
.copytxt-sp{
display:block;
text-align:center;
font-family: Roboto, system-ui, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
        font-size: 12px;
        width: 100%;
        margin-top: -20px;
}

.header-inner {
        padding: 5px 20px 0 0;
 }

.logo img {
		    height: 60px;
		}

.form-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row label {
    text-align: left;
    width: 100%;
  }

.sns-icon-tab {
    display: none;
}

  .company-grid{grid-template-columns:1fr}

.footer-left {
    margin: 0;
}

.form-row {
    display: initial;
}

.mobile-nav.open a {
    opacity: 1;
    transform: translateY(0);
    font-size: 20px;
}

.hero-caption {
    left: 0;
    font-size: 34px;
    white-space: initial;
}

.section {
    padding: 75px 0 0;
}

.time-icon {
    width: 70px;
    height: 70px;
}



.form-actions {
    margin-left: initial;
}

a.btn-link {
    font-size: 16px;
}

#services.reveal.in-view .service-card h3 {
    font-size: 30px;
}

#slide1{
background-image: url('img/slide1sp.webp');
}
#slide2{
background-image: url('img/slide2sp.webp');
}
#slide3{
background-image: url('img/slide3sp.webp');
}
#slide4{
background-image: url('img/slide4sp.webp');
}

.footer-left img {
    height: auto;
    width: 100%;
}




}

