/*
Theme Name: toritsubame
Author: andsmile_user
Description: toritsubame_theme
*/

html {
  scroll-padding-top: 28.9rem;
}

body {
  font-family: "Yuji Syuku", "Noto Sans JP", sans-serif;
  background-image: url('/wp-content/themes/toritsubame/img/background.jpg');
  background-size: auto;
}

/*
 * [共通パーツ]
 */

.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

/* 各セクションのタイトル */
.section_title {
  color: #000000;
  font-size: 3.6rem;
  background-image: url('/wp-content/themes/toritsubame/img/title_background.jpg');
  background-size: auto;
  display: inline-block;
  padding: 1.9rem 2.9rem 2rem 10.2rem;
}

/* リンク用の赤いボタン */
.link_button {
  text-decoration: none;
  display: inline-block;
  background-color: #AB1122;
  height: 11rem;
  padding: 2.6rem 8.5rem 0 3rem;
  border: 0.5rem solid transparent;
  position: relative;
  box-sizing: border-box;
  transition: .7s;
}

.link_button p {
  color: #F8F5E3;
  font-size: 3.2rem;
  letter-spacing: 0.14em;
}

.link_button p::after {
  content: "";
  display: inline-block;
  background: #F8F5E3;
  width: 3.5rem;
  height: 5rem;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 50%;
  right: 3.1rem;
  transform: translateY(-50%);
}

.link_button:hover {
  background-color: #F8F5E3;
  border-color: #AB1122;
}

.link_button:hover p {
  color: #AB1122;
}

.link_button:hover p::after {
  background: #AB1122;
}

/* リンク用の赤いボタン(2行) */
.link_button_two_row {
  text-decoration: none;
  display: inline-block;
  background-color: #AB1122;
  height: 13rem;
  padding: 0.5rem 10.5rem 0 4rem;
  border: 0.5rem solid transparent;
  position: relative;
  box-sizing: border-box;
  transition: .7s;
}

.link_button_two_row p {
  color: #F8F5E3;
  font-size: 3.6rem;
}

.link_button_two_row p::after {
  content: "";
  display: inline-block;
  background: #F8F5E3;
  width: 3.5rem;
  height: 5rem;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 50%;
  right: 3.1rem;
  transform: translateY(-50%);
}

.link_button_two_row:hover {
  background-color: #F8F5E3;
  border-color: #AB1122;
}

.link_button_two_row:hover p {
  color: #AB1122;
}

.link_button_two_row:hover p::after {
  background: #AB1122;
}

/* コンテンツ内のタイトル */
.contents_title {
  color: #000000;
  font-size: 3.2rem;
}

/* 通常のテキスト */
.common_text {
  color: #000000;
  font-size: 2.4rem;
  line-height: 1.7;
}

/* コンテンツの左寄せ */
.left_adjustment {
  display: flex;
  justify-content: flex-end;
}

/* 金の毛筆 */
.brush_decoration {
  position: absolute;
  width: var(--brush-width);
  pointer-events: none;
  z-index: -2;
}

.brush_decoration_svg {
  display: block;
  width: 100%;
  height: auto;
}

/*
* [ヘッダーフッター共通Parts]
*/
.navigation_list {
  display: flex;
  justify-content: flex-end;
  gap: 3.2rem;
}

.navigation_list a {
  color: #F8F5E3;
  font-size: 2rem;
  padding-bottom: 0.5rem;
  position: relative;
}

.navigation_list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.2rem;
  background-color: #F8F5E3;
  transition: width 0.4s;
}

.navigation_list a:hover::after {
  width: 100%;
}

.hamburger_menu {
  display: none;
}

.logo {
  width: 40rem;
  height: 21.9rem;
  object-fit: cover;
}

/*
 * [ニュース一覧用Parts]
 */

.news_content_line {
  text-decoration: none;
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  position: relative;
}

.news_content_line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.2rem;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.news_content_line:hover::after {
  transform: scaleX(1);
}

/* レスポンシブ対応 */
@media screen and (max-width:690px) {

  html {
    scroll-padding-top: 8.764rem;
  }

  body.hamburger_open {
    overflow: hidden;
    height: 100%;
  }


  /*
* [共通パーツ]
*/
  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }

  /* 各セクションのタイトル */
  .section_title {
    font-size: 2.4rem;
    padding: 1rem 1.5rem 1rem 3.1rem;
  }

  /* リンク用の赤いボタン */
  .link_button {
    height: 6rem;
    padding: 1rem 6rem 0 2.3rem;
  }

  .link_button p {
    font-size: 2rem;
    letter-spacing: 0;
  }

  .link_button p::after {
    width: calc(tan(60deg) * 2.53rem / 2);
    height: 3.5rem;
    right: 1.9rem;
  }

  /* リンク用の赤いボタン(2行) */
  .link_button_two_row {
    height: 9rem;
    padding: 1.1rem 7.1rem 0 2.9rem;
  }

  .link_button_two_row p {
    font-size: 2rem;
  }

  .link_button_two_row p::after {
    width: calc(tan(60deg) * 2.53rem / 2);
    height: 3.5rem;
    right: 2.5rem;
  }

  /* コンテンツ内のタイトル */
  .contents_title {
    color: #000000;
    font-size: 2rem;
  }

  /* 通常のテキスト */
  .common_text {
    font-size: 1.6rem;
  }


  body.no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }

  /*
 * [ヘッダーフッター共通Parts]
 */

  .navigation_list {
    display: none;
  }

  .hamburger {
    width: 8rem;
    height: 5rem;
    padding: 1.1rem 0 0.4rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 8rem;
    z-index: 3000;
  }

  .hamburger span {
    display: block;
    width: 3rem;
    height: 0.2rem;
    background-color: #FFFFFF;
    margin-bottom: 0.6rem;
  }

  .hamburger span:last-of-type {
    margin-bottom: 0;
  }

  .hamburger_text {
    color: #FFFFFF;
    font-size: 1.2rem;
  }

  .hamburger.open span:nth-child(1) {
    width: 2.546rem;
    transform: translateY(0.8rem) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    width: 2.546rem;
    transform: translateY(-0.9rem) rotate(-45deg);
  }

  .logo {
    width: 16rem;
    height: 8.76rem;
  }

  .hamburger_menu.active {
    display: block;
  }

  .hamburger_navigation {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100%;
    height: calc(100% - 21.1rem);
    background-image: url('/wp-content/themes/toritsubame/img/background.jpg');
    background-size: auto;
    padding: 13.35rem 5rem 3.45rem;
    box-sizing: border-box;
    z-index: 1000;
  }

  .hamburger_navigation a {
    color: #F8F5E3;
    font-size: 2rem;
  }

  .menu_footer {
    width: 100%;
    height: 16.2rem;
    position: relative;
    z-index: 2000;
    background-color: #FFFFFF;
  }

  /*
   * [ニュース共通パーツ]
   */

  .news_content_line {
    flex-direction: column;
  }
}