@charset "UTF-8";
/*
Theme Name:   Echo Child - LOM
Theme URI:    https://oldno07.com/
Description:  Echoカスタマイズ用子テーマ
Author:       4K WORKS
Author URI:   https://oldno07.com/
Template:     echo
Version:      0.0.3
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  text-decoration: none;
}

p {
  margin: unset;
  padding: unset;
}

:root {
  --main-color: #004e78;
  --sub-color: rgba(28, 114, 173, 0.8);
  --accent-color: #f4be30;
  --bg-color: #f6f6f7;
  --bg-color-hover: #e3ecef;
  --shadow-color: #c7dade;
  --text-color: #162524;
  --link-color: #0f1818;
  --title-color: #464647;
  --title-size: 24px;
  --inline-padding-base: 16px;
  --block-padding-base: 24px;
  --header-height: 150px;
}

@media screen and (min-width: 768px) {
  :root {
    --inline-padding-base: 24px;
    --block-padding-base: 32px;
    --title-size: 32px;
  }
}

@media screen and (min-width: 851px) {
  :root {
    --header-height: 72px;
  }
}

@media screen and (min-width: 960px) {
  :root {
    --inline-padding-base: 32px;
    --block-padding-base: 48px;
    --header-height: 72px;
  }
}

#body {
  color: #222;
  background-color: #fff;
}

.header {
  width: 100%;
  height: var(--header-height);
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.main {
  width: 100%;
  margin-top: var(--header-height);
}

.footer {
  background: var(--bg-color);
}

.sp {
  display: block;
}

.pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }

  .pc {
    display: block;
  }
}

.customize-support .header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .customize-support .header {
    top: 46px;
  }
}

/**
 * カスタマイズ用のスタイルは以下に追加
 */
.header-logo {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 180px;
  height: 40px;
  padding-left: 8px;
  line-height: 1;
  z-index: 2;
}
.logo {
  white-space: nowrap;
}
.powered-by {
  font-size: 12px;
  line-height: 1;
}

@media (min-width: 769px) {
  #main {
    padding-left: 32px;
  }
  .sidebar {
    margin-left: 32px !important;
  }
}

@media (min-width: 851px) {
  .header-logo {
    height: 68px;
	width: 240px;
  }
}

.category-navigation-content {
  padding-block: var(--block-padding-base) 0;
}
.category-navigation-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #004e78;
  padding-bottom: 16px;
  text-align: center;
  border-bottom: 1px dashed #b3b3b3;
}
.category-navigation-list {
  display: flex;
  justify-content: center;
  align-items: center;
	flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
}
.category-navigation-list li {
  width: calc((100% - 8px) / 2);
}
.category-navigation-list a {
  display: block;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  color: #004e78;
  white-space: nowrap;
  padding: 8px 0;
  border-radius: 8px;
  background-color: var(--bg-color);
}
@media screen and (min-width: 480px) {
  .category-navigation-list li {
    width: calc((100% - 24px) / 4);
  }
}

@media screen and (min-width: 768px) {
  .category-navigation-list {
    gap: 16px;
  }
  .category-navigation-list li {
    width: calc((100% - 48px) / 4);
		max-width: 224px;
  }
	.category-navigation-list a {
		font-size: 15px;
	}
}

.recommend-posts h3 {
  margin: 24px 0 16px;
  font-size: 30px;
  font-weight: normal;
  padding-bottom: 8px;
  color: #004e78;
  border-bottom: solid 1px #bbb;
  position: relative;
}
.recommend-posts h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: #004e78;
  position: absolute;
  bottom: -1px;
  left: 0;
}

.recommend-posts .post-list-item a article {
  flex-direction: row;
}

.recommend-posts .post-list-item-thumbnail {
  width: 152px;
}

.recommend-posts .post-list-item-meta {
  position: relative;
}

.recommend-posts .post-list-item-title {
  font-size: 15px;
}

.recommend-posts .post-list-item-time {
  position: absolute;
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 768px) {
  .recommend-posts .post-list-item {
    width: 100%;
  }

  .recommend-posts .post-list-item-thumbnail {
    width: 200px;
  }

  .recommend-posts .post-list-item-title {
    font-size: 16px;
  }

  .recommend-posts .post-list-item-time {
    position: unset;
  }
}
@media screen and (min-width: 1080px) {
  .recommend-posts .post-list-item {
    width: calc((100% - var(--inline-padding-base) * 2) / 3);
  }
  .recommend-posts .post-list-item a article {
    flex-direction: column;
  }
  .recommend-posts .post-list-item-thumbnail {
    width: 100%;
  }
}

.site-footer {
  background-color: #f0f0f0;
}
.site-footer-content {
  padding: var(--block-padding-base) 0;
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  line-height: 1;
  padding: 20px 0;
}
.site-footer ul a {
  font-size: 15px;
}
@media (min-width: 769px) {
  .site-footer-content {
    margin-left: 32px;
  }
  .site-footer ul {
    flex-direction: row;
  }
}

:root {
  --font-family: YakuHanJPs, Inter, 'Noto Sans JP', sans-serif;
  --color_bg: #fff;
  --color_text: #222;
  --color_link: #00c;
  --color_link-hover: #33f;
  --font-weight_thin: 100;
  --font-weight_light: 300;
  --font-weight_regular: 400;
  --font-weight_medium: 500;
  --font-weight_semibold: 600;
  --font-weight_bold: 700;
  --font-weight_black: 900;
}
body {
  font-family: YakuHanJPs, Inter, 'Noto Sans JP', sans-serif;
  scroll-padding-top: 72px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
@font-face {
  font-family: 'YakuHanJPs';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/npm/yakuhanjp@3.4.1/dist/fonts/YakuHanJPs/YakuHanJPs-Thin.eot);
  src:
    url(https://cdn.jsdelivr.net/npm/yakuhanjp@3.4.1/dist/fonts/YakuHanJPs/YakuHanJPs-Thin.woff2) format('woff2'),
    url(https://cdn.jsdelivr.net/npm/yakuhanjp@3.4.1/dist/fonts/YakuHanJPs/YakuHanJPs-Thin.woff) format('woff');
}

small {
  font-family: Inter, sans-serif;
}
/* ヘッダー */

.l-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  border-top: 4px solid rgba(0, 78, 120, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.16);
}

@media (max-width: 850px) {
  .l-header {
    border-top: 0 none;
  }
}

.l-header a {
  color: inherit;
  text-decoration: none;
}

/* __body */
.l-header__body {
  display: grid;
  grid-template-areas: 'logo market nav utility';
  grid-template-columns: auto auto 1fr auto;
  align-items: end;
  justify-content: space-between;
  padding: 0 20px 0 40.45px;
}

@media (max-width: 1280px) {
  .l-header__body {
    padding: 0 1.3889vw 0 2.809vw; /* 20/1440*100, 40.45/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__body {
    grid-template-areas:
      'alternate alternate alternate'
      'logo      market    utility'
      'nav       nav       nav';
    grid-template-columns: 120px auto 1fr;
    align-items: center;
    justify-content: start;
    padding: 0;
  }
}

/* __logo */
.l-header__logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  margin: 0 33px 0 0;
  padding: 5.5px 0 6.92px;
  height: 55.57px;
  font-weight: var(--font-weight_regular);
}

@media (max-width: 1280px) {
  .l-header__logo {
    margin-right: 2.2917vw; /* 33/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__logo {
    margin-right: 5px;
    padding: 6.95px 8.5px 9.86px;
    height: auto;
  }
}

.l-header__logo__content {
  display: block;
}

.l-header__logo__image {
  display: block;
  width: 183.55px;
  height: 55.57px;
}

@media (max-width: 1280px) {
  .l-header__logo__image {
    width: 12.7465vw; /* 183.55/1440*100 */
    height: 3.859vw; /* 55.57/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__logo__image {
    width: 103.01px;
    height: 31.19px;
  }
}

/* __market */
.l-header__market {
  grid-area: market;
  display: grid;
  grid-template-areas:
    'logo name'
    'logo code';
  grid-template-columns: 34.59px 1fr;
  align-items: center;
  gap: 0 12.41px;
  margin: 0;
  padding: 0 0 13px;
  font-size: 0.8125rem; /* 13/16 */
  line-height: 1.125rem; /* 18/16 */
}

@media (max-width: 1280px) {
  .l-header__market {
    grid-template-columns: 2.4021vw 1fr; /* 34.59/1440*100 */
    gap: 0 0.8618vw; /* 12.41/1440*100 */
    padding: 0;
    font-size: 0.9028vw; /* 13/1440*100 */
    line-height: 1.25vw; /* 18/1440*100 */
    align-self: center;
  }
}

@media (max-width: 850px) {
  .l-header__market {
    grid-template-columns: 26px 1fr;
    gap: 0 3px;
    padding: 0;
    font-size: 0.6875rem; /* 11/16 */
    line-height: 0.875rem; /* 14/16 */
  }
}

.l-header__market__logo {
  grid-area: logo;
  margin: 0;
  padding: 0;
}

.l-header__market__image {
  display: block;
  width: 100%;
  height: auto;
}

.l-header__market__name {
  grid-area: name;
  margin: 0;
  padding: 0;
}

.l-header__market__code {
  grid-area: code;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

/* __utility と __nav の共通スタイル */
.l-header__utility,
.l-header__nav {
  display: flex;
  justify-content: end;
  font-weight: var(--font-weight_medium);
  font-size: 0.9375rem; /* 15/16 */
  line-height: 1.3125rem; /* 21/16 */
}

@media (max-width: 1280px) {
  .l-header__utility,
  .l-header__nav {
    font-size: 1.0417vw; /* 15/1440*100 */
    line-height: 1.4583vw; /* 21/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__utility,
  .l-header__nav {
    font-size: 0.9375rem;
    line-height: 1.3125rem;
  }
}

.l-header__utility__link,
.l-header__nav__link {
  position: relative;
  display: block;
  padding: 0 0 11px;
}

.l-header__utility__link::after,
.l-header__nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-left: 2px solid #1c72ad;
  width: 0;
  height: 8px;
  opacity: 0;
}

@media (hover) {
  .l-header__utility__link:hover::after,
  .l-header__nav__link:hover::after {
    opacity: 1;
  }
}

.l-header__utility__link.--current::after,
.l-header__nav__link.--current::after {
  opacity: 1;
}

.l-header__utility__copy,
.l-header__nav__copy {
  position: absolute;
  left: -20px;
  right: -20px;
  top: -1.125rem; /* -18/16 */
  margin: auto;
  padding: 0 9px;
  border-radius: 3px;
  width: fit-content;
  background: linear-gradient(96deg, #004e78 0%, #00273c 100%) 0% 0% no-repeat;
  color: #fff;
  font-size: 0.75rem; /* 12/16 */
  line-height: 1.0625rem; /* 17/16 */
  opacity: 0.9;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .l-header__utility__copy,
  .l-header__nav__copy {
    top: -1.25vw; /* -18/1440*100 */
    padding: 0 0.625vw; /* 9/1440*100 */
    border-radius: 0.2083vw; /* 3/1440*100 */
    font-size: 0.8333vw; /* 12/1440*100 */
    line-height: 1.1806vw; /* 17/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__utility__copy,
  .l-header__nav__copy {
    position: static;
    box-sizing: border-box;
    display: block;
    margin: auto;
    padding: 0 4px;
    max-width: 100%;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
    color: #004e78;
    opacity: 1;
    font-weight: var(--font-weight_medium);
    font-size: 0.75rem;
    line-height: 1.0625rem;
  }
}

.l-header__utility__copy__paren,
.l-header__nav__copy__paren {
  display: none;
}

.l-header__utility > ul,
.l-header__nav > ul {
  display: flex;
  gap: 0 26px;
  align-items: end;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

@media (max-width: 1280px) {
  .l-header__utility > ul,
  .l-header__nav > ul {
    gap: 0 1.8056vw; /* 26/1440*100 */
  }
}

/* __nav 固有スタイル */
.l-header__nav {
  grid-area: nav;
}

@media (max-width: 850px) {
  .l-header__nav {
    justify-content: stretch;
    align-items: stretch;
    background: #004e78;
    color: #fff;
  }
}

@media (max-width: 850px) {
  .l-header__nav > ul {
    display: table;
    width: 100%;
  }
}

@media (max-width: 850px) {
  .l-header__nav > ul > li {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 850px) {
  .l-header__nav > ul > li:first-of-type {
    border-left: 0 none;
  }
}

/* nav親リンク共通（%プレースホルダー展開） */
@media (max-width: 850px) {
  .l-header__nav > ul > li > .l-header__nav__link,
  .l-header__nav__category__toggle {
    position: relative;
    display: block;
    padding: 5px 4px 15px;
    font-weight: var(--font-weight_bold);
    font-size: 1rem; /* 16/16 */
    line-height: 1.5rem; /* 24/16 */
  }
}

@media (max-width: 850px) {
  .l-header__nav > ul > li > .l-header__nav__link::after,
  .l-header__nav__category__toggle::after {
    content: none;
  }
}

/* __nav__category */
.l-header__nav__category {
  margin: 0;
  padding: 0;
}

.l-header__nav__category__toggle::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  margin: auto;
  width: 10.339px;
  height: 6.169px;
  background: url(https://lomgrp.co.jp/wp-content/themes/lomgrp/assets/images/arrow_sp-menu.svg) 0 0 no-repeat;
  background-size: contain;
}
.l-header__nav__category__toggle {
  cursor: pointer;
}
@media (min-width: 851px) {
  .l-header__nav__category__toggle {
    display: none;
  }
}

.l-header__nav__category__label {
  display: block;
}

.l-header__nav__category__sub {
  display: block;
  font-weight: var(--font-weight_regular);
  font-size: 0.75rem; /* 12/16 */
  line-height: 1.0625rem; /* 17/16 */
}

.l-header__nav__category.--selected .l-header__nav__category__toggle {
  background-color: #337193;
}

.l-header__nav__category__body {
  margin: 0;
  padding: 0;
}

@media (max-width: 850px) {
  .l-header__nav__category__body {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: #337193;
  }
}

.l-header__nav__category__body > ul {
  display: flex;
  align-items: end;
  gap: 0 26px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

@media (max-width: 1280px) {
  .l-header__nav__category__body > ul {
    gap: 0 1.8056vw; /* 26/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__nav__category__body > ul {
    display: table;
    width: 100%;
  }
}

@media (max-width: 850px) {
  .l-header__nav__category__body > ul > li {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
  }
}

@media (max-width: 850px) {
  .l-header__nav__category__body > ul > li:first-of-type {
    border-left: 0 none;
  }
}

@media (max-width: 850px) {
  .l-header__nav__category__body > ul > li:first-of-type .l-header__nav__link::before {
    content: none;
  }
}

@media (max-width: 850px) {
  .l-header__nav__category__body > ul > li .l-header__nav__link {
    padding: 12px 0 17px;
    font-weight: var(--font-weight_regular);
    font-size: 0.9375rem; /* 15/16 */
    line-height: 1.3125rem; /* 21/16 */
  }
}

@media (max-width: 850px) {
  .l-header__nav__category__body > ul > li .l-header__nav__link::before {
    content: '';
    position: absolute;
    top: 11px;
    bottom: 11px;
    left: 0;
    width: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 850px) {
  .l-header__nav__category__body > ul > li .l-header__nav__link::after {
    content: none;
  }
}

.l-header__nav__category.--selected .l-header__nav__category__body {
  display: block;
}

/* __utility 固有スタイル */
.l-header__utility {
  grid-area: utility;
  margin-left: 26px;
}

@media (max-width: 1280px) {
  .l-header__utility {
    margin-left: 1.8056vw; /* 26/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__utility {
    margin-left: 7px;
    padding: 0 0 4.67px;
    font-weight: var(--font-weight_bold);
    font-size: 0.8125rem; /* 13/16 */
    line-height: 1.1875rem; /* 19/16 */
  }
}

@media (max-width: 850px) {
  .l-header__utility__link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 4px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 850px) {
  .l-header__utility__link::after {
    content: none;
  }
}

@media (max-width: 850px) {
  .l-header__utility > ul {
    margin: 0 0 0 auto;
    gap: 0;
    align-items: stretch;
  }
}

@media (max-width: 850px) {
  .l-header__utility > ul > li {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    border-left: 1px solid rgba(28, 78, 117, 0.3);
  }
}

/* __alternate */
.l-header__alternate {
  grid-area: alternate;
  position: absolute;
  top: 4px;
  right: 22.6px;
}

@media (max-width: 1280px) {
  .l-header__alternate {
    right: calc(20px + 0.1806vw); /* 2.6/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__alternate {
    position: static;
    padding: 3px 4px 2px;
    border-bottom: 4px solid rgba(0, 78, 120, 0.9);
    background: #f6f6f7;
  }
}

/* __sns */
.l-header__sns {
  display: flex;
  justify-content: end;
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 0.75rem; /* 12/16 */
  line-height: 1.5rem; /* 24/16 */
}

@media (max-width: 1280px) {
  .l-header__sns {
    gap: 0 2.2222vw; /* 32/1440*100 */
    font-size: 0.8333vw; /* 12/1440*100 */
    line-height: 1.6667vw; /* 24/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__sns {
    flex-direction: column;
    justify-content: start;
    gap: 4px 0;
    font-size: 0.75rem;
    line-height: 1.875rem; /* 30/16 */
  }
}

.l-header__sns .--twitter a {
  color: #1d9bf0;
}

.l-header__sns .--twitter a::before {
  content: '';
  display: inline-block;
  margin: 0 6px 0 0;
  border-radius: 4px;
  width: 25px;
  height: 24px;
  vertical-align: middle;
  background: url(https://lomgrp.co.jp/wp-content/themes/lomgrp/assets/images/iconsX150.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

@media (max-width: 1280px) {
  .l-header__sns .--twitter a::before {
    margin: 0 0.4167vw 0 0; /* 6/1440*100 */
    border-radius: 0.2778vw; /* 4/1440*100 */
    width: 1.7361vw; /* 25/1440*100 */
    height: 1.6667vw; /* 24/1440*100 */
  }
}

@media (max-width: 850px) {
  .l-header__sns .--twitter a::before {
    margin: 0 6px 0 0;
    border-radius: 4px;
    width: 31px;
    height: 30px;
  }
}
