@charset "UTF-8";

/* -------------------------
   Google Fonts
------------------------- */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  background: #fff;
  margin: 0;
  padding: 0;
}

/* -------------------------
   共通設定
------------------------- */
html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}
h1 { margin: 0; padding: 0; }

section {
  padding: 5rem 2rem;
  border-bottom: 1px solid #333333;
}

.content {
  max-width: 1080px;
  margin: 0 auto;
}

/* 共通セクションタイトル */
h2.headLine01 {
  font-size: 3.2rem;
  color: #003a5d;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left; /* ← セクションによって中央 or 左寄せ切り替えるなら別途 */
}
@media screen and (min-width: 768px) { /*PC*/
  h2.headLine01 {
    font-size: 3.6rem;
  }
}

ul.submit.flexC { display: flex; }

/* 幅1024px以上（PC表示）の場合、電話リンクを無効化 */
@media screen and (min-width: 1024px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit; /* リンク色を通常の文字色に */
  }
}


/* ========================
   表示切り替え（レスポンシブ制御用）
======================== */
.sp {
	display: none !important;
}

.pc {
	display: none !important;
}

@media screen and (max-width: 767px) {
	.sp {
		display: inline !important;
	}
}

@media screen and (min-width: 768px) {
	.pc {
		display: inline !important;
	}
}

/* -------------------------
   Main Visual
------------------------- */
.mainVisual {
  text-align: center;
  background: url("../images/top/kv_pc.png") no-repeat center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 2rem;
}


.copyTxt img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.firstBox {
	padding-bottom: 2rem;
  background: linear-gradient(to bottom, #e7ebee 0%, #ffffff 100%);
	border-bottom: 1px solid #333;
}

/* メインビジュアル内のロゴ配置 */
header#gHeader {
  padding: 1rem 2rem;
  width: 160px;
}

header#gHeader img {
  width: 100%;
  height: auto;
  display: block;
}

.subPageHeader { padding:0rem; }

@media screen and (max-width: 767px) {
  .mainVisual {
    background: url("../images/top/kv_sp.png") no-repeat center top;
    background-size: cover;
  }
  header#gHeader { padding: 0; }
  header#gHeader h1 {
    width: 28vw;
    padding: 0;
  }
  .copyTxt {
	  padding-top: 5rem;
	  padding-bottom: 0;
  }
  .copyTxt img {
    content: url("../images/top/copy_sp.png");
  }
  
}

/* パソコンでは元のHTML画像＋サイズ調整 */
@media screen and (min-width: 768px) {
  .copyTxt {
	padding-bottom: 25rem;
   }
  .copyTxt img {
    content: normal;
    width: 85%;
    max-width: 850px;
    height: auto;
  }
}



/* -------------------------
   Message（メッセージ）
------------------------- */

.message {
  position: relative;
  text-align: center;
  padding: 6rem 2rem;
}

.message .msgImg {
  position: absolute;
  top: 4rem;
  left: 57%;
  transform: translate(-180%, -30%);
  max-width: 13vw;
  z-index: 1;
}

.message .msgImg img {
  width: 100%;
  height: auto;
  display: block;
}


.message h2.headLine02 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #003a5d;
}

.message h3 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #111;
}

.message p {
  font-size: 1.6rem;
  line-height: 2;
  color: #333;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {/*SP*/
	.message {
		padding: 4rem 2rem;
	}
  .message .msgImg {
    position: absolute;
    top: 7vw;
    left: 55vw;
    transform: translate(-150%, -20%);
    max-width: 28vw;
  }
  .message p {
    text-align: left;
  }
}



/* -------------------------
   Service（事業案内）
------------------------- */
section.service {
	padding-bottom: 12rem;
}
.service h3 {
  font-size: 2.4rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.serviceFlex {
  position: relative;
  min-height: 300px;
}

.service .imgBox {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  /*max-width: 280px;*/
}

.service .imgBox img {
  width: 100%;
  height: auto;
  display: block;
}

.service .inner {
  /*padding-right: 32%;*/
}

.service .inner p {
  font-size: 1.6rem;
  line-height: 2;
  color: #333;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 767px) {
	section.service {
		padding-top: 2.5rem;
		padding-bottom: 4rem;
	}
  .service h3 {
    font-size: 2.2rem;
  }

  .serviceFlex {
    position: static;
  }

  .service .imgBox {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .service .inner {
    padding-right: 0;
  }

  .service .inner p {
    font-size: 1.5rem;
  }
}

/* -------------------------
   Price（料金）
------------------------- */

.priceFlex .inner {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.priceFlex dl {
  flex: 1;
  background: #e9edf0;
  border-radius: 2.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
  border: none;
  min-width: 280px;
}

.priceFlex .sDL02 {
  background: #fdf6eb;
  border: 2px solid #ecad30;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-top: -2rem;
  margin-bottom: -2rem;
}

.priceFlex dt {
  background-color: #5aa9e6;
  text-align: center;
  padding: 2rem 1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  font-size: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 2rem 2rem 0 0;
}

.priceFlex dt .planNum {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
}

.priceFlex dt .planName {
  font-size: 2.8rem;
  font-weight: 700;
}

/* 特別感のある竹プラン */
.priceFlex .sDL02 dt .planNum {
  font-size: 3.2rem;
}

.priceFlex .sDL02 dt .planName {
  font-size: 3.5rem;
}

.priceFlex .sDL02 .sD01 {
  font-size: 3.6rem;
}

.priceFlex dl:nth-child(1) dt {
  background-color: #5aa9e6;
}

.priceFlex dl:nth-child(2) dt {
  background-color: #f0a500;
}

.priceFlex dl:nth-child(3) dt {
  background-color: #5aa9e6;
}

.priceFlex dd {
  margin: 0;
  padding: 0;
}

.priceFlex .sD01 {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  padding: 2rem 1rem 1rem;
}

.priceFlex .sD01 span {
  font-size: 1.6rem;
  margin-left: 0.3em;
}

.priceFlex .sD02 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 2rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
}

.priceFlex .sD03 {
  margin-top: 2rem;
  padding: 0 2rem;
}

.priceFlex .sUL01,
.priceFlex .sUL02 {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  margin: 1rem 0 0;
  list-style: none;
}

.priceFlex .sUL01 li,
.priceFlex .sUL02 li {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  padding-left: 1.4em;
  position: relative;
}

.priceFlex .sUL01 li::before,
.priceFlex .sUL02 li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #111;
}

.priceFlex .plus {
  text-align: center;
  margin: 1rem 0;
}

.priceFlex .plus img {
  width: 3rem;
  height: 3rem;
}

@media screen and (max-width: 767px) {
  .priceFlex .inner {
	  margin-top: 0;
    flex-direction: column;
  }

  .priceFlex dl {
    transform: none !important;
  }

  .priceFlex .sD01 {
    font-size: 2.4rem;
  }

  .priceFlex .sD01 span {
    font-size: 1.4rem;
  }

  .priceFlex .sD02 {
    font-size: 1.5rem;
  }

  .priceFlex .sUL01 li,
  .priceFlex .sUL02 li {
    font-size: 1.5rem;
  }
	
	.priceFlex dt .planName {
	  font-size: 2.5rem;
	}
	.priceFlex .sDL02 dt .planNum {
		font-size: 2.8rem;
	}
	.priceFlex .sDL02 dt .planName {
		font-size: 3rem;
	}
	.priceFlex .sDL02 .sD01 {
		font-size: 3rem;
	}
	.priceFlex dt {
		padding: 1.5rem 1rem;
	}
	.priceFlex .sD01 {
		padding: 1rem;
	}
	.priceFlex .sUL01, .priceFlex .sUL02 {
		margin: 0;
		padding-bottom: 1.5rem;
	}
}


/* -------------------------
   Flow（導入の流れ）
------------------------- */
section.flow {
	padding-bottom: 10rem;
}
.flow .inner {
	margin-top: 3rem;
}

.flow .listUl {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow .listUl li {
  margin: 0;
  padding: 0;
}

.flow .flowBox {
  display: flex;
  align-items: flex-start;
  background: #f2f5f7;
  border-radius: 8px;
  padding: 2rem 3rem;
  position: relative;
  gap: 0 2rem;
}

.flow .step {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 250px;
  position: relative; /* 擬似要素の基準 */
}

.flow .flowBox::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  background: #333;
  width: 1px;
  left: unset;
  right: 0;
  transform: translateX(50%); /* .stepの右端基準 */
}

.flow .step::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1rem; /* ← 適度に余白をとって調整 */
  width: 1px;
  background: #333;
}

.flow .num {
  width: 5rem;
  height: 5rem;
  background: #5AA9E6;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 5rem;
  flex-shrink: 0;
}

.flow .title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  flex-shrink: 0;
}

.flow .textBox {
  padding-left: 2rem;
  flex: 1;
}

.flow .textBox p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 0.8rem;
}

/* -------------------------
   SP対応
------------------------- */
@media screen and (max-width: 767px) {
	section.flow {
		padding-top: 2.5rem;
		padding-bottom: 6rem;
	}
  .flow .flowBox {
    flex-direction: column;
    gap: 0 1rem;
    padding: 0.5rem 2rem 2rem 2.5rem;
  }

  .flow .flowBox::before {
    display: none;
  }
	
  .flow .step::after {
    display: none; /* スマホでは縦線を非表示に */
  }

  .flow .step {
    flex-direction: row;
    align-items: center;
  }

  .flow .textBox {
    border-left: 2px solid #ccc;
    padding-left: 1.6rem;
    margin-left: 2rem;
  }

  .flow .num {
    width: 4.4rem;
    height: 4.4rem;
    line-height: 4.4rem;
    font-size: 1.6rem;
  }

  .flow .title {
    font-size: 2rem;
  }

  .flow .textBox p {
    font-size: 1.5rem;
    margin: 0;
  }
}

@media screen and (min-width: 768px) {/*PC*/
  .flow .textBox {
    align-self: center;
  }
  .flow .flowBox::before{ background: none; }
}




/* -------------------------
   Rinen
------------------------- */
/* 経営理念セクション */
/* 経営理念セクション：左寄せ対応 */
section.rinen {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.rinen h3 {
  font-size: 2.2rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 1.5rem;
  text-align: left; /* ← ここ修正 */
}

.rinen p {
  font-size: 1.6rem;
  color: #333;
  text-align: left; /* ← 中央から左へ修正 */
  margin-bottom: 1.6rem;
}

@media screen and (max-width: 767px) {
	section.rinen {
		padding-top: 2.5rem;
		padding-bottom: 6rem;
	}
}

/*PC*/
@media screen and (min-width: 768px) {
	
  .rinen {
    padding: 8rem 2rem;
  }

  .rinen h3 {
    font-size: 2.4rem;
  }

  .rinen p {
    line-height: 2.8rem;
  }
}


/* -------------------------
   Summary（会社概要）
------------------------- */

/* 全体レイアウト */
section.summary {
	padding-bottom: 8rem;
}
.summary .flexBox {
  display: flex;
  flex-direction: column;
  gap: 3rem;
	padding-top: 1rem;
}

.summary .leftBox,
.summary .mapBox {
  width: 100%;
}

/* 概要テーブル（社名、代表、住所など） */
.summary .txtDl {
  display: grid;
  grid-template-columns: 10rem 1fr; /* ← 固定幅にして空きを抑える */
  border-top: 1px solid #ccc;
  margin: 0;
}

/* 項目名（左） */
.summary .txtDl dt {
  font-weight: 700;
  color: #111;
  font-size: 1.6rem;
  line-height: 1.8;
  padding: 1.6rem 0;
  border-bottom: 1px solid #ccc;
  width: auto;
}

/* 内容（右） */
.summary .txtDl dd {
  margin: 0;
  color: #333;
  font-size: 1.6rem;
  line-height: 1.8;
  padding: 1.6rem 1.6rem 1.6rem 3rem;
  border-bottom: 1px solid #ccc;
}

/* 電話番号リンク */
.summary a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

/* Google Map埋め込み */
.summary .mapBox iframe {
  width: 100%;
  height: 300px;
  border: none;
  margin-bottom: 1rem;
}

/* 地図下の補足テキスト */
.summary .mapBox p {
  color: #333;
  margin: 0;
}

/* -------------------------
   Responsive（PC表示）
------------------------- */
@media screen and (min-width: 768px) {
  .summary .flexBox {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .summary .leftBox,
  .summary .mapBox {
    width: 48%;
  }

  .summary .mapBox iframe {
    height: 400px;
  }
}

/* -------------------------
   Responsive（SP表示）
------------------------- */
@media screen and (max-width: 767px) {
	
	section.summary {
		padding-top: 2.5rem;
		padding-bottom: 6rem;
	}
	
  .summary .flexBox {
    flex-direction: column;
  }

  .summary .txtDl {
    display: block;
  }

  .summary .txtDl dt {
    padding: 0.8rem 0 0 0;
    border-bottom: none;
  }

  .summary .txtDl dd {
    padding: 0 0 0.8rem 0;
  }

  .summary .leftBox,
  .summary .mapBox {
    width: 100%;
  }
}



/* -------------------------
   Contact
------------------------- */

section#contact { border-bottom: none; }
.comContactBox {
	padding: 10.5rem 0 0;
}
.comContactBox .tableBox {
	padding: 5rem 6rem;
	background-color: #f2f2f2;
}
.comContactBox .tableBox .headLine04 {
	margin-bottom: 2.6rem;
	font-size: 2.2rem;
}
.comContactBox .tableBox .headLine04.form-step2 {
	display: none;
}
.comContactBox .tableBox .noteUl {
	margin-bottom: 3.8rem;
	padding: 0;
}
.comContactBox .tableBox .noteUl li {
	padding-left: 1.5rem;
	color: #CC0000;
	text-indent: -1em;
	list-style: none;
}
.comContactBox .tableBox .noteText {
	margin: -0.3rem 0 3.7rem;
	padding: 1.1rem 2.3rem 0.9rem;
	color: #FFF;
	background-color: #DE0000;
	display: none;
}
.comContactBox .tableBox .wpcf7-not-valid-tip {
	margin: 1.1rem 0 0.8rem;
	padding-left: 1em;
	color: #DE0000;
	text-indent: -1em;
}
.comContactBox .tableBox table {
	margin-bottom: 4.7rem;
	width: 100%;
	border-collapse: collapse;
}
.comContactBox .tableBox th,
.comContactBox .tableBox td {
	padding: 2.3rem 0 1rem;
	text-align: left;
	vertical-align: top;
	box-sizing: border-box;
	word-break: break-all;
	border-bottom: 1px solid #CCC;
}
.comContactBox .tableBox tr:last-child th,
.comContactBox .tableBox tr:last-child td {
	border-bottom: none;
}
.comContactBox .tableBox th {
	width: 22.4%;
}
.comContactBox .tableBox th .sub {
	position: relative;
	display: block;
}
.comContactBox .tableBox th .sub .must {
	padding: 0.3rem;
	display: inline-block;
	position: absolute;
	top: -0.2rem;
	right: 0;
	width: 4.7rem;
	color: #FFF;
	font-size: 1.4rem;
	font-weight: normal;
	text-align: center;
	background-color: #CC0000;
}
.comContactBox .tableBox td {
	padding: 1.2rem 0 1.2rem 3.7rem;
}
.comContactBox .tableBox textarea,
.comContactBox .tableBox input[type="tel"],
.comContactBox .tableBox input[type="text"],
.comContactBox .tableBox input[type="email"] {
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    border-radius: 0.5rem;
    height: 4.6rem;
    border: 1px solid #DCDCDC;
    box-sizing: border-box;
    padding: 0 2rem;
    width: 48.2rem;
    letter-spacing: 0.05em;
	line-height: 2;
    background-color: #FFF;
}
.comContactBox .tableBox textarea {
	padding: 2rem;
	width: 100%;
	height: 18rem;
	resize: vertical;
}
.comContactBox input::-webkit-input-placeholder { color: #CCCCCC; opacity:1; }
.comContactBox input:-moz-placeholder { color: #CCCCCC; opacity:1; }
.comContactBox input::-moz-placeholder { color: #CCCCCC; opacity:1; }
.comContactBox input:-ms-input-placeholder { color: #CCCCCC; opacity:1; }
.comContactBox .tableBox td .text {
	margin: 0.5rem 0 2.5rem;
	letter-spacing: 0;
}
.comContactBox .tableBox .agree {
	margin-bottom: 3rem;
}
.comContactBox .tableBox .agree input[type="checkbox"] {
	display: none;
}
.comContactBox .tableBox .agree input[type="checkbox"] ~ span {
	padding: 0.5rem 0 0.5rem 3.4rem;
	cursor: pointer;
	letter-spacing: 0;
	font-weight: bold;
    font-size: 1.8rem;
	background: url(../images/common/icon13.png) no-repeat left center / 2.5rem;
}
.comContactBox .tableBox .agree input[type="checkbox"]:checked ~ span {
	background-image: url(../images/common/icon13_on.png);
}
.comContactBox .tableBox .scrollBox {
	padding: 1.5rem 3rem;
	height: 25rem;
	border: 1px solid #CCC;
	box-sizing: border-box;
	overflow-y: scroll;
}
.comContactBox .tableBox .scrollBox .ttl {
	margin-bottom: 1.6rem;
    font-size: 1.7rem;
    font-weight: 700;
}
.comContactBox .tableBox .scrollBox .txt {
	margin-bottom: 2rem;
	letter-spacing: 0;
}
.comContactBox .tableBox .submit {
	gap: 3rem;
	padding: 0;
}
.comContactBox .tableBox .submit li {
	margin: 0 auto;
	width: 41.4rem;
	list-style: none;
}
.comContactBox .tableBox .submit li input {
	padding: 0 9rem 0.2rem;
	appearance:none;
	width: 100%;
	height: 8.3rem;
	border-radius: 4.1rem;
	font-size: 2rem;
    font-weight: 700;
	text-align: center;
	cursor: pointer;
	letter-spacing: 0.05em;
	color: #FFF;
	border: none;
	background: #003150 url("../images/common/icon14.png") no-repeat right 2.9rem center / 3.8rem;
}
.comContactBox .wpcf7-list-item { margin-left: 0; }
.comContactBox  .wpcf7-spinner { margin: 1rem auto 0; display: block; }
.comContactBox .tableBox.confirm textarea,
.comContactBox .tableBox.confirm input[type="tel"],
.comContactBox .tableBox.confirm input[type="text"],
.comContactBox .tableBox.confirm input[type="email"] {
    background-color: #DCDCDC;
}
.comContactBox .tableBox.confirm textarea,
.comContactBox .tableBox.confirm input {
	cursor: default;
}
.comContactBox .tableBox.confirm input:-internal-autofill-selected {
    box-shadow: inset 0 0 0 100rem #DCDCDC !important;
}
.comContactBox .tableBox.confirm tr:nth-last-child(2) th,
.comContactBox .tableBox.confirm tr:nth-last-child(2) td {
	border-bottom: none;
}
.comContactBox .tableBox .submit li.back input {
	padding: 0 5.2rem 0.2rem 7.4rem;
	background: #003150 url("../images/common/icon14_back.png") no-repeat left 2.9rem center / 3.8rem;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output { display:none; }

/*#index.confirm , #index2.confirm , #index3.confirm { display: none; }*/

@media all and (min-width: 897px) {
	.comContactBox .tableBox .submit li input:hover {
		opacity: 0.7;
	}
}
@media all and (max-width: 896px) {
	.comContactBox {
		padding: 3.9rem 0 0;
	}
	.comContactBox .headLine01 {
		margin-bottom: 3.4rem;
	}
	.comContactBox .telBox {
		margin-bottom: 2.5rem;
		padding: 2.4rem;
		display: block;
		border-radius: 1rem;
		box-shadow : none;
	}
	.comContactBox .tableBox {
		padding: 2rem 3rem;
	}
	.comContactBox .tableBox .noteUl {
		margin-bottom: -0.5rem;
	}
	.comContactBox .tableBox .noteUl li {
		margin-bottom: 1rem;
	}
	.comContactBox .tableBox .noteUl li:last-child {
		margin-bottom: 0;
	}
	.comContactBox .tableBox .noteText {
		margin: 2rem 0;
		padding: 1.1rem 2rem 0.9rem;
	}
	.comContactBox .tableBox .wpcf7-not-valid-tip {
		margin: -0.2rem 0 0.7rem;
	}
	.comContactBox .tableBox table { margin-bottom: 2rem; }
	.comContactBox .tableBox th,
	.comContactBox .tableBox td {
		padding: 2.5rem 0 0;
		width: 100% !important;
		display: block;
		border-bottom: 1px solid #CCC;
	}
	.comContactBox .tableBox th {
		border-bottom: none;
	}
	.comContactBox .tableBox th .sub .must {
		padding: 0.3rem;
		top: -0.4rem;
		right: 0.3rem;
		width: 4rem;
	}
	.comContactBox .tableBox td {
		padding: 0.8rem 0 1.2rem;
	}
	.comContactBox .tableBox textarea,
	.comContactBox .tableBox input[type="tel"],
	.comContactBox .tableBox input[type="text"],
	.comContactBox .tableBox input[type="email"] {
		border-radius: 0.3rem;
		height: 3.3rem;
		padding: 0 1.5rem;
		width: 100%;
	}
	.comContactBox .tableBox textarea {
		padding: 1.5rem;
		height: 19.7rem;
	}
	.comContactBox .tableBox td .text {
		margin: 0.5rem 0 2.5rem;
	}
	.comContactBox .tableBox .agree input[type="checkbox"] ~ span {
		padding: 0.5rem 0 0.5rem 3rem;
		background: url("../images/common/icon13.png") no-repeat left center / 2rem;
	}
	.comContactBox .tableBox .scrollBox {
		padding: 0 2rem;
		height: 19rem;
	}
	.comContactBox .tableBox .scrollBox .ttl {
		margin-bottom: 1rem;
		font-size: 1.6rem;
	}
	.comContactBox .tableBox .scrollBox .txt {
		font-size: 1.4rem;
	}
	
	.comContactBox .tableBox .submit {
    display: flex;
    justify-content: center;
  }
  .comContactBox .tableBox .submit li {
    width: 100%;
  }
  .comContactBox .tableBox .submit li input {
	  padding: 0 4.25rem;
    width: 100%;
	  height: 7rem;
    text-align: center;
	  font-size: 1.8rem;
    background-position: right 1.6rem center; /* アイコンの位置も再調整 */
  }
	
}
@media screen and (max-width: 767px) {
	section.contact {
		padding-top: 2.5rem;
		padding-bottom: 6rem;
		padding-left: 2rem;
        padding-right: 2rem;
	}
	#thanks .textBox { text-align: left; }
	input,
	textarea,
	select {
		font-size: 1.6rem; /* 16px相当 */
	}
}


/* -------------------------
   Footer
------------------------- */
footer {
  padding: 2rem;
  text-align: center;
  font-size: 1.4rem;
}

footer .pageTop {
  margin-bottom: 1rem;
}

footer a {
  color: #009688;
}

address {
	font-style: normal;
	font-size: 1.4rem;
	font-weight: 500;
}


/* -------------------------
   pagetop
------------------------- */
/* 最初は非表示にしておく */
#gFooter .pageTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#gFooter .pageTop.on {
  opacity: 1;
  visibility: visible;
}

.pageTop a {
  display: block;
  width: 100%;
  height: 100%;
}

#gFooter .pageTop img {
  width: 60px;
  height: auto;
  display: block;
}

.pageTop:hover img {
  opacity: 0.7;
}


