@charset "UTF-8";

/*!
Theme Name: CARSHARE HACK
Description: Cocoonの子テーマ
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
.tagline + .logo-image {
  padding-top: 0;
}
.navi-in > ul li {
  width: 196px;
  border-left: 1px solid #649bb2;
}
.navi-in > ul li:last-of-type {
  border-right: 1px solid #649bb2;
}

/* サイドウィジェット ******************************/
#sidebar ul,
#sidebar-menu-content ul {
  list-style: none;
}
#sidebar a,
#sidebar-menu-content a {
  text-decoration: none;
}
.search-car-station {
	margin-bottom: 1em;
  background: url(images/bg_side_cs360_seach.png) no-repeat right top #393939;
  border-radius: 3px 3px 5px 5px / 3px 3px 5px 5px;
  -webkit-border-radius: 3px 3px 5px 5px / 3px 3px 5px 5px;
  -moz-border-radius: 3px 3px 5px 5px / 3px 3px 5px 5px;
  font-size: 85%;
}
.search-car-station h3,
.search-car-station p {
  padding: 10px 20px;
  margin: 0;
  background-color: rgba(0,0,0,0);
}
.search-car-station p {
  padding-top: 0;
  padding-bottom: 16px;
  color: #fff;
}
.search-car-station div {
  padding: 1em;
  background: url(images/bg_side_search_box.png) left top #ea6262;
  -webkit-border-radius: 0 0 3px 3px / 0 0 3px 3px;
  -moz-border-radius: 0 0 3px 3px / 0 0 3px 3px;
  border-radius: 0 0 3px 3px / 0 0 3px 3px;
  text-align: center;
}
.search-car-station input[type=text] {
  display: inline-block;
  vertical-align: top;
  width: 84%;
  height: 36px;
  -webkit-border-radius: 3px 0 0 3px / 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px / 3px 0 0 3px;
  border-radius: 3px 0 0 3px / 3px 0 0 3px;
  border-right: none;
  background-color: #fff;
  font-size: 95%;
}
.search-car-station a {
  vertical-align: top;
}
.search-car-station a span {
  display: inline-block;
  padding: 8px 0 9px;
  width: 12%;
  -webkit-border-radius: 0 3px 3px 0 / 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0 / 0 3px 3px 0;
  border-radius: 0 3px 3px 0 / 0 3px 3px 0;
  border-right: solid 1px #ccc;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  background: -moz-linear-gradient(top, #a5a2a2, #696666);
  background: -webkit-gradient(linear, left top, left bottom, from(#a5a2a2), to(#696666));
  background: -ms-linear-gradient(top, #a5a2a2, #696666);
  background: linear-gradient(to bottom, #a5a2a2, #696666);
  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffa5a2a2,EndColorStr=#ff696666);
  text-align: center;
  font-size: 17px;
  color: #fff;
}
.search-car-station div:after {
  content: "";
  display: block;
  clear: both;
}
.side_companylink ul {
  padding: 0;
  border: solid 1px #b9cdd5;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}
.side_companylink li {
  margin-bottom: 0;
  border-bottom: none;
}
.side_companylink a {
  display: block;
  padding: 10px;
  color: #333;
  font-size: 12px;
}
.side_companylink a:hover {
  text-decoration: none;
}
.side_companylink span {
  display: inline-block;
  width: 43%;
  text-align: center;
  vertical-align: middle;
}
.side_companylink span + span {
  width: 50%;
  margin-left: 10px;
  text-align: left;
}
.side_companylink li.last {
  background: #498aa4;
}
.side_companylink li.last div {
  display: block;
  float: left;
  width: 50%;
}
.side_companylink li.last a {
  border-left: solid 1px #649bb2;
  text-align: center;
  color: #fff;
}
.side_companylink li.last div:first-child a {
  border-left: none;
}
.side_companylink li.last a:hover {
  background: #649bb2;
}
.side_companylink li.last:after {
  content: "";
  display: block;
  clear: both;
}
.side_companylink li:not(:last-of-type) {
  border-bottom: solid 1px #b9cdd5;
}
.side_txtlink ul {
  padding: 0;
  border: solid 1px #649bb2;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}
.side_txtlink li {
  margin-bottom: 0;
  border-bottom: solid 1px #649bb2;
}
.side_txtlink li.last {
  border-bottom: none;
}
.side_txtlink a {
  display: block;
  padding: 8px 12px;
  font-size: 85%;
  color: #498aa4;
}
.side_txtlink a:hover {
  background: #649bb2;
  text-decoration: none;
  color: #fff;
}
.ctx-siderail-default .ctx-link {
  margin-bottom: 10px !important;
  padding-bottom: 10px;
  border-bottom: solid 1px #eee;
}
.ctx-siderail-default .ctx-link-image {
  width: 25%;
  float: left;
  padding-bottom: 0 !important;
  overflow: hidden;
}
.ctx-siderail .ctx-link-image img {
  width: 196%;
  height: auto;
  max-width: inherit !important;
  margin-left: -50% !important;
}
.ctx-siderail-default .ctx-link-title {
  width: 74%;
  margin: 0;
  float: right;
}
.ctx-siderail-default .ctx-link-title p {
  text-align: left !important;
  color: #000;
  font-size: 14px !important;
  font-family: inherit !important;
}
.ctx-siderail .ctx-sr-title p {
  margin: 0 !important;
}
.ctx-siderail {
  border-width: 0 !important;
}
.ctx-siderail-default .ctx-sr-title p {
  margin-bottom: 10px;
  text-align: left !important;
  color: #333;
  font-size: 20px;
  font-family: inherit !important;
}


/* footer */
.footer {
  padding: 0;
}
#footer .search-car-station {
	margin-bottom: 0;
  background: url(images/bg_footer_search.gif) no-repeat 45% top #393939;
  color: #fff;
}
#footer .search-car-station ul {
  display: table;
  width: 990px;
  margin: 0 auto;
  padding: 0;
}
#footer .search-car-station li {
  display: table-cell;
  vertical-align: middle;
}
#footer .search-car-station li.s {
  width: 35%;
}
#footer .search-car-station li h4 {
  margin-top: 2em;
  margin-bottom: 10px;
}
#footer .search-car-station li p {
  margin: 0 0 2em;
  padding: 0;
}
#footer .search-car-station li.s > div {
  padding: 1em;
  background: url(images/bg_footer_search_box.png) left top;
  text-align: center;
}
#footer .search-car-station li.s input[type=text] {
  width: 80%;
  height: 36px;
  -webkit-border-radius: 3px 0 0 3px / 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px / 3px 0 0 3px;
  border-radius: 3px 0 0 3px / 3px 0 0 3px;
  border-right: none;
  font-size: 95%;
}
#footer .search-car-station li.s a {
  vertical-align: top;
}
#footer .search-car-station li.s a span {
  display: inline-block;
  padding: 8px 0 9px;
  width: 10%;
  -webkit-border-radius: 0 3px 3px 0 / 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0 / 0 3px 3px 0;
  border-radius: 0 3px 3px 0 / 0 3px 3px 0;
  border-right: solid 1px #ccc;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  background: -moz-linear-gradient(top, #a5a2a2, #696666);
  background: -webkit-gradient(linear, left top, left bottom, from(#a5a2a2), to(#696666));
  background: -ms-linear-gradient(top, #a5a2a2, #696666);
  background: linear-gradient(to bottom, #a5a2a2, #696666);
  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffa5a2a2,EndColorStr=#ff696666);
  text-align: center;
  font-size: 17px;
}
#footer .search-car-station ul:after {
  content: "";
  display: block;
  clear: both;
}
#footer #cs360-area {
  padding: 2.5em 0;
  background: url(images/bg_cs360.jpg) no-repeat 66% bottom #fff;
}
#footer #cs360-area ul {
  display: table;
  width: 990px;
  margin: 0 auto;
  padding: 0;
}
#footer #cs360-area li {
  display: table-cell;
  vertical-align: middle;
}
#footer #cs360-area li img {
  display: block;
  margin-bottom: 10px;
}
#footer #cs360-area li em {
  display: inline-block;
  background: url(images/bg_cs360_phrase.gif) repeat-x left 6px;
  color: #000;
}
#footer #cs360-area li a {
  display: block;
  padding: 10px 2em;
  background: #1a4a76;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: opacity .3s ease;
}
#footer #cs360-area li a:hover {
  text-decoration: none;
  filter:alpha(opacity=80);
  -moz-opacity: 0.8;
  opacity: 0.8;
}
#footer #cs360-area li a:after {
  content: "\f105";
  margin-left: 10px;
  font-size: 120%;
}
.navi-footer-in > .menu-footer li:first-child {
  border-left: none;
}
.navi-footer-in > .menu-footer li:last-child {
  border-right: none;
}
.navi-footer-in a {
  line-height: 1;
  font-size: 80%;
}
.copyright {
  font-size: 80%;
}

/* 投稿ページ下のキャンペーン枠 */
#campaign_box h2 {
  margin-bottom: 0;
  padding: 10px;
  background-color: #71b6d3;
  color: #fff;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  text-align: center;
  font-size: 18px;
}
#campaign_box ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 2em 2em .5em;
  list-style: none;
  background: #eff6f9;
}
#campaign_box ul li {
  width: 48%;
  height: auto;
  padding-bottom: 1.5em;
  margin-left: 4%;
}
#campaign_box ul li:nth-child(2n+1) {
  margin-left: 0;
}
#campaign_box ul li .bnr {
  margin: 0 0 .5em;
}
#campaign_box ul li .ico {
  margin: 0;
  text-align: center;
}
#campaign_box ul li .txt {
  margin: 0;
  font-size: 73%;
}
#campaign_box ul li a {
  display: block;
  text-decoration: none;
  color: #666666;
  transition: opacity .3s ease;
}
#campaign_box ul li a:hover {
  opacity: .8;
}
#campaign_box ul li img {
  display: block;
  margin: auto;
}

/* トップページ ****************************/
/* おすすめ3記事 */
#widget-toppage {
}
.widget-toppage-title {
  display: none;
}
.widget-toppage.cat-post-widget {
  margin: 0 auto;
}
.widget-toppage ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
.widget-toppage .cat-post-item {
    position: relative;
    width: 32.2%;
    display: block;
    border-bottom: none;
    margin: 0 0 0 1.7%;
    padding: 0;
}
.widget-toppage li.cat-post-item:first-child {
  margin-left: 0;
}
.widget-toppage .cat-post-item a {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
  font-weight: bold;
  color: #111;
  transition: opacity .3s ease;
}
.widget-toppage .cat-post-item a:hover {
  opacity: .7;
}
.widget-toppage .cat-post-title {
  position: absolute;
  bottom: 0;
  display: block;
  padding: 1em;
  width: 100%;
  background-color: rgb(255,255,255,.85);
  min-height: 78px;
  font-size: 16px;
}
.widget-toppage .cat-post-thumbnail {
  display: block;
  overflow: hidden;
}
.widget-toppage .cat-post-thumbnail img {
  display: block;
}

/* 投稿 ****************************/
.article h2 {
  background: #eff6f9;
}


.cs360_link_box {
  padding: 2em 0;
  background-color: #f0f6fb;
  border-top: solid 2px #2951a2;
  border-bottom: solid 2px #2951a2;
  text-align: center;
  font-weight: bold;
}
.cs360_link_box p {
  margin: 0;
  font-size: 112.5%;
  color: #2951a2;
}
.cs360_link_box a {
  display: block;
  width: 93%;
  margin: 1em auto 0;
  padding: 1em 1.9em;
  box-sizing: border-box;
  background-color: #fc6e7a;
  text-decoration: none;
  color: #fff;
  transition: opacity .3s ease;
}
.cs360_link_box a:hover {
  text-decoration: none;
  opacity: .7;
}

.cs360_link_box2 {
  margin-bottom: 3em;
  text-align: center;
}
.cs360_link_box2 a {
  position: relative;
  display: inline-block;
  width: 70%;
  padding: 1.5em 3em 1.3em 1.5em;
  box-sizing: border-box;
  background: url(data:image/svg+xml,%3csvg%20xmlns%3d%22http%3a%2f%2fwww%2ew3%2eorg%2f2000%2fsvg%22%20version%3d%221%2e1%22%20viewBox%3d%220%200%2028%2040%22%3e%3cpath%20xmlns%3d%22http%3a%2f%2fwww%2ew3%2eorg%2f2000%2fsvg%22%20d%3d%22M%2028%2040%20L%200%2040%20L%2028%200%20z%22%20fill%3d%22%23f57157%22%2f%3e%3c%2fsvg%3e) no-repeat 101% bottom #f34d2d;
  background-size: contain;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  font-size: 21px;
  font-weight: bold;
  color: #fff;
  transition: opacity .3s ease;
}
.cs360_link_box2 a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1em;
  display: block;
  width: 1.4em;
  height: 1.4em;
  margin: auto;
  background-color: #fff;
  border-radius: 50%;
}
.cs360_link_box2 a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.5em;
  display: block;
  width: 5px;
  height: 8px;
  margin: auto;
  background: url(data:image/svg+xml,%3csvg%20xmlns%3d%22http%3a%2f%2fwww%2ew3%2eorg%2f2000%2fsvg%22%20version%3d%221%2e1%22%20viewBox%3d%220%200%2025%2040%22%3e%3cpath%20d%3d%22M%200%200%20L%200%2040%20L%2025%2020%20z%22%20fill%3d%22%23f34d2d%22%20%2f%3e%3c%2fsvg%3e) no-repeat center;
}
.cs360_link_box2 a:hover {
  text-decoration: none;
  opacity: .7;
}
.cs360_link_box2 a .campaign {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  padding: .35em .5em;
  background-color: #f1ef30;
  line-height: 1;
  font-size: 50%;
  color: #000;
}
.cs360_link_box2 .notes {
  margin: .5em 0 0;
  font-size: 80%;
}
.cs360_link_box2 .badge {
  background-color: #fff;
}
.cs360_link_box2 .badge a {
  padding: 1em 1em .7em;
  width: 72%;
  background: #f34d2d;
  text-align: center;
}
.cs360_link_box2 .badge a::before,
.cs360_link_box2 .badge a::after {
  content: none;
}
.cs360_link_box2 .badge a .btnimg {
  display: inline-block;
  margin: 0 .5em;
  line-height: 1;
}
.cs360_link_box2 .badge a .btnimg img {
  display: inline-block;
  width: auto;
  height: 40px;
}
.cs360_link_box2 .badge a .btntxt {
  display: block;
  margin-top: .3em;
}

/* 投稿ページ下 カテゴリリンク */
.widget-below-related-entries-title {
  margin: 0 0 .5em;
  font-weight: bold;
}
.widget-below-related-entries.widget_nav_menu {
  padding: 1.5em;
  background-color: #eff6f9;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}
#menu-post-footer-category {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
}
#menu-post-footer-category li {
  display: block;
  width: 49.3%;
  min-height: auto;
  list-style: none;
  border-bottom: none;
}
#menu-post-footer-category li:not(:last-of-type):not(:nth-last-of-type(2)) {
  margin-bottom: .5em;
}
#menu-post-footer-category li a {
  display: block;
  padding: 1em;
  margin: 1px;
  background: #fff;
  color: #333;
  text-align: center;
}
#menu-post-footer-category li a:hover {
  background-color: #649bb2;
  text-decoration: none;
  color: #fff;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .mobile-header-menu-buttons {
    max-width: 100vw;
    background-color: #3e7f9a;
    color: #fff;
  }
  .logo-menu-button img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
	#footer .search-car-station,
	#footer #cs360-area {
	  padding: 1em;
	}
	#footer .search-car-station ul,
	#footer .search-car-station li,
	#footer #cs360-area ul,
	#footer #cs360-area li {
	  display: block;
	  width: 100%;
	  margin: 0;
	  padding: 0;
	}
	#footer .search-car-station li.s {
	  width: 100%;
	}
	#footer .search-car-station li h4 {
	  margin-top: 0;
	}
	#footer .search-car-station li p {
	  margin-bottom: 1em;
	}
	#footer #cs360-area li em {
	  margin-bottom: 1em;
	}
  .cs360_link_box2 a {
      width: 82vw;
  }
  .cs360_link_box2 .badge a .btnimg img {
      height: 10vw;
  }
  .widget-below-related-entries.widget_nav_menu {
    padding: 1em;
  }
  .widget-below-related-entries-title {
  }
  #menu-post-footer-category li {
    width: 48.8%;
  }
  #menu-post-footer-category li a {
    padding: .6em;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){

  .widget-toppage ul {
    flex-wrap: wrap;
  }
  .widget-toppage .cat-post-item {
    margin: 0;
    background-color: #fff;
  }
  .widget-toppage .cat-post-item:first-child {
    width: 100%;
    margin: 0 0 .5em;
  }
  .widget-toppage .cat-post-item:not(:first-child) {
    width: 49%;
  }
  .widget-toppage .cat-post-title {
    position: relative;
  }
  .navi-footer-in a {
    line-height: 1.8;
  }
  .navi-footer-in > .menu-footer li.menu-item a {
    padding: .5em;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  #campaign_box ul {
    padding: 10px;
  }
  #campaign_box ul li {
    width: 100%;
    height: auto;
    float: none;
    clear: both;
    margin: 0 15px 10px 0;
  }
  #campaign_box ul li {
    display: block;
    min-height: 1%;
  }
  #campaign_box ul li:after {
    clear: both;
    content:".";
    display: block;
    height: 0;
    visibility: hidden;
  }
  * html #campaign_box ul li {
    height: 1%;
    /*\*//*/
    height: auto;
    overflow: hidden;
    /**/
  }
  #campaign_box ul li .ico {
    margin-bottom: 5px;
    text-align: left;
  }
  #campaign_box ul li .ico img {
    width: auto;
    height: 14px;
  }
  #campaign_box ul li .bnr {
    margin: 0 15px 0 0;
    float: left;
  }
  #campaign_box ul li .bnr img {
    width: 90px;
    height: auto;
  }
  #campaign_box ul li .txt {
    /*margin: 0 15px 0 0;*/
    line-height: 1.4;
    font-size: 85%;
  }
  #campaign_box ul li .txt a {
    color: #666666;
  }

}


/* Cocoon AMP用 */
.amp .logo-image span,
.amp .logo-image a {
  max-width: 96%;
}
.amp .sidebar aside:nth-of-type(2),
.amp .sidebar aside:nth-of-type(3) {
  display: none;
}
.amp #footer #cs360-area li img {
  margin-bottom: 0;
}
.amp #footer .search-car-station {
  display: none;
}

/*
.amp aside .search-car-station {
  display: none;
}
.amp .side_companylink span img {
  width: auto;
  min-width: inherit;
  height: auto;
  min-height: inherit;
}
*/

/* 2024.5.29 update */
table thead th {
  background-color: #7f97c7;
  line-height: 1.4;
  color: #fff;
}
table thead th a {
  color: #fff;
}
table thead th a:hover {
  opacity: .8;
  color: inherit;
}

/* 2024.6.7 update */
.bc-brand-color.sns-share .x-corp-button,
.bc-brand-color.sns-follow .x-corp-button,
.x-corp-button {
  background-color: #000 !important;
}
.icon-x-corp:before {
  content: "\e917";
}

/* 2024.10.23 */
.eye-catch-movie {
  width: 100%;
}
.eye-catch-movie .video-container {
  max-width: inherit;
  margin: 0;
}
.eye-catch-movie .video-container .video {
  margin-top: 0;
}

/* -----------------------------
2024.10-11 upload
--------------------------------*/
/* modal window */
.modal {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 100001;
  -webkit-backdrop-filter: blur(.25em);
  backdrop-filter: blur(.25em);
}
.modal-overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,.5);
}
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 50vh;
  max-height: 80vh;
  overflow-y: scroll;
  transform: translate(-50%,-50%);
  padding: 1.5em;
  background: #fff;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .modal-content {
    width: 87%;
  }
}
@media screen and (min-width: 768px), print {
  .modal-overlay {
    cursor: pointer;
  }
  .modal-content {
    width: 60%;
    min-width: 600px;
    font-size: 14px;
  }
  .btn-modal-open {
    transition: opacity .3s ease;
    cursor: pointer;
  }
  .btn-modal-open:hover {
    opacity: .8;
  }
}

/* diagnosis */
.start-btn-diagnosis {
  position: relative;
  display: block;
  padding: .69em 1em;
  box-sizing: border-box;
  background-color: #fff;
  border: solid 3px #2951a2;
  color: #2951a2;
  z-index: 1;
}
.start-btn-diagnosis::before,
.start-btn-diagnosis::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  margin: auto;
  z-index: -1;
}
.start-btn-diagnosis::before {
  left: -3px;
  background: url(/common/img/diagnosis_pt.svg) no-repeat center #f67474;
  background-size: 58%;
}
.start-btn-diagnosis::after {
  right: .5em;
  background: url(/common/img/diagnosis_bg_start_notra.svg) no-repeat center;
  background-size: contain;
}
.start-btn-diagnosis b {
  display: block;
  font-weight: bold;
  color: #000;
}

.diagnosis-box.modal-content {
  padding: 4em 3em 3em;
  overflow: hidden;
}
.diagnosis-box {
  display: none;
  line-height: 1.6;
}
.diagnosis-box::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  margin: auto;
  border: solid 1em #2951a2;
  width: auto;
  font-size: inherit;
}
.diagnosis-box.start {
  display: block;
  background: url(/common/img/diagnosis_bg_start.svg) no-repeat right 10% #fff;
  background-size: 40% auto;
  text-align: center;
}
/*.diagnosis-box.result,*/
.content-diagnosis-box.result {
  position: relative;
  z-index: 1;
  background: url(/common/img/diagnosis_bg_result.svg) no-repeat center -.3em #fff;
  background-size: 60% auto;
}
.content-diagnosis-box.question {
  margin-bottom: 0;
}
.diagnosis-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  margin: auto;
  width: 3.5em;
  height: 3.5em;
  background: url(/common/img/diagnosis_pt.svg) no-repeat center #f67474;
  background-size: 58%;
}
.diagnosis-box.question {
  background-color: #224489;
  text-align: center;
  color: #fff;
  margin-bottom: 0;
}
.diagnosis-box.question::after {
  background: #04163a;
}
.num-diagnosis-box {
  position: absolute;
  top: .2em;
  left: 0;
  right: 0;
  display: block;
  width: 2em;
  margin: auto;
  z-index: 2;
  text-align: center;
  /*font-family: Raleway;*/
  font-style: italic;
}
.diagnosis-box em {
  background: linear-gradient(transparent 50%, #fbfaa8 0%);
}
.ttl-diagnosis,
h2.ttl-diagnosis,
h3.ttl-diagnosis {
  margin-bottom: .5em;
  text-align: center;
  margin-top: 0;
  padding: 0;
  background: none;
  border: none;
  line-height: inherit;
}
.ttl-diagnosis.start {
  margin-bottom: .25em !important;
}
.ttl-diagnosis.result {
  padding-bottom: .5em !important;
  border-bottom: solid 1px #ccc;
}
.subttl-diagnosis,
h3.subttl-diagnosis {
  margin-bottom: .5em;
  color: #2951a2;
  margin-top: 0;
  padding: 0;
  border: none;
  line-height: inherit;
}
.txt-diagnosis.question {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.content-diagnosis-box.question,
.txt-diagnosis.question,
.footer-diagnosis-box.question {
  padding: 0;
  margin-bottom: 0;
  background-color: rgba(255,255,255,0);
  border: none;
  border-radius: 0;
}
.content-diagnosis-box.question::before,
.txt-diagnosis.question::before,
.footer-diagnosis-box.question::before {
  content: none;
}
.txt-diagnosis p {
  margin-bottom: 0;
  line-height: 1.6;
}
.txt-diagnosis.result p {
  margin-bottom: 1em;
}
.list-diagnosis li {
  margin: 0 0 .5em 0 !important;
}
.footer-diagnosis-box {
  margin-top: 2em;
}
.footer-diagnosis-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-diagnosis {
  position: relative;
  background-color: #224489;
  white-space: nowrap;
  color: #fff;
  cursor: pointer;
  border: none;
}
.btn-diagnosis:not(.yes):not(.no) {
  transition: color .3s ease;
}
.btn-diagnosis:not(.yes):not(.no):hover {
  color: #f1ef30;
}
.btn-diagnosis.start {
  font-weight: bold;
}
.btn-diagnosis.yes,
.btn-diagnosis.no {
  font-family: Oswald;
  transition: background-color .5s ease;
}
.btn-diagnosis.yes {
  background-color: #60b781;
}
.btn-diagnosis.no {
  background-color: #f67474;
}
.link-diagnosis {
  display: inline-block;
  padding: 0 .5em;
  background-color: #333;
  text-decoration: underline;
  font-weight: bold;
  color: #fff;
}
.list-diagnosis {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .start-btn-diagnosis {
    padding: 3.92vw 0 3.92vw 15vw;
    font-size: 3.3333vw;
  }
  .start-btn-diagnosis::before {
    width: 7.695vw;
    height: 7.695vw;
  }
  .start-btn-diagnosis::after {
    width: 16vw;
    height: 16vw;
  }
  .start-btn-diagnosis b {
    font-size: 4.10257vw;
  }
  .diagnosis-box.modal-content {
    max-height: 86vh;
    padding: 3.5em 2em 2em;
  }
  .content-diagnosis-box {
    position: relative;
    overflow-y: scroll;
    max-height: 60vh;
  }
  .content-diagnosis-box .pc {
    display: none;
  }
  .num-diagnosis-box {
    font-size: 6vw;
  }
  .ttl-diagnosis {
    font-size: 6.4vw !important;
  }
  .ttl-diagnosis.start {
    font-size: 7vw !important;
  }
  .subttl-diagnosis {
    font-size: 128% !important;
  }
  .subttl-diagnosis.start {
    font-size: 4vw !important;
  }
  .txt-diagnosis.question {
    height: 22vh;
    font-size: 4.8vw;
  }
  .btn-diagnosis {
    height: 12vw;
    padding: 0;
    margin: 0 .2em;
    width: 50%;
    font-size: 100%;
  }
  .btn-diagnosis.start {
    font-size: 100%;
  }
  .btn-diagnosis.yes,
  .btn-diagnosis.no {
    font-size: 4.5vw;
  }
  .btn-diagnosis.start,
  .btn-diagnosis.yes,
  .btn-diagnosis.no {
    width: 46%;
  }
  .footer-diagnosis-box.result {
    justify-content: space-between;
    margin-top: 1em;
  }
  .footer-diagnosis-box.result .btn-diagnosis {
    margin: 0;
    width: 49%;
  }
  .posts-diagnosis-open {
    max-width: 86%;
    margin: auto;
    line-height: 1.5;
  }
  .posts-diagnosis-open .start-btn-diagnosis {
    padding: 3vw 0 3vw 12vw;
  }
  .posts-diagnosis-open .start-btn-diagnosis::after {
    right: 0;
    width: 12vw;
    height: 12vw;
  }
  .posts-diagnosis-open .start-btn-diagnosis b {
    font-size: 4.5vw;
  }
}
/* 縦向き（ポートレート） */
@media screen and (max-width: 767px) and (orientation: portrait) {
  .content-diagnosis-box {
    max-height: 74vh;
  }
}
/* 横向き（ランドスケープ） */
@media screen and (max-width: 767px) and (orientation: landscape) {
  .content-diagnosis-box {
    max-height: 48vh;
  }
}
@media screen and (min-width: 768px), print {
  .start-btn-diagnosis {
    text-align: center;
    font-size: 13px;
  }
  .start-btn-diagnosis::before {
    width: 30px;
    height: 30px;
  }
  .start-btn-diagnosis::after {
    width: 48px;
    height: 60px;
  }
  .start-btn-diagnosis b {
    font-size: 16px;
  }
  .diagnosis-box.modal-content {
    padding: 3.5em 2.75em 3em;
    width: 600px;
    min-height: 400px;
    overflow: hidden;
  }
  .diagnosis-box.start {
    background-position: right 58%;
    background-size: auto 78%;
  }
  .content-diagnosis-box {
    font-size: 14px;
  }
  .content-diagnosis-box.result {
    background-size: 50%;
  }
  .content-diagnosis-box .sp {
    display: none;
  }
  .num-diagnosis-box {
    font-size: 1.715em;
  }
  .ttl-diagnosis {
    margin-bottom: .75em !important;
    font-size: 30px !important;
  }
  .ttl-diagnosis.start {
    font-size: 45px !important;
  }
  .ttl-diagnosis.result {
    padding-bottom: .75em !important;
  }
  .subttl-diagnosis {
    font-size: 128% !important;
  }
  .subttl-diagnosis.start {
    font-size: 114% !important;
  }
  .txt-diagnosis.question {
    height: 160px;
    font-size: 1.715em;
  }
  .btn-diagnosis {
    height: 50px;
    padding: 0 2.5em;
    margin: 0 .5em;
  }
  .btn-diagnosis.start {
    font-size: 114%;
  }
  .btn-diagnosis.yes,
  .btn-diagnosis.no {
    font-size: 1.5em;
  }
  .btn-diagnosis.start,
  .btn-diagnosis.yes,
  .btn-diagnosis.no {
    width: 150px;
  }
  .posts-diagnosis-open {
    max-width: 420px;
    margin: auto;
    line-height: 1.5;
  }
  .posts-diagnosis-open .start-btn-diagnosis b {
    font-size: 20px;
  }
}

/* 2026.11.13 update */
.search-car-station a {
  display: block;
  padding: 1em;
}