@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;
}

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で表示 ・ PCで非表示 */
br.sp{
  display: none;
}

/* 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;
}

#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: 120px;
}

#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: 0 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: 50px;
}

#news ul.news_headline li{
  margin: 30px 0;
	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: #9C9C9C;
  margin-right: 15px;
	min-width: 100px;
}
#news ul.news_headline li p.news_label{
  font-size: 14px;
line-height: 1.5;
  background-color: #cccccc;
  color: #fff;
  border-radius: 4px;
  padding: 0 5px;
  font-weight: 500;
  min-width: 120px;
	height: 24px;
  text-align: center;
  margin-right: 15px;
}
/* ラベルカラー */
/*-- ビジョン通信 --*/
#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_text{
  font-size: 18px;
  font-weight: 500;
	width: 70%;
}


#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;
}

#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: 13px;
  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: center;
  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;
}

#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;
  margin-top: 75px;
}

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

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

/* */
#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: block;
}

#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;
}

#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;
}

#QandA ul li .Question p.active{
  border-bottom: none;
}
#QandA ul li .Question p.active::after{
  transform: rotate(180deg);
  top: 8px;
  right: 62px;
}

/* 追従バナー */
.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-rememberme-label {
    position: relative; /* ★この行を追加 ★ */
    display: flex; /* labelの中身をflexにすることで、spanの配置がしやすくなります */
    align-items: center; /* 縦方向の中央揃え */
    /* ここにlabel本来のスタイルがあれば記述 */
  }

  input[type="checkbox"] {
    display: none;
  }

  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; /* アニメーション効果 */
  }

  input[type="checkbox"]:checked + label::before {
   background-color: #2196F3; /* 背景色を変更 */
    border-color: #2196F3;     /* 枠線の色を変更 */
  }

  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;
  }

  input[type="checkbox"]:checked + label::after {
    opacity: 1; /* 不透明にして表示 */
  }

  label:hover::before {
    border-color: #777;
  }
}


/* TB */
@media screen and (max-width: 960px) {
  #fv{
    flex-wrap: wrap;
    flex-direction: column;
  }
  #news ul.news_headline li{
    display: inline-block;
  }
	#news ul.news_headline li p.news_text{
		width: 100%;
	}
  #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;
  }
}


/* 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で表示 ・ PCで非表示 */
  br.sp{
    display: inline-block;
  }

  header{
    padding: 50px 0 30px;
  }

  p{
    font-size: 16px;
  }

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

  h2{
    font-size: 20px;
    margin: 15px 0 20px 0;
  }

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

	#news ul.news_headline{
		margin-top: 20px;
	}
	
#news ul.news_headline li{
  margin: 10px 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: 100px;
	  height: 20px;
    letter-spacing: -0.5px;
  }

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

  #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;
  }

  #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{
    justify-content: space-around;
  }

  #tool_btn ul li{
    width: calc(93% / 2);
    height: auto;
    margin: 7px 0;
  }

  #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{
    margin-top: 45px;
  }

  #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;
  }


  /* ----- ログイン ----- */
  #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%;
    }
  }
}