@charset "utf-8";

/*基本情報*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, 
acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, 
sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, 
caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, 
footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  color: #333;
}
:root { --header-h: 80px; }        /* ヘッダー高に合わせて調整 */
html{
  scroll-behavior: smooth;         /* なめらかスクロール（任意） */
  scroll-padding-top: var(--header-h);
}
body {
  line-height: 1;
  width:100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
p {
  font-size: 0.9em;
  margin-top: 0.3em;
}
p.sec {
  margin-top: 1em;
}

ol, ul {
  list-style: none;
  box-sizing: border-box;
}
div.main-content {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
}
a {
  text-decoration: none;
}

a {
  color: #1f2774;
  text-decoration: underline;
}
a:hover {
  color: #ee7800 !important;
}

.alignright {
  text-align: right;
}
@media (max-width:768px){
html{
  font-size: 0.85em;
}
}


/* =========================
   ヘッダー（PC/共通）
   ========================= */
#header-c {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px 10px 30px;
  background: #1f2774;
  position: sticky;
  top: 0;
  z-index: 100;              /* ヘッダーの層。メニューはこれより上にする */
}
#header_inner h1 { margin: 0; }
#header_inner img {
  margin-top: 5px;
  width: 100%;
  height: auto;
  align-items: center;
}

/* =========================
   ハンバーガーメニュー
   ========================= */
.header_right { display: flex; align-items: center; }
#global_menu ul {
  list-style: none;
  font-size: 0.95em;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  align-items: center;
}
#global_menu ul li { margin: 0; }
#global_menu ul li a {
  color: #fff !important;
  text-decoration: none;
}
/* PCではハンバーガーボタンを出さない */
@media (min-width: 1024px){
  .toggle_btn { display: none !important; }
  /* 念のため：PCに戻ったらnavは通常フロー表示 */
  nav{
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
}
/* =========================
   SP（～1023px）：左側カード型ドロップダウン
   ========================= */
@media (max-width: 1023px){
  /* SPではメニューを縦並びに */
  #global_menu ul{
    display: block;
    margin: 0;
    padding: 0;
  }
  #global_menu ul li { margin: 0; }
  #global_menu ul li a{
    font-size: 15px;
    color: #333 !important;
    text-decoration: none;
  }

  /* --- ハンバーガー本体（線のみ） --- */
  .toggle_btn{
    display:block;
    position:fixed;
    top:10px;
    right:15px;
    width:44px;
    height:44px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
    z-index: 1300;                /* ボタンが最前面 */
  }
  .toggle_inner{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:8px;
    width:100%;
    height:100%;
    background:transparent !important;
    border-radius:0 !important;
    box-shadow:none !important;
    padding:0;
  }
  .toggle_btn span{
    display:block;
    width:28px;
    height:2px;
    background:#fff;             /* ネイビー上で映える白線 */
    border-radius:2px;
    transition:transform .3s ease, opacity .3s ease;
    margin:0;
  }
  .open .toggle_btn span:nth-child(1){ transform: translateY(10px) rotate(-45deg); }
  .open .toggle_btn span:nth-child(2){ opacity:0; }
  .open .toggle_btn span:nth-child(3){ transform: translateY(-10px) rotate(45deg); }
  .toggle_btn:focus-visible{ outline:2px solid #fff; outline-offset:3px; }

  /* --- 左側カード型メニュー（必要分だけの高さ） --- */
  nav{
    position: fixed;
    top: calc(var(--header-h) - 18px);
    left: 0;
    width: min(88vw, 300px);
    height: auto;
    max-height: 60vh;            /* 多くなった時だけスクロール */
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* 初期は隠す（左へ退避） */
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
    transition: none;
    z-index: 1250;               /* マスク(1200)より前面に */
  }
  .open nav{
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    transition: transform .35s ease, opacity .35s ease;
  }

  nav .inner{ padding: 6px 0; }
  nav .inner ul{ margin: 0; padding: 0; list-style: none; }
  nav .inner ul li{
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  nav .inner ul li:last-child{ border-bottom: 0; }
  nav .inner ul li a{
    display: block;
    padding: 12px 16px;
  }
  nav .inner ul li a:hover{ background: rgba(0,0,0,.05); }

}

/* さらに狭い端末（～767px）で幅/密度を調整 */
@media (max-width: 767px){
  nav{ width: min(92vw, 240px); max-height: 65vh; }
  nav .inner ul li a{ padding: 11px 14px; font-size: 14px; }
}


/* =========================
   フッター/その他（そのまま）
   ========================= */
/*****フッター*****/
#footer {
  margin-top: 150px;
}
/*****コピーライト*****/
#copyright {
  margin: 0;
  padding: 5px 20px;
  width: auto;
  font-size: 14px;
  text-align: center;
  color: #fff;
  background: #ee7800;
}
#copyright a {
  color: #fff !important;
  text-decoration: underline;
}
/*****ページトップ*****/
.space {
  margin-top: -25px; /* 必要なら負の余白で代用 */
}
.pagetop {
  cursor: pointer;
  position: fixed;
  right: 0;
  bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  transition: .3s;
  opacity: 0;
  font-size: 15px;
  z-index: 1000;
  pointer-events: none;
}
.pagetop.show {
  opacity: 1;
  pointer-events: auto;
}



/* =========================
   メインコンテンツ
   ========================= */
#main-content {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;

}
#catchcopy {
  position: relative;
  padding-block: 150px;
  overflow: hidden;   
  background-image: url("https://greep.jp/wp/wp-content/uploads/2025/09/top-image-1-scaled.jpg");
  background-size: cover;
}
#catchcopy2{
  position: relative; z-index: 1;
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 80px);
  box-sizing: border-box;
}

#catchcopy2 h2{
  font-size: 25px;
  margin: 0;
  color:#fff;
  line-height:1.6;
  text-align:center;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.6));
}
@media (max-width: 767px){
#catchcopy2 h2{
  font-size: 20px;
}
}
/* ← 画像はレイアウトから切り離す */
#catchcopy .img1,
#catchcopy .img2{
  position: absolute;
  width: 250px;
  height: 250px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
/* 左画像＝左下 */
#catchcopy .img1{
  left:  clamp(-80px, 6vw, -80px);
  bottom: clamp(-130px, 6vw, -130px);
  background-image: url("https://test.greep.jp/wp/wp-content/uploads/2025/09/f757bf99de347606c04a16cfa2de6c44.jpg");
}

/* 右画像＝右上 */
#catchcopy .img2{
  right: clamp(-80px, 6vw, -80px);
  top:   clamp(-130px, 6vw, -130px);
  background-image: url("https://test.greep.jp/wp/wp-content/uploads/2025/09/f757bf99de347606c04a16cfa2de6c44.jpg");
}
/* モバイル調整の例 */
@media (max-width: 768px){
  #catchcopy .img1, #catchcopy .img2{
    width: 160px; height: 190px; opacity: .8;
    /* いっそ非表示なら → display:none; */
  }
  #catchcopy2{ padding-inline: 16px; }
}
/* === 2カラム基礎（HTMLの順＝表示順） === */
.content{
  display:flex;
  align-items:flex-start;
  gap:32px;
  margin:150px 0 0;
}
.content2{
  display:flex;
  align-items:flex-start;
  gap:32px;
  margin:150px 0 0;
  border: #000 1px solid;
  padding: 20px;
}

/* 片方が無くても半幅キープ */
.content > .con-l, .content2 > .con-l
.content > .con-r, .content2 > .con-r{
  flex:0 0 50%;
  max-width:50%;
  padding:0 20px;
  box-sizing:border-box;
}

/* 見出し */
.content h3, .content2 h3{
  font-size:18px;
  margin:0 0 20px;
}

/* 画像は歪ませない */
.content img, .content2 img{
  display:block;
  max-width:100%;
  height:auto;
  /* 必要なら：aspect-ratio: 3 / 2; object-fit: cover; */
}

/* SPでは縦積み */
@media (max-width:768px){
  .content, .content2{
    flex-direction:column;
    gap:20px;
  }
  .content > .con-l, .content2 > .con-l,
  .content > .con-r, .content2 > .con-r{
    flex-basis:auto;
    max-width:100%;
    padding:0 12px;
  }
  .con-r{ justify-content:flex-start; } /* SPで左寄せに戻すなら */
}

/* 定義リスト（必要なら） */
.con-l dl{
  display:flex;
  flex-wrap:wrap;
  margin:0;
}
.con-l dt{
  width:6rem;
  padding:8px 0;
  margin:0;
  box-sizing:border-box;
}
.con-l dd{
  width:calc(100% - 6rem);
  padding:8px 0 8px 25px;
  margin:0;
  box-sizing:border-box;
}
/* スマホ時は縦積み＋#contents2だけ順序反転 */
@media (max-width: 767px) {
  .content { flex-direction: column; }
  #contents2 .con-r { order: 1; } /* 文を先に */
  #contents2 .con-l { order: 2; } /* 画像を後に */
  .content img { width: 100%; height: auto; display: block; }
}


/* 右カラムのマップ枠（半幅の中で16:9や3:2にしたい場合） */
.map-frame{
  width:100%;
  aspect-ratio:4 / 3;     /* 好みで 3/2 や 4/3 でもOK */
  border:0;
  border-radius:12px;
  display:block;
}
.bus{
  text-align: right;
  margin-top: 8px;
  font-size: 12px;
}




/* =========================
   問い合わせフォーム
   ========================= */
.toiawase {
  margin: 150px 0 20px 0;
  padding: 0;
  font-size: 20px;
  text-align: center;
}
.toiawase2 {
  margin: 50px 0 20px 0;
  padding: 0;
  font-size: 20px;
  text-align: center;
}
@media (max-width: 768px){
.toiawase, .toiawase2 {
  font-size: 16px;
}
}
.naiyou {
  margin: 0px 0 30px 0;
  padding: 0;
}

/* =========================
   フォーム周り
   ========================= */
/* フォーム全体の幅と中央寄せ */
.contact-section{
  max-width: 1000px;     /* 好みで 900～1100px */
  margin: 0 auto;
  padding: 40px 20px;
}

/* 1行 = 左:ラベル / 右:入力欄 の2カラム */
.contact-form label{
  margin: 30px 0;
  font-size: 15px;
  color: #333;
  text-align: left;       /* 右寄せにしたければ right に */
}

/* ラベル内の必須マーク（※）を赤く */
.contact-form .req{
  color: #e12525;
  font-size: 12px;
  margin-left: 6px;
}

/* 右側（2列目）に置きたいフォーム要素はこれで固定 */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea,
.contact-form select{
  grid-column: 2;         /* ← 2列目に固定配置 */
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #bfbfbf;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  outline: none;
  margin-bottom: 20px;
}

.contact-form textarea{
  min-height: 160px;      /* 画像の雰囲気に近い高さ */
  resize: vertical;
}

/* フォーカス時の見た目（ほんのり） */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  border-color: #8aa7ff;
  box-shadow: 0 0 0 3px rgba(138,167,255,0.2);
}

/* ボタンまわり（中央に1個） */
.contact-form .actions{
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.contact-form .actions button{
  appearance: none;
  border: none;
  background: #222;
  color: #fff;
  padding: 10px 30px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
.contact-form .actions button:hover{
  opacity: .82;
}

/* メッセージ表示（エラー／成功） */
.contact-form .result{
  margin-top: 10px;
  text-align: center;
  min-height: 1.25em;
  color: #e12525; /* 必要に応じて切り替え */
}

/* 蜂蜜壺（honeypot）非表示 */
.hp{
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* スマホ時は縦積み（ラベル→入力の順） */
@media (max-width: 768px){
  .contact-section{ padding: 24px 16px; }
  .contact-form label{
    grid-template-columns: 1fr;
    row-gap: 8px;
    font-size: 0.95em;
  }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form input[type="url"],
  .contact-form textarea,
  .contact-form select{
    grid-column: 1;       /* 1列レイアウトに戻す */
  }
  .contact-form .actions button{
    width: min(260px, 90%);
  }
  .contact-form .actions button{
  font-size: 14px;
}
}

/* 送信前の注意書き（中央・灰色・小さめ） */
.contact-form .notice{
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: #777;
}

/* 完了パネル（既存と同じノリでOK） */
.done-panel{
  background:#fafafa; border:1px solid #eee; border-radius:12px; padding:16px;
  margin-top:16px; text-align:center;
}
.done-panel button{
  appearance:none; border:none; background:#222; color:#fff;
  padding:10px 24px; border-radius:6px; cursor:pointer;
}
.grecaptcha-badge {
  visibility: hidden !important;  /* または display:none でもOK */
}


/* =========================
   個人情報保護方針
   ========================= */
.privacy p {
  margin: 10px auto 0 auto;
  font-size: 14px;
  max-width: 1000px;     /* 好みで 900～1100px */
}
@media (max-width: 768px){
.privacy p {
  font-size: 13px;
}
}




.notfound{
  font-size: 20px;
  margin: 100px 0 0 0;
  color:#333;
  line-height:1.6;
  text-align:center;
}
.aligncenter{
  text-align:center;
}
