@charset "utf-8";

/* --------------------
catchphrase
--------------------- */
div.main-visual {
  height: 700px;
  background-image: url(../images/main_visual.jpg);
  background-repeat: no-repeat;
  background-position: left -100px;
  margin-bottom: 50px;
}

.catchphrase {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  margin-top: 95px;
  margin-left: 100px;
  font-size: 4.9rem;
  font-weight: bold;
  line-height: 1.9em;
  letter-spacing: 0.11em;
  text-align: justify;
}

/* --「裏切り」部分-- */
.catchphrase span {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background: none; /* baseで設定したspanの背景を無効 */
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: 50%; /* 線の太さ */
  text-decoration-color: #F4C31D;
  text-underline-offset: -0.3em; /* 線の位置。テキストに重なるようにやや上部にする */
  font-size: 9rem;
  letter-spacing: 0;
}

.catchphrase span.line-hig {
  text-decoration: none;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 4.9rem;
  font-weight: bold;
  /* letter-spacing: 0.11em; */
  letter-spacing: 0.15em;
  text-align: justify;
  vertical-align: text-top; /* テキストラインを上にして行間を詰めた */
  /* line-height: 0.6; */
  line-height: 1.1; /*windows用*/
}

div.main-visual button {
  margin-left: 150px;
  margin-top: -10px;
  margin-bottom: 70px;
}

div.tweak {
  padding-left: 150px;
}

div.tweak p {
  font-size: 2.2rem;
  line-height: 2.1;
  letter-spacing: 0.15em;
  text-shadow: 1px 1px 2px rgba(255,255,255,1),-1px -1px 2px rgba(255,255,255,1),0 0 4px rgba(255, 255, 255, 1);
}

/* --------------------
ニュース
--------------------- */
.news{
  text-align: center;
}

.news section {
  display: flex;
  float: left;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: left;
}

.box1 {
  width: 335px;
  box-sizing: border-box;
  border: 3px solid #474747;
  border-radius: 2px;
  background-color: #fff;
  margin-bottom: 15px;
}

.box1 ul li{
  padding-top: 8px;
}

.box1 ul li:last-child {
  padding-bottom: 5px;
}

.box1 img {
  border: 1px solid #939393;
  border-radius: 2px;
  box-sizing: border-box;
}

.box1 a {
  display: block;
  text-decoration: none;
  padding: 10px;  /* ボックス全体をリンク化 */
}

.box1 a:hover {
  background-color: #31B494;
  transition:0.3s;
  .date {
    color: #FCEEC5;
  }
  .title {
    color: #fff;
  }
  .category {
    color: #474747;
  }
}

.box1 a img:hover {
  opacity:0.5;
  transition:0.3s;
}

/* 
共通のフォント設定
------------------------------------------ */
.category {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: #939393
}

/* 
mac用のフォント設定
------------------------------------------ */
.date {
  font-size: 1.2rem;
  color: #31B494;
}

.title {
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  line-height: 1.5em;
  color: #2D2D2D;
}

/* 
windows用のフォント設定
------------------------------------------ */
/* .news {
  font-family: "BIZ UDPゴシック","BIZ UDPGothic"; 
  font-weight: bold;
}

.date {
  font-size: 1.2rem;
  color: #31B494;
}

.title {
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  line-height: 1.5em;
  color: #2D2D2D;
} */

/* ------------------------------------------ */


/* --------------------
new!の画像
--------------------- */
.relative {
  position: relative;
  top: 50px;
  left: -205px;
  z-index: 1;  /* 重ね順の変更 */
}

/* --------------------
社員レンタル
--------------------- */
article.rental {
  text-align: center;
  padding-bottom: 20px;
}

.rental p.p-padd {
  text-align: left;
  line-height: 2.2em;
}

.rental section {
  display: flex;
  float: left;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 7%;
  padding-top: 50px;
  padding-bottom: 25px;
}

.box2 {
  border: solid 3px #474747;
  border-radius: 20px;
  box-sizing: border-box;
  width: fit-content;
  padding: 30px 0; /* 枠線の内余白 */
  margin-bottom: 30px;
  background-color: #FCEEC5;
}

.box2 img {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-sizing: border-box;
}

.box2 dl {
margin: 20px auto 0px;
width: 340px; /* 枠の幅 */
}

.btn-mrgn {
  margin-top: 40px;
}


/* 
windows用の追加項目
------------------------------------------ */
/* .box2 {
  font-family: "BIZ UDPゴシック","BIZ UDPGothic"; 
  font-weight: bold;
} */
/* ------------------------------------------ */

.box2 dt {
  font-size: 1.9rem; /* プロフ氏名 */
  letter-spacing: 0.15em;
  border-bottom: 2px solid #31B494;
  padding-bottom: 15px;
  margin: 0 1.5rem 10px 1.5rem; /* 罫線の長さ調整 */
  font-weight: bold;
  color: #31B494;
}

.box2 dd {
  text-align: left;
  font-size: 1.7rem;  /* プロフの文字 */
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: #474747;
  padding: 0 1em;
}

article.rental p {
  padding-bottom: 0;
}

/*
windows用の追加項目
------------------------------------------ */
/* .box2 dt {
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-bottom: 3px solid #31B494;
  padding-bottom: 15px;
  margin-bottom: 10px;
  color: #31B494;
}

.box2 dd {
  text-align: left;
  font-size: 2rem;
  font-weight: bold;
  line-height: 2;
  letter-spacing: 0.1em;
  color: #474747;
  padding: 0 1em;
}

article.rental p {
  padding-bottom: 0;
} */
/*------------------------------------------ */


/* --------------------
よくある質問
--------------------- */
section.faq {
  font-family: "BIZ UDPゴシック","BIZ UDPGothic";  /*windows用*/
  text-align: center;
}

details {
  margin: 0 auto 10px;
  width: 800px;
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.8rem;
  background-color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.faq-mrgn {
  margin-top: 25px;
}

summary::-webkik-details-marker {
  display: none;
}

summary:hover,details[open] summary {
  background-color: #F4C31D;
}

summary::after {
  content: '+';
  margin-left: 30px;
  color: #31B494;
  font-size: 2.5rem;
  transition: transform .5s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.answer {
  padding: 20px 31px;
  line-height: 1.6;
  background-color: #fff;
  border-radius: 10px;
  text-align: left;
}

.answer p {
  padding: 0;
  font-weight: normal;
}

.btn-mrgn {
  margin-top: 40px;
}

/* --------------------
会社案内
--------------------- */
.co-info {
  padding-bottom: 60px;
}

div.flex-container {
  display: flex;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
  background-color: #fff;
}

div.flex-container__item-left {
  float: left;
  clear: both;
  border: 2px solid #2D2D2D;
}

div.flex-container__item-u,div.flex-container__item-d {
  border-bottom: 2px solid #2D2D2D;
  display: block;
  box-sizing: border-box;
  padding: 50px 120px;  /* 右のコンテナの高さの半分を指定 */
  margin-bottom: -2px;  /* 線を重ねて同じ太さにする */
}

div.flex-container__item-u p,div.flex-container__item-d p {
  padding: 0;
  font-size: 2rem;
  color: #2D2D2D;
}

div.flex-container__item-right {
  border: 2px solid #2D2D2D;
  float: right;
  clear: both;
  box-sizing: border-box;
  padding: 40px 100px;
  margin-left: -2px;  /* 線を重ねて同じ太さにする */
}

.co-info {
  color: #474747;
}

.co-info a {
  display: block;
  text-decoration: none;
}

.co-info a:hover {
  background-color: #F4C31D;
  transition:0.5s;
  }

.co-info a .flex-container__item-d {
  border-top: 2px solid #2D2D2D;  /*　背景の下に潜ってしまうので線を表示させる　*/
}

.co-info dt {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  padding: 10px 0;
}

.co-info dd{
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  padding: 10px 0;
}

.co-info dd:last-child {
  padding-bottom: 0;
}