@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:wght@100..900&family=Noto+Sans+JP:wght@100..900&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.8s var(--easing);
  --color-base: #fff;
  --color-gray: #ddd;
  --color-gray-darken: #666;
  --color-gray-light: #f5f5f5;
  --color-red: #cc0000;
  --color-blue: #0096da;
  --color-orange: #ff7415;
  --color-green: #5ec618;
  --color-green-light: #89c997;
  --color-yellow: #fec601;
  --color-pink: #f19ec2;
  --color-theme: #1b1b1b;
  --color-theme-second: #0096da;
  --color-theme-light: #313131;
  --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --box-shadow: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05), -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-hover: 1rem 1rem 1.5rem rgba(0, 0, 0, 0.08), -1rem -1rem 1.5rem #fff;
  --box-shadow-inset: inset 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05), inset -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-dark: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.1), -0.8rem -0.8rem 1.2rem rgba(#fff, 0.2);
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px になるように設定 */
}

body {
  font-size: 1.6rem;
  font-family: var(--font-base);
  min-height: 100%;
  box-sizing: border-box;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
}

/* prettier-ignore */
div, span, object, iframe, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-style: normal;
}

@media only screen and (max-width: 1024px) {
  html {
    -webkit-text-size-adjust: 100%;
  }
  .smp {
    display: none !important;
  }
}

@media only screen and (max-width: 599px) {
  .pc-tab {
    display: none !important;
  }
  html {
    font-size: 56.25%; /* スマホ表示時に1rem = 9px になるように調整（オプション） */
  }
  .smp_img_txt {
    font-size: 1.8rem;
    text-align: center;
  }
  .smp_img_txt::after {
    content: var(--alt-text);
    white-space: pre-wrap;
    display: block;
    margin-top: 10px;
  }
}

@media only screen and (min-width: 1025px) {
  .pc-only {
    display: none !important;
  }
}

@media only screen and (min-width: 600px) {
  .pc {
    display: none !important;
  }
}

body.fixed {
  height: 100%;
  overflow: hidden;
}

a {
  color: var(--color-theme);
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: solid 1px #bfbfbf;
  background-color: #f5f5f5;
  padding: 5px 10px;
  box-sizing: border-box;
}

@media only screen and (min-width: 1367px) {
  input[type="search"].search_form {
    width: 600px;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1366px) {
  input[type="search"].search_form {
    width: 450px;
  }
}

@media only screen and (min-width: 769px) {
  input[type="search"].search_form {
    min-width: 300px;
  }
}
input[type="search"].search_form {
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  border: solid 1px #bfbfbf;
  background-color: #f5f5f5;
}
.search_bt {
  padding: 1rem;
  background-color: var(--color-theme);
  color: #fff;
  border: 0;
  margin-left: 1.5rem;
}

.search_bt .fa-search {
  margin-left: 1rem;
}

textarea {
  width: 100%;
}

input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}

input:focus::placeholder {
  color: transparent;
}
select {
  min-height: 40px;
  border: solid 1px #bfbfbf;
  background-color: #f5f5f5;
  border-radius: 3px;
  box-sizing: border-box;
}

@media only screen and (min-width: 1025px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 5px 10px;
    box-sizing: border-box;
    width: 100%;
  }
}

/* img */
img.img_center,
.img_center img {
  margin: 2rem auto;
}

figure.center img {
  margin-inline: auto;
}

.img_r img {
  margin-left: auto;
}
/* text */
.center {
  text-align: center;
}

.normal {
  font-weight: 400;
}
.txt_r {
  text-align: right;
}
.txt_r img {
  margin-left: auto;
}
.bold {
  font-weight: 900;
}

.site_color {
  color: var(--color-theme);
}
.red {
  color: #b50208;
}
.blue {
  color: #0077cb;
}
.green {
  color: var(--color-green);
}
.orange {
  color: #ff7415;
}
.yellow {
  color: #fec601;
}
.pink {
  color: var(--color-theme-second);
}

.txt_s {
  font-size: 1rem;
}

.txt12 {
  font-size: 1.2rem;
}
.txt14 {
  font-size: 1.4rem;
}
.txt16 {
  font-size: 1.6rem;
}
.txt20 {
  font-size: 2rem;
}
.txt24 {
  font-size: 2.4rem;
}
.txt30 {
  font-size: 3rem;
}

.mb20 {
  margin-bottom: 2rem;
}

.noto_san {
  font-family: "Noto Sans JP", sans-serif;
}
.poppins {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: normal;
}

.marker {
  background: linear-gradient(transparent 55%, #fff100 55%);
  font-weight: bold;
}

.opa {
  transition: all 0.3s ease;
  backface-visibility: hidden;
}
.opa:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
  backface-visibility: hidden;
}

header {
  z-index: 10;
  width: 100%;
}

@media only screen and (min-width: 1025px) {
  header {
    transition: var(--transition);
  }
  .header-inner {
    position: relative;
    transition: var(--transition);
  }
}

@media only screen and (max-width: 1024px) {
  header {
    border-top: 0px;
  }
}

.header-inner {
  padding: 0px 2rem 2rem;
  background-color: rgb(255 255 255 /1);
}

@media only screen and (max-width: 1024px) {
  .header-inner {
    background: rgb(255, 255, 255, 1);
    padding: 0;
  }
}

.h_wrap {
  display: grid;
  grid-template-columns: 520px 1fr 420px;
}

.h_logo img {
  width: 100%;
  height: auto;
}

.h_search {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.h_login > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.h_login > ul > li {
  width: calc((100% - 20px * 2) / 3);
}

@media only screen and (min-width: 1025px) and (max-width: 1366px) {
  .h_wrap {
    display: grid;
    grid-template-columns: 300px 1fr 320px;
  }
  .h_search {
    padding: 0 2rem;
  }
}

@media only screen and (min-width: 960px) and (max-width: 1024px) {
  .h_logo img {
    width: 240px;
  }
  .h_wrap {
    display: grid;
    grid-template-columns: 240px 1fr 280px;
  }
  .h_search {
    padding: 1rem;
  }
}

@media only screen and (max-width: 1024px) {
  .h_wrap {
    display: grid;
    grid-template-columns: 1fr 73px;
  }
  .h_logo img {
    width: 240px;
  }
  .h_logo {
    padding: 1rem;
  }

  .h_login > ul > li > a > img {
    max-width: 100%;
  }
}

header {
  transition: all 0.3s ease;
}

/* prettier-ignore */
.h_txt,.h_logo img,.h_wrap,.g-nav,.h_tel {
  transition: all 0.3s ease;
}

.h_txt {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0;
}

.g-nav {
  transition: all 0.3s ease;
  background-color: var(--color-theme);
}

.g-nav > ul {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 2rem 0;
}

.g-nav > ul > li {
  flex: 0 1 auto;
  position: relative;
  padding: 0 clamp(10px, 0.8vw + 5px, 18px);
}

.g-nav > ul > li > a {
  position: relative;
  color: #fff;
  font-size: clamp(1.3rem, 1vw + 0.7rem, 1.6rem);
  font-weight: 900;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: block;
}

@media only screen and (max-width: 1280px) {
  .g-nav > ul > li {
    padding: 0 clamp(8px, 0.6vw + 4px, 12px);
  }
  .g-nav > ul > li > a {
    font-size: clamp(1.2rem, 0.8vw + 0.6rem, 1.5rem);
  }
}
@media only screen and (max-width: 1024px) {
  .g-nav > ul > li {
    padding: 0 clamp(6px, 0.4vw + 3px, 10px);
  }
  .g-nav > ul > li > a {
    font-size: clamp(1.2rem, 0.6vw + 0.5rem, 1.3rem);
    color: #000;
  }
}
.g-nav > ul > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.g-nav > ul > li > a::before {
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-theme);
}

.g-nav > ul > li:hover > a::before {
  opacity: 1;
}

@media only screen and (max-width: 1024px) {
  .g-nav > ul > li {
    width: 100%;
  }

  .g-nav > ul > li > a::before {
    display: none;
  }
}
@media only screen and (max-width: 1024px) {
  .g-nav > ul > li.has-child > a {
    position: relative;
    padding-right: 10px;
  }

  .g-nav > ul > li.has-child > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    transition: transform 0.3s;
    display: block;
  }

  .g-nav > ul > li.has-child.open > a::after {
    transform: rotate(180deg);
  }
}

@media screen and (max-width: 1024px) {
  .h_search,
  .h_login {
    display: none;
  }

  .g-nav.show #nav-bottom .h_search,
  .g-nav.show #nav-bottom .h_login {
    display: block;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
  }

  .g-nav.show #nav-bottom .h_search form {
    width: 100%;
  }

  .g-nav.show #nav-bottom .h_search .search_form {
    width: calc(100% - 100px);
  }

  .g-nav.show #nav-bottom .h_search .h_txt {
    width: 100%;
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  .g-nav.show #nav-bottom .h_login ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 2rem auto;
    max-width: 450px;
  }
}

@media screen and (min-width: 600px) and (max-width: 1024px) and (orientation: landscape) {
  .g-nav.show #nav-bottom .h_login ul {
    max-width: 450px;
    margin: 2rem auto;
  }
}

@media screen and (min-width: 1025px) {
  .h_search,
  .h_login {
    display: flex;
  }
}

/* ナビ */
.navbtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
  width: 30px;
  height: 30px;
}

.navbtn span,
.navbtn span::before,
.navbtn span::after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
  z-index: 1002;
}

.navbtn span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.navbtn span::before {
  top: -8px;
}

.navbtn span::after {
  bottom: -8px;
}

.navbtn.active span {
  background: transparent;
}

.navbtn.active span::before {
  top: 0;
  transform: translate(-50%, 0) rotate(45deg);
}

.navbtn.active span::after {
  bottom: 0;
  transform: translate(-50%, 0) rotate(-45deg);
}

@media only screen and (min-width: 1025px) {
  .h_tool {
    display: none;
  }
}

@media only screen and (min-width: 1025px) {
  .navbtn {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
  .h_tool {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 60px;
    height: 60px;
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 10;
    background-color: #000;
  }
}

@media only screen and (max-width: 599px) {
  .h_tool {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 60px;
    height: 60px;
  }
}

@media only screen and (max-width: 1024px) {
  .h_tel {
    display: none;
  }

  .navbtn {
    display: block;
  }

  .g-nav {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: block;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 9;
  }

  .g-nav.show {
    opacity: 1;
    visibility: visible;
    overflow: scroll;
  }

  .g-nav > ul {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin-top: 3rem;
  }

  .g-nav > ul > li {
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    border-bottom: solid 1px #333;
  }

  .g-nav > ul > li:last-child {
    border-bottom: none;
  }

  .g-nav.show > ul > li {
    opacity: 1;
  }

  .g-nav > ul > li > a {
    font-size: 1.6rem;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .g-nav > ul > li > a::before,
  .g-nav > ul > li > a::after {
    display: none;
  }

  .sub-menu {
    position: static;
    background: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: auto;
    border-radius: 0;
  }

  .sub-menu li:first-child a,
  .sub-menu li:last-child a {
    border-radius: 0;
  }

  .g-nav > ul > li.open {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
  }
}

/*メイン*/
main {
  padding: 0;
  margin: 0 auto;
  width: 100%;
  line-height: 1.5;
}
section {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
.main-content {
  margin: 0 auto;
  padding: 2rem 0 0 0;
  line-height: 1.5;
}

.category-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: solid 1px #ccc;
  border-radius: 5px;
}

.category-items > div {
  display: grid;
  grid-template-columns: 165px 1fr;
  border-right: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  align-items: center;
}
@media only screen and (min-width: 1025px) {
  .category-items > div:nth-child(3n) {
    border-right: 0;
  }

  .category-items > div:last-child,
  .category-items > div:nth-last-child(2) {
    border-bottom: 0;
  }
}
.category-items > div > dd {
  padding: 1rem;
}

.category-items > div > dd > h2 > a {
  color: var(--color-blue);
  font-size: 2rem;
  position: relative;
}

.category-items > div > dd > h2 > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-blue);
  transition: width 0.3s ease;
}

.category-items > div > dd > h2 > a:hover {
  color: var(--color-blue);
}

.category-items > div > dd > h2 > a:hover::after {
  width: 100%;
}

.category-items > div > dd > p {
  font-size: 1.4rem;
}
@media only screen and (max-width: 1024px) {
  .category-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: solid 1px #ccc;
    border-radius: 5px;
  }
  .category-items > div {
    display: grid;
    grid-template-columns: 1fr;
    border-right: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    align-items: center;
    justify-items: center;
  }
  .category-items > div > dt img {
    width: 100%;
    height: auto;
  }
}

@media only screen and (max-width: 599px) {
  .category-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: solid 1px #ccc;
    border-radius: 5px;
  }
}

.layout-three-column {
  display: grid;
  grid-template-columns: 245px 1fr 325px;
  gap: 20px;
}

.main-box {
  order: 2;
}

#blog-post .main-box h2 {
  font-size: clamp(2.4rem, 2vw + 1rem, 3.2rem);
}

.popular_blog_list {
  margin: 2rem 0;
  font-size: 1.4rem;
}

.popular_blog_list div {
  margin-bottom: 1.5rem;
  display: grid;
  gap: 10px;
  grid-template-columns: 80px 1fr;
}

.popular_blog_list div dd a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.popular_blog_list div dd a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.popular_blog_list div dd a:hover::after {
  width: 100%;
}

.recent_title {
  font-size: 2.4rem;
}
.recent-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 1.5rem 0;
}
figure.post-thumbnail {
  margin-top: 0;
}
.post-excerpt {
  font-size: 1.4rem;
}

.sidebar-left {
  order: 1;
}

.sidebar-left figure.banner{
		margin: 1.5rem 0;
	} 

figure.banner img {
  margin-inline: auto;
}
#blog-post h2 {
  background-color: var(--color-theme);
  color: #fff;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  padding: 1rem 1rem 1rem 40px;
  font-family: "Montserrat";
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.8rem;
  line-height: 1.5;
  position: relative;
}

#blog-post h2::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  left: 10px;
}

.cat_title::before {
  background-image: url(../images/map_icon.svg);
}
.cont_title::before {
  background-image: url(../images/cont_icon.svg);
}
.rank_title::before {
  background-image: url(../images/rank_icon.svg);
}

.member_title::before,
.ad_member_title::before,
.af_member_title::before {
  background-image: url(../images/member_icon.svg);
}

.popular_blog_title::before {
  background-image: url(../images/popular_icon.svg);
}

.side_cat_list,
.side_login_box {
  border: solid 1px #ccc;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}
.side_login_box {
  padding: 1rem;
}
.side_login_box p {
  margin: 1rem 0 !important;
  font-size: 1.4rem;
}
.login-btn {
  background-color: var(--color-theme);
  color: #fff;
  padding: 0.5rem 1rem;
}

.fa-right-to-bracket {
  margin-right: 1rem;
}

@media only screen and (max-width: 599px) {
  .side_login_box {
    padding: 2rem;
    text-align: center;
  }
  .side_login_box input[type="text"] {
    width: 80%;
  }
  .side_login_box p {
    margin: 2rem 0 !important;
    font-size: 1.6rem;
  }
}

.side_cat_list ul li {
  border-bottom: dashed 1px #ccc;
  padding: 0.8rem;
}

.side_cat_list ul li a {
  display: inline-block;
  font-size: 1.4rem;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.side_cat_list ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.side_cat_list ul li a:hover::after {
  width: 100%;
}

.side_cat_list ul li:last-child {
  border-bottom: 0;
}

.sidebar-right {
  order: 3;
}

@media only screen and (min-width: 1367px) {
  .ad-movie02 {
    width: 450px;
    margin-bottom: 1.5rem;
  }
}

.ad-movie02 {
  margin-bottom: 1.5rem;
}
.ad-movie02 img {
  width: 100%;
  height: auto;
}

@media only screen and (min-width: 600px) {
  .ad-movie01 {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
  .ad-movie02 {
    width: 100%;
  }
	.ad-movie02 video { width: 100%; height: auto; }
}

@media only screen and (max-width: 599px) {
  .sidebar-right .banner.ad01 {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .ad-movie02 {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .ad-movie01 {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 1025px) {
  .layout-three-column {
    display: grid;
    grid-template-columns: 180px 1fr 280px;
    gap: 20px;
  }
}

@media only screen and (max-width: 1024px) {
  .layout-three-column {
    display: grid;
    grid-template-columns: 1fr 230px;
    gap: 20px;
  }
  .main-box {
    order: 2;
  }
  .sp-aside-wrapper {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
  }
	
  .sidebar-left {
    order: 2;
  }
	
	
	
  .sidebar-right {
    order: 1;
  }
  .sidebar-right figure.banner {
    margin-bottom: 2rem;
  }
  figure.banner img {
    width: 100%;
    margin-inline: auto;
  }
}

@media only screen and (max-width: 599px) {
  .layout-three-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

#subpage > .main-content > .greeting_wrap h3 {
  font-size: 2.4rem;
  margin-bottom: 3rem;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.category-group .category-title {
  border-left: solid 0.5rem var(--color-theme);
  padding-left: 0.5rem;
  margin: 1rem 0;
  font-size: 1.6rem;
}

.category-group .sub-categories {
  line-height: 1.2;
}

.category-group .sub-categories li {
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 1.3rem;
}

.category-group .sub-categories li a:hover {
  color: var(--color-theme-second);
}

.ad-post {
  display: grid;
  grid-template-columns: 295px 1fr;
  margin: 2rem 0;
  background-color: var(--color-gray-light);
}

.ad-content {
  padding: 2rem;
  color: var(--color-gray-darken);
}

@media only screen and (max-width: 1024px) {
  .ad-post {
    grid-template-columns: 1fr;
  }
  .ad-content {
    padding: 1rem;
  }
}

.ad-title {
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.ad-title a:hover {
  color: var(--color-blue);
}
.ad-excerpt {
  font-size: 1.4rem;
}

.ad-txt small {
  font-size: 1.2rem;
}

.ad-thumbnail {
  margin: 0;
}

.ad-thumbnail img { width: 100%!important; height: auto!important; }

.ranking-post {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.ranking-thumbnail {
  position: relative;
  margin: 0;
}

.rank-number {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--color-theme);
  color: #fff;
  font-size: 1.2rem;
}
@media only screen and (max-width: 1024px) {
  .ranking-post {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  .ranking-thumbnail img {
    width: 100%;
  }
  .rank-number {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--color-theme);
    color: #fff;
    font-size: 1.8rem;
  }
}
.ranking-post:nth-child(1) .rank-number {
  background-color: var(--color-red);
}

.ranking-post:nth-child(2) .rank-number {
  background-color: var(--color-blue);
}

.ranking-post:nth-child(3) .rank-number {
  background-color: var(--color-green);
}

.ranking-post:nth-child(5) .rank-number {
  background-color: var(--color-gray-darken);
}

.ranking-content time {
  font-size: 1.2rem;
}
.ranking-title {
  font-size: 1.8rem;
}

.post-title a:hover,
.ranking-title a:hover {
  color: var(--color-blue);
}

.ranking-txt {
  font-size: 1.2rem;
}
.main-content h4,
.main-content p,
.main-content > dl > dd {
  margin-bottom: 1.5rem;
}

.main-content > ol,
.main-content > ol > li > ol {
  margin-left: 3.5rem;
}
.main-content > ol > li > ol {
  margin-top: 1.5rem;
}
.main-content > ol > li,
.main-content > ol > li > ol > li {
  list-style-type: decimal;
  margin-bottom: 1.5rem;
}

@media only screen and (min-width: 1025px) {
  .main-content {
    width: 1200px;
  }
}

@media only screen and (max-width: 1024px) {
  .main-content {
    width: 100%;
    padding: 20px;
  }
}

@media only screen and (max-width: 599px) {
  .main-content {
    width: 100%;
    padding: 15px;
  }
}

.cat_list {
  line-height: 0;
  display: flex;
  flex-wrap: wrap;
}
.cat_list > li {
  margin-right: 10px;
}
.cat_list > li:last-child {
  margin-right: 0;
}
.cat {
  background-color: var(--color-theme-light);
  display: inline-flex;
  justify-content: center;
  padding: 3px 10px;
  font-size: 1.2rem;
  color: #fff;
  min-width: 60px;
  text-align: center;
  line-height: 1.5;
}

.cat a {
  color: #fff;
}

.cat:hover {
  opacity: 0.5;
}
@media not screen and (min-width: 767px) {
  .cat {
    padding: 3px 10px;
    font-size: 1rem;
    color: #fff;
    min-width: 60px;
    text-align: center;
  }
}
.area-info {
  background-color: var(--color-pink);
}
.health {
  background-color: var(--color-green-light);
}

.mt20 {
  margin-top: 2rem;
}

#link {
  background-color: var(--color-gray-light);
}
#link .main-content {
  padding: 2rem 0;
}

#link h3 {
  font-size: clamp(2rem, 2vw + 1.5rem, 3rem);
  margin-bottom: clamp(1rem, 1vw + 0.8rem, 1.5rem);
}

.link_bn_list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.link_bn_list li a img {
  width: 100%;
}

@media only screen and (max-width: 1024px) {
  #link .main-content {
    padding: 2rem;
  }
}

@media only screen and (max-width: 599px) {
  .link_bn_list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/*フッター*/
#footer {
  width: 100%;
  margin: 0;
  background-color: #fff;
}

.footer-inner {
  font-size: 1.6rem;
  width: 1200px;
  margin: 0 auto;
  padding: 35px 0;
}

.f_logo {
  width: 425px;
  margin: 0 auto;
}

@media only screen and (max-width: 1024px) {
  .footer-inner {
    width: 100%;
    padding: 30px;
  }
  .f_logo {
    width: 100%;
    margin: 0 auto;
  }
  .f_logo img {
    margin-inline: auto;
  }
}

.f_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.f_nav ul {
  display: flex;
  flex-wrap: wrap;
}

.f_nav ul li {
  padding: 1rem;
}
.f_nav ul li a {
  position: relative;
  text-decoration: none;
  color: #333;
  display: inline-block;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.f_nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-theme);
  transition: width 0.3s ease;
}

.f_nav ul li a:hover {
  color: var(--color-theme);
}

.f_nav ul li a:hover::after {
  width: 100%;
}

.sns_nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.sns_nav ul li {
  padding: 0 1rem;
}
.sns_nav ul li a {
  display: block;
  background-color: var(--color-theme);
  padding: 1rem;
  transition: var(--transition);
}

.sns_nav ul li a:hover {
  background-color: var(--color-gray-darken);
}
.address {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-theme);
  color: #fff;
}
.address p {
  margin: 1.5rem 0;
}

.address_link a {
  position: relative;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.address_link a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.address_link a:hover::after {
  width: 100%;
}

.address_link a:hover {
  color: #fff;
}

.address a img {
  transition: var(--transition);
}

.address a img:hover {
  opacity: 0.5;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .address {
    min-height: 50px;
  }
}

@media only screen and (max-width: 599px) {
  .footer-inner {
    padding: 20px;
  }
  .f_nav {
    margin: 2rem 0;
  }
}

/* ページトップへ戻る */
#page-top {
  position: fixed;
  bottom: 0;
  right: 0;
  font-size: 1.2rem;
  z-index: 999;
  margin: 0 !important;
}
#page-top a {
  background: var(--color-theme);
  text-decoration: none;
  color: #fff;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (min-width: 1201px) {
  #page-top a:hover {
    text-decoration: none;
    background: var(--color-theme-second);
  }
}

@media only screen and (max-width: 1024px) {
  #page-top {
    bottom: 0;
  }
}

@media only screen and (max-width: 599px) {
  #page-top {
    bottom: 0;
  }
}

/*list*/
.disc-list {
  border-radius: 10px;
}
.disc-list li {
  list-style: disc;
  margin-left: 35px;
  margin-bottom: 15px;
}

/*button*/
.bt01 {
  padding: 15px 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition), transform 0.3s ease;
  font-size: 2rem;
  font-weight: bold;
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 10px;
}

.bt01:hover {
  background-color: var(--color-theme-light);
  transform: translateY(-5px);
}

.sub_bt {
  padding: 5px 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition), transform 0.3s ease;
  font-size: 1.4rem;
  background-color: var(--color-theme);
  color: #fff;
}

.sub_bt:hover {
  background-color: var(--color-theme-light);
  transform: translateY(-2px);
}

.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.pager a {
  padding: 10px 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition), transform 0.3s ease;
  font-size: 1.6rem;
  font-weight: bold;
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 10px;
}
.pager a {
  margin: 0 5px;
}

.pager a:hover {
  background-color: var(--color-theme-second);
  transform: translateY(-5px);
}

.pager a.current {
  background-color: var(--color-theme-light);
  color: var(--color-theme);
}
