.wpcf7 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.wpcf7 form {
  width: 100%;
}
.page .content {
  max-width: 760px;
  margin: 0 auto;
}
/* OWNER NOTE：記事一覧を横長カードに */
@media screen and (min-width: 768px) {

  .archiveItem-wide {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-areas:
      "image date"
      "image title"
      "image text"
      "image button";
    column-gap: 28px;
    align-items: start;
    padding: 24px 0;
  }

  .archiveItem-wide .eyecatch-archive {
    grid-area: image;
    margin: 0;
  }

  .archiveItem-wide .eyecatch-archive img {
    width: 220px;
    height: 124px;
    object-fit: cover;
  }

  .archiveItem-wide .dateList-archive {
    grid-area: date;
    margin: 0 0 8px;
  }

  .archiveItem-wide .heading-archive {
    grid-area: title;
    margin: 0 0 10px;
  }

  .archiveItem-wide .archiveItem__text {
    grid-area: text;
    margin: 0;
  }

  .archiveItem-wide .btn {
    grid-area: button;
  }
}
.archiveItem .btn-right {
  display: none !important;
}
.archiveItem-wide {
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
}
/* OWNER NOTE：TOPピックアップ全体の横幅を狭くして中央寄せ */
.key {
  max-width: 1180px;
  margin: 0 auto;
}

.key__list {
  width: 100%;
}
/* OWNER NOTE：スマホでも記事一覧を横長表示 */
@media screen and (max-width: 767px) {

  .archiveItem-wide {
    display: grid;
    grid-template-columns: 110px 1fr;
    grid-template-areas:
      "image date"
      "image title"
      "image text";
    column-gap: 12px;
    align-items: start;
    margin-bottom: 10px !important;
    padding: 10px 0 !important;
  }

  .archiveItem-wide .eyecatch-archive {
    grid-area: image;
    margin: 0;
  }

  .archiveItem-wide .eyecatch-archive img {
    width: 110px !important;
    height: 70px !important;
    object-fit: cover;
  }

  .archiveItem-wide .dateList-archive {
    grid-area: date;
    margin: 0 0 4px;
    font-size: 11px;
  }

  .archiveItem-wide .heading-archive {
    grid-area: title;
    margin: 0;
  }

  .archiveItem-wide .archiveItem__text {
    grid-area: text;
    margin: 4px 0 0;
  }

  .archiveItem-wide .btn-right {
    display: none !important;
  }
}
/* スマホ：記事タイトルを少し小さく */
@media screen and (max-width: 767px) {
  .archiveItem-wide .heading-archive {
    font-size: 15px !important;
    line-height: 1.5;
  }

  /* 画像上のカテゴリラベルを小さくして邪魔しにくく */
  .archiveItem-wide .eyecatch__cat {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
}
/* スマホ：カテゴリタグを非表示 */
@media screen and (max-width: 767px) {
  .archiveItem-wide .eyecatch__cat {
    display: none !important;
  }
}
/* OWNER NOTE：TOP紹介文はスマホだけ表示 */
.owner-note-intro {
  display: none;
}

@media screen and (max-width: 767px) {
  .owner-note-intro {
    display: block;
  }
}
/* OWNER NOTE：スマホTOP紹介ブロック */
@media screen and (max-width: 767px) {
  .owner-note-intro {
    display: block;
    padding: 18px 16px 20px;
    margin: 0 0 18px;
    background: #f7f4ee;
    border-left: 4px solid #C7A76A;
  }

  .owner-note-intro__title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
  }
}

.widget.widget-page h2.owner-note-section-title {
  display: block !important;
  margin: 22px 0 12px !important;
  padding: 0 0 0 10px !important;
  border: none !important;
  border-left: 4px solid #C7A76A !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #222 !important;
}
/* スマホ：注目の記事見出しを新着記事と同じデザインに */
@media screen and (max-width: 767px) {
  .l-sidebar .heading-widget {
    display: block !important;
    margin: 22px 0 12px !important;
    padding: 0 0 0 10px !important;
    border: none !important;
    border-left: 4px solid #C7A76A !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #222 !important;
  }
}
.archiveItem-wide .eyecatch-archive img {
  width: 220px !important;
  height: 124px !important;
  object-fit: cover !important;
}
@media screen and (min-width: 768px) {
  .widget-page:has(.owner-note-intro) {
    display: none !important;
  }
}
/* PC：新着記事の見出し位置を上に揃える */
@media screen and (min-width: 768px) {
  .widget.widget-page:has(.owner-note-section-title) {
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: translateY(-18px);
  }
}
@media screen and (min-width: 768px) {
  .widget.widget-page:has(.owner-note-section-title) {
    margin-bottom: 6px !important;
  }

  .archive {
    margin-top: 0 !important;
  }
}
@media screen and (max-width: 767px) {
  .widget.widget-page:has(.owner-note-section-title) {
    margin-bottom: 6px !important;
  }

  .archive {
    margin-top: 0 !important;
  }
}
/* OWNER NOTE：スマホ用スライドメニュー */
.owner-mobile-menu {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .owner-mobile-menu {
    display: block !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;

    transform: translateX(110%);
    visibility: hidden;
    opacity: 0;

    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s;
  }

  .owner-mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }

  .owner-mobile-menu__inner {
    padding: 24px 20px;
  }

  .owner-mobile-menu__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }

  .owner-mobile-menu__title {
    font-size: 18px;
    font-weight: 700;
    color: #123B66;
  }

  .owner-mobile-menu__close {
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
  }

  .owner-mobile-menu__nav {
    display: flex;
    flex-direction: column;
  }

  .owner-mobile-menu__nav a {
    padding: 14px 0;
    border-bottom: 1px solid #e8e8e8;
    color: #222;
    text-decoration: none;
    font-size: 15px;
  }
}
/* スマホではLION MEDIA標準Gナビを非表示 */
@media screen and (max-width: 767px) {
  #extra__menu {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .owner-mobile-menu {
    top: 44px;
    height: calc(100vh - 44px);
  }
}
/* PC：検索ボックスを常時表示 */
@media screen and (min-width: 768px) {
  .searchBox {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
  }
}
/* PC：ハンバーガーメニューを非表示 */
@media screen and (min-width: 768px) {
  #menuNavi__menu {
    display: none !important;
  }
}
/* スマホ：検索ボックスを常時表示 */
@media screen and (max-width: 767px) {
  .searchBox {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
  }
}
@media screen and (max-width: 767px) {
  .searchBox {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    transform: none !important;
  }
}
@media screen and (max-width: 767px) {
  .owner-mobile-menu__label {
    margin: 22px 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #C7A76A;
  }
}
@media screen and (max-width: 767px) {
  .owner-mobile-menu__nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
  }

  .owner-mobile-menu__nav .owner-mobile-menu__main {
    font-weight: 700;
    font-size: 15px;
  }
}
@media screen and (max-width: 767px) {
  .owner-mobile-menu__head {
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 2px solid #C7A76A;
  }

  .owner-mobile-menu__title {
    font-size: 18px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #123B66 !important;
  }

  .owner-mobile-menu__close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d8d8d8 !important;
    border-radius: 50%;
    background: #fff !important;
    color: #123B66;
    font-size: 22px !important;
    line-height: 30px;
  }
}
@media screen and (max-width: 767px) {
  .owner-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .owner-mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
}
.owner-note-beginner {
  margin: 28px 0;
  padding: 24px;
  background: #f7f4ee;
}

.owner-note-beginner h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #123B66;
}

.owner-note-beginner p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.owner-note-beginner__button {
  display: inline-block;
  padding: 10px 16px;
  background: #123B66;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.owner-note-beginner {
  margin: 28px 0;
  padding: 24px;
  background: #f7f4ee;
  text-align: center;
}
/* 全ページ共通カテゴリナビ */
/* PC：全ページ共通カテゴリナビ */
.owner-category-global {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  gap: 0;

  width: min(1180px, calc(100vw - 40px));
  max-width: none;

  position: relative;
  left: 50%;
  transform: translateX(-50%);

  margin: 0;
  background: #fff;

  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.owner-category-global a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  padding: 12px 8px;

  border-right: 1px solid #e5e5e5;

  color: #222;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.owner-category-global a:nth-child(3) {
  flex: 1.35;
}

.owner-category-global a:hover {
  color: #C7A76A;
}

/* スマホでは非表示 */
@media screen and (max-width: 767px) {
  .owner-category-global {
    display: none !important;
  }
}

.owner-category-global a:hover {
  color: #C7A76A;
}

/* スマホでは非表示 */
@media screen and (max-width:767px){
  .owner-mobile-menu{
    display:block!important;
    position:fixed;
    top:44px;
    right:0;

    width:300px;
    max-width:85vw;

    height:calc(100dvh - 44px);

    background:#fff;
    z-index:9999;

    transform:translateX(110%);
    visibility:hidden;
    opacity:0;

    transition:transform .3s ease, opacity .3s ease, visibility .3s;

    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
}
/* PC：フッターメニューを1列で横並び */
@media screen and (min-width: 768px) {
  .l-footer .menu {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 20px;

    width: 100% !important;
    max-width: none !important;

    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none;
  }

  .l-footer .menu li {
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  .l-footer .menu a {
    display: block;
    white-space: nowrap;
  }
}
@media screen and (max-width: 767px) {
  header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
  }

  body {
    padding-top: 44px;
  }
}
@media screen and (max-width: 767px) {
  #menuNavi__menu.is-open::before {
    content: "×" !important;
    font-size: 28px;
    line-height: 1;
  }
}