@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* 基本スタイル */
.main-parts {
    position: absolute;
    top: -100px;
    right: 0;
    text-align: right;
    padding-right: 20px;
}

p.main1, p.main2 {
    text-shadow: none;
    font-weight: bold;
    display: inline;
    font-size: 70px;
    color: #fff;
    line-height: 1.2;
}

p.sub {
    text-shadow: none;
    font-weight: bold;
    display: inline;
    font-size: 29px;
    color: #fff;
    line-height: 1.6;
}

/* レスポンシブ対応（画面幅768px以下） */
@media screen and (max-width: 768px) {
    .main-parts {
        top: -160px;
        padding-right: 15px;
    }

    p.main1, p.main2 {
        font-size: 50px;
    }

    p.sub {
        font-size: 22px;
    }
}

/* レスポンシブ対応（画面幅480px以下） */
@media screen and (max-width: 480px) {
    .main-parts {
        top: 40px;
        padding-right: 0px;
    }

    p.main1, p.main2 {
        font-size: 27px;
    }

    p.sub {
        font-size: 16px;
    }
}

.photo-a {
    position: absolute;
    width: 333px;
    z-index: -9999;
    bottom: 0;
}

.photo-b {
    position: absolute;
    width: 282px;
    z-index: -9999;
    bottom: 0;
    right: 0;
}

.photo-c {
    position: absolute;
    width: 289px;
    z-index: -9999;
    bottom: -201px;
    right: 75px;
}

.photo-d {
    position: absolute;
    width: 295px;
    z-index: 1;
    bottom: -81px;
    right: -12px;
}

/* スマホ対応（画面幅480px以下） */
@media screen and (max-width: 480px) {
    .photo-c {
    position: absolute;
    width: 289px;
    z-index: -9999;
    bottom: -164px;
    right: 0;
    }

    .photo-d {
    position: absolute;
    width: 289px;
    z-index: 1;
    bottom: -116px;
    right: -4px;
    }
}

.tate {
position: absolute;
}

@media screen and (min-width:768px) {
    /* 固定背景追従 */
.ryo-sticky-right {
    position: sticky;
    height: 100%;
    top: 150px;
    }
}

.maru {
    border-radius: 12px;
}

.maru img {
    border-radius: 12px;
}

.maru-migishita {
    border-radius:0 0 350px 0;
}

.maru-migishita {
  border-radius: 0 0 400px 0;
}

.maru-hidariue {
  border-radius: 300px 0 0 0;
}

.maru-ue {
  border-radius: 50% 50% 0 0;
}

/* スマホサイズ（768px以下）で半径を小さくする */
@media screen and (max-width: 768px) {
  .maru-migishita {
    border-radius: 0 0 100px 0;
  }
  .maru-hidariue {
  border-radius: 100px 0 0 0;
  }
}


.btn-color-white a {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  color: #ef8201;
  background-color: #fff;
  border: 4px solid #fff;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  z-index: 1;
}

.btn-color-white a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #ef8201;
  transition: width 0.4s ease;
  z-index: 0;
}

.btn-color-white a:hover::before {
  width: 100%;
}

.btn-color-white a:hover {
  color: #fff;
  border-color: #fff;
}

.btn-color-white a span,
.btn-color-white a::before {
  border-radius: 50px;
}

.btn-color-white a {
  position: relative;
}

.btn-color-white a > span {
  position: relative;
  z-index: 1;
}

button.c-tabList__button {
    border-radius: 12px;
    padding: 25px 10px;
    font-size: 17px;
    font-weight: bold;
    border: solid 3px #ef8201;
}

.c-tabList__button {
    color: #ef8201;
}


.loop-slider {
    display: flex;
    overflow: hidden;
    gap: 1.5rem; /* 画像間の余白を指定 */
}

.loop-slider .wp-block-group__inner-container,
.loop-slider .swell-block-columns {
    display: contents;
}

.loop-slider .swell-block-columns__inner {
    flex-wrap: nowrap;
    animation: infinity-scroll-left 30s infinite linear; /* アニメーションの時間を指定 */
}

.loop-slider .swell-block-column figure {
    width: 500px; /* 画像の横幅を指定（パソコン） */
    position: relative;
}

.loop-slider .swell-block-column figure::before {
    padding-top: 65%; /* 画像の縦横比を指定 */
    display: block;
    content: "";
}

.loop-slider .swell-block-column figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

@media screen and (max-width: 959px) {
    .loop-slider .swell-block-column figure {
        width: 200px; /* 画像の横幅を指定（スマホ） */
    }
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


/* =========================================================
//  スマホでスクロールスナップ
// ========================================================= */
@media not all and (min-width: 600px) {
  .-snap {
    --item-mobile-width: 80vw; /* スマホでのアイテムの幅 */
    --gap: 1rem; /* 各アイテム同士の間隔 */
  }
  .-snap > * {
    flex-wrap: nowrap !important;
    padding: 0 calc((100vw - var(--item-mobile-width, 80vw)) / 2) !important;
    margin-inline: calc(var(--swl-pad_container, 0px) * -1) !important;
    gap: var(--gap);
    overflow-x: scroll;
    -webkit-scroll-snap-type: x mandatory;
            scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .-snap > *::-webkit-scrollbar {
    display: none;
  }
  .-snap > * > * {
    margin-inline: auto !important;
    flex-shrink: 0;
    width: var(--item-mobile-width, 80vw) !important;
    scroll-snap-align: center;
  }
  /* 「ノーマル」スタイルの調整 */
  .swell-block-tab.is-style-default .c-tabBody:has(.-snap) {
    padding-left: var(--swl-pad_container, 0px);
    padding-right: var(--swl-pad_container, 0px);
  }
}

.p-mainVisual__scroll {
    bottom: -66px;
    opacity: 1;
    padding: 50px;
    background-color: #ef8201;
    border-radius: 200px;
}

/* スマホ対応（画面幅480px以下） */
@media screen and (max-width: 480px) {
    .p-mainVisual__scroll {
        padding: 30px; /* 小さめに調整 */
        border-radius: 100px;
        bottom: -45px;
    }
}

.p-mainVisual {
    overflow: visible;
    position: relative;
    width: 100%;
}

.img-wrap {
  opacity: 0;
}

.img-animation {
  animation: img-opacity 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  overflow: hidden;
  position: relative;
}

.img-animation::before {
  animation: img-animation 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #fff;
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

@keyframes img-opacity {
  100% {
    opacity: 1;
  }
}

@keyframes img-animation {
  100% {
    transform: translateX(100%);
  }
}



.l-content {
    margin-bottom: 0;
    padding-top: 0;
}
