@charset "utf-8";
  
.first-view {
  height: calc(100vh - 110px);
  background-image: url(../images/index/gemi_main.PNG);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-bottom: 80px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 10px #4b2c14;
}

.first-view-text h1{
  margin-bottom: 70px;
  font-family:  'Montserrat', sans-serif;
  font-size: 56px;
  line-height: 72px;
}
.first-view-text p {
  font-size: 18px;
  margin-top: 20px;
}

.lead {
  max-width: 1200px;
  margin: 20px auto;
}

.lead p {
  line-height: 2;
  text-align: center;
}
.link-button-area {
  text-align: center;
  margin-top: 40px;
}
.link-button {
  background-color: #f4dd64;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'Montserrat' , sans-serif;
  font-size: 14px;
}

.link-button:hover {
  background-color: #d8b500;
}
/*ここからrecommendedクラスの記述*/
.recommended {
  background-color: #f8f8f8;
  padding-top: 45px;
  padding-bottom: 55px;
}
.recommended h2 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.item-list {
  display: flex;
  padding-top: 40px;
  padding-bottom: 10px;
  padding-left: 60px;
  padding-right: 60px;
}
.item-list li {
  flex-shrink: 0;
  width: 260px;
  margin-left: 75px;
  
}


@media (max-width: 820px) {
  .first-view {
    height: calc(100vh - 50px);
    background-image: url(../images/index/gemi_main_ss.PNG);
    align-items: flex-start;
  }
  .first-view-text {
    padding-top: 60px;
    padding-left: 20px;
  }
  .first-view-text h1 {
    font-size: 36px;
    line-height: 48px;
  }
  .first-view-text p {
    font-size: 14px;
    margin-top: 15px;
  }
  .lead {
    padding-left: 20px;
    padding-right: 20px;
  }
  .lead p {
    text-align: center;
  }
  .item-list {
    padding-left: 20px;
    padding-right: 20px;
  }
  .item-list li {
    width: 220px;
    margin-left: 30px;
  }
}



/* キャッチフレーズ（link　boxの映像ボタン*/
.home-lead {
  max-width: 600px;
  margin: 0 auto 60px auto;
  text-align: center;
}
.home-lead p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 2;
}
/* テキストと背景を組み合わせる */
.home .main-container h2 {
  display: grid;
  place-items: center;
  margin: 0 auto 30px auto;
  width: 130px;
  height: 130px;
  background: url(../images/home-titleshape.svg) no-repeat;
  background-size: 130px 130px;
  color: #ffffff;
  font-family: 'Croissant One', cursive;
  font-weight: 400;
  font-size: 20px;
}



/*ここからは他のhtmlを引用　*/
/* カード型レイアウト */
.home-latest {
  margin: 0 0 60px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(100px, auto);
  column-gap: 10px;
  row-gap: 30px;
}
@media (min-width: 768px) {
  .home-latest {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
  }
}
/* それぞれのカードの中身 */
.latest-item {
  border: 1px solid #d8d8d8;
  background: #fff;
}
@media (min-width: 768px) {
  .latest-item {
    border: none;
    background: none;
  }
}
.latest-image img {
  margin: 0 0 10px 0;
}
.latest-image img:hover {
  opacity: .5;
}
.latest-text {
  margin-bottom: 10px;
  padding: 0 10px;
}
@media (min-width: 768px) {
  .latest-text {
    padding: 0;
  }
}
.latest-text h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  line-height: 1.5;
}
.latest-text h3 a {
  color: #000000;
  text-decoration: none;
}
.latest-text h3 a:hover {
  opacity: .5;
}
/* ホーム 共通のタグ */
.home-tag {
  margin-bottom: 1rem;
}
.home-tag span {
  margin: 0 3px 3px 0;
  padding: 2px 10px;
  border: 1px solid #73cbd6;
  border-radius: 100px;
  font-size: .75rem;
}
.home-tag span a {
  color: #73cbd6;
  text-decoration: none;
}
/* ホーム 共通の場所情報 */
.home-info {
  display: flex;
  font-size: .75rem;
}
.home-info span::before {
  padding-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #73cbd6;
  content: "\f3c5";
}
/* メディアオブジェクト */
.home-popular {
  margin: 0 0 60px 0;
  border-top: 1px solid #d8d8d8;
}
.home-popular a {
  display: block;
  color: #000000;
  text-decoration: none;
}
.home-popular a:hover {
  opacity: .5;
}
.popular-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #d8d8d8;
}
.popular-photo {
  flex: 0 0 30%;
  margin-right: 15px;
}
.ranking {
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 5px;
  left: 5px;
  background: url(../images/ranking-bg.svg);
  background-size: 35px 35px;
  border-radius: 50%;
  font-family: 'Croissant One', cursive;
  font-size: 16px;
  line-height: 35px;
  text-align: center;
  color: #000;
}
@media (min-width: 768px) {
  .ranking {
    width: 70px;
    height: 70px;
    top: 10px;
    left: 10px;
    background-size: 70px 70px;
    font-size: 30px;
    line-height: 70px;
  }
}
.popular-text {
  flex: 1 1 auto;
}
.popular-text h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  line-height: 1.5;
}
.popular-text p {
  margin: 0 0 10px 0;
  display: none;/* モバイルで非表示 */
}
@media (min-width: 768px) {
  .popular-text h3 {
    font-size: 1.25rem;
  }
  .popular-text p {
    display: block;
    font-size: 0.875rem;
    line-height: 1.5;
  }
}
/* テーブル形のリスト */
.news-container h2 {
  margin: 0 0 30px 0;
  font-family: 'Croissant One', cursive;
  font-weight: 400;
  font-size: 1.875rem;
}
@media (min-width: 768px) {
  .news-container h2 {
    max-width: 700px;
    margin: 0 auto 30px auto;
  }
}
.home-news {
  padding: 20px;
  background: #ffffff;
  border-radius: 20px;
}
@media (min-width: 768px) {
  .home-news {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
  }
}
.home-news dl {
  display: flex;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid #d8d8d8;
}
.home-news dl:last-child {
  border-bottom: 1px solid #d8d8d8;
}
.home-news dt {
  margin: 0 20px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.home-news dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.home-news dd a {
  color: #73cbd6;
  text-decoration: none;
}
.home-news dd a:hover {
  opacity: .5;
}


/*ここからrecommendedクラスの記述*/
.recommended {
  background-color: #f8f8f8;
  padding-top: 45px;
  padding-bottom: 55px;
}
















/*ここからこのHTML*/

/* テーブル形のリスト(ニュースのcss) */
.news-container h2 {
  margin: 0 0 30px 0;
  font-family: 'Croissant One', cursive;
  font-weight: 400;
  font-size: 1.875rem;
}
@media (min-width: 768px) {
  .news-container h2 {
    max-width: 700px;
    margin: 0 auto 30px auto;
  }
}
.home-news {
  padding: 20px;
  background: #ffffff;
  border-radius: 20px;
}
@media (min-width: 768px) {
  .home-news {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
  }
}
.home-news dl {
  display: flex;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid #d8d8d8;
}
.home-news dl:last-child {
  border-bottom: 1px solid #d8d8d8;
}
.home-news dt {
  margin: 0 20px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.home-news dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.home-news dd a {
  color: #73cbd6;
  text-decoration: none;
}
.home-news dd a:hover {
  opacity: .5;
}

a.button {
      display: inline-block;
      margin-top: 10px;
      padding: 10px 20px;
      background-color: #005bac;
      color: white;
      border-radius: 5px;
      text-decoration: none;
      transition: background-color 0.3s;
    }

    a.button:hover {
      background-color: #004080;
    }

