@charset "UTF-8";

/* === 全体にかかる設定 =============== */

:root {
  --main_color: #53d9ff;

}

/* 基本設定 */
html {
  font-size: 16px;
}

body {
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

}

footer {
  margin-top: auto;
}

footer .bunkatsu {
  display: block;

}


/* コンテナの左右の余白 */
.container {
  padding: 0 15px;
  max-width: 1200px;
}

.content {
  padding: 0 0 3rem 0;
  max-width: 1025px;
}

/* 画像の幅 */
img {
  width: 100%;
}

/* === ヘッダー =============== */

header {
  display: flex;
  align-items: center;
  position: absolute;
  width: 100%;
  z-index: 100;
}

.site_name {
  width: 65vw;
  margin: 25px 30px 0 15px;
}

header div:first-child {
}

header div:nth-child(2) {
  margin-left: auto;
}

/* === メインメニュー =============== */

.main_menu {
  display: none;
}

.main_menu ul {
  display: flex;
  list-style: none;
  background-color: #000;
  padding: 20px 30px;
  font-size: 1.1rem;
  border-bottom-left-radius: 20px;
}

.main_menu li {
  margin: 20px 20px;
  text-align: center;
}

.main_menu a {
  display: block;
  padding: 0px 0;
  color: #fff !important;
  line-height: 1;
  letter-spacing: 0.1rem;
  font-feature-settings: "palt";
  position: relative;
}
.main_menu a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #fff;
  bottom: -15px;
  transform: scale(0, 1);
  transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;  /*変形の時間*/
  }
  
  .main_menu a:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
    transform-origin: left top; /*左から右に向かう*/
    }
  
/* メインメニュー　リンク背景 */
.main_menu a:hover {
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  color: #fff !important;
}

.main_menu a:active {
  color: #333;
}
.main_menu li:last-child {
  margin: 0 0 0 1.5rem;
}
.main_menu li:last-child a {
  color: #000 !important;
  padding: 20px 30px;
  background-color: var(--main_color);
  border-radius: 50px;
}
.main_menu li:last-child a:hover {
  background-color: #fff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.main_menu li:last-child a::after {
  display: none;
  }


/* === ハンバーガーメニュー =============== */

/* ハンバーガーボタン */
#hamburger_btn {
  position: fixed;
  display: block;
  right: 0;
  top: 0;
  width: 65px;
  height: 65px;
  cursor: pointer;
  z-index: 80;
  background-color: rgba(0, 0, 0, 0.9);
}

#hamburger_btn .menu_icon {
  margin: 13px auto 8px auto;
  width: 32px;
  z-index: 90;
}

#hamburger_btn .close_icon {
  margin: 13px auto 8px auto;
  width: 32px;
  z-index: 90;
}

#hamburger_btn.check {
  background-color: rgba(255, 255, 255, 0);

}


/* 「閉じる」アイコンは消しておく */
#hamburger_btn .close_icon {
  display: none;
}

/* ボタンがチェックされたら（「閉じる」アイコンを表示する）*/
#hamburger_btn.check .close_icon {
  display: block;
}

/* ボタンがチェックされたら（「メニュー」アイコンを消す）*/
#hamburger_btn.check .menu_icon {
  display: none;

}

/* パネル */
#hamburger_panel {
  position: fixed;
  right: -100vw;
  top: 0;
  width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.90);
  transition: all 0.5s ease 0s;
  z-index: 70;
}
#hamburger_panel .bunkatsu {
display: flex;
justify-content: center;
}
#hamburger_panel .bunkatsu .bun02_item {
  flex: 0 1 50%;
  padding: 0 5px;
}



/* パネルにチェックが付いたら */
#hamburger_panel.check {
  right: 0;
}

/* パネル のデザイン */
#hamburger_panel {
  text-align: center;
  padding-top: 70px;
}

#hamburger_panel ol {
  list-style: none;
  margin-left: 15px;
}

#hamburger_panel ol li {
  margin-left: 0;
}

#hamburger_panel ol li a {
  display: block;
  padding: 0.8rem;
  font-size: 1.2rem;
  color: #fff;
}

#hamburger_panel ol li:last-child {
  padding: 1rem;
}
#hamburger_panel ol li:last-child a {
  color: #000 !important;
  padding: 20px 30px;
  background-color: var(--main_color);
  border-radius: 50px;
  width: 250px;
  margin: 0 auto;
}

#hamburger_panel ol li a:hover {
  color: #fc0;
}

#hamburger_panel ol li a:active {
  color: #f30;
}
#hamburger_panel .bunkatsu ol {
  border-top: none!important;
}
#hamburger_panel .bunkatsu ol li {
  padding: 5px 0;
}
#hamburger_panel .bunkatsu ol li a {
  background-color: rgba(133, 133, 133, 0.9);
  border: none!important;
}


/* === 本文（メインコンテンツ部分） =============== */

/* 見出し */
h1 {
  margin: 6rem auto 3rem auto;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  display: inline-block;
}
h1:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 6px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--main_color);
}
h2 {
  margin: 2.5rem 0 2rem;
  font-size: 1.6rem;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  border-bottom: 6px solid #000;
  padding-bottom: 1rem;

}

h2:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: var(--main_color);
}

h3 {
  margin: 3rem 0 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  padding: 0.2rem 20% 0.5rem 1rem;
    position: relative;
    background-color: #000;
    color: #fff;
  }
 h3:before {
    position: absolute;
    content: '';
    display: block;
    bottom: 0;
    right: 0;
    width: 20%;
    height: 100%;
    background-color: var(--main_color);
    clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
  }


  @media (max-width: 600px) {

    h3:before {
    clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%);
    padding: 0.2rem 12% 0.5rem 1rem;
      width: 12%;
    }
  
  }

h4 {
  margin: 1rem 0;
  font-size: 1rem;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
}

.page_tit {
  text-align: center;
}

/* 強調 */
strong {
  color: #f00;
  font-weight: bold;
}

/* 導入文 */
.lead {
  font-size: 1.2rem;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 3rem;
}

.catch {
	font-size:126%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.catch02 {
	font-size:126%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* 囲み */
.kakomi {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border: 1px solid #ccc;
}

.kakomi h5 {
  margin: 0 0 1rem 0;
}

.kakomi p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.kakomi p:last-child {
  margin-bottom: 0;
}

/* 注釈 */
.hosoku {
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.hosoku ul {
  margin: 2rem 0;
  list-style: none;
}

.hosoku li {
  margin-left: 1rem;
  margin-bottom: 0.3rem;
  text-indent: -1rem;
}

.hosoku li::before {
  content: '※';
  margin-right: 0.2rem;
}

/* テーブル */
table {
  width: 100%;
  margin-bottom: 2rem;
  border-collapse: collapse;
}

th,
td {
  padding: 0.3rem 0.5rem;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

th {
  background-color: #f1f1f1;
  vertical-align: middle;
  font-weight: bold;
}

td ul{
  margin-bottom: 0;
}

.bunkatsu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* === マージン調整 ===============  */
.mb_0 {
  margin-bottom: 0 !important;
}

.mb_1 {
  margin-bottom: 1rem !important;
}

.mb_2 {
  margin-bottom: 2rem !important;
}

.mb_3 {
  margin-bottom: 3rem !important;
}

.mb_4 {
  margin-bottom: 4rem !important;
}

.mb_5 {
  margin-bottom: 5rem !important;
}

.mt_0 {
  margin-top: 0 !important;
}

.mt_1 {
  margin-top: 1rem !important;
}

.mt_2 {
  margin-top: 2rem !important;
}

.mt_3 {
  margin-top: 3rem !important;
}

.mt_4 {
  margin-top: 4rem !important;
}

.mt_5 {
  margin-top: 5rem !important;
}

.mx_auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.my_auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.text_center {
  text-align: center;
}

.text_end {
  text-align: right;
}

.align_items_center {
  display: flex;
  align-items: center;
}

.align_items_flex_end {
  display: flex;
  align-items: flex-end;
}

.justify_content_flex_end {
  display: flex;
  justify-content: flex-end;
}

.img_fluid {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* === ホームボタン =============== */

.home_btn {
  text-align: center;
  margin: 3rem 0;
}

.home_btn a {
  display: inline-block;
  margin: 0;
  padding: 1.1rem 1.8rem;
  line-height: 1;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* お知らせ */
.news_area {
  padding-top: 5rem;
  line-height: 1.6;
}

.news_area h2 {
  margin: 0 0 30px 0;
  padding: 0;
  font-size: 1.4rem;
  font-weight: bold;
  border: none;
}

.news_item {
  border-bottom: 1px solid #ddd;
}

.news_date {
  padding: 1.5rem 1rem 0 1rem;
  color: #999;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.news_text {
  flex: 1;
  padding: 0.5rem 1rem 1.5rem 1rem;
  box-sizing: border-box;
}

.news_text a {
  color: #333;
  text-decoration: none;
}

/* お知らせ一覧へのボタン */
.news_list_btn {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 3rem;
  text-align: right;
}

.news_list_btn a {
}

/* カード */
.card {
  border: 1px solid #ccc;
}

/* カードのテキスト部分 */
.card_body {
  padding: 1rem;
}

.card_body h5 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  line-height: 1;
}

.card_body p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* カード内ボタン */
.card .btn {
  text-align: center;
}

.card a {
  display: inline-block;
  padding: 1rem 1.5rem;
  line-height: 1;
  background-color: #333;
}

.card a:hover {
  background-color: #999;
}

.card a:active {
  background-color: #333;
}

.pagenav_container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.pagenav_container div.btn {
  margin: 0;
  flex: 1 1 auto;
  width: calc( 50% - 25px / 2 );
}

.pagenav_container div.btn a {
  display: block;
  line-height: 1;
  padding: 1.2rem;
  color: #fff;
  background-color: #000;
  border: 1px solid #000;
}
.pagenav_container div.btn a:hover {
  display: block;
  line-height: 1;
  padding: 1.2rem;
  color: #000;
  border: 1px solid #000;
  background-color: #fff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.pagenav_container div.active {
  display: block;
  line-height: 1;
  padding: 1.2rem;
  color: #000;
  background-color: var(--main_color);
  position: relative;
}
.pagenav_container div.active::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -11px;
  width: 0;
  height: 0;
  border: 11px solid transparent;
  border-top: 11px solid var(--main_color);
}

/* === お問い合わせ =============== */
/* フォーム */

form fieldset {
  border: none;
  background-color: #f1f1f1;
  padding: 10px 20px 20px;
  margin-bottom: 30px;
}

form legend {
  font-size: 1.2rem;
}

form strong {
  font-size: 1rem;
}

form input,
form label,
form textarea {
  display: block;
  width: 100%;
  padding: 5px 10px;
  font-size: 1rem;
}

form input.p-postal-code {
  width: fit-content;
}

form input[type="submit"] {
  margin: 50px auto;
  width: fit-content;
  padding: 10px 50px;
  color: #000 !important;
  padding: 20px 30px;
  background-color: var(--main_color);
  border-radius: 50px;
  font-size: 1.2rem;
  border: 0 solid;
}
form input[type="submit"]:hover {
  color: #fff !important;
  background-color: #000;
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

form label[for="contact_content"] {
  font-size: 1.2rem;
}


/* === フッター =============== */
footer {
  background-color: #000;
  color: #fff;
  padding: 30px 0;
}


  footer .bunkatsu div.link_item {
    display: none;
}


/* フッターメニュー */
.footer_menu {
  background-color: #000;
}

.footer_menu ul {
  display: block;
  justify-content: center;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 1025px;
  list-style: none;
}

.footer_menu li {
  background-color: #000;
  text-align: center;
  margin: 0;
  padding: 0;
}

.footer_menu a {
  color: #fff !important;
  position: relative;
}

.address_item h4 {
  margin: 0 0 2rem 0;
  padding: 0;
  text-align: center;
  line-height: 1;
  font-size: 2rem;
  font-family: "Klee One", cursive;
  font-weight: 400;
  font-style: normal;
}

address {
  margin: 0 0 2rem;
  padding: 0;
}

.address_item p,
.copyright_item p {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  text-align: center;
}

.copyright_item p {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
 
}

.admin_name {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
}

/* === リンク色 =============== */

/* 標準 */
a:link {
  color: #333;
  text-decoration: none;
}

a:visited {
  color: #333;
}

a:hover {
  color: #999;
}

a:active {
  color: #333;
}

/* 黒いリンク文字 */
.main_menu a:link,
.home_btn a:link {
  color: #333;
  text-decoration: none;
}

.main_menu a:visited,
.home_btn a:visited {
  color: #666;
}

.main_menu a:hover,
.home_btn a:hover {
  color: #36f;
}

.main_menu a:active,
.home_btn a:active {
  color: #f30;
}

footer a:link,
footer a:visited {
  color: #fff;
}

footer a:hover {
  opacity: 0.8;
}

/* ボタン ホバー時 */

.home_btn a:hover {
  color: #fff;
  background-color: #ccc;
}

/* ボタン */
.btn {
  margin-top: 100px;
  text-align: center;
}

/* 四角いボタン */
.btn a {
  display: inline-block;
  line-height: 1;
  padding: 1.2rem;
  color: #fff;
  background-color: #333;
}

.btn a:hover {
  background-color: #999;
}

.btn a:active {
  background-color: #333;
}


/* === 内部ページ =============== */

/* 会社案内 */

.daihyou_name {
  margin-left: auto;
  display: block;
  max-width: 220px;
  text-align: right;
}

/* 事業内容 */

  .jigyo_container div {
    margin-bottom: 1rem;
  }

.suishin_kakomi {
  background-color: #eee;
  padding: 4rem 1.5rem 2rem 0;
  position: relative;
}
.suishin_kakomi h4 {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    padding: 0.3rem 1rem;
    background-color: var(--main_color);
    font-weight: bold;
    margin-top: 0;
}
.suishin_kakomi ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}
.suishin_kakomi ul li {
	padding-left:24px;
  font-size: 1.1rem;
	position:relative;
}
.suishin_kakomi ul li:before,
.suishin_kakomi ul li:after{
	content:"";
	display:block;
	position:absolute;
}
.suishin_kakomi ul li:before{
	width:20px;
	height:20px;
	background:#fff;
	left:0;
  top:8px;
}
.suishin_kakomi ul li:after{
	border-left:2px solid var(--main_color);
	border-bottom:2px solid var(--main_color);
	width:12px;
	height:7px;
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	left:4px;
	top:12px;
}
.hammerhead_lead {
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  position: relative;
}
.hammerhead_lead span {
    background: linear-gradient(transparent 70%, var(--main_color) 70%);
}
.jigyodetail_kakomi {
  background-color: #eee;
  padding: 4rem 2rem 0.1rem 2rem;
  position: relative;
}
.jigyodetail_kakomi h4 {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    padding: 0.3rem 1rem;
    background-color: var(--main_color);
    font-weight: bold;
    margin-top: 0;
}

.jigyodetail_kakomi ol {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  margin-left: 0;
  padding-left: 0;
}

.jigyodetail_kakomi ol li {
  position: relative;
  line-height: 1.5em;
  padding: 0.3em 0.5em 0.3em 35px;
  margin-left: 0;
}

.jigyodetail_kakomi ol li:before {
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display:inline-block;
  background: #fff;
  color: var(--main_color);
  font-weight:bold;
  font-size: 15px;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  /*以下上下中央寄せのため*/
  top: 1rem;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.change_pipe_container {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.change_pipe_kakomi {
  position: relative;
  margin: 2em 0;
  padding: 2em 1em 0em 1.5em;
  border: solid 3px var(--main_color);
}
.change_pipe_kakomi h4 {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  background: #FFF;
  color: #333;
  font-weight: bold;
  margin: 0;
}


ul {
  list-style: square;
}
ul li::marker {
  color: var(--main_color);
  font-size: 1.1em;
}

.change_pipe_kakomi ol {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  margin-left: 0;
  padding-left: 0;
}

.change_pipe_kakomi ol li {
  position: relative;
  line-height: 1.5em;
  padding: 0.3em 0.5em 0.3em 35px;
  margin-left: 0;
}

.change_pipe_kakomi ol li:before {
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display:inline-block;
  background: var(--main_color);
  color: #fff;
  font-weight:bold;
  font-size: 15px;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  /*以下上下中央寄せのため*/
  top: 1rem;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (min-width:600px) {

  .jigyo_container {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }

  .suishin_kakomi,
  .jigyodetail_kakomi {
    padding: 5rem 2rem 1.5rem 2rem;
  }

  .jigyodetail_kakomi ol {
    margin-bottom: 0;
  }

  .suishin_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hammerhead_container {
    display: grid;
    gap: 30px;
    grid-template-columns: 2.5fr 1fr;
  }
  .change_pipe_container {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
  }

.jigyodetail_content {
  display: grid;
  grid-template-columns: 2fr 1fr;
}
}


/* === 表示・非表示 =============== */

.disp_pc {
  display: none;
}

@media (min-width:600px) {

.disp_pc {
  display: inline;
}

.disp_sp {
  display: none;
}

}

/* === メディアクエリ =============== */

@media (min-width:600px) {
  body {
    line-height: 2;
  }

  .banner_container {
    grid-template-columns: repeat(auto-fit, minmax(234px, 1fr));
    gap: 15px;
    justify-content: center;
  }

}

@media (min-width:1024px) {

  h1 {
    margin: 12rem 0 7rem 0;
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.3rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  h4 {
    font-size: 1.4rem;
  }

  #hamburger_panel,
  #hamburger_btn {
    display: none;
  }

  .main_menu {
    display: block;
  }

  .site_name {
    width: 380px;
    margin: -15px 30px 0 30px;
  }

.pagenav_container {
  display: flex;
  gap: 25px;
}

.pagenav_container div.btn {
  margin: 0;
  flex: 1 1 auto;
  width: calc( 25% - 50px / 2 );
}

  /* === フッター =============== */
  footer .bunkatsu_menu {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  footer .bunkatsu {
  display: flex;
  justify-content: flex-start; 
  gap: 15px;
}

  footer .bunkatsu div {
  flex: 1 1 auto;
}

  footer .bunkatsu div.link_item ul {
    display: block;
}

  .footer_menu ul {
    justify-content: flex-end !important;
  }

  .bunkatsu_footer {
    display: flex;
    justify-content: space-between;
  }

  .address_item h4,
  .address_item p {
    text-align: left;
  }
  .address_item h4 {
    font-size: 1.6rem;
  }

  

  /* === お問い合わせ =============== */
  /* フォーム */

  form fieldset {
    padding: 15px 30px 15px 5px;
  }

  form fieldset div {
    display: flex;
    margin-bottom: 1rem;
  }

  form fieldset div label {
    flex: 0 0 200px;
    text-align: right;
    padding-right: 20px;
  }

  form fieldset div input {
    flex: 0 1 auto;
  }

  form input.p-postal-code {
    flex: 0 0 100px;
  }
}


@media (min-width:1025px) {
  .container {
    width: 1200px;
    margin: 0 auto;
  }

  .content {
    width: 1025px;
    margin: 0 auto;
  }

  .banner_container {
    margin: 0 auto;
    max-width: 800px;
  }

.news_item {
  display: flex;
}

.news_date {
  width: 150px;
  flex-shrink: 0;
  padding: 1.5rem 1rem;
  color: #999;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.news_text {
  flex: 1;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}

footer {
  padding: 50px 0;
}

.footer_menu ul {
  display: flex;
  justify-content: center;
  margin: 0 auto 2rem;
  max-width: 1025px;
  list-style: none;
}
.footer_menu li {
  background-color: #000;
  text-align: right;
  margin: 0 0 0 2rem !important;
  padding: 0;
}
.copyright_item p {
  text-align: right;
 
}
.footer_menu a:hover {
  color: #fff !important;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.footer_menu a:link::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #ccc;
  bottom: -15px;
  transform: scale(0, 1);
  transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;  /*変形の時間*/
  }
  
  .footer_menu a:link:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
    transform-origin: left top; /*左から右に向かう*/
    }.footer_menu li {
  background-color: #000;
  text-align: center;
  margin: 0;
  padding: 0;
}


}