/**********************************************
    PC版 CSS
**********************************************/
.sp{display:none;}

.menu-toggle{
	display:none;
}

/**************************************************************
全体
**************************************************************/
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, font, 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 {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
    font: 500 16px/1.75 "Noto Sans JP", sans-serif;
    color: #000;
    text-align: left;
    letter-spacing: 0.05em;
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    font-size: 13px;

    margin: 0px;
    text-align: center;
    line-height: 180%;
}

/**************************************************************
リンク
**************************************************************/
a:link {
    color: #000;
    text-decoration: none;
	transition: 1.0s ;
}
a:visited {
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #000;
    text-decoration: none;
}
a:active {
    color: #000;
    text-decoration: none;
}

/**************************************************************
ヘッダー
**************************************************************/
.hd{
	display:flex;
	justify-content:space-between;
	background-color:#161938;
	padding:10px 20px;
	align-items:center;
	position:relative;
}

.hd .logo{
	align-items:center;
	display:flex;
}

.hd .logo img{
	width:121px;
	height:auto;
	margin-right:15px;
}
.hd .logo h1{
	color:#fff;
	font-size:12px;
	text-align:left;
	line-height:140%;
}

.nav{
	color:#fff;
	font-size:14px;
}
.nav ul{
	display:flex;
	align-items:center;
	margin-top:50px;
}
.nav ul li{
	list-style:none;
	font-weight:600;
}
.nav ul li a {
  position: relative;
  color: #fff;
	margin:0 15px;
  display: block;
  text-decoration: none;
  overflow: hidden;
	padding-bottom:5px;
}

.nav img{
	height:25px;
	width:auto;
}

/* 下線アニメーション */
.nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fed23d;
  transition: width 0.3s ease;
}

.nav ul li a:hover::after {
  width: 100%;
}
.hd .tel{
	position:absolute;
	right:35px;
	top:5px;
	font-size:24px;
	font-weight:600;
	margin-top:8px;
	color:#fff;
	line-height:100%;
}
.hd .tel a{
	color:#fff;
}
.hd .tel img{
	width:18px;
	height:auto;
	margin-right:10px;
}

.hd .sma{
	position:absolute;
	right:35px;
	top:42px;
	font-size:11px;
	line-height:100%;
	margin-top:0!important;
	color:#fff;
}
.hd .sma a{
	color:#fff;
}

.hd .sma .rubik{
	font-size:14px;
	margin-left:8px;
}
/***********************************
 メイン
**********************/

.main {
  position: relative; /* 子要素を絶対配置できるようにする */
  overflow: hidden;   /* はみ出し防止（必要に応じて） */
}

/* ドットオーバーレイ */
.main::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; のショートカット */
  background: url('../../../../image/base/dot.png') repeat;
	background-size:2px;

  pointer-events: none; /* クリックをスライダーに通す */
  z-index: 2; /* スライダーより上に */
}

/* スライダーのz-index調整（念のため） */
.main [id^="smartslider"] {
  position: relative;
  z-index: 1;
}

.main-outer{
	position:relative;
}

.main-outer .mes {
	z-index:999;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.main-outer .mes img{
	width:800px;
	height:auto;
}



/* =========================
   Trouble Cards
========================= */
.trouble-cards {
  background: #f7f7f7;
	padding:100px 20px;
}
.tc-inner { max-width: 1120px; margin: 0 auto; }
.tc-ttl {
  text-align: center;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #333;
  position: relative;
  margin-bottom: 36px;
	padding-bottom:20px;
}
.tc-ttl::after{
  content:"";
  display:block;
  width:64px;
  height:3px;
  background:#fed23d;
  margin:14px auto 0;
}


/* grid */
.tc-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 960px){
  .tc-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .tc-grid{ grid-template-columns: 1fr; }
}

/* card */
.tcard{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  isolation: isolate;
}
.tcard__media{
  position: relative;
  display: block;
  aspect-ratio: 4/3; /* 安定した高さ */
  margin: 0;
}
.tcard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.9);
  transition: transform .5s ease, filter .5s ease;
}

/* 赤いバッジ */
.tcard__badge{
  position: absolute;
  top: 12px; left: 12px;
  background: #ab2019;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
  font-weight: 700;
  z-index: 2;
}

/* オーバーレイ */
.tcard__overlay{
  position: absolute; inset: 0;
  display: grid; align-content: end; gap: 6px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  transition: background .35s ease, opacity .35s ease;
}
.tcard__title{
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.tcard__text{
  font-size: 14px;
  line-height: 1.6;
  margin: 2px 0 0;
  opacity: .95;
}

/* hover演出（PC） */
@media (hover:hover){
  .tcard:hover .tcard__media img{
    transform: scale(1.06);
    filter: brightness(1);
  }
  .tcard:hover .tcard__overlay{
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.65) 100%);
  }
}

/* SPはテキスト常時読みやすく */
@media (max-width: 640px){
  .tcard__overlay{
    background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.7) 100%);
  }
}

/* セクション末尾リード */
.tc-lead{
  text-align: center;
  margin-top: 40px;
	font-size:16px;
  color: #333;
	text-align:left;
	line-height:180%;
}


.tc-lead strong{ color:#ab2019; }



/***********************************CTA***************/

.cta{
	background-color:#161938;
	background-image:url(https://p-pata.com/pataweb/image/e-sa/top/bg.png);
	background-position:left;
	background-repeat:no-repeat;
	background-size:600px;
	
}
.cta-inner{
	width:1000px;
	margin:0 auto;
	padding:50px 0;
	padding-left:200px;
	display:flex;
	justify-content:flex-end;
}

.cta-inner .tel{
	width:40%;
	margin:2%;
	padding:25px;
	display:block;
	background-color:#fff;
	box-sizing:border-box;
	border-radius:10px;
	position:relative; 
}

.cta-inner .tel .icon{
	position: absolute;
	width: 180px;
	left: -90px;
	top: -30px;
}
.cta-inner .tel .icon img{
	width:100%;
	height:auto;
}

.cta-inner .tel p{
	font-size:16px;
	font-weight:600;
}
.cta-inner .tel .num{
	font-size:30px;
	margin-top:15px;
	margin-bottom:8px;
	padding-left:25px;
}
.cta-inner .tel .sma .rubik{
	font-size:20px;
}


.cta-inner .mail{
	width:40%;
	margin:2%;
	padding:25px;
	display:block;
	background-color:#fff;
	box-sizing:border-box;
	border-radius:10px;
}
.cta-inner .mail p{
	font-size:15px;
	font-weight:600;
}

.cta-inner .mail .ap{
	padding:20px 10px;
	background-color:#fed23d;font-size:15px;
	line-height:100%;
	margin-top:10px;
	border-radius:5px;
	font-weight:600;
}

/*************************事例********************/

/* 全体 */
.works-section {
  background: #fff;
  padding: 100px 20px;
}
.works-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.works-ttl {
  text-align: center;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
  color: #222;
}

/* グリッド */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 960px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* カード */
.work {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* 画像 */
.work figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.work figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work:hover figure img {
  transform: scale(1.06);
}

/* テキスト */
.work h3 {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin: 15px 16px 5px;
  line-height: 1.5;
}
.work p {
  font-size: 13px;
  color: #555;
  margin: 0 16px 16px;
  line-height: 1.6;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	margin-top:20px;
	text-align:left;

}

/****************************会社概要**********/

.company{

	background-image:url(https://p-pata.com/pataweb/image/e-sa/top/c-bg.jpg);
	background-position:left;
	background-repeat:no-repeat;
	padding:90px 0;
	background-color:#000;
}

.company h2{
	font-size:36px;
	color:#fff;
	margin-bottom:20px;
	letter-spacing:1px;

}
.company-inner{
	width:1000px;
	margin:0 auto;
	padding-left:300px;
	box-sizing:border-box;
	color:#fff;
}
.company-inner h3{
	font-size:20px;
	color:#fed23d;
	margin-bottom:45px;

}
.company-inner p{
	font-size:15px;
	text-align:left;
	line-height:200%;
}
.company-inner .pre{
	text-align:right;
	margin-top:60px;
	line-height:160%;
}

.company-inner .profile{
	margin-top:40px;
}

.company-inner .profile .line{
	padding:10px;
	border-bottom:dashed 1px #ccc;
	display:flex;
	box-sizing:border-box;
	text-align:left;
}
.company-inner .profile .line .ll{
	width:30%;
}
.company-inner .profile .line .rr{
	display:flex;
	align-items:center;
	width:70%;
}

.company-inner .profile .line .rr img{
	height:30px;
	width:auto;
	margin-top:5px;
	margin-right:15px;
}
.company-inner .profile .line .rr a{
	color:#fff!important;
}

.map-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* グレースケール＋少し暗めのトーン */
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) brightness(85%) contrast(110%);
  transition: filter 0.4s ease;
}

/* ホバー時にカラー復活（おしゃれな動き） */
.map-wrap:hover iframe {
  filter: grayscale(0%) brightness(100%) contrast(100%);
}

/************************************お問い合わせ*******/

.apply{
	padding:80px 0;
	background-color:#161938;
	color:#fff!important;
}
.apply h2{
	color:#fff;
	font-size:24px;
	margin-bottom:70px;
}


/* ===== Contact (dark-blue bg / white text) ===== */
.contact-frame{
  color:#fff!important;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: rgba(255,255,255,.02);      /* うっすら面 */
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(2px);
}

/* 行レイアウト：左ラベル / 右入力 */
.apply .c-l{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.apply .c-l:first-child{ border-top: none; }

/* ラベル */
.apply .tt{
  font-weight: 700;
  line-height: 1.6;
  padding-top: 8px;
}
.apply .hissu{
  display: inline-block;
  margin-left: .6em;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
  color:#fff;
  background: #e53935;                    /* 必須バッジ */
  border-radius: 999px;
}

/* 入力UI（CF7の生成要素に広く適用） */
.apply .contact-frame input[type="text"],
.apply .contact-frame input[type="email"],
.apply .contact-frame input[type="tel"],  
.apply .contact-frame textarea,
.apply .contact-frame select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); 
  color: #fff;
  line-height: 1.6;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
	box-sizing:border-box;
}

/* iOS/Chromeの見た目差異を抑える（任意） */
.apply .contact-frame input[type="tel"]{
  -webkit-appearance: none;
  appearance: none;
}
.apply .contact-frame textarea{ min-height: 160px; resize: vertical; }
.apply .contact-frame input::placeholder,
.apply .contact-frame textarea::placeholder{ color: rgba(255,255,255,.6); }

/* フォーカス時 */
.apply .contact-frame input:focus,
.apply .contact-frame textarea:focus,
.apply .contact-frame select:focus{
  border-color: #90caf9;
  box-shadow: 0 0 0 3px rgba(144,202,249,.25);
  background: rgba(255,255,255,.08);
}

/* iOS/Chromeの自動入力色対策 */
.apply .contact-frame input:-webkit-autofill,
.apply .contact-frame input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff;
  transition: background-color 9999s ease-in-out 0s;
}

/* ラジオ・チェック（CF7） */
.apply .contact-frame input[type="radio"],
.apply .contact-frame input[type="checkbox"]{
  accent-color: #64b5f6;                  /* 青系 */
}
.apply .mm .wpcf7-list-item{ margin-right: 12px; }
.apply .mm .wpcf7-list-item label{
  display: inline-flex; align-items: center; gap: .5em;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
}

/* 送信ボタン */
.apply .contact-frame input[type="submit"]{
  appearance: none; -webkit-appearance: none;
  display: inline-block;
  padding: 14px 28px;
  font-weight: 800;
  letter-spacing: .02em;
  color:#fff;
  background: linear-gradient(90deg,#1e88e5,#0d47a1);
  border: none;
  border-radius: 999px;
  box-shadow: 0 10px 16px rgba(13,71,161,.25);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
	margin-top:30px;
    font: 500 16px/1.75 "Noto Sans JP", sans-serif;
}
.apply .contact-frame input[type="submit"]:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(13,71,161,.35);
  filter: brightness(1.03);
}
.apply .contact-frame input[type="submit"]:active{ transform: translateY(0); }

.wpcf7-spinner{
	display:block!important;
}

/* 受諾文＆リンク */
.apply .ap-chui p{ color:#fff; font-size: 14px; line-height: 1.8; }
.apply .ap-chui a{ color:#bbdefb; text-decoration: underline; }
.apply .ap-chui a:hover{ color:#e3f2fd; }

/* CF7 エラーメッセージ調整（任意） */
.apply .wpcf7-not-valid-tip{ color:#ff8a80; margin-top: 6px; font-size: 12px; }
.apply .wpcf7-response-output{
  color:#fff; border: 1px solid rgba(255,255,255,.25)!important;
  background: rgba(229,57,53,.15); border-radius: 10px; padding: 10px 12px;
}

/* クリア用（既存HTMLにあるので念のため） */
.apply .clear{ clear: both; }

/* --- Contact内のホバーで黒くならないよう固定 --- */
.contact-frame,
.contact-frame .tt,
.contact-frame .mm,
.contact-frame .mm label,
.contact-frame input,
.contact-frame textarea,
.contact-frame select {
  color: #fff;
}

/* ホバー時も白を維持（グローバルa:hover等に勝つ） */
.contact-frame .tt:hover,
.contact-frame .mm:hover,
.contact-frame .mm label:hover,
.contact-frame input:hover,
.contact-frame textarea:hover,
.contact-frame select:hover,
.contact-frame input[type="submit"]:hover {
  color: #fff !important;
}

/* リンク色の固定（通常／ホバー） */
.contact-frame a,
.contact-frame a:visited { color: #bbdefb; }
.contact-frame a:hover { color: #e3f2fd !important; }

/* プレースホルダも白系で */
.contact-frame input::placeholder,
.contact-frame textarea::placeholder { color: rgba(255,255,255,.7); }

/* エラーメッセージは上書きされないよう再指定（任意） */
.contact-frame .wpcf7-not-valid-tip { color: #ff8a80 !important; }

/******************************FOOTER************/
.footer{
	background-color:#000;
	padding:30px;
	color:#fff;
	padding-bottom:60px;
}
.footer-inner{
	width:1000px;
	margin:0 auto;
	font-weight:500;
}
/****************************追従CTA**********/
#cta-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ab2019;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-weight: 700;
  font-size: 16px;
  z-index: 9999;
  transition: transform 0.3s ease;
}
#cta-fixed a {
  color: #fff;
  text-decoration: none;
}
body.scrolled #cta-fixed {
  transform: translateY(0);
}

/*****************************お問い合わせ完了**********/

.thx-message{
	background-color:#161938;
	padding:300px 20px;
	color:#fff;
}
.thx-message h2{
	font-size:36px;
}
.thx-message p{
	font-size:15px;
	margin-top:80px;
}


