@charset “UTF-8”;

/* ----- base style ----- */

/* Google font */
body{
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body{
  color: #333;
  background-color: #FFFBF1;
  font-size: 16px;
  letter-spacing: 0.04em;
}

header{
  max-width: 1380px;
  margin: 0 auto;
  padding: 90px 15px 30px;
  position: relative;
  z-index: 1;
}

main{
  max-width: 1410px;
  margin: 0 auto;
  padding: 15px;
}

img{
  width: 100%;
}

h1{
  font-size: 0;
  margin: 0;
}

h1 a{
	width: 100%;
    height: auto;
}

h2{
  font-size: 30px;
  font-weight: 600;
  color: #515E8D;
  margin: 30px 0;
  display: inline-block;
}

p{
  color: #333;
  margin: 0;
}

a{
  color: #515E8D;
  display: inline-block;
  text-decoration: none;
}

a:hover{
  opacity: 0.7;
}

ul{
  margin: 0;
  padding: 0;
}

li{
  list-style: none;
}

.bgWT{
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  padding: 20px;
}

footer{
  margin-top: 100px;
}

footer p{
  color: #999;
  font-size: 16px;
  text-align: center;
}

/* SPのみで表示 */
.sp{
  display: none;
}
/* PCのみで表示 */
.pc{
	display: inline-block;
}

/* bg AMATUHI logo */
body{
  position: relative;
}
body::after{
  content: url(../images/amatuhi_symbol.svg);
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 274px;
}

/* ----- detail style ----- */

#title{
  max-width: 400px;
  height: auto;
}

.catch {
	display: flex;
	width: 80%;
	height: 165px;
	margin: auto;
	align-items: center;
}
.catch__text {
	flex: 2;
	white-space: nowrap;
	line-height: 1.8;
	font-size: 1.45rem;
	color: #26466D;
}
.catch__text span {
	color: #EE887A;
}
.catch__image {
	flex: 3;
	text-align: center;
}
.catch__image img {
	width: auto;
	height: 165px;
	object-fit: cover;;
}

#fv{
  display: flex;
  justify-content: space-around;
}

.dotline{
  background-image: radial-gradient(circle, #cccccc 2px, transparent 2px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 16px 4px;
  line-height: 1.5;
  margin-top: 20px;
  height: 110px;
}

#news{
  max-width: 970px;
  width: 100%;
  margin-right: 15px;
  margin-top: 50px;
  padding: 0 60px 50px;
}

#news .pagination{
	text-align: center;
}

#news .pnavi{
	margin-top: 30px;
    font-size: 1.2em;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

#news .pnavi a,
#news .pnavi span.page-numbers.current{
	margin: 8px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.15s linear;
}

#news .pnavi a{
    background: #fff;
    border: solid 2px #515E8D;
    color: #515E8D;
}

#news .pnavi span.page-numbers.current{
    background: #515E8D;
    color: #fff;
}

#news .pnavi a.prev.page-numbers,
#news .pnavi a.next.page-numbers{
	font-size: 0.6em;
}

#news .pnavi a.prev.page-numbers{
	transform: rotate(90deg);
}

#news .pnavi a.next.page-numbers{
	transform: rotate(-90deg);
}

#news ul.news_headline{
	text-align: left;
	min-height: 300px;
	margin-top: 30px;
}

#news ul.news_headline li{
  margin: 10px 0 20px 10px;
	display: flex;
}

#news ul.news_headline li a{
  text-decoration: underline;
}

#news ul.news_headline li p{
  display: inline-block;
}

#news ul.news_headline li p.data{
  font-size: 20px;
  color: #555;
  margin-right: 0;
  min-width: 100px;
  font-weight: 600;
  line-height: 1;
}
#news ul.news_headline li p.news_label{
  font-size: 14px;
  line-height: 1;
  background-color: #cccccc;
  color: #fff;
  border-radius: 4px;
  padding: 3.4px 10px;
  font-weight: 500;
  min-width: auto;
  height: auto;
  text-align: center;
}
/* ラベルカラー */
/*-- ビジョン通信 --*/
#news ul.news_headline li p.news_label.vision{
  background-color: #E47314;
}
/*-- お知らせ --*/
#news ul.news_headline li p.news_label.notice{
  background-color: #F1B02E;
}
/*-- グループホーム --*/
#news ul.news_headline li p.news_label.grouphome{
  background-color: #14E47E;
}
/*-- ヘルスケア --*/
#news ul.news_headline li p.news_label.healthcare{
  background-color: #D2CF06;
}
/*-- 建設・不動産 --*/
#news ul.news_headline li p.news_label.construction{
  background-color: #14D2E4;
}
/*-- 本社・関連会社 --*/
#news ul.news_headline li p.news_label.headoffice{
  background-color: #1433E4;
}
/*-- 成長の軌跡 --*/
#news ul.news_headline li p.news_label.growth{
  background-color: #842DCE;
}
/*-- 仲間との交流 --*/
#news ul.news_headline li p.news_label.exchange{
  background-color: #CCB5DB;
}
/*-- 新しい仲間 --*/
#news ul.news_headline li p.news_label.newmember{
  background-color: #E74A18;
}
/*-- 掲示板 --*/
#news ul.news_headline li p.news_label.board{
  background-color: #BC68FA;
}

#news ul.news_headline li p.news_text{
  font-size: 18px;
  font-weight: 500;
  width: 100%;
  display: block;
}


#news ul.news_link{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 740px;
  margin: 40px auto 0;
}
#news ul.news_link li{
  width: 310px;
  height: auto;
  text-align: center;
  margin: 10px;
}
#news ul.news_link li a{
  display: inline-block;
  width: 100%;
  height: auto;
  background-color: #EE887A;
  border-radius: 6px;
}
#news ul.news_link li a p{
  color: #fff;
  font-weight: 500;
  vertical-align: middle;
  margin: 5px 0;
  font-size: 18px;
  line-height: 2.6;
  position: relative;
  padding-left: 10px;
}
#news ul.news_link li a p span{
  font-size: 0.9em;
}
#news ul.news_link li a p::before,
#news ul.news_link li a p::before{
  display: inline-block;
  margin-right: 6px;
  font-size: 0;
  position: absolute;
  top: 5px;
  left: 10px;
}
#news ul.news_link li.tg a p::before{
  content: url(../images/icon_thanksgift.svg);
}
#news ul.news_link li.lw a p::before{
  content: url(../images/icon_lineworks.png);
}
#news ul.news_link li a p::after{
  content: url(../images/icon_window_white.svg);
  position: absolute;
  top: 6px;
  right: 10px;
}

/* サムネイル */
.news_thumbnail {
	width: 90px;
	height: 90px;
	margin: 0 16px 0 0;
	border: 1px solid #f5f5f5;
	overflow: hidden;
	flex-shrink: 0;
}
#news ul.news_headline li a {
	display: inline;
}
.news_thumbnail img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.nothum {
	margin: 0;
	padding: 20px;
    background: #fafafa;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}
.news_info {
	margin: 0;
}

#opencount{
  max-width: 360px;
  min-width: 360px;
  position: relative;
  text-align: center;
  margin-top: 50px;
  padding: 0 0 170px;
}

#opencount h2{
  min-width: 190px;
}

#opencount .opencount_hd{
  display: flex;
  align-items: center;
  margin: 20px 30px;
}

#opencount p.currently{
  display: inline-block;
  font-size: 13px;
  background-color: #5DBEB3;
  color: #fff;
  border-radius: 5px;
  padding: 2px 4px;
  line-height: 1.4;
  margin-left: 3px;
}

#opencount ul{
  padding: 0;
  margin: 0;
}

#opencount ul li{
  margin-top: 35px;
}

#opencount ul li p{
  font-size: 22px;
  font-weight: 600;
  color: #515E8D;
  margin: 0;
}

#opencount ul li a p.hp_url{
}

#opencount ul li a p.hp_url{
  font-size: 11px;
  color: #aaa;
  display: flex;
  justify-content: center;
  align-items: center;
}

#opencount ul li a p.hp_url::after{
  content: url(../images/icon_window_count.svg);
  padding-top: 7px;
}

#opencount ul li p.count{
  font-size: 30px;
  color: #EE887A;
}

#opencount ul li p.count span{
  font-size: 0.6em;
}

#opencount figure{
  position: absolute;
  bottom: 0;
  left: 0;
}

#main_bnr{
  width: 100%;
  margin-top: 75px;
}

#main_bnr ul{
  display: flex;
  justify-content: space-around;
}

#main_bnr ul li{
  width: 33%;
  height: auto;
  margin-right: 20px;
}

#main_bnr ul li:last-child{
  margin-right: 0;
}

#tool_btn{
  text-align: left;
  margin-top: 75px;
}

#tool_btn ul{
  display: flex;
  flex-wrap: wrap;
}

#tool_btn li{
  width: calc(92%/ 4);
  margin: 1%;
  height: 280px;
  background-color: #fff;
  border: solid 1px #bbb;
	text-align: center;
}

#tool_btn li a{
  height: 100%;
}

#tool_btn li a p{
  font-size: 22px;
  font-weight: 500;
  background-color: #F8F8F8;
  border-bottom: solid 1px #bbb;
  margin: 0;
  padding: 30px;
  position: relative;
}

#tool_btn li a p::after{
  content: url(../images/icon_window_333bold.svg);
  padding: 0 5px;
  position: absolute;
  right: 4px;
}

#calender{
  background-color: #f0f4f6;
  padding: 10px;
  border-radius: 15px;
}

#calender iframe{
  width: 100%;
  height: 1000px;
}

h2.cal{
	margin-bottom: 50px;
	margin-top: 75px;
}

#QandA{
  width: 100%;
  margin-top: 75px;
}

/* Q&A */
#QandA ul{

}

#QandA ul li{
  margin-bottom: 30px;
  border: solid 1px #5DBEB3;
  border-radius: 20px;
  background-color: #fff;
  overflow: hidden;
  position: relative;
}

#QandA ul li .action{
  display: none;
}

#QandA ul li .Question,
#QandA ul li .Answer{
  padding: 15px;
  font-size: 20px;
}

#QandA ul li .Question{
  background-color: #E9F5F2;
}

#QandA ul li p{
  vertical-align: middle;
	line-height: 1.5;
  font-size: 18px;
}

#QandA ul li .Question p{
  display: flex;
  align-items: center;
  cursor : pointer;
}

#QandA ul li .Answer{
  display: flex;
  padding-right: 50px;
  align-items: center;
  line-height: 1.3;
}

#QandA ul li .Answer a{
  color: #EE887A;
  border-bottom: solid 1px #EE887A;
  display: inline;
}

#QandA ul li p::before{
  margin-right: 8px;
}

#QandA ul li .Question p::before{
  content: url(../images/icon_Q.svg);
  width: 40px;
  height: 33px;
}

#QandA ul li .Answer::before{
  content: url(../images/icon_A.svg);
  width: 40px;
  height: 35px;
  margin-right: 10px;
}

#QandA ul li .Question p::after{
  content: url(../images/icon_arrow.svg);
  width: 33px;
  height: 33px;
  margin-left: auto;
	transform: rotate(180deg);
}

#QandA ul li .Question p.active{
  border-bottom: none;
}
#QandA ul li .Question.active p::after{
  transform: rotate(360deg);
}

/* Q&Aタブ切り替え */

.tab-switch {
  --tab-color:#5DBEB3;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-inline: auto;
  gap: 12px 10px;
}

/* ラジオ非表示 */
.tab-switch input {
  display: none;
}

/* タブボタン */
.tab-switch label {
  padding: 0.7em 1.3em;
  background:#fff;
  color: var(--tab-color);
  cursor: pointer;
  order: -1;
  text-align: center;
  border: solid var(--tab-color) 2px;
  border-radius: 40px;
  position: relative;
  font-size: 18px;
  font-weight: 500;
}
.tab-switch label:hover {
  opacity: 0.8;
}


/* コンテンツ非表示 */
.tab-content {
  display: none;
  width: 100%;
  padding: 1.5em 0;
}

/* 選択されたタブ＋コンテンツ表示 */
.tab-switch input:checked + label{
  background: var(--tab-color);
  color: #fff;
}
.tab-switch input:checked + label + .tab-content{
  display: block;
}
.tab-switch input:checked + label:hover{
  opacity: 1;
  cursor: default;
}


/* 追従バナー */
.fixedbnr{
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 0;
  z-index: 9999;
  width: 200px;
  height: auto;
}


/* ----- ログイン ----- */
#signin > header {
  margin: 0 auto 50px 0;
  max-width: none;
  text-align: center;
}

#signin main header {
  margin: 0;
  padding: 0;
}

#signin #title {
  padding: 5% 0 0 0;
  max-width: none;
  text-align: center;
}

#signin h1 {
  max-width: none;
  text-align: center;

  img {
    width:auto;
    height: 45px;
  }
}

#signin form {
  width: 400px;
  margin: auto;

  .swpm-username-label, .swpm-password-label, .swpm-pw-reset-email {
    text-align: left;
  }

  .swpm-label {
    color: #515E8D;
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
  }

  .swpm-pw-reset-email-label {
    color: #515E8D;
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
  }

  .swpm-text-field {
    width: 100%;
    margin: 5px 0 40px 0;
    padding: 14px 14px;
    border: 1px solid #CCC;
    background: #FFF;
    font-size: 18px;
    letter-spacing: 2px;
  }

  .swpm-forgot-pass-link {
    display: inline;
    position: relative;
    top: -32px;
    a {
      color: #666;
      font-size: 13px;
      font-weight: 700;
      line-height: 150%;
      text-decoration-line: underline;
      text-decoration-style: solid;
    }
  }
  .swpm-join-us-link {
    display: none;
  }
  .swpm-forgot-pass-link {
    &::after {
      /* content: "／"; */
    }
  }

  .swpm-login-submit {
    margin: 30px 0 50px 0;
  }
  .swpm-login-form-submit {
    width: 400px;
    padding: 7px 0;
    text-align: center;
    border-radius: 30px;
    border:none;
    background: #6372AA;
    color: #FFF;
    font-family: "Zen Maru Gothic";
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
  }

  .swpm-pw-reset-submit {
    width: 300px;
    padding: 10px 0;
    text-align: center;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: #999;
    font-family: "Zen Maru Gothic";
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
  }
}

#signin .swpm-login-action-msg, .swpm-reset-pw-error {
  margin: 0 0 40px 0;
  color: red;
  font-weight: 500;
}

/* チェックボックス */
.swpm-remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  width: fit-content;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}
.swpm-remember-me .swpm-rememberme-label {
  position: relative;
  display: flex;
  align-items: center;
}
.swpm-remember-me input[type="checkbox"] {
  display: none;
}
.swpm-remember-me .swpm-rememberme-label::before {
  content: '';
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 1px solid #ccc;
  background: #fff;
  margin-right: 10px;
  vertical-align: middle;
  transition: all 0.2s ease;
}
/* チェック状態のときの枠色 */
.swpm-remember-me:has(#swpm-rememberme:checked) .swpm-rememberme-label::before {
  background-color: #2196F3;
  border-color: #2196F3;
}
/* チェックマーク */
.swpm-remember-me .swpm-rememberme-label::after {
  content: '';
  display: block;
  position: absolute;
  top: 4px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* チェック状態のときだけマークを表示 */
.swpm-remember-me:has(#swpm-rememberme:checked) .swpm-rememberme-label::after {
  opacity: 1;
}

/* サインイン中「プロフィール編集」非表示 */
.swpm-edit-profile-link {
	display: none;
}

/* テスト運用メッセージ1027 */
.test_ms{
	max-width: 1390px;
    margin: 50px auto 20px;
    text-align: center;
	background-color: white;
    padding: 30px 15px;
	border-radius: 20px;
}

.test_ms p{
	margin-bottom: 10px;
	line-height: 1.8;
    letter-spacing: -0.03em;
}

.test_ms span{
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
}

.test_ms a{
	padding: 10px 50px;
    border: 1px solid #fbb220;
    border-radius: 4px;
	background-color: #fbb220;
	color: #fff;
	margin-top: 10px;
}

/* ----- bottom page style ----- */

/* ----- 全社お問い合わせ ----- */
main#inquiry{
  .title{
    position: relative;
    display: block;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    padding: 20px 10px;
    text-align: center;
    margin-bottom: 70px;
    z-index: 100;
  }
  .title::before{
    position: absolute;
    content: url(../images/logo_amatuhi.svg);
    top: 0;
    right: 0;  
    left: 0;
    margin: 0 auto;
  }
  h1{
    font-size: 25px;
    color: #515E8D;
    padding-top: 35px;
    display: inline-block;
  }

  .item_all{
  }

  .item_all ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
    height: auto;
    margin: 0 auto;
  }
  .item_all ul li{
    display: inline-block;
    width: 100%;
    height: auto;
    background-color: #fff;
    border: solid 1px #E6E6E6;
    border-radius: 14px;
    margin-top: 20px;
  }

  .item_all ul li a{
    display: inline-block;
    font-size: 0;
    width: 100%;
    height: auto;
    padding: 30px;
  }

  .item_all ul li a h3{
    font-size: 20px;
    font-weight: 600;
    border-bottom: dotted 2px #D3D3D3;
    margin: 0 0 20px;
    padding-bottom: 15px;
    position: relative;
  }

  .item_all ul li a h3::after{
    position: absolute;
    content: url(../images/arrow_inq.svg);
    top: 0;
    right: 0;
  }

  .item_all ul li a p{
    font-size: 16px;
    color: #515E8D;
    font-weight: 500;
    line-height: 1.5;
  }

  /* bnr tell */

  .item_all.bnr_tel ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .item_all.bnr_tel li{
    width: 50%;
    height: 110px;
	  overflow: hidden;
  }
	
	.item_all.bnr_tel li:first-child{
		margin-right: 10px;
	}
	
	.item_all.bnr_tel li:last-child{
		margin-left: 10px;
	}
	
  .item_all.bnr_tel li:first-child a{
    background-image: url(../images/bnr_Link01_bg.jpg);
    background-size: auto 100%;
    background-position: right;
    background-repeat: no-repeat;
  }
  .item_all.bnr_tel li:last-child a{
    background-image: url(../images/bnr_Link02_bg.jpg);
    background-size: auto 100%;
    background-position: right;
    background-repeat: no-repeat;
  }

  .item_all.bnr_tel h3{
    max-width: 208px;
    padding-bottom: 5px;
    margin-bottom: 2px;
    text-shadow:2px 2px 0 #FFF, -2px -2px 0 #FFF,
              -2px 2px 0 #FFF, 2px -2px 0 #FFF,
              0px 2px 0 #FFF,  0-2px 0 #FFF,
              -2px 0 0 #FFF, 2px 0 0 #FFF;
  }
	
	.item_all.bnr_tel ul li a h3::after{
		content: none;
	}

  .item_all.bnr_tel ul li a{
    padding: 20px;
  }

  .item_all.bnr_tel ul li a p{
    font-size: 24px;
    margin-left: 20px;
    position: relative;
    text-shadow:2px 2px 0 #FFF, -2px -2px 0 #FFF,
              -2px 2px 0 #FFF, 2px -2px 0 #FFF,
              0px 2px 0 #FFF,  0-2px 0 #FFF,
              -2px 0 0 #FFF, 2px 0 0 #FFF;
  }
  .item_all.bnr_tel ul li a p::before{
    position: absolute;
    content: url(../images/ico_tel.svg);
    top: 4px;
    left: -22px
  }

  /* トップに戻るボタン */

  .btn_backtop{
    text-align: center;
    margin-top: 50px;
  }

  .btn_backtop a{
    padding: 10px 40px;
    border: 1px solid #515E8D;
    border-radius: 40px;
    background-color: #515E8D;
    margin-top: 10px;
  }

  .btn_backtop a p{
    color: #fff;
    font-size: 16px;
	  font-weight: 500;
    margin-left: 20px;
    position: relative;
  }

  .btn_backtop a p::before{
    content: url(../images/ico_arrow_w7_13.svg);
    position: absolute;
    top: 1px;
    left: -20px;
  }

}


/* TB */
@media screen and (max-width: 960px) {
	
	.catch {
		display: block;
		width: 100%;
		height: auto;
	}
	.catch__text {
		font-size: 1rem;
	}
	.catch__image {
		width: 90%;
		margin: 24px auto 40px auto;
		text-align: center;
	}
	.catch__image img {
		width: 100%;
		height: auto;
		object-fit: cover;
	}
	
	
  #fv{
    flex-wrap: wrap;
    flex-direction: column;
  }
  #news ul.news_headline li{
    display: flex;
	  margin: 0 0 20px 0;
  }
	#news ul.news_headline li p.news_text{
		width: 100%;
	}
	.news_thumbnail {}
	.news_info {
		margin: 0
	}
	
  #opencount{
    max-width: 100%;
    text-align: left;
    padding: 0px 15px 30px;
  }
  #opencount .opencount_hd{
    justify-content: space-between;
  }
  #opencount .oc_content{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  #opencount ul{
    margin-left: 20px;
  }
  #opencount ul li{
    display: flex;
    justify-content: space-between;
  }
  #opencount ul li p{
    min-width: 250px;
  }
  #opencount ul li p.count{
    min-width: 120px;
  }
  #opencount ul li p.count::before{
    content: "・・・";
    font-size: 0.7em;
    letter-spacing: -8px;
    margin-right: 10px;
  }
  #opencount figure{
    max-width: 310px;
    min-width: 310px;
    position: static;
    margin-top: auto;
  }

  #opencount ul li a p.hp_url{
    justify-content: flex-start;
  }

  #tool_btn li{
    width: calc(92%/ 3);
  }

  #tool_btn li a p{
    font-size: 15px;
  }


  /* ----- 全社お問い合わせ ----- */
  main#inquiry{

    /* bnr tell */

    .item_all.bnr_tel ul{
      display: flex;
      flex-direction: column;
    }
    .item_all.bnr_tel li{
      width: 100%;
    }
    .item_all.bnr_tel li:first-child{
      margin-right: 0;
    }
    .item_all.bnr_tel li:last-child{
      margin-left: 0;
    }
  }

}


/* SP */
@media screen and (max-width: 480px) {

  /* ----- base style SP ----- */

  body::after{
    content: url(../images/amatuhi_symbol_SP.svg);
    width: 110px;
    height: 110px;
    top: 0px;
    right: 0px;
  }

/* SPのみで表示 */
.sp{
  display: inline-block;
}
/* PCのみで表示 */
.pc{
	display: none;
}

  header{
    padding: 50px 0 30px;
  }

  p{
    font-size: 16px;
  }

  h1{
    width: 70%;
    padding-left: 15px;
  }

  h2{
    font-size: 20px;
    margin: 15px 0 20px 0;
  }
	
  h2.cal{
	margin-bottom: 30px;
	margin-top: 40px;
  }

  #news{
    margin-top: 0;
    padding: 20px 20px 40px;
  }

	#news ul.news_headline{
		margin-top: 20px;
	}
	
#news ul.news_headline li{
  margin: 10px 0 20px 0;
}

  #news ul.news_headline li p.data{
    font-size: 17px;
	  min-width: 80px;
  }

  #news ul.news_headline li p.news_label{
    font-size: 12px;
    padding: 0 8px;
    width: auto;
	  line-height: 20px;
    letter-spacing: -0.5px;
  }

  #news ul.news_headline li p.news_text{
    font-size: 16px;
	  margin-top: 7px;
  }

  #news ul.news_link{
    margin-top: 30px;
  }

  #news ul.news_link li{
    width: 100%;
    margin: 5px 0;
  }
	
  #news ul.news_link li.tg a p::before{
    content: url(../images/icon_thanksgift_SP.svg);
    width: 30px;
    height: 30px;
    position: absolute;
    top: 9px;
    right: 0;
  }

  #news ul.news_link li.lw a p::before{
    content: url(../images/icon_lineworks_SP.png);
    width: 30px;
    height: 30px;
    position: absolute;
    top: 9px;
    right: 0;
  }
	
	#news ul.news_link li a p{
		font-size: 0.9em;
		line-height: 3;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	#news .pnavi{
		font-size: 0.9em;
	}
	
	#news .pnavi a.prev.page-numbers, 
	#news .pnavi a.next.page-numbers
	{
		font-size: 0.5em;
	}
	
	#news .pnavi a{
		border: solid 1.6px #515E8D;
	}
	
	#news .pnavi a,
	#news .pnavi span.page-numbers.current{
	margin: 3px;
    width: 24px;
    height: 24px;
	}

  #opencount{
    text-align: left;
    padding: 0px 15px 10px;
    min-width: unset;
  }

  #opencount .opencount_hd{
    justify-content: space-around;
    margin: 7px 0;
  }

  #opencount .oc_content{
    display: block;
  }

  #opencount ul{
	margin-left: 0;
	padding: 4px;
  }

  #opencount ul li{
    display: flex;
    justify-content: space-between;
	  margin-top: 12px;
  }

  #opencount ul li p{
    font-size: 17px;
    min-width: auto;
  }

  #opencount ul li p.count{
    font-size: 22px;
    min-width: 80px;
  }
	
#opencount ul li a p.hp_url{
	width: 190px;
	}

  #opencount figure{
    min-width: auto;
    margin-top: 20px;
  }

  .dotline{
    margin-top: 0;
    padding-bottom: 5px;
    height: 75px;
  }

  #main_bnr{
    margin-top: 45px;
  }

  #main_bnr ul{
    flex-direction: column;
    justify-content: unset;
  }

  #main_bnr ul li{
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
  }
  #main_bnr ul li:last-child{
    margin-bottom: 0;
  }

  #tool_btn{
    margin-top: 45px;
  }

  #tool_btn ul li{
    width: calc(93% / 2);
    height: auto;
    margin: 0.3em;
  }

  #tool_btn li a figure{
    margin: 20px 10px;
  }

  #tool_btn li a p{
  }

  #tool_btn li a p{
    padding: 20px 5px;
    line-height: 1.2;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #tool_btn li a p::after {
    content: url(../images/icon_window_333bold_SP.svg);
  }

  #calender{
  }

  #calender iframe{
    height: 550px;
  }

  #QandA{
    margin-top: 45px;
  }

  /* Q&A accordion */
  #QandA.bgWT{
    padding: 20px 10px;
  }

  #QandA ul li .Question, 
  #QandA ul li .Answer{
    padding: 15px 8px;
  }

  #QandA ul li{
    border-radius: 10px;
    margin-bottom: 20px;
  }

  #QandA ul li p{
    font-size: 15px;
  }

  #QandA ul li p::before{
    font-size: 16px;
  }

  #QandA ul li .action{
    display: none;
  }

  #QandA ul li .Answer{
    padding-right: 28px;
  }

  #QandA ul li .Question p::before{
    content: url(../images/icon_Q_SP.svg);
    width: 26px;
    height: 26px;
  }

  #QandA ul li .Answer::before{
    content: url(../images/icon_A_SP.svg);
    width: 26px;
    height: 26px;
  }

  #QandA ul li .Question p::after{
  content: url(../images/icon_arrow_SP.svg);
  transform: rotate(180deg);
  width: 18px;
  height: 18px;
  }

  #QandA ul li .Question p.active::after{
  transform: rotate(360deg);
  }

  footer p{
    font-size: 12px;
    margin-bottom: 10px;
  }

  .fixedbnr{
    width: 130px;
    height: auto;
	  bottom: 5px;
	  right: 5px;
  }

  /* Q&Aタブ切り替え */

  .tab-switch{
    gap: 6px;
  }

  .tab-switch label{
    font-size: 12px;
    padding: 5px 8px;
    border: solid 1px;
  }


  /* ----- ログイン ----- */
  #signin > header {
    padding: 0;
  }
  #signin #title {
    padding: 10% 0 0 0;
  }

  #signin h1 img {
    height: 30px;
  }

  #sign main {
    padding: 0 20px;
  }

  div:has(> .swpm-login-widget-form) {
    width: auto !important;
  }
  div:has(> .swpm-pw-reset-widget-form) {
    width: auto !important;
  }

  #signin form {
    width: auto;

    .swpm-label {
      font-size: 16px;
    }
    .swpm-text-field {
      margin: 5px 0 30px 0;
    }
    .swpm-forgot-pass-link, .swpm-join-us-link {
      top: -20px;
    }
    .swpm-login-submit {
      margin: 20px 0 50px 0;
    }
    .swpm-login-form-submit {
      width: 100%;
      max-width: 100%;
    }
  }

  /* ----- bottom page style ----- */

/* ----- 全社お問い合わせ ----- */
main#inquiry{

  margin-top: -30px;

  .title{
    margin-bottom: 0;
  }

  .title::before{
  }
  h1{
    font-size: 20px;
    width: 100%;
    padding-top:20px;
  }

  .item_all{
  }

  .item_all ul li a{
    padding: 20px;
  }

  .item_all ul li a h3{
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .item_all ul li a p{
    font-size: 14px;
  }

  /* bnr tell */

  .item_all.bnr_tel ul{
    display: flex;
    flex-direction: column;
  }
  .item_all.bnr_tel li{
    width: 100%;
  }
  .item_all.bnr_tel li:first-child{
    margin-right: 0;
  }
  .item_all.bnr_tel li:last-child{
    margin-left: 0;
  }

  .item_all.bnr_tel ul li a p{
    font-size: 22px;
  }

  /* トップに戻るボタン */

  .btn_backtop a p{
    font-size: 14px;
  }

}

}