@charset "utf-8";

@import url("./reset.css");
@import url("./base.css");
/*-------------------------------------------
共通項目
--------------------------------------------*/
body.top {
  width: 100%;
  background: linear-gradient(180deg, #EFFCFF 0%, #EFFCFF 18%, #fff 18%, #fff 100%);
}
.box h3 { 
  width: max-content;
  margin: 0 auto 10px;
  padding: 5px 0;
  font-size: clamp(16px, 0.858rem + 0.61vw, 22px);
  border-bottom: 2px solid var(--main_color);
  text-align: center;
}
.box h4 { 
  margin-bottom: 40px;
  font-size: clamp(13px, 0.742rem + 0.3vw, 16px);
  font-weight: normal;
  text-align: center;
}
.box p { 
  margin-bottom: 40px;
  font-size: clamp(13px, 0.742rem + 0.3vw, 16px);
  font-weight: normal;
  text-align: center;
}

/*-------------------------------------------
ヘッダー
--------------------------------------------*/
header { 
  width: 100%;
  margin: 0 auto;
}
@media screen and (max-width:1166px) {
  .header { width: 100%;}
}
.header_inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0 20px;
}
h1 { width: 35%; margin: 0 auto 10px; text-align: center;}
h1 img { width: 90%; margin-bottom: 10px;}
h1 p { font-size: 13px; font-weight: normal;}
@media screen and (max-width:900px) {
  h1 { width: 70%; }
}

/*-------------------------------------------
ハンバーガーメニュー設定
--------------------------------------------*/
@media (min-width: 901px) {
  #globalMenu {display: none;}
  .sp_menu { display: none;}
}
@media (max-width: 900px) {
  .sp_menu {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 50px;
    margin-top: 0;
    margin-right: 10px;
    padding: 20px 0 0 0;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    box-sizing: border-box;
    z-index: 52;
  }
  .sp_menu span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: solid 3px rgb(0, 0, 0);
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    z-index: 53;
  }
  .sp_menu span:nth-child(1) { top: 12px; }
  .sp_menu span:nth-child(2) { top: 24px; }
  .sp_menu span:nth-child(3) { top: 36px; }
  .sp_menu span:nth-child(4) { border: none; color: #000; font-size: 11px; font-weight: bold; top: 34px; }
  
  /* 最初のspanをマイナス45度に */
  .sp_menu.active span:nth-child(1) {
    top: 24px;
    left: 20%;
    border-bottom: solid 3px #000;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .sp_menu.active span:nth-child(2), .sp_menu.active span:nth-child(3) {
    top: 24px;
    left: 20%;
    border-bottom: solid 3px #000;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  /* ハンバーガー用バツ印になる印　*/
  /* このクラスを、jQueryで付与・削除する */
  #globalMenu.active { transform: translateY(0%); }
  /* ハンバーガーメニュー*/
  #globalMenu {
    position: fixed; 
    top: 0; left: 0; color: #000; 
    text-align: center; 
    z-index: 51;
    transform: translateX(100%); 
    transition: all 0.6s; 
    width: 100%; 
    height: 100%; 
    background: var(--main_color);
  } 
}

/*-------------------------------------------
ハンバーガーメニュー 中身ナビ設定
--------------------------------------------*/
/* メニュー設定*/
.menu { margin: 20px 0 0 0; }
.menu > ul > li {  
  width: 80%; 
  margin: 0 auto; 
  border-bottom: 1px solid #fff; 
}
.menu > ul > li > a {
  position: relative;
  display: block;
  width:100%;
  margin: 0 auto;
  padding: 20px 0;  
  color: #fff; 
  font-size: 18px; 
  text-decoration: none; 
  text-align: left;
}
.menu > ul > li > a::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
}


.menu > ul > li:hover { background: var(--accent_color);}
.menu > ul > li > a > img { width: 10%; height: auto; margin-right: 10px;}

.menu > ul > li.under {
  position: relative;
  cursor: pointer;
}
.menu > ul > li > ul { 
  display: none;
  background: var(--main_color);
  text-align: left;
}
.menu ul li.under ul li a { 
  display: block;
  color: #fff;
  padding: 10px 0;
}
.menu > ul > li > a:hover { 
  opacity: 0.9;
  background:#52C8FF;
}
.menu > ul > li > ul > li a::before {
  border-left: 2px solid #fff;
  margin-left: 2px;
}
.menu > ul > li > ul > li a:hover { 
  opacity: 0.9;
  background:#52C8FF;
}
.sp_logo {
  width: 100%;
  background:var(--sub_color2);
  padding: 25px 0;
}
.sp_logo img { width: 60%; margin: 0 auto;}

.sp_header_logo {
  display: block;
  width: 100%;
  padding: 35px 0 32px 10px;
  background: linear-gradient(to right, #6ec8ff, #00005c);
}
.sp_header_logo a { display:block; width: 60%;}
.sp_header_logo a img { width: 100%; height: auto;}
.top_navi_access {
  width: 80%;
  margin: 30px auto;
}
.top_navi_access h4 { width:70%; margin: 0 auto 10px;}
.sp_company_tel {width: 80%; margin: 0 auto 10px;}
.sp_company_fax {width: 80%; margin: 0 auto 20px;}
.sp_company_address {  font-size: 14px; margin-bottom: 10px; color: #fff;}
.top_navi_access h4 img,.sp_company_tel img,.sp_company_fax img { width: 100%; }

/*-------------------------------------------
メインイメージ
--------------------------------------------*/
.hero_image { 
  position: relative; 
  width: 100%; 
  margin: -15px auto 10px;
  background: #ddd;
  z-index: 2;
}
.sub_image { 
  position: relative; 
  width: 100%; 
  margin: -15px auto 60px;
  background: #ddd;
  z-index: 2;
}
/*メインイメージ用　雲模様の設定*/
.hero_image_img,.sub_image_img { 
  position: relative; 
  margin-top: 5px;
  z-index:3;
}
/*メインイメージ用　雲模様の設定*/
.sub_image_img,.sub_image_img { 
  position: relative; 
  margin-top: 5px;
  z-index:3;
}
.hero_image_img::after {
  content:"";
  position :absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0,0.2) ,rgba(0, 0, 0,0) );
  z-index: 4;
}
.hero_image_list img,.sub_image_list img {
  width: 100%;
}

/*-------------------------------------------
sub_navi
--------------------------------------------*/
.sub_navi {
  width: 80%;
  margin: 0 auto 10px;
}

.sub_navi h3 { 
  width: max-content;
  margin: 0 auto 10px;
  padding: 5px 0;
  font-size: clamp(16px, 0.858rem + 0.61vw, 22px);
  border-bottom: 2px solid var(--main_color);
  text-align: center;
}
.sub_navi h3 a { color: #000;}
.sub_navi ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.sub_navi ul li {
  width: 30%;
  padding: 10px;
  background: var(--sub_color);
  color: #fff;
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
  line-height: 1.2em;
  text-align: center;
}
@media screen and (max-width:900px) {
  .sub_navi {
    width: 95%;
  }
  .sub_navi ul {
    flex-flow: column wrap;
    width: 100%;
  }
  .sub_navi ul li {
    width: 100%;
    margin-bottom: 20px;
  }
  
}
.sub_navi ul li a{  color: #fff;}
/*-------------------------------------------
navi_box
--------------------------------------------*/
.navi_box {
  width: 100%;
  margin: 0 auto 30px;
}
.g_navi{ 
  width: 100%; 
  margin: 0 auto;
  background: var(--main_color);
}
.g_navi > ul {
  display: flex;
  justify-content: space-between;
  width: 65%;
  margin: 0 auto; 
}
.g_navi > ul > li { 
  width: calc(100% / 6);
  text-align: center;
}

.g_navi > ul > li > a { 
  display: block;
  padding: 15px 0;
  background: var(--main_color);
  color: #fff; 
}
.g_navi > ul > li > a:hover { 
  opacity: 0.9;
  background:#52C8FF;
}
.g_navi > ul > li > a > p {
  border-right:2px solid #fff;
}
.g_navi > ul > li:last-of-type a p{
  border-right: none;
} 
.g_navi > ul > li.under {
  position: relative;
  cursor: pointer;
}
.g_navi > ul > li > ul { 
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  background: var(--main_color);
}
.g_navi ul li.under ul li a { 
  display: block;
  color: #fff;
  padding: 15px 10px 15px 15px;
}
.g_navi > ul > li > a:hover { 
  opacity: 0.9;
  background:#52C8FF;
}
.g_navi > ul > li > ul > li a::before {

  border-left: 2px solid #fff;
  margin-left: 2px;
}
.g_navi > ul > li > ul > li a:hover { 
  opacity: 0.9;
  background:#52C8FF;
}

@media screen and (max-width:900px) {
  .g_navi { display: none;}
}

/*-------------------------------------------
松研薬品工業株式会社について
--------------------------------------------*/
.about {
  width: var(--base_pc_inner_size);
  margin: 0 auto 100px;
}
.about_inner {
  display: flex;
  justify-content: space-between;
  flex-flow: column wrap;
  width: 100%;
}
.about_image { width: 40%; background: #ccc;}
.about_image img { width: 100%; }
.about_text { 
  width: 100%; 
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
  line-height: 1.7em;
}
.about_from {
  display: block;
  width: 100%;
  margin-top: 20px;
  line-height: 1.5em;
  text-align: right;
}
@media screen and (max-width: 980px) {
  .about {
    width: var(--base_sp_size);
  }
  .about_image {
    width: 100%;
    margin-bottom: 30px;
  }
  .about_text {
    width: 100%;
  }

}
/*-------------------------------------------
会社要項・沿革
--------------------------------------------*/
.about_tbl {
  width: 80%;
  margin: 0 auto 100px;
  border: 1px solid #ccc;
  border-collapse: collapse;
}
.about_tbl th {
  width: 30%;
  padding: 10px;
  background: var(--main_color);
  color: #fff;
  text-align: center;
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
  line-height: 1.7em;
  border: 1px solid #ccc;
  border-collapse: collapse;
}
.about_tbl td {
  padding: 10px;
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
  line-height: 1.7em;
  border: 1px solid #ccc;
  border-collapse: collapse;
}
@media screen and (max-width: 980px) {
  .about_tbl { width: 90%; border: none;}
  .about_tbl th {
    display: block;
    width: 100%;
    border-top: none;
    border-bottom: none;
  }
  .about_tbl td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .about_tbl td:last-of-type {
    border-bottom: 1px solid #ccc;
  }
  .about_tbl td:first-of-type {
    border-top: 1px solid #ccc;
  }
}
/*-------------------------------------------
top アクセス
--------------------------------------------*/
.access {
  width: var(--base_pc_inner_size);
  margin: 0 auto 100px;
}
.access_inner {
  display: flex;
  justify-content: center;
  flex-flow: column wrap;
  width: 100%;
}
.access_image { width: 100%; background: #ccc; margin-bottom: 30px;}
.access_image img { width: 100%; }
.access_text { 
  width: 100%;
  padding: 20px;
  background: var(--sub_color2);
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
  line-height: 1.7em;
}
@media screen and (max-width: 980px) {
  .access {
    width: var(--base_sp_size);
  }
  .access_inner {
    flex-flow: column wrap;
  }
  .access_image {
    width: 100%;
    margin-bottom: 30px;
  }
  .access_text {
    width: 100%;
  }
}
/*-------------------------------------------
製品情報
--------------------------------------------*/
.product {
  width: var(--base_pc_inner_size);
  margin: 0 auto 100px;
}
.product_title {
  width: 100%;
  line-height: 1em;
  margin: 10px 0px 30px 0px;
  padding: 10px;
  font-size: 200%;
  font-weight: bold;
  text-align: center;
  background: var(--main_color);
  color: #fff;
}
.product_inner { margin-bottom: 50px;}

.product_list { margin-bottom: 10px;}
.product_list_inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
}
.product_list_image { width: 30%;}
.product_list_image img {width: 100%;}
.product_text {
  width: 65%;
  line-height: 1.4em;
  font-size: clamp(14px, 0.756rem + 0.51vw, 18px); /*375-1166*/
}
.product_text sub, .product_list_text sub { 
  /* vertical-align: sub;  */
  font-size: 12px;
  height: 0;
  line-height: 1;
  vertical-align: baseline;
  _vertical-align: bottom;
  position: relative;
  bottom: 1ex;
}
.product_text sup, .product_list_text sup { 
  /* vertical-align:super;  */
  font-size: 12px;
  height: 0;
  line-height: 1;
  vertical-align: baseline;
  _vertical-align: bottom;
  position: relative;
  top: .5ex;
}
  span.red { color: #ff0000;}

@media screen and (max-width: 980px) {
  .product { width: var(--base_sp_size); }
  .product_list_inner { flex-flow: column wrap; }
  .product_list_image {
    width: 60%;
    margin: 0 auto 30px;
  }
  .product_text { width: 100%; }
}

.product_list_desc {
  width: 100%;
}
.product_list_desc table {
  width: 100%;
  margin-bottom: 30px;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: clamp(13px, 0.724rem + 0.38vw, 16px);/*375-1166*/
  line-height: 1.4em;
}
.product_list_desc table th.product_name {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  background: var(--main_color);
  color: #fff;
}
.product_list_desc table th.product_list_title {
  width: 30%;
  padding: 10px;
  border: 1px solid #ccc;
}
.product_list_desc table td {
  width: 70%;
  border: 1px solid #ccc; 
}

.product.bottom-less {
  margin-bottom: 0;
}

.product_list_desc table th.product_name a {
  color: #fff;
}

@media screen and (max-width: 980px) {
  .product_list_desc table th.product_list_title {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .product_list_desc table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
}

/*-------------------------------------------
sub アクセス
--------------------------------------------*/
.sub_access {
  width: var(--base_pc_inner_size);
  margin: 0 auto 100px;
}

.sub_access_inner {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  width: 100%;
}
.sub_access_text { width: 48%;}
.sub_access_map {  width: 48%;}
.sub_access_box {
  width: 100%;
  padding: 20px;
  background: var(--sub_color4);
}
.sub_access_text h5 {
  margin-bottom: 10px;
  color: var(--sub_color);
  font-size: clamp(18px, 0.892rem + 0.99vw, 27px); /*375-1280*/
  font-weight: bold;
}
.sub_access_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row wrap;
  width: 100%;
  margin-bottom: 20px;
}
.sub_access_title {
  width: 25%;
  padding: 10px 15px;
  background: var(--sub_color);
  color: #fff;
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
}
.sub_access_desc {
  width: 72%;
  font-size: clamp(14px, 0.756rem + 0.51vw, 18px); /*375-1166*/
  line-height: 1.2em;
}
@media screen and (max-width: 980px) {
  .sub_access {
    width: var(--base_sp_size);
  }
  .sub_access_inner {
    display: flex;
    justify-content: space-between;
    flex-flow: column wrap;
    width: 100%;
  }
  .sub_access_text { width: 100%; margin-bottom: 30px;}
  .sub_access_map {  width: 100%;}
  .tel_phone {
    display: inline-block;
    width: 77%;
    padding: 10px 15px;
    background: var(--sub_color5);
    color: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 1px #999;
    text-align: center;
    vertical-align: middle;
  }
  .sub_access_title {
    width: 20%;
    padding: 5px 10px;
  }
  .sub_access_desc {
    width: 77%;
}
}

/*-------------------------------------------
お知らせ
--------------------------------------------*/
.info {
  width: var(--base_pc_inner_size);
  margin: 0 auto 100px;
}
.info_inner {
  width:100%;
  margin: 0 auto;
}
.info_list {
  display: flex;
  width: 80%;
  margin: 0 auto;
  padding: 10px 0;
  border-bottom: 2px dotted #ccc;
  align-items: center;
}
.info_date {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;

  color: #000;
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
}
.info_category {
  width: 20%;
  margin-right: 20px;
  padding: 5px 10px;
  background: var(--main_color);
  color: #fff;
  text-align: center;
  font-size: clamp(13px, 0.765rem + 0.2vw, 15px);
  font-weight: 400;
  border-radius: 10px;
}
.info_title {font-size: 14px; line-height: 1.3em;}

@media (max-width: 1160px) {
  .info { width: var(--base_sp_size);}
  .info_list {
    width: 100%;
    align-items: center;
    margin: 0 auto 20px;
  }
}

/*-------------------------------------------
お問い合わせ
--------------------------------------------*/
.contact {
  width: var(--base_pc_inner_size);
  margin: 0 auto 100px;
}
.contact_inner {
  display: flex;
  justify-content: space-between;
}
.contact_tel,.contact_mail {
  position: relative;
  width: 50%;
  padding: 100px 0;
}
.contact_tel { background: var(--sub_color3);}
.contact_mail { background: var(--sub_color2);}

.contact_box_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 90%;
  text-align: center;
}
.contact_box_inner h5 {
  font-size: clamp(14px, 0.78rem + 0.4vw, 18px);
  font-weight: 500;
  margin-bottom: 30px;
}
.contact_box_inner a {
  padding: 10px;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
}
.contact_tel a {
  background: var(--sub_color);
}
.contact_mail a {
  background: var(--main_color);
}
@media (max-width: 1160px) {
  .contact {
    width: var(--base_sp_size);
  }
}
@media (max-width: 980px) {
  .contact_inner {
    flex-flow: column wrap;
  }
  .contact_tel,.contact_mail {
    width: 100%;
  }
}

/*--------------------------------------------------------------------------------------*/
/*footer*/
/*--------------------------------------------------------------------------------------*/
footer { 
  width: 100%; 
  margin: 0 auto; 
  padding: 50px 0; 
  background: var(--main_color);
  color: #fff;
}
.footer_logo { 
  width: 30%; 
  margin: 5px auto 20px;
  text-align: center;
}
.footer_logo img { width: 100%; margin-bottom: 20px;}
.footer_logo p {
  font-size: clamp(14px, 0.78rem + 0.4vw, 18px);
  margin-bottom: 50px;
}

@media screen and (max-width:1160px) {
  .footer_logo { width: 50%; margin: 5px auto 20px;}
}
.sns_box {
  display: flex;
  justify-content: space-between;
  width: 100px;
  margin: 0 auto 30px;
}
.f_navi { width: 60%; margin: 0 auto 30px;}
.f_navi > ul {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}
.f_navi > ul > li {
  padding: 0 30px;
}
.f_navi > ul > li.under {
  position: relative;
  cursor: pointer;
}
.f_navi > ul > li > a {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: clamp(13px, 0.765rem + 0.2vw, 15px);
  font-weight: 400;
}
.f_navi > ul > li > ul { 
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-flow: column wrap;
  margin-top: 10px;
  margin-left: 0;
}
.f_navi > ul > li > ul > li > a{ color: #fff;} 
.f_navi ul li + li {
 /* border-left: 1px solid #fff; */
}
.f_navi ul li a:hover {  color: #ff0;}

.company_desc{ 
  text-align: center; 
  margin-bottom: 30px; 
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
  line-height: 1.4em;}

@media (max-width: 1160px) {
  .f_navi { width: 100%; margin: 0 auto 10px; box-sizing: border-box; }
  .f_navi > ul { width: 100%; box-sizing: border-box; margin-bottom: 20px;}
  .f_navi > ul > li { padding: 0px 20px;  box-sizing: border-box;} 
  .f_navi > ul > li > a { font-size: 0.9rem;}
}
@media (max-width: 600px) {
  .f_navi > ul  li {font-size: 0.8rem; padding: 0 10px;}
}
.copyright{ 
  width: 100%;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}
@media (max-width: 1279px) {
  footer { margin: 0 auto;}
  .copyright{ font-size: 10px; font-feature-settings: "palt";}
}

.slick-prev.slick-disabled {
  visibility: hidden;
}
.slick-prev:before {
  content: '';
}
.slick-next.slick-disabled::before {
  content: '<<';
}
.slick-next::before {
  content: '';
}

.slick01 {
  display: flex;
  align-items: center;
}
.slick-dots li button:before{
  font-size:20px!important;
}

.slick-slide {
  width: 100%;
  text-align: center;
}
.slick-prev,.slick-next{ z-index: 100;}
.slick-prev {  left: 0px; }
.slick-next {  right: 0px; }
.slick-arrow {
  width: 10px;
  height: 50px;
  font-size: 10px;
  background:var(--main_color);
  flex-shrink: 0;
  border: none;
}
.row_btns {
  display: flex;
  justify-content: space-between;
  width: 200px;
  margin: 20px auto 30px;
}

.slick_pause,.slick_start {
  padding: 10px 20px;
  background: var(--main_color);
  color: #fff;
  text-align: center;
  border-radius: 10px;
}

.slick_pause:hover,.slick_start:hover {
  opacity: 0.8;
}
/*-------------------------------------------
  news 新着情報
--------------------------------------------*/
main.sub_news { width: 68%;  margin: 0 auto;}
aside.sidebar { width: 28%; margin-top: 90px;}
.news .title_area {  margin-bottom: 70px;}
.news { 
  position: relative; 
  width: 100%; 
  margin: 0 auto 50px; 
  z-index: 2;
}
.news_inner { width: 100%; margin-bottom: 200px;}
.news_list{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 15px;
  padding-bottom: 15px; 
  border-bottom: 3px dotted #d5d5d5;
}
.news_list_single { width: 100%;}

.news_date { width: 25%; margin-bottom: 20px;}
.news_title { 
  width: 95%; 
  margin: 0 auto 10px;
  font-size: clamp(18px, 1.08rem + 0.23vw, 20px);
}
.news_content{ 
  width: 95%; 
  margin: 0 auto;
  font-size: clamp(18px, 1.08rem + 0.23vw, 20px);
  line-height: 1.2em;
}
@media (max-width: 1160px) {
  main.sub_news { width: 90%; margin: 0 auto; }
  .news_inner { width: 100%; margin-bottom: 50px;}
  .news_list{display: flex; flex-flow: column wrap; }
  .news_date { margin-bottom: 10px; }
  aside.sidebar { width: 100%; margin-top: 20px;}
}
/*--------------------------------------------------------------------------------------*/
/*ブログ設定*/
/*--------------------------------------------------------------------------------------*/
.wp-pagenavi { 
  display: flex;
  justify-content: space-between;
  width:100%; 
  margin-bottom: 50px;
  text-align:center; 
  box-sizing: border-box;
}
.nextpostslink,.previouspostslink {
  position: relative;
  display: block;
  width: 50%;
  padding: 20px 0;
  font-family: var(--font_serif);
  font-size: clamp(14px, 0.722rem + 0.45vw, 17px);
  font-weight: bold;
  border: 1px solid #003b88;
  box-sizing: border-box;
}
.nextpostslink::after{
  content:'\f0da';
  position: absolute;
  top: 50%;
  margin-left: 15px;
  color: #003b88;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 30px;
  font-family: "Font Awesome 5 Free";
}
.previouspostslink::before{
  content:'\f0d9';
  position: absolute;
  top: 50%;
  margin-left: -25px;
  color: #003b88;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 30px;
  font-family: "Font Awesome 5 Free";
}
.search_container {
  box-sizing: border-box;
  position: relative;
  border: 1px solid #999;
  padding: 10px;

  width: 90%;
  overflow: hidden;
  margin: 0 auto 30px;
}
@media (max-width: 1160px) {
  .search_container {
    width: 90%;
    margin: 0 auto 30px;
  }
}
.search_container input[type="text"] { border: none; height: 2.0em; margin-left: 30px;}
.search_container input[type="text"]:focus { outline: 0;}
.search_container input[type="submit"] {
  cursor: pointer;
  font-family: FontAwesome;
  font-size: 1.3em;
  border: none;
  background: none;
  color: rgb(96, 96, 96);
  position: absolute;
  width: 2.5em;
  height: 2.5em;
  left: 0;
  top: -1px;
  outline: none;
}
.search_field{padding: 10px;}
.widget_archive{ width: 100%;  margin-bottom: 30px;}
.widget_archive label { display: none;}
.widget_archive {width: 100%;}
.widget_archive h4 {margin-bottom: 10px;}
.widget_archive select { width: 100%;border: 1px solid #999; padding: 10px; margin-bottom: 30px;  border-radius: 0;}
.widget_archive option { width: 100%;}
.wp-block-heading{ width: 90%; margin: 0 auto 10px;}
.blog_area { width: 100%; display: flex; justify-content: space-between;}
.news h2 { margin-bottom: 20px;}

/* calender */
  .wp-calendar-table {
    width: 90%;
    margin: 10px auto 5px;
    border: 1px solid #ddd;
    padding: 3px;
    background: #fc3;
    text-align: center;
  }
  .wp-calendar-table caption, .widget_block h4 {
    margin: 5px auto;
    padding: 10px;
    background: #ff9900;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }
  .wp-calendar-table th {
    padding: 10px;
    border: 1px solid #ddd;
    background:#fc3;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
    border-collapse:collapse;
    text-align: center;
  }
  .wp-calendar-table td {
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
    border-collapse:collapse;
    text-align: right;
  }
  .wp-calendar-nav {
    width: 90%;
    padding: 10px;
    margin: 2px auto 40px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
  }
  .widget_block h4 {
    width: 90%;
    margin: 5px auto;
    padding: 10px;
    background: #ff9900;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }
  .widget_recent_entries,.widget_archive,.widget_categories { width: 90%; margin: 0 auto 15px;}
  .widget_recent_entries ul li,
  .widget_archive ul li,
  .widget_categories ul li {
    display: block;
    border-bottom: 1px dotted #ccc;
    list-style: none;
  }
  .widget_recent_entries ul li a,
  .widget_archive ul li a,
  .widget_categories ul li a {
    display: block;
    padding: 10px 0 10px 15px;
    color: #f90;
    font-size: 14px;
    text-decoration: none;
  }
  .widget_recent_entries ul li a:hover,
  .widget_archive ul li a:hover,
  .widget_categories ul li a:hover {
    background: #fc3;
  }

@media (max-width:1160px) {
 .blog_area { width: 100%; display: flex; justify-content: space-between; flex-flow: column wrap;}  
 .wp-calendar-table {
    width: 90%;
    margin: 10px auto 5px;
    border: 1px solid #ddd;
    padding: 3px;
    background: #fcfc3e;
    text-align: center;
  }
  .wp-calendar-table caption, .widget_block h4 {
    margin: 5px auto;
    padding: 10px;
    background: #f90;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }
  .wp-calendar-table th {
    padding: 10px;
    border: 1px solid #ddd;
    background:#fc3;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
    border-collapse:collapse;
    text-align: center;
  }
  .wp-calendar-table td {
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
    border-collapse:collapse;
    text-align: right;
  }
  .wp-calendar-nav {
    width: 90%;
    padding: 10px;
    margin: 2px auto 40px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
  }
  .widget_block h4 {
    width: 90%;
    margin: 5px auto;
    padding: 10px;
    background: #f90;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }
  .widget_recent_entries,.widget_archive,.widget_categories { width: 90%; margin: 0 auto 15px;}
  .widget_recent_entries ul li,
  .widget_archive ul li,
  .widget_categories ul li {
    display: block;
    border-bottom: 1px dotted #ccc;
    list-style: none;
  }
  .widget_recent_entries ul li a,
  .widget_archive ul li a,
  .widget_categories ul li a {
    display: block;
    padding: 10px 0 10px 15px;
    color: #f90;
    font-size: 14px;
    text-decoration: none;
  }
  .widget_recent_entries ul li a:hover,
  .widget_archive ul li a:hover,
  .widget_categories ul li a:hover {
    background: #fc3;
  }
}
/*-------------------------------------------
  contact お問い合わせ
--------------------------------------------*/
.contact_desc,.contact_table { 
  position: relative; 
  width:var(--base_pc_inner_size); 
  margin: 0 auto 50px; 
  z-index: 2;
}

@media (max-width: 1160px) {
  .contact_desc,.contact_table { 
    width: var(--base_sp_size); 
    margin: 0 auto; 
  }
}
.contact_desc_inner,.contact_table_inner { 
  position: relative; 
  width:70%; 
  margin: 0 auto 50px; 
  z-index: 2;
}
@media (max-width: 1160px) {
  .contact_desc_inner,.contact_table_inner { 
    width: var(--base_sp_size); 
    margin: 0 auto; 
  }
}

.key_message{
  margin-bottom: 20px;
  color: #666666;
  font-size: clamp(14px, 0.739rem + 0.68vw, 20px);
  font-family: var(--font_serif);
  font-weight: bold;
  line-height: 1.3em;
}
.contact_tel,.contact_fax {
  margin-bottom: 10px;
}
.contact_time{
  font-weight: bold;
  margin-bottom: 100px;
}
.sub_message {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5em;
  margin-bottom: 20px;
}
p.attention {
  font-size: bold;
}
.required { color: #f00; font-size: 14px; font-weight: bold;}

.contact_table input,.contact_table textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
}
.contact_table table {
  width: 100%;
  border-collapse: collapse;
}
.contact_table th,.contact_table td {
  padding: 10px;
  border-collapse: collapse;
}
.contact_table th{ 
  width: 30%;
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
}
.contact_table td{ width: 70%;}

@media (max-width: 1160px) {
  .contact_table table th {
    display: block;
    width: 100%;
  }
  .contact_table table td {
    display: block;
    width: 100%;
  }

}
td.text_center {
  padding-top: 50px; 
  color: #666666;
  text-align: center;
  line-height: 1.5em;
}
td.text_center a {
  color: #0071bc;
  font-weight: bold;
  text-decoration: underline;
}
.wpcf7-acceptance {
  display: block;
  text-align: center;
  margin: 10px auto;
}
.wpcf7-acceptance input[type=checkbox] {
	width:			18px;
	height:			18px;
  margin-right: 10px;
	-moz-transform:		scale(1.4);
	-webkit-transform:	scale(1.4);
	transform:		scale(1.4);
}

.button_area p {
  width: 450px;
  margin: 0 auto;
}
.wpcf7-submit {
  display: block;
  width: 100%;
  margin: 0 auto 10px;
  padding: 20px 10px;
  border: 1px solid #00005c;
  background: linear-gradient(to right, #6ec8ff, #00005c);
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: clamp(16px, 0.818rem + 0.91vw, 24px);
  border-radius: 20px;
}
@media (max-width: 768px) {
  .button_area p {
    width: 80%;
  }

}
.reset_area input {
  display: block;
  border: none;
  margin: 0 auto 20px;
  text-align: center;
}
.thanks {
  position: relative; 
  width:var(--base_pc_inner_size); 
  margin: 0 auto 50px; 
  z-index: 2;
}
.thanks p {
  margin: 100px 0;
  color: #003b88;
  font-family: var(--font_serif);
  font-size: clamp(25px, 1.449rem + 0.57vw, 30px);
  line-height: 1.4em;
  font-weight: bold;
  text-align: center;
}

/*--------------------------------------------------------------------------------------*/
/*footer前お問い合わせBOX*/
/*--------------------------------------------------------------------------------------*/
.privacy_policy_inner{
  width: 80%;
  margin: 0 auto 30px;
}
@media (max-width: 1160px) {
  .privacy_policy_inner{
    width: 90%;
  }
}
.privacy_policy_inner h3 {
  margin-bottom: 30px;
  color: #003b88;
  font-size: clamp(25px, 1.358rem + 1.02vw, 34px);
  font-family: var(--font_serif);
  font-weight: bold;
}
.privacy_policy_inner p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.4em;
}
.privacy_policy_inner h4 {
  margin-bottom: 20px;
  color: #003b88;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4em;
}
.privacy_policy_inner ol {
  margin-bottom: 30px;
}
.privacy_policy_inner ol li {
  margin-left: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.4em;
}


/*-------------------------------------------
コンタクトフォーム
--------------------------------------------*/
.contact_form{
  width: var(--base_pc_inner_size);
  margin: 0 auto 100px;
  @media (max-width: 1160px) {  width: var(--base_sp_size);}
}
.contact_form_inner {
  display: flex;
  justify-content: space-between;
  flex-flow: column wrap;
  width: 100%;
}
.contact_tbl {
  width: 80%;
  margin: 0 auto 100px;
  border: 1px solid #ccc;
  border-collapse: collapse;
}
.contact_tbl th {
  width: 30%;
  padding: 10px;
  background: var(--main_color);
  color: #fff;
  text-align: center;
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
  line-height: 1.7em;
  border: 1px solid #ccc;
  border-collapse: collapse;
  vertical-align: middle;
}
.contact_tbl td {
  padding: 10px;
  font-size: clamp(14px, 0.828rem + 0.2vw, 16px);
  line-height: 1.7em;
  border: 1px solid #ccc;
  border-collapse: collapse;
}
.contact_tbl td input[type="text"] ,
.contact_tbl td textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}


@media screen and (max-width: 980px) {
  .contact_tbl { width: 90%; border: none;}
  .contact_tbl th {
    display: block;
    width: 100%;
    border-top: none;
    border-bottom: none;
  }
  .contact_tbl td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .contact_tbl td:last-of-type {
    border-bottom: 1px solid #ccc;
  }
  .contact_tbl td:first-of-type {
    border-top: 1px solid #ccc;
  }
}
.contact_btn {
  margin: 0 auto;
  text-align: center;
  
  & a {margin-right: 10px;}
}


.check_btn { 
  width: 200px;
  margin: 0 auto;
  padding: 10px; 
  background: var(--main_color);
  color: #fff; 
}

.check_btn2 {
  display: block; 
  width: 200px;
  margin: 0 auto;
  padding: 10px 0; 
  background: var(--main_color);
  color: #fff; 
  text-align: center;
}