@charset "utf-8";

/*
Theme Name: Understrap
Theme URI: https://understrap.com
Author: Howard Development &amp; Consulting
Author URI: https://howarddc.com
GitHub Theme URI: https://github.com/understrap/understrap
Description: The renowned WordPress starter theme framework that combined Underscores and Bootstrap. Trusted by more than 100,000 developers for building handcrafted, custom WordPress sites.
Version: 1.2.4
Requires at least: 5.0
Tested up to: 6.1
Requires PHP: 5.2
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: understrap
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, block-styles, wide-blocks, editor-style, threaded-comments, accessibility-ready

Understrap WordPress Theme, (C) 2021 Howard Development & Consulting, LLC
Understrap is distributed under the terms of the GNU GPL.

Resource Licenses:
Understrap is based on Underscores https://underscores.me/, (C) Automattic, Inc.
Font Awesome: https://fontawesome.com/v4.7/license/ (Font: SIL OFL 1.1, (S)CSS: MIT)
Bootstrap: https://getbootstrap.com | https://github.com/twbs/bootstrap/blob/master/LICENSE (MIT)
WP Bootstrap Navwalker by Edward McIntyre & William Patton: https://github.com/twittem/wp-bootstrap-navwalker (GNU GPLv3)
*/

/*
Do not modify the parent Understrap theme. Instead, download a copy of the Understrap Child starter theme and do all your development within the child theme.
Full developer documentation: https://docs.understrap.com
*/


/* Reset
------------------------------------------------------------*/
/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */

[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type="radio"] {
  -webkit-appearance: radio;
  appearance: radio;
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* Reset
------------------------------------------------------------*/
.wrap{overflow: hidden;}
img{max-width: 100%;}
a{display: block;}
body{font-family: "Jost", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;}

/* menu/hamburger
------------------------------------------------------------*/
.header_maenu{position: fixed;width: 100%;z-index: 999;}

.hamburger_menu{display: none;}

nav{
  background:#333;
  color:#fff;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav_top{
  display: block;
  text-decoration: none;
  color: #999;
  padding: 20px 25px;
  transition:all .3s;
}

.nav_top:hover{
  color: #fff;
  border-bottom: #fff;
}

.nav_h2{
    padding-left: 2rem;
    font-size: 1.5rem;
}

nav ul{
  list-style: none;
  display: flex;
  justify-content: flex-end;
}

nav ul ul{
  display: block;
}

nav ul li{
  position: relative;
}

nav ul li a{
  display: block;
  text-decoration: none;
  color: #999;
  padding: 20px 25px;
  transition:all .3s;
}

nav ul li li a{
  /* padding:10px 35px; */
}

nav ul li a:hover{
  color:#fff; 
}

nav ul li.has-child::before{
  content:'';
  position: absolute;
  left:15px;
  top:25px;
  width:6px;
  height:6px;
  border-top: 2px solid #999;
  border-right:2px solid #999;
  transform: rotate(135deg);
}

nav ul ul li.has-child::before{
  content:'';
  position: absolute;
  left:6px;
  top:17px;
  width:6px;
  height:6px;
  border-top: 2px solid #fff;
  border-right:2px solid #fff;
  transform: rotate(45deg);
}

nav li.has-child ul{
  position: absolute;
  left:0;
  top: 66px;
  z-index: 4;
  background:#28BFE7;
  width:180px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  width: 100%;
}


nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

nav li.has-child ul li a{
  color: #fff;
  border-bottom:solid 1px rgba(255,255,255,0.6);
}

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

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
  background:#3577CA;
}



nav li.has-child ul ul{
  top:0;
  left:182px;
  background:#66ADF5;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
  background:#448ED3;
}


/*960px
------------------------------------------------*/
@media screen and (max-width:960px) {

  .header_maenu{display: none;}
  .hamburger_menu{display: block;}

  nav ul{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
    width: 100%;
}

nav ul li a {
  border-top: 1px solid #ccc;
  border-bottom: none;
}



.openbtn1{
  position: fixed;
  background:#57a2c7;
  cursor: pointer;
  width: 50px;
  height:50px;
  border-radius: 5px;
  right: 1%;
  top: 1%;
  z-index: 999;
}

.openbtn1_wrap{
  display: flex;
}

.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background: #fff;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}



.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.hamburger_menu {
  position: fixed;
  right: -250px;
  top: 0;
  width: 250px;
  height: 100%;
  background-color: #333;
  transition: right 0.3s;
  z-index: 2;
}

.hamburger_menu.active {
  right: 0;
}

/* 2番目と3番目の li 要素に背景色を指定 */
.hamburger_menu ul ul li:nth-child(2),
.hamburger_menu ul ul li:nth-child(3) {
    background-color: #333; /* 任意の背景色 */
}

}

/*640px
------------------------------------------------*/
@media screen and (max-width:640px) {}

/*------------------------------------------------------------*/

/*header
------------------------------------------------*/
#header {
  width: 100%;
}

.header{
  background: url(/wp-content/uploads/2024/09/img_20-2.jpg) no-repeat;
  height: 100vh;
  background-size: contain;
  background-position: right; /* 画像の中央を表示 */
  width: 100%;
}

.header_h1 {
  font-size: 5rem;
  display: flex;
  align-items: center;
  height: 100%;
  color: #282828; /* テキストの色を追加して見やすくする（必要に応じて変更） */
  justify-content: flex-start;
  /* background: #eef5fb; */
}

.header_span{
    display: block;
    width: 40%;
    background: #fff;
    text-align: end;
    padding: 1rem 2rem;
    border: solid 1px #282828;
    border-left: none;
}

/*se_title
------------------------------------------------*/

.heading10 {
	position: relative;
	padding-top: 30px;
	font-size: 26px;
	border-bottom: 1px solid rgba(5,62,98,1);
	margin: 5rem 0;
}

.heading10 span {
	position: relative;
	z-index: 2;
}

.heading10::before {
	content: attr(data-en);
	position: absolute;
	top: 0px;
	left: 0;
	color: rgba(5,62,98,0.2);
	font-size: 40px;
	text-transform: uppercase;
	z-index: 1;
}

/*page_title
------------------------------------------------*/
.heading11 {
	position: relative;
	padding-top: 30px;
	font-size: 26px;
	border-bottom: 1px solid rgba(5,62,98,1);
	/* margin: 5rem 0; */
}

.heading11 span {
	position: relative;
	z-index: 2;
}

.heading11::before {
	content: attr(data-en);
	position: absolute;
	top: 0px;
	left: 0;
	color: rgba(5,62,98,0.2);
	font-size: 40px;
	text-transform: uppercase;
	z-index: 1;
}


/*button
------------------------------------------------*/
.button_01{
    margin: 5rem auto;
    text-align: center;
}

.btn{

  position: relative;
  overflow: hidden;

  text-decoration: none;
  display: inline-block;
  border: 1px solid #555;
  padding: 10px 30px;
  text-align: center;
  outline: none;

  transition: ease .2s;
  width: 30%;
}


.btn span {position: relative;z-index: 3;color:#333;letter-spacing: 1em;}

.btn:hover span{
color:#fff;
}


.bgleft:before {
content: '';

position: absolute;
top: 0;
left: 0;
z-index: 2;

background:#333;
width: 100%;
height: 100%;

transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
transform: scale(0, 1);
transform-origin: right top;
}

/*hover*/
.bgleft:hover:before{
transform-origin:left top;
transform:scale(1, 1);
}


/*pagination
------------------------------------------------*/
/* ページネーション全体を中央に配置 */
.pagination {
  padding-top: 5rem;
  display: flex;
  justify-content: center;
}

/* 各ページ番号の基本スタイル */
.page-numbers {
  border: solid 1px #282828;
  border-radius: 999px;
  margin: 0 0.5rem;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  text-decoration: none; /* アンダーラインを無効にする */
  transition: background-color 0.3s, color 0.3s;
}

/* ホバー時のスタイル */
.page-numbers:hover {
  background: #282828;
  color: #fff;
  text-decoration: none; /* ホバー時もアンダーラインを表示しない */
}

/* 現在のページのスタイル */
.page-numbers.current {
  background: #282828;
  color: #fff;
  cursor: default; /* ホバー時のカーソルを無効化 */
  text-decoration: none; /* アンダーラインを無効にする */
}

/* 現在のページはホバー時に変化しないようにする */
.page-numbers.current:hover {
  background: #282828;
  color: #fff;
  text-decoration: none; /* ホバー時もアンダーラインを表示しない */
}




/*web_site
------------------------------------------------*/
#web_site{}
.web_site{
    padding: 0 5%;
}
.web_site_container{
}
.web_site_container_in{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.web_site_box{
    width: 30%;
    text-align: center;
}
.web_site_img_wrap{
    height: 100%;
}
.web_site_img{height: 100%;object-fit: cover;}
.web_site_a{
    font-weight: bold;
    font-size: 1.125rem;
    padding-top: 0.5rem;
    color: #4a67a7;
}

.web_site_a:hover{
  text-decoration: none;
  background: #4FB8CF;
  color: #fff;
  padding: 0.5rem 1rem;
}


/*banner
------------------------------------------------*/
#banner{}
.banner{
  padding: 0 5%;
}

#xo-slider-1393{display: none;}

.pt_slide{
  padding: 3% 0;
  overflow: hidden;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}
.slider-8 .slick-slide {
  width: 400px;
  position: relative;
  overflow: hidden;
  height: auto;
}
.slider-8 .slick-slide img {
display: block;
object-fit: contain;
padding: 5% 5% 2% 5%;
}

.pt_slide_a {
  display: inline-block;
}
.pt_slide a.pt_slide_a:hover {
  border-bottom: solid 3px #4FB8CF;
}

/*logo
------------------------------------------------*/
#logo{}
.logo{
    padding: 0 5%;
}
.logo_img_wrap{
    width: 60%;
    margin: 0 auto;
}
.logo_img{}

.image_link{
  display:block; 
  position:relative;
  text-decoration:none;
  overflow:hidden;
 }
 .image_link:before{
   content:"";
   display:block;
   padding-top: 56.25%;
 }
 .image_link img{
   position:absolute;
   top:0;
   bottom:0;
   left:0;
   right:0;
   transition:0.3s;
   display:block;
   width:100%;
 }
 .image_link:hover img{
   transform:scale(1.1);
 }

 /*flyer
------------------------------------------------*/
#flyer{}
.flyer{
    padding: 0 5%;
}
.flyer_box{
}
.flyer_box_in{
    display: grid;
    justify-content: space-evenly;
    align-items: center;
    grid-template-columns: repeat(3,1fr);
}
.flyer_img_wrap{}
.flyer_img{object-fit: cover;width: 100%;}

.image_link2{
  display:block; 
  position:relative;
  text-decoration:none;
 }
 .image_link2 img{
   display:block;
   width:100%;
 }
 .image_link2:before{
   content:"";
   display:block;
   width:100%;
   height:100%;
   position:absolute;
   z-index:2;
   background:#000;
   opacity:0;
   transition:0.3s;
 }
 .image_link2:after{
   content:"記事を見る";
   display:block;
   color:#fff;
   line-height:48px;
   width:180px;
   border:solid 1px #fff;
   border-radius:5px;
   text-align:center;
   position:absolute;
   top:50%;
   left:50%;
   margin-top:-1em;
   margin-left:-90px;
   opacity:0;
   z-index:3;
   transition:0.3s;
   font-weight:bold;
   letter-spacing:0.2em;
 }
 .image_link2:hover:before{
   opacity:0.5;
 }
 .image_link2:hover:after{
   opacity:1;
   margin-top:-0.5em;
 }


/*hobby
------------------------------------------------*/
#hobby{}
.hobby{padding: 0 5%;}
.hobby_box{}
.hobby_box_in{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}
.hobby_img_wrap{
}
.hobby_img{}

.image_link4{
  display:block; 
  position:relative;
  text-decoration:none;
 }
 .image_link4 img{
   display:block;
   width:100%;
 }
 .image_link4:before{
   content:"";
   display:block;
   width:100%;
   height:100%;
   position:absolute;
   z-index:2;
   background:#000;
   opacity:0;
   transition:0.3s;
 }
 .image_link4:after{
   content:"記事を見る";
   display:block;
   color:#fff;
   line-height:48px;
   width: 110px;
   border:solid 1px #fff;
   border-radius:5px;
   text-align:center;
   position:absolute;
   top: 43%;
   left: 69%;
   margin-top:-1em;
   margin-left:-90px;
   opacity:0;
   z-index:3;
   transition:0.3s;
   font-weight:bold;
   letter-spacing:0.2em;
 }
 .image_link4:hover:before{
   opacity:0.5;
 }
 .image_link4:hover:after{
   opacity:1;
   margin-top:-0.5em;
 }

/*footer
------------------------------------------------*/
#footer{
    border-top: solid 1px #282828;
}
.footer{}
.footer_p{
    text-align: center;
    padding: 3% 0;
}

/*scroll_top
------------------------------------------------*/


.scroll_down {
  position: fixed;
  bottom: 1%;
  right: 0;
  width: 30px;
  height: 100px;
  display: none;
  z-index: 999;
}

.scroll_down a {
  display: block;
  width: 10%;
  height: 100%;
  position: relative;
}

.scroll_down a:before {
  content: "";
  position: absolute;
  top: 5px; 
  right: -6px;
  width: 2px;
  height: 20px;
  background: #282828;
  transform: skewX(31deg); 
}

.scroll_down a:after {
  content: "";
  position: absolute;
  top: 5px; 
  right: 0;
  width: 2px;
  height: 85px;
  background: #282828;
}

.scroll_down a span {
  position: absolute;
  left: -24px;
  top: 17px;
  color: #282828;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  text-decoration: none;
  text-transform: uppercase;
}

/*page-.php
------------------------------------------------*/
#page-website{}
.page-website{
    padding: 10rem 5%;
}

.category-post-list {
  padding: 5rem 0;
}

.category-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列のグリッド */
  justify-items: center;
  row-gap: 2rem;
  column-gap: 3rem;
  align-items: center;
}

.category-post-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3%;
  background: rgb(5 62 98 / 3%);
}

/* サムネイルのスタイル */
.post-thumbnail {
  width: 100%;
  height: 300px; /* 高さを固定 */
  position: relative;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像のアスペクト比を維持し、サムネイルの枠に収める */
  object-position: center;
}

/* サムネイル上に表示する黒い半透明マスク */
.image_link4 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* サムネイル上のタイトル */
.post-title-overlay {
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  letter-spacing: 0.1em;
}

/* hover時の動作 */
.image_link4:hover .overlay {
  opacity: 1;
}

.image_link4:hover .post-title-overlay {
  opacity: 1;
}

/* 「記事を見に行く」のテキストスタイル */
.view-article {
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: bold;
  letter-spacing: 0.05em;
  border: solid 1px #fff;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  width: 200px;
  margin: 10px auto;
}

/* hover時の動作 - タイトルと同時に表示 */
.image_link4:hover .view-article {
  opacity: 1;
}

.overlay_in{}

.post-info {
  padding: 10px;
  text-align: center;
}

.post-title {
  font-size: 1.2rem;
  margin: 10px 0;
  text-align: center;
}

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

.post-tag {
  background-color: #f0f0f0;
  padding: 5px 10px;
  margin-right: 5px;
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.post-link{
    width: 100%;
    height: 300px;
}

@media screen and (min-width: 960px) {
  .category-post-item {
       /* 960px以上で6件表示 */
  }
}

@media screen and (min-width: 1280px) {
  .category-post-item {
       /* 1280px以上で12件表示 */
  }
}

/*single.php
------------------------------------------------*/
#single-wrapper{
  padding: 5rem 0;
}
.single-wrapper{}
.blog-detail_title{
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem 0;
}
figure.wp-block-image{
  text-align: center;
  /* background: rgb(5 62 98 / 3%); */
}
.post-content{
  max-width: 1200px;
  margin: 0 auto;
}
.post-content p{
  /* text-align: center; */
  padding: 1rem 1rem 0;
}
.post-content p a{
    margin: 0 auto;
    color: #57a2c7;
    width: fit-content;
    padding: 0.5rem 1rem;
}

.post-content p a:hover{
  text-decoration: none;
  color: #fff;
  background: #57a2c7;
  padding: 0.5rem 1rem;
}

.img-container {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  justify-content: center;
   /* 画像間の余白 */
  align-items: start;
}

.img-container figure {
  margin: 3%;
}

.img-container img {
  max-width: 100%;
  height: auto;
  /* background: rgb(5 62 98 / 3%); */
}

/* モーダル全体の背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  overflow: auto;
}

/* モーダル内の画像 */
.modal img {
  max-width: 60%;
  margin: auto;
  display: block;
  object-fit: contain;
}

/* 閉じるボタン */
.modal-close {
  position: fixed;
  top: 10px;
  right: 10px;
  color: #ccc;
  font-size: 50px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-close:hover {
  background-color: #fff;
  color: #4A67A7;
}

/* 画像上の虫眼鏡アイコン */
.img-wrapper {
  position: relative;
  display: inline-block;
}

.img-wrapper .zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal-opened .zoom-icon {
  display: none;
}










/*960px
------------------------------------------------*/
@media screen and (max-width: 960px)  {

/*960px header
------------------------------------------------*/
  .header{
    background: url(/wp-content/uploads/2024/09/img_20-2_1.png) no-repeat;
    background-size: contain;
    background-position: top right; /* 画像の中央を表示 */
    width: 100%;
  }
  .header_h1{}
  .header_span{
    width: 50%;
    padding: 1rem;
}

/*960px menu
------------------------------------------------*/
.nav_h2{
  padding: 0;

}

/*home website
------------------------------------------------*/
.web_site_box{
  width: 50%;
  padding: 5rem 3%;
}
.web_site_a{
}

/*home logo
------------------------------------------------*/
.logo_img_wrap{
  width: 100%;
}

/*home flyer
------------------------------------------------*/
.flyer_box_in{
    grid-template-columns: repeat(2, 1fr);
}
.flyer_img_wrap{}
.none_960{
  display: none;
}

/*home hobby
------------------------------------------------*/
.hobby_img_wrap{
}
.hobby_box_in{
  grid-template-columns: repeat(4, 1fr);
}

/*960px page
------------------------------------------------*/
.category-posts{
  grid-template-columns: repeat(2, 1fr);
}

/*960px single
------------------------------------------------*/
.page-website{
  padding: 3%;
}
.modal img{
  max-width: 80%;
}


}

/*640px
------------------------------------------------*/
@media screen and (max-width: 640px)  {

  /*640px header
  ------------------------------------------------*/
  .header{
    background: url(/wp-content/uploads/2024/09/img_20-2_1.png) no-repeat;
    background-size: cover;
    background-position: top right; /* 画像の中央を表示 */
    width: 100%;
    position: relative;
  }
  .header_h1{
    font-size: 4rem;
    position: absolute;
    bottom: 10%;
    height: auto;
}
  .header_span{
    width: 100%;
    padding: 1rem 1rem 1rem 5rem;
}

/*640px btn
------------------------------------------------*/
.btn{
  width: 80%;
}

/*home
------------------------------------------------*/
.web_site_box{
  width: 100%;
}
.flyer_box_in{
  grid-template-columns: repeat(1, 1fr);
}
.flyer_img_wrap{
  width: 100%;
}
.hobby_img_wrap{
}
.hobby_box_in{
  grid-template-columns: repeat(2, 1fr);
}
.image_link4:after{
  top: 45%;
  left: 71%;
}

/*home slider
------------------------------------------------*/
#js-slider-8{display: none;}
#xo-slider-1393{display: block;}
.xo-slider .slide-content {
  pointer-events: none;
}
.xo-slider-template-default .swiper-slide img{
  display: block;
    margin: 0 auto;
    width: 400px;
    height: auto;
    padding: 0 0.5rem;
    object-fit: contain;
}
#xo-slider-1393 .swiper-wrapper{
  height: auto;
}

/*640px page
------------------------------------------------*/
.category-posts{
  grid-template-columns: repeat(1, 1fr);
}

/*640px single
------------------------------------------------*/
.modal img{max-width: 100%;}
.modal-close{
}

}