@charset "UTF-8";

/*======================================================================
  Reset CSS for HTML5
======================================================================*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
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,
tbody,
tfoot,
thead,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent
}

ul,
ol,
dl {
  list-style: none
}

html {
  scroll-behavior: smooth
}

* {
  box-sizing: border-box;
}

/*======================================================================
CSS Variables
======================================================================*/
:root {
  /* カラー */
  --color-primary: #6BA368;
  --color-text: #000;
  --color-bg: #FFFFFF;

  /* フォント */
  --font-family-base: "Avenir", "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --font-size-base: 16px;

  /* その他 */
  --transition: 0.3s ease;
}

/*======================================================================
Global Styles
======================================================================*/
body {
  font-size: var(--font-size-base);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-family-base);
  color: var(--color-text);
  background: var(--color-bg);
}

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

a:hover {
  opacity: 0.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.img-wrap img {
  position: absolute;
  inset: -50%;
  margin: auto;
  width: 100%;
  height: auto;
}

.gnav {
  text-align: center;
  background: #fff;
  color: #fff;
  display: block;
  margin-bottom: 1px;
  position: relative;
}

.menu_button {
  display: block;
	width: fit-content;
	margin-inline: auto;
  color: #fff;
  padding: 60px 0 8px;
}

.menu_button img {
	cursor: pointer;
}

.menu_button img:hover {
  content: url(images/hamburger-hover.png);
}

.menu-main {
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.menu-main.open {
  max-height: 500px;
  margin-bottom: 24px;
}

.gnav ul li {
  border-bottom: 1px solid #eee;
  color: #222;
}

.gnav ul li a {
	display: block;
  padding: 1rem;
  cursor: pointer;
}

/*======================================================================
Utility Classes
======================================================================*/
.container {
  margin: 0 auto;
  max-width: 768px;
  padding-inline: 20px;
  box-sizing: border-box;
}


/*======================================================================
Header
======================================================================*/
.header {
  position: relative;
  color: #FFFFFF;
  min-height: 340px;
  overflow: hidden;
}

.header-background {
  position: relative;
  max-width: 768px;
  min-height: 340px;
  margin-inline: auto;
  background: url(images/header.png) no-repeat center center;
}

.header .container {
  position: relative;
  z-index: 1;
  max-width: 768px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}

.header-content h1 {
  max-width: 425px;
  width: 100%;
  font-weight: normal;
}

.header-logo {
  display: block;
  z-index: 100;
}

.header-logo img {
  display: block;
  width: 240px;
  height: auto;
}

.header-about {
  position: absolute;
  bottom: 20px;
  right: 20px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1.5;
}

.header-about strong {
  display: block;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #FFFFFF;
  padding-bottom: 3px;
}

/*======================================================================
Breadcrumb
======================================================================*/
.breadcrumb {
  margin: 0 auto;
  padding-bottom: 22px;
}

.breadcrumb ul li {
  padding-right: 5px;
  display: inline-block;
  color: var(--color-text);
}

.breadcrumb ul li a span {
  font-weight: bold;
}

/*======================================================================
Main Content
======================================================================*/
.main {
  background: var(--color-bg);
}

/*======================================================================
Index Top Section
======================================================================*/
.index-top-content {
  text-align: center;
}

.index-top-image {
  position: relative;
}

.index-top-image img {
	width :728px;
	max-width: 100%;
}

.index-top-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.5;
}

.index-top-image-title {
  font-size: 24px;
  margin-bottom: 0;
}

.index-top-image-subtitle {
  font-size: 18px;
}

/*======================================================================
Text Content Section
======================================================================*/
.text-content {
  background: var(--color-bg);
}

.text-content-inner {
  max-width: 720px;
  margin: 0 auto;
}

.index-title {
  position: relative;
  padding-top: 165px;
}

.index-title::before {
  content: "";
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 65px;
  background: url(images/icon_newspaper.png) no-repeat center center;
}

.title-deco {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text);
  display: block;
  width: fit-content;
  text-align: center;
  margin-inline: auto;
  border-bottom: 2px solid #000;
}

.index-post {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-inline: 30px;
}

.index-post li {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.index-post li a {
  font-size: 18px;
  font-weight: bold;
}

.index-post li a:hover {
  color: #50A178;
  opacity: 1;
}

.recommend {
  margin-top: 60px;
  padding-top: 40px;
  background: #F9F9F6;
}

.recommend-title {
  margin-bottom: 40px;
}

.recommend-top-image {
  position: relative;
  height: 200px;
  margin-bottom: 40px;
  display: block;
  overflow: hidden;
  background: var(--color-primary);
}

	.recommend-top-image:hover {
		opacity: 1;
	}

.recommend-top-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
  z-index: 2;
}

.recommend-top-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
	inset: 0;
}

.recommend-top-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.5;
  z-index: 3;
}

.recommend-top-image:hover img {
  opacity: 0.5;
}

.recommend-top-image-title {
  font-size: 24px;
  margin-bottom: 0;
}

.recommend-post-title {
  margin-bottom: 40px;
}

.recommend-post {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

.recommend-post li {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 30px;
}

.recommend-post-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.recommend-post-top a:has(.recommend-post-image) {
  display: block;
}

.recommend-post-top a:has(.recommend-post-image):hover {
  opacity: 1;
}

.recommend-post-image {
  flex-shrink: 0;
  width: 151px;
  height: 113px;
  position: relative; 
  overflow: hidden;
  background: var(--color-primary);
}


.recommend-post-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
}

.recommend-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
	inset: 0;
}

.recommend-post-top a:hover .recommend-post-image img {
  opacity: 0.6;
}

.recommend-post-text {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.recommend-post-text:hover {
  color: #50A178;
  opacity: 1;
}

.recommend-post-icon {
  position: relative;
  font-size: 16px;
  font-weight: bold;
  color: #999;
  padding: 8px 0 8px 30px;
  border-top: 2px solid #EEE;
  border-bottom: 2px solid #EEE;

}

.recommend-post-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url(images/icon_reco.png) no-repeat center center;
}

.recommend-post-icon:hover {
  color: #50A178;
  opacity: 1;
}

.recommend-post-icon:hover::before {
  background: url(images/icon_reco-hover.png) no-repeat center center;

}

.fnav {
  width: 542px;
  max-width: 100%;
  margin-inline: auto;
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 60px;
}

footer ul li a {
  position: relative;
  display: block;
  padding-left: 30px;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-text);
}

footer ul li a:hover {
  color: #50A178;
  opacity: 1;
}

footer ul li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url(images/icon_footer.png) no-repeat center center;
}

footer ul li a:hover::before {
  background: url(images/icon_footer-hover.png) no-repeat center center;
}

footer small {
  font-size: 16px;
  font-weight: normal;
  text-align: center;
	padding-bottom: 20px;
}

.category-title {
  font-size: 24px;
  margin-bottom: 40px;
}

.category-top-image {
  height: 200px;
  margin-bottom: 60px;
}

.category-top p {
  display: block;
  padding-inline: 30px;
}

.category-post {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.category-post ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-inline: 30px;
}

.category-post ul li {
  padding-block: 20px;
}

.category-post-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.category-post-top {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

.category-post-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.category-post-text {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.category-post-text:hover {
  color: #50A178;
  opacity: 1;
}

.category-post-category {
  font-size: 16px;
  font-weight: bold;
  color: #999;
  transition: color 0.3s ease;
}

.category-post-right {
  position: relative;
  width: 180px;
  height: 180px;
  display: block; 
  overflow: hidden;
  background: var(--color-primary);
	z-index: 1;
}

.category-post-right:hover {
	opacity: 1;
}

.category-post-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.category-post-right img {
  position: relative;
  z-index: 2; 
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: opacity 0.3s ease;
	inset: 0;
}

.category-post-right:hover img {
  opacity: 0.6; 
}

.readmore {
  position: relative;
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-text);
  padding: 8px 0 8px 30px;
  border-top: 2px solid #EEE;
  border-bottom: 2px solid #EEE;
  transition: color 0.3s ease;
}

.readmore::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(-45px);
  width: 24px;
  height: 24px;
  background: url(images/icon_reco2.png) no-repeat center center;
  background-size: contain;
}

.readmore:hover {
  color: #50A178;
  opacity: 1;
}

.readmore:hover::before {
  background: url(images/icon_reco2-hover.png) no-repeat center center;
  background-size: contain;
}

	.detail-top h2,
	.detail-top p {
		padding-inline: 30px;
	}

.detail-title {
  font-size: 24px;
  margin-bottom: 40px;
}

.detail-post {
  margin-top: 60px;
}

.detail-post h3 {
  font-size: 18px;
  font-weight: bold;
  margin-block: 40px 20px;
}

.detail-post h3:first-child {
  margin-top: 0;
}

.detail-post h3,
.detail-post p,
.detail-post ul {
  padding-inline: 30px;
}

.detail-post .img-wrap {
  height: 250px;
  margin-bottom: 20px;
}

blockquote {
  margin: 40px 0;
  padding: 20px 30px;
  background: #F9F9F6;
  border-left: 4px solid var(--color-primary);
  font-style: italic;
}

.detail-post blockquote p {
  margin-bottom: 0;
  padding-inline: 0;
}

.link-item {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 1em 0;
  padding-inline: 30px;
}

.link-item img {
  width: revert-layer;
}

.detail-post a,
.link-item a {
  color: #f71e1e;
  font-weight: bold;
}

/*======================================================================
Responsive - Mobile (768px以下)
======================================================================*/
@media (max-width: 768px) {

  /* Container */
  .container {
    padding-inline: 15px;
  }

  /* Header */
  .header {
    min-height: 280px;
  }

  .header-background {
    min-height: 280px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-top: 15px;
  }

  .header-content h1 {
    max-width: 100%;
    font-size: 16px;
  }

  .header-logo img {
    width: 180px;
  }

  .header-about {
    position: static;
    max-width: 100%;
    margin-top: 20px;
    padding: 15px;
  }

  /* Navigation */
  .menu_button {
    padding: 40px 0 8px;
  }

  /* Breadcrumb */
  .breadcrumb {
    padding-bottom: 15px;
  }

  .breadcrumb ul li {
    font-size: 16px;
  }

  /* Index Top */
  .index-top-image-title {
    font-size: 18px;
  }

  .index-top-image-subtitle {
    font-size: 16px;
  }

  /* Index Title */
  .index-title {
    padding-top: 120px;
    font-size: 16px;
  }

  .index-title::before {
    top: 40px;
    height: 50px;
    background-size: contain;
  }

  /* Index Post */
  .index-post {
    margin-top: 40px;
    gap: 30px;
    padding-inline: 15px;
  }

  .index-post li {
    gap: 15px;
  }

  .index-post li a {
    font-size: 16px;
  }

  /* Recommend Section */
  .recommend {
    margin-top: 40px;
    padding-top: 30px;
  }

  .recommend-title {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .recommend-top-image {
    height: 150px;
    margin-bottom: 30px;
  }

  .recommend-top-image-title {
    font-size: 18px;
  }

  .recommend-post-title {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .recommend-post {
    gap: 15px;
    padding-bottom: 40px;
  }

  .recommend-post li {
    gap: 15px;
    padding: 15px;
  }

  .recommend-post-top {
    gap: 15px;
  }

  .recommend-post-image {
    width: 100px;
    height: 75px;
  }

  .recommend-post-text {
    font-size: 16px;
  }

  .recommend-post-icon {
    font-size: 16px;
    padding: 6px 0 6px 28px;
  }

  .recommend-post-icon::before {
    width: 20px;
    height: 20px;
    background-size: contain;
  }

  /* Footer */
  footer ul {
    gap: 8px;
    margin-block: 40px;
  }

  footer ul li a {
    padding-left: 28px;
    font-size: 16px;
  }

  footer ul li a::before {
    width: 20px;
    height: 20px;
    background-size: contain;
  }

  footer small {
    font-size: 16px;
  }

  /* Category Page */
  .category-title {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .category-top-image {
    height: 150px;
    margin-bottom: 40px;
  }

  .category-top p {
    padding-inline: 15px;
  }

  .category-post {
    margin-top: 40px;
  }

  .category-post ul {
    gap: 20px;
    padding-inline: 15px;
  }

  .category-post ul li {
    padding-block: 15px;
  }

  .category-post-container {
    gap: 30px;
  }

  .category-post-top {
    flex-direction: column;
    gap: 15px;
  }

  .category-post-left {
    gap: 15px;
  }

  .category-post-text {
    font-size: 16px;
  }

  .category-post-category {
    font-size: 16px;
  }

  .category-post-right {
    width: 100%;
    height: 200px;
  }

  .readmore {
    font-size: 16px;
    padding: 6px 0 6px 28px;
  }

  /* Detail Page */	
  .detail-title {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .detail-post h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .detail-post p {
    margin-bottom: 30px;
  }

  .detail-post h3,
  .detail-post p {
    padding-inline: 15px;
  }

  .detail-post .img-wrap {
    height: 200px;
    margin-bottom: 15px;
  }

  .detail-post blockquote {
    margin: 30px 0;
    padding: 15px 15px 15px 20px;
  }

  .link-item {
    padding-inline: 15px;
  }
}