@charset "utf-8";

/* -----------------------------------------------
 index CSS
-------------------------------------------------- */
/*---cover---*/
#cover{
	position:relative;
	width:100%;
}
.center-item img{
  width: 100%;
  height: 95vh;
  object-fit: cover;
}
#cover .tate {
  position: absolute;
  top: 200px;
  left: 25%;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  width: 80px;
  height: 20em;
  letter-spacing: 8px;
  font-size: 36px;
  z-index: 100;
 color: #212121;
  text-shadow: #fff 1px 0 10px;
}
/*お知らせ（サムネイル付）*/
.responsive {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 35px;
}
.responsive li {
  width: 20%;
  margin: 10px;
  overflow: hidden
}
.responsive li div {
  display: block;
  overflow: hidden;
  padding: 1.5em;
}
.responsive a {
  color: #000;
  text-decoration: none;
  font-size: 16px
}
.responsive li a:hover {
  color: #40403F;
}
.responsive li span.date {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}
.responsive li span.photo {
  display: block;
  text-align: center;
  z-index: 100;
  width: 100%;
}
.responsive li span.date.new {
  background-image: url(../images/icon_new.svg);
  background-size: 43px 30px;
  background-repeat: no-repeat;
  background-position: left 7em top -3px;
}
.responsive li span.title {
  display: block;
  font-size: 14px
}
/** --- NEWS --- **/
#news #access{
    position: relative;
    padding:8% 0;
}
.bg{
    width: 100%;
    position: absolute;
    z-index: 1;
    bottom: 0
}
.bg img{
    width: 100%
}

.relative_work{
    position: relative;
    width: 100%;
    z-index: 1;
    top: 1em;
	margin-bottom: 4em;
}
/*ホバーしたときに下線矢印も同時に色を変える*/
.moreLinkText:hover .lineArrow  {
    border-bottom: 1px solid;
    border-right: 1px solid;
}
.moreLinkText {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}
.lineArrow {
  width: 100%;
  height: 8px;
  text-align: right;
  border-bottom: 1px solid #60512A;
  border-right: 1px solid #60512A;
   /*傾きを調節*/
  transform: skew(45deg);
  /*下線矢印をテキストに合わせてうまい具合にはめる*/
  margin: 5px 0 0 0;
}
/*関連リンク*/
#news a {
    text-decoration: none;
    color: #212121
}
/*入居フロー */
.flow dl dt{
	background-color: #dd9d40;
	color: #fff;
	padding: 0.5em 1em;
	text-align: left;
	border: 1px solid #dd9d40;
	border-radius: 15px 15px 0px 0px;
	font-size: 18px;
	font-weight: bold;
    margin-top: 10px
}

.flow dl dd{
	display:flex;
	position: relative;
	background-color: #fff;
	padding: 1em 1em;
	text-align: left;
	border: 1px solid #dd9d40;
	margin-bottom: 1.5em;
	border-radius:  0 0 15px 15px;
}
.flow dl dd:after{
  content:'';
  position: absolute;
  bottom:-22px;
  left:50%;
  margin:0 0 0 -5px;
  width:0;
  height:0;
  border-style: solid;
  border-width: 13px 8px 0 8px;
  border-color: #dd9d40 transparent transparent transparent;
}
.flow dl dd:last-child:after {
    content: none;
}
.flow dl dd .box1 {
	width: 25%;
	padding-right: 10px;
	text-align: center
}
.flow dl dd .box2 {
	width: 100%;
    line-height: 25px;
}

/*---サムネイル写真のリサイズ---*/
.f {
  font-family: 'Roboto', sans-serif;
  font-size: 18px
}
.f span {
  font-size: 28px
}
/*---パララックス---*/
#parallax-bg {
  background-image: url("../images/index-bg02.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  min-height: 300px
}
@keyframes move-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(6px);
  }
}
#recruit-txt{
  position: relative;
}
#recruit-txt .recruit-btn{
    position: absolute;
    top:0;
    left: 150px 
}
.links {
  width: 100%;
  margin: auto;
  display: flex;
  flex-flow: wrap;
}
.links li {
  margin-right:1em
}
.links li:before {
  position: relative;
  top: -2px;
  content: "▶";
  padding-right: 8px;
  font-size: 6px;
  color: var(--maincolor)
}
.links li a {
 color:  var(--maincolor)
}
/*関連リンク*/
.button {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	padding:0.7em 3em;
	margin: 0 auto;
}
.button::before,
.button::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}

.button a {
	color: #FFF;
	font-size: 13px
}
/*ボタン 白茶*/
.button3 {
  position: relative;
  border-radius: 30px; /* 角の丸み */
  text-align: center;
  color: white;
  text-decoration: none;
  padding: 10px 1.5em;
  margin: 1em 0;
  background-color: #fff;
  border: 1px solid #60512A;
}

.button3:hover {
	opacity:0.5;
    transition:0.3s;
}

.top-links a {
  display: block;
  width: 65%;
  background-color: #eae1a0;
  padding: 1em;
  border-radius: 40px;
  margin-bottom: 5px;
    text-decoration: none;
    color: #212121
}

.top-linksp a {
  display: block;
  width: 65%;
  background-color: #eabbbb;
  padding: 1em;
  border-radius: 40px;
  margin-bottom: 5px;
    text-decoration: none;
    color: #212121
}
/*---サムネイル写真のリサイズ---*/
.resize {
  object-fit: cover;
  width: 100%;
  height: 230px;
  object-position: 50% 0; /* 他のブラウザ用(＝通常の指定) */
  font-family: 'object-fit: cover; object-position: 50% 0;' /* IE・Edge対応 */
}
.responsive .resize {
  object-fit: cover;
  width: 100%;
  height: 240px;
  object-position: 50% 50%; /* 他のブラウザ用(＝通常の指定) */
  font-family: 'object-fit: cover; object-position: 50% 50%;' /* IE・Edge対応 */
}
iframe.youtube-16-9 {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
max-width: 600px;
display: block;
margin: auto;
}
/* -----------------------------------------------
Tablet 1024px
-------------------------------------------------- */
@media screen and (max-width:1024px) {

  #cover .tate {
    font-size: 30px;
    left: 15%;
  }
#cover .center-item img{
  height: 800px;
}
}
/* -----------------------------------------------
 992px/tablet
-------------------------------------------------- */
@media screen and (max-width:992px) {
.relative_work{
    position: relative;
    width: 94%;
    z-index: 1;
    top: 2em;
	margin-bottom: 4em;
}
.lineArrow {
    display: none;
    }
    .moreLinkText{
        display: none;
    }
.top-links a {
  width: 80%;
}

.top-linksp a {
  width: 80%;
}
}
/* -----------------------------------------------
 768px/tablet
-------------------------------------------------- */

 @media screen and (max-width: 768px) {
#cover .tate {
  top: 90px;
  left: 18%;
  font-size: 25px;
}
#cover{
    position: relative;
    object-fit: none;
    padding-bottom: 80px;
    
}
#cover .center-item img{
  height: 500px;
}
  /*---パララックス---*/
  #parallax-bg {
    background-attachment: scroll;
  }
}
/* -----------------------------------------------
SP 599px
-------------------------------------------------- */
@media screen and (max-width: 599px) {
  #cover .tate {
  top: 20px;
　height: 10em;
　letter-spacing: 3px;
  font-size: 17px;
  }
#cover{
    position: relative;
    object-fit: none;
    padding-bottom: 10px;
}
#cover .center-item img{
  height: 300px;
}
.flow dl dd:after{
  bottom:-19px;
  border-width: 11px 6px 0 6px;
}
.flow dl dt{
	font-size: 15px;
}
}

@media (max-width: 414px) {
  #cover .tate {
  top: 60px;
　height: 10em;
  letter-spacing: 5px;
　width: 40px;
  font-size: 12px;
  left: 5%;
  }
}
@media (max-width: 375px) {
  #cover .tate {
  font-size: 12px;
  }
}