@charset "UTF-8";
/*
Theme Name : 能登高留学
Theme URI : https://kajiyanomadoguchi.com/
Author: SCARAMANGA INC.
Author URI: http://scaramanga.jp
Description:
Version: 1.0
*/
/*---base------------------------------------------------------------------*/
/* reset
========================================================================== */
body,
div,
pre,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
th,
td,
figure,
figcaption {
  margin: 0;
  padding: 0;
  font: inherit;
  vertical-align: baseline;
  text-align: justify;
}

input,
textarea {
  margin: 0;
  font-size: 100%;
}

label {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 100%;
}

fieldset,
img {
  border: 0;
}

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

address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

q:after,
q:before {
  content: '';
}

a,
input {
  outline: none;
}

input,
textarea {
  border-radius: 0;
}

input[type="button"],
input[type="submit"] {
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
}

abbr,
acronym {
  border: 0;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  width: 100%;
  height: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

@media all and (-ms-high-contrast: none) {
  html {
    font-family: Verdana, Meiryo, sans-serif;
  }
}

@media all and (-ms-high-contrast: active) {
  html {
    font-family: Verdana, Meiryo, sans-serif;
  }
}

body {
  font-feature-settings: "palt";
  color: #111111;
  font-family: "Yu Gothic", "游ゴシック体", "游ゴシック", YuGothic, "Helvetica Neue", Helvetica, Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  line-height: 2;
  position: relative;
  display: block;
  background-color: #fff;
  background-image: -webkit-gradient(linear, 0 0, 1 0, color-stop(0.5, #ffffff), color-stop(0.5, transparent), to(transparent));
  -webkit-background-size: 200px;
  background-position: center;
}

@media screen and (max-width: 1024px) {
  body {
    width: 100%;
    font-size: 1.6rem;
    background-color: #fff;
    background-image: none;
  }
}

a {
  color: #111111;
  text-decoration: none;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

a img {
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

/* all
---------------------------------------------------------------------------------------*/
.text_center {
  text-align: center;
}

.text_right {
  text-align: right;
}

.text_left {
  text-align: left;
}

@media screen and (max-width: 1024px) {
  .pc_only {
    display: none !important;
  }
}

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

/* animate
---------------------------------------------------------------------------------------*/
.bounce_in,
.fade_in,
.fade_in_up,
.fade_in_down,
.fade_in_left,
.fade_in_right {
  opacity: 0;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated_bounce {
  -webkit-animation-duration: 0.95s;
  animation-duration: 0.95s;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/*!------------------------------------*
fadeIn
\*!------------------------------------*/
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

/*!------------------------------------*
fadeInUp
\*!------------------------------------*/
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 60px, 0);
    transform: translate3d(0, 60px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 60px, 0);
    transform: translate3d(0, 60px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

/*!------------------------------------*
fadeInDown
\*!------------------------------------*/
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

/*!------------------------------------*
fadeInLeft
\*!------------------------------------*/
@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInLeft {
  -webkit-animation-name: adeInLeft;
  animation-name: fadeInLeft;
}

/*!------------------------------------*
fadeInRight
\*!------------------------------------*/
@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@keyframes bounceIn {
  20%,
  40%,
  60%,
  80%,
  from,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.bounceIn {
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}





.service .nav_service a {
  color: #F89EB0 !important;
}

.service .nav_service a .nav_ico svg {
  fill: #F89EB0 !important;
}

.flow .nav_flow a {
  color: #F89EB0 !important;
}

.flow .nav_flow a .nav_ico svg {
  fill: #F89EB0 !important;
}

.access .nav_access a {
  color: #F89EB0 !important;
}

.access .nav_access a .nav_ico svg {
  fill: #F89EB0 !important;
}

.admission .nav_admission a {
  color: #F89EB0 !important;
}

.admission .nav_admission a .nav_ico svg {
  fill: #F89EB0 !important;
}

.column .nav_column a {
  color: #F89EB0 !important;
}

.column .nav_column a .nav_ico svg {
  fill: #F89EB0 !important;
}

/*----------ハンバーガーアイコン----------*/
.hamburger {
  display: block;
  position: absolute;
  top: 25px;
  width: 40px;
  height: 15px;
  z-index: 99999;
}

.hamburger .hamburger_line {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #F9FBFC;
}

.hamburger .hamburger_line:nth-of-type(1) {
  top: 0;
}

.hamburger .hamburger_line:nth-of-type(2) {
  top: 15px;
}

.hamburger .hamburger_line:nth-of-type(3) {
  bottom: 0;
}

.active {
  top: 0 !important;
}

.active .hamburger_line {
  background-color: #F9FBFC !important;
}

.active .hamburger_line:nth-of-type(1) {
  top: -3px;
}

.active .hamburger_line:nth-of-type(3) {
  bottom: 0 !important;
}

.hamburger .hamburger_line:nth-of-type(1) {
  -webkit-animation: menu-ber01 0.75s forwards;
  animation: menu-ber01 0.75s forwards;
}

.hamburger .hamburger_line:nth-of-type(2) {
  transition: all 0.25s 0.25s;
  opacity: 1;
}

.hamburger .hamburger_line:nth-of-type(3) {
  -webkit-animation: menu-ber02 0.75s forwards;
  animation: menu-ber02 0.75s forwards;
}

.active .hamburger_line:nth-of-type(1) {
  -webkit-animation: active-menu-ber01 0.75s forwards;
  animation: active-menu-ber01 0.75s forwards;
}

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

.active .hamburger_line:nth-of-type(3) {
  -webkit-animation: active-menu-ber03 0.75s forwards;
  animation: active-menu-ber03 0.75s forwards;
}

@-webkit-keyframes menu-ber01 {
  0% {
    -webkit-transform: translateY(8px) rotate(30deg);
  }
  50% {
    -webkit-transform: translateY(8px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}

@keyframes menu-ber01 {
  0% {
    transform: translateY(8px) rotate(30deg);
  }
  50% {
    transform: translateY(8px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

@-webkit-keyframes menu-ber02 {
  0% {
    -webkit-transform: translateY(-8px) rotate(-30deg);
  }
  50% {
    -webkit-transform: translateY(-8px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}

@keyframes menu-ber02 {
  0% {
    transform: translateY(-8px) rotate(-30deg);
  }
  50% {
    transform: translateY(-8px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

@-webkit-keyframes active-menu-ber01 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(10px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(10px) rotate(30deg);
  }
}

@keyframes active-menu-ber01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(10px) rotate(0);
  }
  100% {
    transform: translateY(10px) rotate(30deg);
  }
}

@-webkit-keyframes active-menu-ber03 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(-8px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(-8px) rotate(-30deg);
  }
}

@keyframes active-menu-ber03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-8px) rotate(0);
  }
  100% {
    transform: translateY(-8px) rotate(-30deg);
  }
}

/* _page
---------------------------------------------------------------------------------------*/
.container {
  max-width: 1290px;
  margin: auto;
  padding: 0;
}

.breadcrumbs {
  margin-top: 120px;
  padding: 20px;
  text-align: right;
  font-size: 1.2rem;
}

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

.page_title {
  margin-top: 30px;
  margin-bottom: 60px;
}

@media screen and (max-width: 1024px) {
  .page_title {
    margin-top: 130px;
    margin-bottom: 30px;
  }
}

.page_title:after {
  content: "";
  background: #F0E68C;
  width: 75%;
  padding: 0 0 160px;
  display: block;
  border-radius: 0 8px 8px 0;
}

@media screen and (max-width: 1024px) {
  .page_title:after {
    width: 90%;
    padding: 0 0 90px;
  }
}

.page_title .container {
  position: relative;
}

.page_title .page_title_inr {
  position: absolute;
  top: -40px;
  left: 20px;
  font-weight: bold;
}

.page_title .page_title_inr h1 {
  font-size: 3.6rem;
  color: #214778;
}

@media screen and (max-width: 1024px) {
  .page_title .page_title_inr h1 {
    font-size: 2.2rem;
  }
}

.page_title .page_title_inr p {
  font-weight: 1.6rem;
  font-family: Arial, sans-serif;
  color: #214778;
  display: inline-block;
}

.page_title .page_title_inr p:after {
  content: "";
  background: #F89EB0;
  width: 48px;
  height: 4px;
  border-radius: 20px;
  margin: 0 0 0 20px;
  display: inline-block;
  vertical-align: middle;
}

.min_container {
  max-width: 960px;
  margin: auto;
}

.btn_more_list {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}

@media screen and (max-width: 1159px) {
  .btn_more_list {
    display: block;
  }
}

.btn_more_list .btn_more {
  margin: 20px;
}

.btn_more {
  text-align: center;
  margin: 20px auto;
}

.btn_more a {
  display: inline-block;
  position: relative;
  min-width: 240px;
  padding: 1em 4em;
  font-size: 1.6rem;
  margin: 10px auto;
  background-color: #f9da79;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  border: solid 2px #000000;
}

@media screen and (max-width: 1024px) {
  .btn_more a {
    padding: 1em 4em;
    font-size: 1.3rem;
  }
}

.btn_more a:before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #000000;
  border-right: solid 2px #000000;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 30px;
  margin-top: -4px;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.btn_more a:hover:before {
  right: 25px;
}

.img_slider {
  margin-bottom: 35px;
}

.img_slider li {
  margin: 0 5px;
}

@media screen and (max-width: 1024px) {
  .img_slider li {
    margin: 0 2px;
  }
}

.img_slider li p {
  padding: 10px 0 40px;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .img_slider li p {
    text-align: left;
    font-size: 1.2rem;
  }
}

.img_slider .slick-dots {
  bottom: 0 !important;
}

.img_slider .slick-next,
.img_slider .slick-prev {
  top: 50%;
  width: 40px;
  height: 40px;
  background: none;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  .img_slider .slick-next,
  .img_slider .slick-prev {
    width: 25px;
    height: 25px;
  }
}

.img_slider .slick-next:hover,
.img_slider .slick-prev:hover {
  opacity: 0.8;
}

.img_slider .slick-next {
  right: -20px;
}

.img_slider .slick-prev {
  left: -20px;
}

.article_404 {
  text-align: center;
  padding: 160px 25px;
}

@media screen and (max-width: 1024px) {
  .article_404 {
    padding: 120px 25px;
  }
}

.article_404 .article_404_title {
  margin-bottom: 3em;
}

.article_404 .article_404_title h1 {
  font-size: 2.2rem;
  margin: 2em 0;
}

.article_404 .article_404_reed {
  line-height: 2.2;
  margin-bottom: 4em;
}

@media screen and (max-width: 1024px) {
  .article_404 .article_404_reed {
    text-align: left;
  }
}

/* _footer
---------------------------------------------------------------------------------------*/
.contact_area {
  text-align: center;
  max-width: 1290px;
  margin: 50px auto;
  padding: 0 20px;
}

@media screen and (max-width: 1024px) {
  .contact_area {
    padding: 0 7%;
  }
}

.contact_area .reed {
  font-size: 2rem;
  font-weight: bold;
  background: #ffffff;
  color: #000000;
  padding: 35px;
  border-radius: 30px;
}

@media screen and (max-width: 1024px) {
  .contact_area .reed {
    padding: 7%;
    font-size: 1.3rem;
    text-align: left;
    letter-spacing: 0;
  }
}

.contact_area .btn_contact {
  margin: 45px 0;
  text-align: center;
}

.contact_area .btn_contact a {
  display: inline-block;
  min-width: 480px;
  text-align: center;
  background: -webkit-gradient(45deg, #A69837, #DEB887);
  background: linear-gradient(45deg, #A69837, #DEB887);
  color: #ffffff;
  padding: 23px 40px;
  position: relative;
  font-size: 2.6rem;
  line-height: 1.4;
  border-radius: 50px;
  font-family: Arial, sans-serif;
}

@media screen and (max-width: 1024px) {
  .contact_area .btn_contact a {
    min-width: auto;
    width: 90%;
    font-size: 1.6rem;
  }
}

.contact_area .btn_contact a:after {
  display: none;
}

.contact_area .btn_contact a:hover {
  opacity: 0.6;
}

.contact_area .btn_contact a span {
  font-family: "Yu Gothic", "游ゴシック体", "游ゴシック", YuGothic, "Helvetica Neue", Helvetica, Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.3rem;
  font-weight: normal;
  display: block;
}

@media screen and (max-width: 1024px) {
  .contact_area .btn_contact a span {
    font-size: 1.1rem;
  }
}

footer .footer_logo {
  max-width: 260px;
  margin: auto;
  padding: 0 20px;
}

@media screen and (max-width: 1024px) {
  footer .footer_logo {
    max-width: 50%;
  }
}

footer .footer_nav {
  margin: 45px auto;
  padding: 0 20px;
  text-align: center;
}

footer .footer_nav li {
  display: inline-block;
  margin: 20px 10px;
}

@media screen and (max-width: 1024px) {
  footer .footer_nav li {
    margin: 20px;
    display: block;
  }
}

footer .footer_nav li a {
  padding: 6px 32px;
  border-radius: 50px;
  display: block;
  border: 2px solid #05a4d6;
  color: #05a4d6;
  font-size: 1.5rem;
  font-weight: bold;
}

@media screen and (max-width: 1024px) {
  footer .footer_nav li a {
    width: 100%;
  }
}

footer .footer_nav li a:hover {
  background: #05a4d6;
  color: #ffffff;
}

footer .footer_contact {
  background: #9fbc9e;
  color: #ffffff;
  padding: 45px 20px;
  text-align: center;
  margin: 0 auto; /* この1行を追加します */
}

footer .footer_contact a {

  color: #ffffff;

}

footer .footer_contact .inr {
  max-width: 1140px;
  margin: 0 auto 30px;
}

footer .footer_contact .copyrights {
  font-size: 1.4rem;
  display: flex; /* Flexboxを有効にする */
  align-items: center; /* 子要素を垂直方向の中央に揃える */
  justify-content: space-between; /* 子要素を両端に寄せる */
}


@media (max-width: 1024px) {
  .copyrights {
    flex-direction: column; /* スマホでは縦並びにする */
    align-items: center; /* 中央揃えにする */
  }

  .copyrights p {
    margin-bottom: 10px; /* 各要素の下に余白を追加 */
  }

  .copyrights p:last-child {
    margin-bottom: 0; /* 最後の要素は余白をなくす */
    text-align: center;
  }
}

footer .footer_contact .copyrights a {
font-weight: bold;
margin-right: 10px;
}

/* clearfix
---------------------------------------------------------------------------------------*/
.clr:after {
  content: " ";
  display: block;
  height: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}

.clr {
  display: inline-block;
  min-height: 1%;
}

/* Hides from IE-mac \*/
* html .clr {
  height: 1%;
}

.clr {
  display: block;
}

.foot_link{
 font-weight: bold;
}

@media (min-width: 751px) {
  a[href*="tel:"] {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  }
  }

/* 全体のリセットや共通スタイル */
body {
  margin: 0;
  font-family: sans-serif;
}

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

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

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

/*================================
   PC版共通スタイル
================================*/
body {
  margin: 0;
  font-family: sans-serif;
}

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

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

a:hover {
  color: #84a495;
}

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

/* ヘッダー全体 */
.header {
  position: fixed; /* ヘッダーを固定する */
  top: 0; /* 画面の上部に配置 */
  left: 0; /* 画面の左端に配置 */
  z-index: 999; /* 他の要素より手前に表示 */
  width: 100%;
  background-color: #fff;
  padding: 10px 20px;
}

.header_inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.header_logo {
  margin-left: 30px;
}

.header_logo img {
  height: 53px; /* ロゴの高さは適宜調整してください */
  width: auto;
}

/* ハンバーガーメニューはPC版では非表示 */
.hamburger_area {
  display: none;
}

/* ナビゲーションのコンテナ */
.header_nav {
  display: flex;
  flex-direction: column; /* PCでは2段にする */
  align-items: flex-end;
}

/* 上段ナビ（SNSボタンなど） */
.g_nav2 {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}

/* 下段ナビ（メインメニュー） */
.g_nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.g_nav2 a img {
  transition: opacity 0.3s ease;
  max-width: 90%;
}

.g_nav2 a:hover img {
  opacity: 0.7;
}

.g_nav a {
  display: block;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  transition: color 0.3s;
}

.g_nav a:hover {
  color: #84a495;
}

/* メニューが開いているときにbodyのスクロールを禁止 */
body.menu-open {
  overflow: hidden; /* スクロールバーを非表示にする */
  position: fixed; /* iOSで背景が一緒に動くのを防ぐ */
  width: 100%; /* position: fixed; と併用して幅が縮むのを防ぐ */
}
/*================================
   レスポンシブ対応（モバイル版）
================================*/
@media (max-width: 1180px) {
  /* ナビゲーションが表示されたときのスタイル（JSで適用） */
  .header_nav.is-active {
    display: flex;
    /* メニュー内のスクロールを有効にする */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールをスムーズにする */
  }
  .header_logo{
    margin-left: 0px;
  }
  .header_logo img {
  height: 30px; /* ロゴの高さは適宜調整してください */
  width: auto;
}
  /* ヘッダーのレイアウト変更 */
  .header_inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* ハンバーガーメニューの表示 */
  .hamburger_area {
    display: block;
    cursor: pointer;
    z-index: 100;
  }

.hamburger_area {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  width: 68px;
  height: 68px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background: -webkit-gradient(45deg, #84a495, #f9daa2);
  background: linear-gradient(45deg, #84a495, #f9daa2);
  color: #F9FBFC;
}

  .hamburger {
    position: relative;
    width: 33px;
    height: 33px;
    top: 18px;
    left: 18px;
  }

  .hamburger_line {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #333;
    left: 0;
    transition: transform 0.3s, opacity 0.3s;
  }

  .hamburger_line:nth-child(1) { top: 0; }
  .hamburger_line:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .hamburger_line:nth-child(3) { bottom: 0; }

  /* ハンバーガーメニューがクリックされたときのスタイル（JSで適用） */
  .hamburger.is-active .hamburger_line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    transform-origin: 0 50%; /* 左端を基準に回転 */
  }
  
  .hamburger.is-active .hamburger_line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.is-active .hamburger_line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    transform-origin: 0 50%; /* 左端を基準に回転 */
  }

  /* ナビゲーションの初期状態（モバイルでは非表示） */
  .header_nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: fixed; /* ヘッダーがfixedなのでナビもfixedで対応 */
    top: 60px; /* ヘッダーの高さに合わせて調整 */
    left: 0;
    height: 100vh; /* 画面いっぱいに広げる */
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto; /* コンテンツがはみ出したらスクロール可能にする */
  }
  
  /* ナビゲーションが表示されたときのスタイル（JSで適用） */
  .header_nav.is-active {
    display: flex;
  }

  /* モバイル版ナビゲーションのスタイル */
  .g_nav2, .g_nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .g_nav li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

    .g_nav2 li {
    width: 100%;
    text-align: center;
  }

  .g_nav a, .g_nav2 a {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
  }
}

/* 文字に被せて背景に丸い色付きの円 */
.section .section_title2 {
  margin-bottom: 30px;
}

@media screen and (max-width: 1180px) {
    /* g_nav2をg_navの下に移動させる */
  .g_nav2 {
    order: 1; /* orderプロパティで表示順を制御。デフォルトは0。 */
  }

  .g_nav {
    order: 0;
  }
  .section .section_title2 {
    margin-bottom: 30px;
  }
}

.section .section_title2 h2 {
  color: #222222;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.38;
  margin-top: 9px;
}

@media screen and (max-width: 1024px) {
  .section .section_title2 h2 {
    font-size: 2.2rem;
  }
}

.section .section_title2 h2 {
  position: relative; /* 子要素のabsoluteの基準とする */
  display: inline-block; /* text-align: center; などで中央寄せにする場合 */
  z-index: 1; /* 文字を円より手前に表示する */
}

.section .section_title2 h2:before {
  content: "";
  background: #f9daa2; /* 円の色 */
  width: 99px; /* 円の幅 */
  height: 99px; /* 円の高さ (幅と同じにして正円に) */
  border-radius: 50%; /* 円形にする */
  
  position: absolute; /* 文字の背面に配置するため */
  top: 50%; /* 垂直方向の中央 */
  left: -19px; /* ここをマイナスの値に設定 */
  transform: translate(-50%, -50%); /* 自身のサイズを考慮して完全に中央に */
  z-index: -1; /* 文字より背面に表示 */
  
  /* 元のdisplayやvertical-alignは不要になることが多い */
  /* margin: 0; */
}

/*左上だけ角丸画像用*/
.img_lt img{
  border-top-left-radius: 60px; /* 値を大きくするとより丸くなります */
}

/*TOP About us BG color用*/
.about_section {
  padding-top: 60px;
  padding-bottom: 60px;
  background: -webkit-gradient(45deg, #fef3d6, #e2ebe0);
  background: linear-gradient(45deg, #fef3d6, #e2ebe0);
}

/*BT more2用*/
.btn_more2 {
  text-align: center;
  margin: 0px auto;
}

.btn_more2 a {
  display: inline-block;
  position: relative;
  min-width: 240px;
  padding: 1em 1em;
  font-size: 1.6rem;
  margin: 5px auto;
  background-color: #9fbc9e;
  color: #000;
  font-weight: bold;
  border-radius: 20px;
  border: solid 2px #000000;
}

.btn_more2 a:hover {
  color: #555555;
}


@media screen and (max-width: 1024px) {
  .btn_more2 {
  text-align: center;
  margin: 0px auto;
}
  .btn_more2 a {
    padding: 1em 4em;
    font-size: 1.3rem;
  }
}

.btn_more2 a:before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #000000;
  border-right: solid 2px #000000;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 30px;
  margin-top: -4px;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.btn_more2 a:hover:before {
  right: 25px;
}

/*BT more3用*/
.btn_more3 {
  text-align: right;
  margin: 0px auto;
}

.btn_more3 a {
  display: inline-block;
  position: relative;
  min-width: 180px;
  margin: 5px auto;
  text-align: center;
  background-color: #f9da79;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  border: solid 2px #000000;
}

.btn_more3 a:hover {
  color: #555555;
}


@media screen and (max-width: 1024px) {
  .btn_more3 {
  text-align: center;
  margin: 0px auto;
}
  .btn_more3 a {
    padding: 1em 4em;
    font-size: 1.3rem;
  }
}

.btn_more3 a:before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #000000;
  border-right: solid 2px #000000;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -4px;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.btn_more3 a:hover:before {
  right: 25px;
}

.btn_wrapper {
  display: flex;
  gap: 20px; /* ボタンとボタンの間に20pxの隙間を空ける */
  justify-content: center; /* ボタン全体を中央に配置する */
}

/* スマートフォン表示（縦並び） */
@media (max-width: 1024px) {
  .btn_wrapper {
    flex-direction: column; /* 要素を縦方向に並べる */
    gap: 0px; /* ボタンとボタンの間に20pxの隙間を空ける */
    align-items: center;    /* 縦並びにした要素を中央に揃える */
  }
}

/*葬送のあれこれ*/
.arekore_bg {
  padding: 10px;
  background-color: #ffffff;
  border: solid 10px #fef3d6;
}

.h3_arekore {
  font-weight: bold;
}

/*あれこれのコンテンツ幅*/
.thum {
  flex: 1; /* thumの幅の比率を1にする */
}

.inr {
  flex: 2; /* inrの幅の比率を2にする */
}

.arekore_p {
  font-size: 1.6rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .thum,
  .inr {
    flex: auto; /* 比率をリセットし、コンテンツに合わせて幅を自動調整 */
  }
}

/*contact section 用*/
.contact_border {
  background: linear-gradient(45deg, #f9daa2, #84a495);
  width: 100%;
  height: 50px;
}
.contact_section{
  padding-top: 5px;
  padding-bottom: 5px;
  background: -webkit-gradient(45deg, #fef3d6, #e2ebe0);
  background: linear-gradient(45deg, #fef3d6, #e2ebe0);
}

.tel_foot{
  text-align: center;
}
.tel_foot p {
  text-align: center;
}

.foot_tel_title {
  font-size: 2.0rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.foot_tel_hosoku {
  margin-bottom: 40px;

}

.reed {
  display: flex; /* PC表示では横並びにする */
  align-items: center; /* 垂直方向の中央揃え */
}

.reed div {
  flex: 1; /* PC表示での比率1 */
}

.reed p {
  flex: 2; /* PC表示での比率2 */
  font-size: 1.6rem;
}

/* スマホ表示の時に縦並びにするためのメディアクエリ */
@media (max-width: 1024px) {
  .reed {
    flex-direction: column; /* 要素を縦並びにする */
    align-items: center; /* 中央揃えにする */
  }

  .reed div,
  .reed p {
    flex: none; /* 比率指定を解除する */
    width: 100%; /* 幅を100%にする */
  }

  .reed div {
    margin-bottom: 20px; /* 画像とテキストの間に余白を追加 */
  }

  .contact_address {
    text-align: left;
  }
}

/* 親要素：中身を端から端まで広げる */
#access.reed {
  display: flex;
  align-items: center;
  justify-content: space-between; /* ★これで「左・中・右」に均等配置される */
  width: 100%; 
  max-width: 1200px; /* 必要ならサイト全体の幅に合わせて調整 */
  margin: 0 auto;   /* 中央寄せ */
  padding: 30px;
  box-sizing: border-box;
}

/* 1. ロゴ：幅を固定して動かさない */
.foot_logo_item {
  flex: 0 0 auto; /* 伸び縮みさせない */
  width: 180px;   /* 実際のロゴのサイズに合わせる */
}

/* 2. 住所：中央に配置。左右に自動で余白を作る */
.contact_address_item {
  flex: 1;         /* ★中央のエリアを可能な限り広げる */
  margin: 0 40px;  /* ロゴと地図との最低限の隙間 */
  text-align: left;
}

/* 3. 地図：右端に固定 */
.contact_map_item {
  flex: 0 0 auto;  /* 伸び縮みさせない */
  width: 350px;    /* 地図の幅を指定 */
}

.contact_map_item img {
  width: 100%;
  height: auto;
  display: block;
  /* もし枠の中でさらに右に寄せたい場合 */
  margin-left: auto; 
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
  #access.reed {
    flex-direction: column;
    align-items: center;
  }
  .contact_address_item {
    margin: 20px 0;
    text-align: center;
  }
}

/* PCのみ表示する */
.pc_only {
  display: block; /* デフォルトで表示 */
}

/* スマホでは非表示にする */
@media (max-width: 1024px) {
  .pc_only {
    display: none;
  }
}

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

/* スマホのみ表示する */
.sp_only {
  display: none; /* デフォルトでは非表示 */
}

/* スマホでは表示する */
@media (max-width: 1024px) {
  .sp_only {
    display: block;
  }
}

/*works用*/
.container_works {
  /* 最大横幅を1290pxに設定し、中央に配置 */
  max-width: 1290px;
  margin: 0 auto;

  /* Flexboxコンテナとして設定 */
  display: flex;

  /* 要素を左寄せで並べ、必要に応じて改行 */
  flex-wrap: wrap;

  /* 要素間の隙間を均等に設定 */
  gap: 10px; /* 必要に応じて調整してください */
}

.works_text {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 30px;
  font-weight: bold;
}

.img_copy h2 {
  display: flex; /* Flexboxコンテナに設定 */
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: center; /* 水平方向の中央揃え */
}

.img_copy h2 span {
  /* 必要に応じて、テキストと<span>の間に少しスペースを空ける */
  margin-left: 10px; 
}

/* ボタン4用 */
.btn_more4 {
  text-align: center;
  margin: 20px auto;
}

.btn_more4 a {
  display: inline-block;
  position: relative;
  min-width: 280px;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.5em;
  padding-bottom: 1.5em;
  font-size: 1.6rem;
  margin: 10px auto;
  background-color: #f9da79;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  border: solid 2px #000000;
  line-height: 1.2;
}

@media screen and (max-width: 1024px) {
  .btn_more4 {
  text-align: center;
  margin: 0px auto;
}
  .btn_more4 a {
  display: inline-block;
  position: relative;
  min-width: 160px;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.5em;
  padding-bottom: 1.5em;
  font-size: 1.6rem;
  margin: 10px auto;
  background-color: #f9da79;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  border: solid 2px #000000;
  line-height: 1.2;
}
  /* ここを修正！セレクタを .btn_more3 a に変更 */
  .btn_more4 a {
    padding: 1em 1em;
    padding-bottom: 2.5em; /* スマホ時もパディングを確保 */
    font-size: 1.3rem;
  }
}

/* 矢印をボタンの中に、下中央に配置する */
.btn_more4 a:after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #000000;
  border-right: solid 2px #000000;
  -ms-transform: rotate(135deg); /* 下向きの矢印に回転 */
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  position: absolute;
  bottom: 0.8em; /* ボタンの下端から1em上に配置 */
  left: 50%; /* 水平方向の中央に配置 */
  margin-left: -3px; /* 矢印の幅の半分を左にずらして完全に中央に */
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

/* ホバー時のアニメーション（例として矢印を少し下に動かす） */
.btn_more4 a:hover:after {
  bottom: 0.4em; /* ホバーで少し上に動かすなど調整 */
}

.btn_more4 a span {
  font-size: 1.4rem;
}

/* 外部リンク用のCSS */
.externalLink {
  position: relative;
  color: #509ac5;
  font-weight: bold;
  border-bottom:solid 3px;
  font-weight:bold;
}

.externalLink::after {
  position: absolute;
  top: 6px;
  right: -15px; /* ここを修正します：右端から10px内側へ */
  display: block;
  width: 14px;
  height: 14px;

  content: "";
  background-image: url("../images/external_link_icon.png");
  background-repeat: no-repeat;
  background-size: 14px;
}
/* リスト用CSS */
.styled-list {
  /* 標準のリストマーカー（黒丸）を非表示にする */
  list-style: none;
  /* リスト全体の左側の余白（パディング）をリセット/調整 */
  padding-left: 1.5em; /* 適切な値に調整してください */
}

.styled-list li {
  /* 疑似要素のための基準点として設定 */
  position: relative;
  /* 各リスト項目の上下の余白 */
  margin-bottom: 0.5em;
  /* 行の高さ。文字が折り返したときの行間を調整 */
  line-height: 1.6;
}

.styled-list li::before {
  /* カスタムマーカーの作成 */
  content: "・"; /* 「・」を挿入 */
  color: #333; /* マーカーの色（任意で変更） */
  font-weight: bold; /* マーカーを強調 */

  /* 絶対配置でリスト項目の左側にマーカーを固定 */
  position: absolute;
  left: -1em; /* liのpadding-left分だけ左に移動して配置を調整 */
}

/* 追従ヘッダーの高さが80pxの場合の例 */
:root {
  scroll-padding-top: 180px; /* ヘッダーの高さに合わせて調整 */
}
/*ページTOPへボタン用*/

.pagetop {
  /* ボタンの基本スタイル */
  display: none; /* JS(fadeIn)で制御するため、最初はnoneにする */
  text-align: center;
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
  transition: opacity 0.3s ease;

  /* スクロールに追従するための設定 */
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;

  /* 以下の2行を削除、またはコメントアウトしてください */
  /* visibility: hidden; */
  /* opacity: 0; */
}

.pagetop:hover {
  opacity: 1;
}

/* 画像自体のサイズもしっかり指定しておくと確実です */
.pagetop img {
  width: 40px; 
  height: auto;
}

/* スマホ表示時のスタイル */
@media (max-width: 1024px) {
  .pagetop {
    padding: 8px;
    bottom: 10px;
    right: 10px;
  }
}

/* 1. 親要素の幅制限を解除し、中身を端まで広げる */
.contact_area .reed {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 要素を両端に配置 */
    width: 100%;           /* 80%から100%に変更して右端まで使う */
    max-width: 1200px;     /* 必要に応じて最大幅を設定 */
    margin: 0 auto;        /* 全体を中央に寄せる */
    padding: 40px;
    box-sizing: border-box;
    text-align: left;      /* 全体の中央寄せを解除 */
}

/* 2. ロゴ部分：幅を固定 */
.reed > div:first-child {
    flex: 0 0 200px;
    margin-right: 20px;
}

/* 3. 住所テキスト：ここを伸ばして地図を右へ押し出す */
.contact_address {
    flex: 1;               /* ★重要：これで中央のスペースを埋める */
    margin: 0 !important;  /* 既存のmarginをリセット */
    padding: 0 20px;
}

/* 4. 地図イラスト：右端に固定 */
.contact_map_illust {
    flex: 0 0 200px !important;       /* 地図の幅を固定（お好みで調整） */
    text-align: right;
    margin: 0 !important;
}

.contact_map_illust img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- レスポンシブ対応（スマホで縦並びにする） --- */
@media screen and (max-width: 1024px) {
    .contact_area .reed {
        flex-direction: column;
        width: 90%; /* スマホでは少し余裕を持たせる */
    }
    
    .reed > div:first-child,
    .contact_address,
    .contact_map_illust {
        width: 100%;
        flex: none;
        margin: 0 0 20px 0 !important;
        text-align: center;
    }
    
    .contact_map_illust {
        margin-bottom: 0 !important;
    }
}

.mt50 {
  margin-top: 50px;
}
.mt30 {
  margin-top: 30px;
}