@charset "shift_jis";

h1 {
  text-align: center;
  margin: 0;
  padding: 2rem;
  color: #444;
}


@media screen and (max-width:767px) {
  h1 {
    padding: 1rem;
  }
}

.container p {
  font-size: 1.1rem;
  margin: auto;
}

@media screen and (max-width:767px) {

  .container p {
    font-size: 14px;
  }
}

/*--------------------------------
Container
--------------------------------*/
.container {
  background: none;
  border-radius: 0;
  padding: 0 0 2rem 0;
  box-shadow: none;
  color: #fff;
}

h2.top_only {
  text-align: center;
  border: none;
  background: transparent;
  color: #fff;
  text-align: center;
  display: block;
  font-size: 2.0rem;
}

@media screen and (max-width: 767px) {
  h2.top_only {
    font-size: 1.8rem;
  }
}

/*--------------------------------
新着情報
--------------------------------*/


.NewsBOX {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 60px;
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .1);
}

@media screen and (max-width: 999px) {
  .NewsBOX {
    width: 90%;
    margin: 0 auto 30px auto;
  }
}

.NewsBOX h2 {
  background: transparent;
  margin-top: 0;
  padding: 0;
  font-size: 1.7rem;
  border-left: none;
  margin-bottom: 10px;
  color: #333;
}

.NewsBOX h2 span.small {
  font-size: 14px;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
 
.NewsBOX h2 {
  font-size: 1.5rem;
}
  .NewsBOX {
    width: 90%;
    margin: 0 auto 1.5rem auto;
    padding: 1rem;
  }
}


.News {
  display: flex;
  align-items: center;
  border-top: 1px solid #d8d8d8;
  margin-top: 0.5rem;
  padding-top: 0.7rem;
}

@media screen and (max-width: 767px) {
  .News {
  flex-direction: column;
   align-items: stretch;
  }
}

.News:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.News dt {
  padding-right: 20px;
  color: #a4a4a4;
  font-size: 0.95em;
}

.News dd {
  max-width: 1000px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .News dd {
  text-overflow: clip;
  white-space: normal;
  overflow: visible;
  }
 }

  
.News dt ,.News dd {
  line-height: 1.4; 
}

@media screen and (max-width: 767px) {
  .News dt{
    font-size: 10px;
    text-align: justify;
  }
.News dd,.News dd a{
    font-size: 12px;
    text-align: justify;
    line-height: 1.7;
  }
}

  
/*--------------------
LECが選ばれる理由
--------------------*/
.reason_box {
  /* max-width: 1000px; */
  border-radius: 20px;
  padding: 2rem;
  background: #fff;
  /*border: 5px solid #23b553;*/
  box-shadow: 0px 3px 10px 0px rgb(64 117 26 / 43%);
  z-index: 100;
  position: relative;
  margin: 0 auto;
  color: #333;
}


@media screen and (max-width: 767px) {
  .reason_box {
    padding: 1rem;
    background: #fff;
    border-radius: 1rem;
  }
}


.reason_box h2 {
  font-weight: bold;
  font-size: 1.8rem;
  margin: 0 0 20px 0;
  color: #23b553;
}


@media screen and (max-width: 767px) {
  .reason_box h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 10px;
  }
}


.reason_box p,
.reason_box a {
  font-size: 1.1rem;
  text-align: justify;
}



@media screen and (max-width: 767px) {
.reason_box a, .reason_box p, .contents p, a{
    font-size: 14px;
    text-align: justify;
  }
}


.reason_box_inner {
  display: flex;
  gap: 1rem;
  position: relative;
  align-items: flex-start;
}


.reason_box_inner img {
  width: 240px;
  flex-shrink: 0;
  height: auto;
  /* margin-top: -110px; */
}

@media screen and (max-width: 999px) {
  .reason_box_inner img {
    margin-top: 0px;
  }
}

@media screen and (max-width: 767px) {
  .reason_box_inner {
    flex-direction: column;
  }

  .reason_box_inner img {
    margin-top: 0;
    margin: auto;
  }
}

/*----------------------
ご案内
----------------------*/

/* ----------------------
  共通ボックス設定
---------------------- */
.guide_box01,
.guide_box02,
.guide_box03,
.guide_box04 {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0px 5px 5px 0px rgb(101 117 135 / 43%);
  transition: 0.2s;
}

/* SPサイズ調整 */
@media screen and (max-width: 767px) {

  .guide_box01,
  .guide_box02,
  .guide_box03,
  .guide_box04 {
    height: 240px;
    border-radius: 1rem;
  }
}

/* aタグ全体をクリック可能に */
.guide_box01 a,
.guide_box02 a,
.guide_box03 a,
.guide_box04 a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: inherit;
  overflow: hidden;
}

/* hover時の影OFF */
.guide_box01:hover,
.guide_box02:hover,
.guide_box03:hover,
.guide_box04:hover {
  box-shadow: none;
}

/* ----------------------
  線（枠）の共通設定
---------------------- */
.guide_box01::before,
.guide_box01::after,
.guide_box02::before,
.guide_box02::after,
.guide_box03::before,
.guide_box03::after,
.guide_box04::before,
.guide_box04::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 5px solid transparent;
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}

/* SPサイズ調整 */
@media screen and (max-width: 767px) {

  .guide_box01::before,
  .guide_box01::after,
  .guide_box02::before,
  .guide_box02::after,
  .guide_box03::before,
  .guide_box03::after,
  .guide_box04::before,
  .guide_box04::after {
    border-radius: 1rem;
    border: 3px solid transparent;
  }
}

/* 線のカラー */
.guide_box01::before,
.guide_box01::after {
  border-color: #FF6B6B;
}

.guide_box02::before,
.guide_box02::after {
  border-color: #FFD93D;
}

.guide_box03::before,
.guide_box03::after {
  border-color: #4DB6FF;
}

.guide_box04::before,
.guide_box04::after {
  border-color: #FF954F;
}

/* 初期状態：線を非表示（PC用アニメーション） */
.guide_box01::before,
.guide_box02::before,
.guide_box03::before,
.guide_box04::before {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

.guide_box01::after,
.guide_box02::after,
.guide_box03::after,
.guide_box04::after {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

/* hover時の線アニメーション（PCのみ） */
.guide_box01:hover::before,
.guide_box02:hover::before,
.guide_box03:hover::before,
.guide_box04:hover::before {
  animation: drawBorderLeft 0.2s linear forwards;
}

.guide_box01:hover::after,
.guide_box02:hover::after,
.guide_box03:hover::after,
.guide_box04:hover::after {
  animation: drawBorderRight 0.3s linear 0.3s forwards;
}

/* 線アニメーション（左→右） */
@keyframes drawBorderLeft {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* 線アニメーション（右→左） */
@keyframes drawBorderRight {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* ----------------------
  画像設定
---------------------- */
.guide_box01 img,
.guide_box02 img,
.guide_box03 img,
.guide_box04 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
  will-change: transform;
  border-radius: inherit;
  /* 親の角丸を継承 */
  transition: transform 0.3s ease;
}

/* hover時に拡大 */
.guide_box01:hover img,
.guide_box02:hover img,
.guide_box03:hover img,
.guide_box04:hover img {
  transform: scale(1.1);
}

/* ----------------------
  テキスト設定
---------------------- */
.guide_box01 p,
.guide_box02 p,
.guide_box03 p,
.guide_box04 p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  white-space: nowrap;
  z-index: 2;
  padding: 5px 2rem;
  border-radius: 999px;
}

.guide_box01 p {
  background: #FF6B6B;
}

.guide_box02 p {
  background: #FFD93D;
}

.guide_box03 p {
  background: #4DB6FF;
}

.guide_box04 p {
  background: #FF954F;
}

/* SPサイズの文字調整 */
@media screen and (max-width: 767px) {

  .guide_box01 p,
  .guide_box02 p,
  .guide_box03 p,
  .guide_box04 p {
    font-size: 1.3rem;
    padding: 0px 2rem;
    line-height: 2;
  }
}

/* ----------------------
  スマホ・古いiOS対応
  常時線表示、アニメなし
---------------------- */
@media screen and (max-width: 767px) {

  .guide_box01::before,
  .guide_box01::after,
  .guide_box02::before,
  .guide_box02::after,
  .guide_box03::before,
  .guide_box03::after,
  .guide_box04::before,
  .guide_box04::after {
    clip-path: none;
    /* 線を隠さない */
    animation: none;
    /* アニメーション無効 */
    transition: none;
  }
}

/*---------------
youtube上書き
---------------*/
.youtube iframe {
  width: 80%;
  height: 80%;
  box-shadow: 0px 10px 10px 0 rgb(4 7 22 / 30%);
  border-radius: 10px;
}

@media screen and (max-width: 767px) {
  .youtube iframe {
    width: 100%;
    height: 100%;
  }
}

.youtube_text {
  width: 85%;
  margin-right: auto;
  margin-left: auto;
}


@media screen and (max-width: 767px) {
  .youtube_text {
    width: 100%;
  }
}
.youtube_text a{
  color:#fff;
}

/*----------------------------------
SNS
----------------------------------*/
ul.sns_area {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 30px 0;
}

ul.sns_area li a {
  color: #fff;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* スマホ幅 */
@media screen and (max-width: 767px) {
  ul.sns_area {
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }

  ul.sns_area li a {
    flex-direction: row;
    align-items: center;
    line-height: 1.3;
  }
}