@charset "UTF-8";
header{
  position:relative;
  padding:0;
  background:#fff;
  border-bottom:1px solid #E0E0E0;
  z-index:20;
}
#header{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:640px;
  height:70px;
  margin:0 auto;
  padding-top:0;
  padding-left:0;
  padding-bottom:0;
  top:0;
  background:#fff;
}
div#logo{
  width:200px;
  margin-top:0;
  margin-left:0;
  margin-bottom:0;
  padding:0;
}
div#logo img{
  display:inline-block;
  vertical-align: bottom;
}

#header div.reservation-btn a{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  font-size:14px;
  line-height:1;
  letter-spacing:0.25pt;
  text-decoration:none;
  width:200px;
  height:45px;
  background:#DB1A1A;
  border-radius:25px;
  padding-left:30px;
  transition:0.3s ease;
  z-index:0;
  overflow:hidden;
}

#header div.reservation-btn a::after{
  position:absolute;
  content:"";
  display:inline-block;
  width:20px;
  height:18.28px;
  top:50%;
  left:30px;
  transform:translateY(-50%);
  background:url(../img/icon/reservation_i.svg) center/contain no-repeat;
}

#header div.reservation-btn a::before {
  background: #E92B66;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform-origin: right top;
  transform: scale3d(0, 1,1);
  transition: transform 0.3s;
  z-index:-1;
}

#header div.reservation-btn a:hover::before{
  transform-origin: left top;
  transform:scale3d(1,1,1);
}

/*
footer{
  padding:15px;
  margin:0 auto;
  background:#0068B7;
}
footer #copyright{
  color:#fff;
  font-size:14px;
  line-height:1;
  font-weight:500;
  text-align:center;
}
*/

@media screen and (max-width:834px){

#header{
  height:50px;
  padding-right:60px;
}
div#logo{width:150px;}

div#head-point p{
	font-size:10px;
	letter-spacing:0.5pt;
}

}


@media screen and (max-width:640px){


}

@media screen and (max-width:480px){

#header{height:50px}
div#logo{width:150px;} 

#header div.reservation-btn a{
  font-size:12px;
  font-weight:600;
  letter-spacing:0;
  width:150px;
  height:30px;
  border-radius:15px;
  padding:0 5px 0 0;
}
#header div.reservation-btn a::after{
  right:15px;
  left:auto;
  transform:translateY(-50%) rotate(45deg);
  margin-top:1px;
  width:6px;
  height:6px;
  border-top:1px solid #fff;
  border-right:1px solid #fff;
  background:none;
}

footer #copyright{font-size:12px;}

}

/* 以下に記述してください */

div.column-type {
  align-items: center;
}
div.contract-wrap input[name="start_date"] {
  font-size: 16px;
  display: inline-block;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
  padding: 12px;
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
  border: none;
  color: #273343;
  background: #fff;
  border: 1px solid #e0e0e0;
}

div.contract-wrap button.sub-btn {
  position: relative;
}
.hide-area,
div.contract-wrap span.mail_comp {
  display: none;
}
form .check-error {
  border: 2px solid #f00 !important;
  outline: none;
}
#error-modal {
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,.3);
}
#error-modal .inner {
  position: relative;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 50%;
  width: 90%;
  max-height: 250px;
  max-width: 500px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  font-size: 16px;
  text-align: center;
}
#error-modal .caption {
  display: block;
  margin-bottom: 20px;
  padding: 5px;
  font-weight: bold;
  font-size: 18px;
  border-bottom: 1px solid #eee;
}
#error-modal .body>span:first-child {
  display: block;
  color: #E92B66;
}
#error-modal .body>span:last-child {
  display: block;
}
#error-modal .body button {
  display: inline-block;
  margin: 20px auto;
  padding: 5px;
  width: 240px;
  background: #fff;
  border: 1px solid #f00;
  border-radius: 5px;
  color: #f00;
  cursor: pointer;
}
div.column-type {
  flex-wrap: wrap;
}
span.error-msg {
  display: block;
  color: #f00;
}
#contract-form label.soldout,
.contract-box label.soldout {
  display: none!important;
}

div.contract-box label.campaign.nored span.gb,
div.contract-box label.campaign.nored span.fee {
 font-size: clamp(14px, 2.083vw, 16px);
 color:#111;
}
div.contract-wrap select[name="pref"],div.contract-wrap input[name="municipalities"] { background-color:#e9ecef;color:#6c757d;opacity:.7; }

/* ------------------------------------------------------------------
   お知らせの未読 / お送りしたメールの控え (メール運用 改善 Phase 4-2 / 4-3)
   既存の .news-list の見た目は変えず、印と本文表示だけを足す。
   ------------------------------------------------------------------ */

/* 未読の印。色だけに頼らず「未読」という文字を出す
   (色が見分けにくい方にも伝わるようにするため) */
.news-list .news-new,
.news-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 10px;
  background: #d7443e;
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  vertical-align: middle;
}

.news-badge {
  margin-left: 12px;
}

/* ------------------------------------------------------------------
   ここにあった「お送りしたメールの控え」と「ご利用の推移」の装飾は、
   ページ単位の自己完結CSSへ移しました(会員UI改修)。
     - お送りしたメール … /css/mail-history.css
     - ご利用の推移     … /css/usage-history.css
   読み込みは web/app/(member)/layout.tsx で行っています。
   ------------------------------------------------------------------ */
