/*
Theme Name: 向原町会
Theme URI: https://www.mukaibara.net
Description: 向原町会のホームページのテーマです。
Version: 1.0
Author: MUKAIBARA
Author URI: https://www.mukaibara.net
*/


body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #27100d;
}

.wrap {
  overflow: hidden;
}

a,
a:hover,
a:hover:hover {
  text-decoration: none !important;
  color: #27100d;
}

a:hover {
  opacity: .6;
  transition: .3s;
}

#header {
  width: 100%;
  box-sizing: border-box;
  height: 74px;
  position: fixed;
  top: -1px;
  right: 0;
  left: 0;
  margin: auto;
  background: #cd000a;
/*  padding: 0 1rem;*/
  z-index: 20;
}

.logo {
  position: absolute;
  width: 60%;
  max-width: 332px;
  height: 74px;
  top: 0;
  left: 1rem;
  z-index: 6;
  display: flex;
  align-items: center;
}

.logo h1 {
  width: 100%;
}

.logo h1 img {
  display: block;
  width: 240px;
}

.btn_menu {
  position: absolute;
  width:  75px;
  height: 74px;
  right: 4px;
  top: -7px;
  border: 0;
  display: block;
  z-index: 10;
  background: transparent;
}

.btn_menu span {
  position: absolute;
  left: 20px;
  width: 42px;
  height: 5px;
  background: #fff;
  transition: all .4s;
  border-radius: 7px;
}

.btn_menu p {
  font-size: 8px;
  position: absolute;
  top: 19px;
  left: 24px;
  color: #fff;
  font-weight: 500;
}

.btn_menu.is-open {
  z-index: 100;
}

.btn_menu.is-open p {
  left: 29px;
}

.btn_menu span:nth-of-type(1) {
  top: 38px;
}

.btn_menu span:nth-of-type(2) {
  top: 50px;
}

.btn_menu span:nth-of-type(3) {
  top: 62px;
}

.btn_menu.is-open span:nth-of-type(1) {
  transform: translateY(8px) rotate(-45deg);
  top: 40px;
}

.btn_menu.is-open span:nth-of-type(2) {
  opacity: 0;
}

.btn_menu.is-open span:nth-of-type(3) {
  transform: translateY(-10px) rotate(45deg);
  top: 58px;
}

.menu_wrap {
  position: fixed;
  top: 74px;
  height: calc(100% - 94px);
  width: 100%;
  top: -120%;
}

.menu_wrap.is-open {
  top: 0;
  z-index: 99;
  padding: 0;
}

.main_menu {
  margin-top: 0;
  padding: 4rem 0 1rem;
  width: 100vw;
  height: 100vh;
  margin-bottom: 90px;
}

.menu_wrap.is-open .main_menu {
  background: #cd000a;
}

.menu_wrap.is-open .contact-form {
  position: fixed;
  width: 100%;
}

.menu_wrap.is-open .contact-form a {
  color: #fff;
  display: block;
  padding: 16px 16px 16px 50px;
  border: 2px solid #fff;
  border-radius: 30px;
  position: absolute;
  right: 73px;
  top: 15px;
  font-weight: 500;
  background: #cd000a;
}

.menu_wrap.is-open .contact-form a:before {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 15px;
  background-image: url(img/icon_mail.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  left: 22px;
  top: 18px;
}

.main_menu ul {
  padding-top: 30px;
 height: 100%;
 overflow: scroll;
 -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;    /* IE, Edge 対応 */
  scrollbar-width: none;
  scrollbar-height: none;
}

.main_menu ul::-webkit-scrollbar {  /* Chrome, Safari 対応 */
  display:none;
}

.main_menu ul li a {
  display: block;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  font-size: 1.3rem;
  z-index: 4;
}

button:focus {
  outline: 0px !important;
}

/*header menu open*/
.header-sitemap {
  width: 100%;
}

.header-sitemap li {
  border-bottom: 1px solid #fff;
}

.header-sitemap li:last-child {
  margin-bottom: 90px;
}

.header-sitemap li a {
  display: block;
  width: 100%;
  padding: 26px 0 26px 40px;
  box-sizing: border-box;
  position: relative;
}

.header-sitemap li a:before {
  content: "";
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  background-image: url(img/arrow_white.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  top: 29px;
  left: 8px;
}

.header-sitemap li a span {
  position: relative;
  display: block;
}

.header-sitemap li ul {
  background: #cd000a;
  color: #fff;
/*  margin: -31px 0 0 30px;*/
  margin-left: 30px;
  position: relative;
  top: -31px;
  z-index: 1;
}

.header-sitemap li ul li:last-child {
  border-bottom: 0px;
  margin-bottom: 0;
}

.header-sitemap .collapsing {
  transition: none !important;
}

.header-sitemap li ul li a{
  color: #fff;
}

.main_menu ul li a.small {
  font-size: 20px;
}

.kaisoku {
  margin-top: 5px;
}

.header-sitemap li ul li a:before {
  background-image: url(img/arrow_white.svg);
  left: 15px;
}

.header-sitemap li ul li a.small:before {
  top: 33px;
}

/*.header-sitemap li ul li:last-child {
  margin-bottom: 10px;
}*/

.sitemap-sp li {
  border-bottom: none;
}

.header-sitemap li a span {
 position: relative;
 display: block;
 width: 100%;
 color: #fff;
}

.header-sitemap li a span::before {
  display: block;
  content: "";
  position: absolute;
  top: 12px;
  right: 32px;
  width: 18px;
  height: 3px;
  background: #fff;
  transition: .2s;
  transform: rotate(90deg);
}

.header-sitemap li a span::after {
  display: block;
  content: "";
  position: absolute;
  top: 12px;
  right: 32px;
  width: 18px;
  height: 3px;
  background: #fff;
  transition: .3s;
}

.header-sitemap li a#id-collapse[aria-expanded="true"] span::before {
  transform: rotate(0deg) !important;
}

.header-sitemap li a#id-collapse[aria-expanded="true"] span::after {
  background-color: transparent !important;
}

/*ここまでhaeder*/

/*ここからkv-image*/

.kv-container {
  margin-top: -12px;
}

.kv-container img {
  width: 100%;
  height: auto;
}

/*検索*/

input[type="text"] {
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
}

.search-wrapper {
  padding-top: 74px;
  background: #eeeeee;
}

#form {
  position:relative;
  height: 62px;
  margin: 12px 8px;
}

#formbox {
  outline:0;
  height:50px;
  position:absolute;
  left:0;
  top:0;
  width: calc(100% - 74px);
  background: #fff;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: none;
  border: 1px solid #cd000a;
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: .95rem;
  padding: 0 0.8rem;
}

#formbox:focus {
  border: 1px solid #cd000a;
  box-shadow: none;
  outline: none;
}

#formbtn {
  width: 74px;
  height:50px;
  position:absolute;
  left: calc(100% - 74px);
  top:0;
  background: #cd000a;
  border:none;
}

#formbtn:before {
  position: absolute;
  content: "";
  background-image: url(img/icon_search.svg);
  background-size: cover;
  display: block;
  width: 24px;
  height: 24px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#formbtn:hover {
  background:#eee;
  color:#7fbfff;
}

[type=search] {
  border-color: #cd000a;
}

/*メイン*/
#front-page {
  width: 100%;
  margin-top: 1rem;
}

.aside-wrapper,
.main {
  width: 100%;
}

.aside-link {
  width: 48%;
  margin-bottom: .8rem;
  border-radius: 10px;
}

.aside-link a,
.aside-link .tt {
  display: block;
  width: 100%;
  height: 100%;
  background: #eeeeee;
  border-radius: 15px;
  padding: 5px;
}

.aside-link a figure {
  border: 3px dotted #cd000a;
  border-radius: 15px;
  height: 100%;
}

.aside-link a figure img {
  display: block;
  width: auto;
  height: 80px;
  margin: auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.aside-link a figcaption,
.aside-link .tt p {
  text-align: center;
  padding-bottom: 1rem;
  font-weight: 500;
  font-size: 1rem;
}

.aside-link a figcaption span,
.aside-link .tt p span {
  font-size: .7rem;
}

.main-sec {
  margin-bottom: 2rem;
}

.main-sec-title {
  height: 45px;
  border-bottom: 2px solid #cd000a;
  margin-top: 1rem;
}

.main-sec-title h2 {
  font-size: 1.2rem;
  font-weight: 500;
  float: left;
  line-height: 45px;
}

.main-sec-title p {
  float: right;
}

.main-sec-title p a {
  position: relative;
  display: block;
  height: 45px;
  font-size: .9rem;
  font-weight: 400;
  line-height: 45px;
}

.main-sec-title p a:before {
  content: "";
  position: absolute;
  display: block;
  background-image: url(img/arrow_red.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 14px;
  height: 14px;
  top: 3px;
  bottom: 0;
  margin: auto;
  left: -1.3rem;
}

.main-news-list {
  margin: 1rem 0;
}

#page .main-news-list article,
#f-news .main-news-list article {
  padding: 1.4rem 0;
  font-size: .9rem;
  border-bottom: 1px solid #eeeeee;
}

#f-news .main-news-list article {
  padding: 1rem 0;
}

.main-news-list article .date {
  margin-bottom: .3rem;
  color: #27100d;
}

.main-news-list-tt {
  line-height: 1.4;
}

.main-katsudou-list {
  margin: 1rem 0;
  width: 100%;
}

.main-katsudou-list article {
  width: 48%;
  margin-bottom: 1rem;
}

.main-katsudou-list:after {
  display: block;
  content: "";
  width: 48%;
}

.main-katsudou-list article a {
  display: block;
  width: 100%;
  height: 180px;
  position: relative;
}

.main-katsudou-list article a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid #cd000a;
}

.main-katsudou-list article a h3 {
  text-align: center;
  padding: .55rem 0;
  font-size: .9rem;
  z-index: 1;
  background: #fff;
  border-radius: 15px;
  font-weight: 500;
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  margin: auto;
  width: 150px;
}

footer {
  width: 100%;
  background: #cd000a;
  padding-bottom: 40px;
}

footer .footer-list li {
  height: 60px;
}

footer .footer-list li a {
  display: block;
  height: 60px;
  line-height: 60px;
  padding: 0 14px;
  color: #fff;
  border-bottom: 1px solid #fff;
}

.logo-ft-wrapper {
  margin: 40px auto;
}

.logo-ft-wrapper .logo-ft a {
  display: block;
  width: 80%;
  max-width: 168px;
  margin: auto;
}

.logo-ft-wrapper .logo-ft a img {
  display: block;
  width: 100%;
}

.logo-ft-wrapper small {
  display: block;
  margin: 1rem auto;
  color: #fff;
  text-align: center;
  font-size: .8rem;
}

.kv-pc-right a.kv-contact {
  color: #cd000a;
}

.breadcrumb {
  padding: .8rem 0;
  margin-top: -1px;
  background: #f9f9f9;
  margin-bottom: 2.8rem;
}

.breadcrumb li {
  font-size: .75rem;
}

.breadcrumb li a {
  display: inline;
  color: #cd000a;
}

.breadcrumb h1 {
  display: inline;
}

#page-aside {
  display: none !important;
}

#page {
  padding-bottom: 6rem;
}

#page section {
  margin-bottom: 5rem;
}

#page h2 {
  font-size: 1.8rem;
  padding-left: 18px;
  border-left: 6px solid #cd000a;
  line-height: 2.4rem;
  margin-bottom: 1.5rem;
}

#page p {
  margin: 1.5rem 0 .8rem;
  line-height: 1.95;
  color: #000;
  font-weight: 300;
  text-align: justify;
}

/*#page img {
  display: block;
  width: 100%;
}*/

#page h3 {
  font-weight: 500;
  margin-bottom: .8rem;
  margin-top: 2.9rem;
  font-size: 1.4rem;
  display: block;
  border-bottom: 1px solid #cd000a;
  padding-bottom: 8px;
}

#page h4 {
  font-weight: 500;
  margin-bottom: .8rem;
  margin-top: 2rem;
}

#page ul {
  margin: .8rem 0 2.7rem;
}

#page ul li,
#page ol li {
  line-height: 2;
  color: #000;
  font-weight: 300;
  list-style: disc;
  list-style-position: inside;
  text-indent: -1rem;
  padding-left: 1rem;
}

#page ol li {
  list-style-type: decimal;
}

#page h5 {
  font-weight: 500;
  margin-bottom: .5rem;
  margin-top: 2rem;
}

#page h6 {
  font-size: .9rem;
  font-weight: 500;
  margin-top: 2rem;
}

#page a {
  color: #007AB7;
  text-decoration: underline !important;
  text-decoration-color: #007AB7  !important;
}

#page a.btn-top,
a.btn-top {
  display: block;
  color: #cd000a !important;
  text-decoration: none !important;
  text-decoration-color: transparent !important;
  font-size: .8rem;
  height: 30px;
  line-height: 30px;
  text-align: right;
}

#page strong {
  font-weight: 500;
}

#page time {
  font-size: .9rem;
  font-weight: 400;
}

.page-inner-link ul li {
  display: inline-block;
  margin-right: 1.3rem;
}

.page-inner-link ul li::before {
  content: "-";
  margin-right: .7rem;
}

.page-inner-link ul li a {
  color: #007AB7;
  font-size: 1rem;
/*  font-weight: 400;*/
}

#page #news h2 {
  margin-bottom: .8rem;
}

.author-wrapper {
  border-bottom: 1px solid #cd000a;
  padding-bottom: .6rem;
  padding-left: .6rem;
}

#page p.author-name {
  margin: 0;
  padding: 0 1rem;
  font-size: .8rem;
  font-weight: 500;
  color: #27100d;
}

img.avatar {
  border-radius: 50%;
}

#page #news p.cat,
#page #news h1.cat {
  display: inline-block;
  height: 34px;
  line-height: 32px;
  padding: 0 30px 0 20px;
  background: #cd000a;
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  position: relative;
  margin: 0;
  margin-left: 40px;
  margin-bottom: 1.5rem;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

#page #news p.cat.archive {
  margin-right: 1rem;
  margin-top: 1rem;
}

#page #news p.cat.archive a {
  color: #fff;
  text-decoration-color: transparent !important;
  text-decoration-line: none !important;
}

#page #news h1.cat {
  margin-bottom: 0.5rem !important;
}

#page #news p.cat:before,
#page #news h1.cat:before {
  content: "";
  position: absolute;
  height: 34px;
  background-image: url(img/category.svg);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  left: -38px;
  width: 50px;
}

#page .main-news-list {
  text-align: left;
}

#f-news .main-news-list h3 {
  color: #007AB7;
  text-decoration: underline !important;
  text-decoration-color: #007AB7 !important;
}

#page .main-news-list h3 {
  font-weight: 400;
  margin: 0;
  font-size: 1rem;
  padding: 0;
  border: none;
}

#page .main-news-list p {
  margin: 0;
}

#page .main-news-list .excerpt p {
  font-size: .8rem;
  margin: 0;
  line-height: 1.5;
}

#page .main-news-list .excerpt p.cat-list,
#f-news .main-news-list .excerpt p.cat-list,
#page #search-list article p.cat-list {
  display: inline-block;
  padding: 2px 8px;
  background: #eeeeee;
  color: #cd000a;
  text-align: center;
  margin-top: 10px;
  border-radius: 3px;
  font-weight: 400;
/*  border: 1px solid #cd000a;*/
}

#f-news .main-news-list .excerpt {
  margin-bottom: .3rem;
}

#f-news .main-news-list .excerpt p.cat-list {
  margin-top: 0;
  width: 100%;
  display: inline-block;
  margin-right: 10px;
  padding: 2px 6px;
}


#page .main-news-list a,
.main .main-news-list a {
  text-decoration-color: #fff !important;
}

#f-news .main-news-list a article .date {
  color: #27100d;
  margin-right: 10px;
}

#page #search-list article {
  padding: 1.4rem 0;
  border-bottom: 1px solid #eeeeee;
}

#page #search-list article a {
  text-decoration-color: #fff !important;
  text-decoration-line: none !important;
}

#page #search-list article .search-tt {
  margin: 0;
  color: #007AB7;
  font-weight: 400;
  padding-left: 8px;
}

#page #search-list article .excerpt p {
  color: #27100d;
  font-size: .8rem;
  margin: 0;
  line-height: 1.5;
  padding-left: 8px;
}

#page #search-list article:hover {
  opacity: .6;
  transition: .3s;
}

#page #search-list article p.cat-list {
  margin: .3rem 0 !important;
  font-size: .8rem;
}

.pulldown_wrapper {
  width: 167px;
  position: relative;
  border: 2px solid #cd0001;
  border-radius: 4px;
  padding-left: 40px;
  margin: 0 0 2em 0;
  background: #cd0001;
}
.pulldown_wrapper::before {
  position: absolute;
  top: 8px;
  left: 16px;
  width: 8px;
  height: 16px;
  padding: 0;
  content: '';
  background: url(img/icon01.png) no-repeat center/contain;
  pointer-events: none;
  z-index: 1;
  transform: rotate(90deg);
}
.pulldown_wrapper:after {
  position: absolute;
  top: -2px;
  left: -2px;
  bottom: 0;
  width: 1px;
  content: '';
  background: #cd0001;
  width: 40px;
  border-radius: 10px 0 0 10px;
  height: calc(100% + 4px);
}
.pulldown_wrapper select {
  width: 100%;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  background-image: none;
  box-shadow: none;
  appearance: none;
  padding-left: 20px;
  height: 30px;
  font-family: inherit;
  color: inherit;
  font-size: .9rem;
  background: #fff;
  border-radius: 0 !important;
}
.pulldown_wrapper select::-ms-expand {
  display: none;
}

.single-link-archive a {
  margin-right: 1.2rem;
}

.new {
  color: #cd0001;
  font-size: .8rem;
}

input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 8px 15px;
  margin-right: 10px;
  margin-top: 10px;
  border: 1px solid #d0d5d8;
  border-radius: 3px;
  background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  height: 200px;
}

.grecaptcha-badge {
  visibility: hidden;
}

#page .wsp-container h2 {
  border-left: none;
  position: relative;
  padding-left: 1.7rem;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

#page .wsp-container h2::before {
  content: "//";
  position: absolute;
  margin-right: 4px;
  display: 20px;
  font-size: 1.4rem;
  height: 2.4rem;
  top: 0;
  left: 0;
  font-weight: bold;
  color: #cd000a;
}



@media (min-width: 481px) and (max-width: 930px) {

}



/*ここからタブレット*/

@media (min-width: 768px) {

/*メイン*/
#front-page {
  margin-top: 2.8rem;
}

.aside-wrapper {
  width: 28%;
  margin-bottom: 2rem;
}

.main {
  width: 69%;
}

.aside-link {
  width: 100%;
  margin-bottom: .7rem;
}

.aside-link a,.aside-link .tt {
  padding: 10px 10px 0 10px;
  border-radius: 0;
  height: auto;
}

.aside-link a.aside-link-news {
  padding: 10px;
}

.aside-link a.db {
  padding-bottom: 4px;
}

.aside-link ul li,
.aside-link a.aside-link-news {
  position: relative;
  line-height: 1.3;
}

.aside-link ul li a {
  padding: 10px 0 10px 49px;
  font-weight: 500;
}

.aside-link a.aside-link-news figcaption {
  padding-left: 37px;
}


.aside-link ul li:last-child a {
  padding-bottom: 28px;
}

.aside-link a figure {
  border: none;
  border-radius: 0;
  position: relative;
}

.aside-link ul li::after,
.aside-link a.aside-link-news figcaption::after {
  position: absolute;
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  background-image: url(img/arrow_red.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: 1px;
  bottom: 0;
  left: 28px;
  margin: auto;
}

.aside-link a.aside-link-news figcaption::after {
  left: 18px;
}

.aside-link ul li:last-child::after {
  top: -17px;
}

.aside-link a figure img {
  display: none;
}

.aside-link a figcaption,
.aside-link .tt p {
  padding: 10px 16px;
  text-align: left;
  font-size: .9rem;
  font-weight: 500;
}

.aside-link a.aside-link-news figcaption {
  font-size: 1rem;
}

.main-sec-title {
  margin-top: 0;
}

.main-news-list article .date {
  margin-bottom: 0;
  line-height: 1.4;
  width: 125px;
}

#f-news .main-news-list article .date {
  width: 115px;
}


.main-news-list-tt {
  width: calc(100% - 125px);
}

.main-katsudou-list article {
  width: 32%;
}

.main-katsudou-list:after {
  display: block;
  content: "";
  width: 32%;
}

.main-katsudou-list article a h3 {
  font-size: 1rem;
}

#page-aside {
  display: flex !important;
}

.breadcrumb {
  margin-bottom: 3.3rem;
}

#page .main-news-list .excerpt p {
  margin-left: 125px;
}

#f-news .main-news-list .excerpt p.cat-list {
  width: 90px;
}

}


@media (min-width: 768px) and (max-width: 930px) {
.main-katsudou-list article a h3 {
  width: 140px;
}

}


/*ここからPC*/

@media (min-width: 992px) {

.btn_menu {
  display: none;
}

.menu_wrap {
  position: relative;
}

.header-sitemap li:last-child {
  margin-right: 1.4rem;
}

.header-sitemap li a span {
  color: #27100d;
}


.header-sitemap li a span::before,
.header-sitemap li a span::after {
  display: none;
}

.main_menu {
  padding: 0;
  height: auto;
  width: auto;
  display: inline-block;
  float: right;
  margin-bottom: 0;
}

.main_menu ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  background: #fff;
  height: auto;
  align-items: center;
  padding-top: 0;
  margin-top: 110px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  padding-left: 2rem;
}

.header-sitemap li:last-child {
  margin-bottom: 0;
}

.main_menu ul li a {
  font-size: 1rem;
  margin-right: 1.4rem;
  padding: 1rem 0 1rem 1.3rem;
  color: #27100d;
}

.header-sitemap li a:before {
  background-image: url(img/arrow_red.svg);
  top: 1.1rem;
  left: -0.14rem;
}

.header-sitemap li a.kimari:before {
  top: 1.5rem;
}

.header-sitemap li {
  border: none;
}

.menu_wrap.is-open .contact-form a {
  background: #fff;
}

/*検索*/

.search-wrapper {
  position: relative;
  right: 0;
  top: 0;
  margin-top: 0;
  z-index: 999;
  background: transparent;
  width: calc(73% - 300px);
  height: 94px;
  display: flex;
  align-items: center;
  padding-top: 0;
}

#form {
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: 1.2rem;
  height: 40px;
}

#formbox {
  height: 40px;
  padding: 0 16px;
}

.search-wrapper #formbtn {
  width: 54px;
  height: 40px;
  background: #fff;
  top:0;
  bottom: 0;
  margin: auto;
  border: 1px solid #cd000a;
}

.search-wrapper #formbtn:before {
  background-image: url(img/icon_search2.svg);
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
}

.kv-pc-right {
  display: block;
  height: 94px;
  background: #fff;
  width: 27%;
  z-index: 999;
  line-height: 94px;
  align-items: center;
}

.kv-pc-right a.kv-sitemap {
  font-size: .95rem;
  font-weight: 500;
  display: block;
  margin-right: .8rem;
}

.kv-pc-right a.kv-sitemap:before {
  content: "▶︎";
  font-size: 8px;
  color: #cd0004;
  position: relative;
  left: 0;
  top: -2px;
  margin-right: 10px;
}

.kv-pc-right a.kv-contact {
  display: inline-block;
  border: #cd000a 1px solid;
  font-weight: 500;
  color: #cd000a;
  width: 45%;
  height: 50px;
  line-height: 44px;
  box-sizing: border-box;
  border-radius: 30px;
  margin-right: 1rem;
  text-align: center;
  font-size: .95rem;
  max-width: 140px;
}

.kv-pc-right a.kv-contact:before {
  content: "";
  background-image: url(img/icon_mail_red.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 16px;
  display: inline-block;
  background-size: cover;
  position: relative;
  left: 0;
  top: 1px;
  right: 0;
  bottom: 0;
  margin: auto;
  margin-right: .5rem;
}

.search-wrapper .form-inline .form-control {
  border: none;
  font-size: 15px;
}

.logo h1 img {
  width: 332px;
}

.logo {
  height: 94px;
  top: 0;
  width: 70%;
}

#header {
  position: absolute;
  height: 94px;
  top:0;
}

.kv-container {
  margin-top: 0;
}

#page .main-news-list article {
  font-size: 1rem;
  padding: 1.8rem 0;
}

.main-sec {
  margin-bottom: 3.5rem;
}

.main-katsudou-list {
  margin: 1.5rem 0;
}

.aside-wrapper {
  width: 23%;
}

#footer-pc {
  padding-bottom: 0;
}

footer {
  padding-bottom: 0;
}

.ft-up-wrapper {
  height: 72px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
}

.ft-up-wrapper .ft-index {
  display: inline-block;
  width: 208px;
  float: left;
}

.ft-left {
  margin-left: auto;
}

.ft-up-right {
  display: inline-block;
  height: 52px;
  width: auto;
}

.ft-up-right:nth-child(1){
  margin-right: 20px;
}

.ft-up-right img {
  display: inline-block;
  width: auto;
  height:  58px;
}

.ft-down-wrapper {
  padding: 32px 0;
  background: #eeeeee;
  position: relative;
}

.ft-down-wrapper:before {
  position: absolute;
  content: "";
  display: block;
  width: 630px;
  height: 212px;
  background-image: url(img/ft-up-bg.svg);
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  right: 0;
}

.ft-down-inner ul li {
  font-size: 1rem;
  color: #27100d;
}

.ft-down-inner ul li span {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: .85rem;
}

.ft-down-inner ul li ul li a {
  display: block;
  padding: 8px 4px;
  font-weight: 500;
  padding-left: 23px;
  position: relative;
  margin-left: 4px;
}

.ft-down-inner ul li ul li a:before {
  position: absolute;
  content: "";
  background-image: url(img/arrow_red.svg);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  width: 14px;
  height: 14px;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
}

.footer-sub-wrapper {
  position: relative;
}

.footer-sub-wrapper:before,
.footer-sub-wrapper:after {
  position: absolute;
  content: "";
  display: block;
  width: 50%;
  height: 63px;
  background: #fff !important;
  top: -1px;
  left: 0;
}

.footer-sub-wrapper:after {
  background: #cd000a;
  top: 0;
  right: 0;
}

.footer-sub {
  height: 63px;
}

.footer-sub small {
  width: 50%;
  color: #7f7f7f;
  font-size: .8rem;
  background: #fff;
  height: 64px;
  line-height: 64px;
  z-index: 2;
}

.footer-sub .ft-sub-right {
  width: 50%;
}

.footer-sub .ft-sub-right a {
  color: #fff !important;
  font-weight: 500;
  font-size: .9rem;
}

#page #search-list article {
  padding: 1.8rem 0;
}

#f-news .main-news-list .excerpt p.cat-list {
  width: 100px;
}
}




@media (min-width: 992px) and (max-width: 1140px) {
.kv-pc-right a.kv-sitemap,
.kv-pc-right a.kv-contact {
  font-size: .8rem;
}

.kv-pc-right a.kv-contact:before {
  width: 15px;
  height: 13px;
  margin-right: .22rem;
}
}

@media (min-width: 1140px) {

.kv-pc-right a.kv-contact {
  max-width: 170px;
}
}


@media (min-width: 1180px) {
.kv-pc-right a.kv-contact {
  margin-left: .7rem;
}
}
