@charset "UTF-8";
/* CSS Document */
@media all and (min-width: 370px) {
  .sns {
    display: flex;
    justify-content: center;
  }
  .sns img {
    width: 50px;
    height: auto;
  }
  .note-embed, iframe[src*="note.com"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  .text-center {
    text-align: center;
  }
  .works {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
  }
  .contact {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
  }
  /* ボタン全体の配置（共通設定） */
  .pagetop-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
    /* 初期状態（非表示・少し下に配置） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* 変化をなめらかにする（一括管理） */
    transition: opacity 0.4s, visibility 0.4s, transform 0.3s ease;
  }
  /* ボタン画像のサイズ調整 */
  .pagetop-btn img {
    width: 50px; /* 画像の横幅 */
    height: auto;
    display: block;
  }
  /* ボタン画像のサイズ調整 */
  .pagetop-btn img {
    width: 50px; /* 画像の横幅 */
    height: auto;
    display: block;
  }
  /* JSでこのクラスが付与されたら表示する */
  .pagetop-btn.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* 通常位置に戻る */
  }
  /* マウスを乗せたときの動き（表示中のみ有効化） */
  .pagetop-btn.is-show:hover {
    transform: translateY(-5px); /* 通常位置から5px上に浮く */
  }
  /* 【おすすめ】スマホ用の調整（画面が狭いときは少し小さく、端に寄せる） */
  @media screen and (max-width: 768px) {
    .pagetop-btn {
      bottom: 15px;
      right: 15px;
    }
    .pagetop-btn img {
      width: 40px; /* スマホでは40pxに縮小 */
    }
  }
  .work-list li {
    margin-bottom: 20px;
  }
  .post.work {
    padding-left: 5%;
    padding-right: 5%;
  }
  .work-list dt {
    color: #917C38;
  }
  .work-list dd {
    margin-left: 110px;
    margin-top: -18px;
    line-height: 22px;
  }
  .work-banner {
    color: #917C38;
    background-image: url(../img/55491.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px;
    background-position: 50% 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .font-works {
    font-size: 21px;
    line-height: 30px;
    letter-spacing: 0.1em;
    display: inline-block;
  }
  header {
    position: fixed; /* ヘッダーを固定する */
    top: 0; /* 上部から配置の基準位置を決める */
    left: 0; /* 左から配置の基準位置を決める */
    width: 100%; /* ヘッダーの横幅を指定する */
    background-color: #FFFFFF;
  }
  footer {
    padding-bottom: 40px;
    text-align: center;
  }
  .maru-c {
    font-size: 12px;
  }
  .overview {
    margin-top: 60px;
    width: 90%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    --x-gradient: linear-gradient(90deg, #666666 0 10px, transparent 0 calc(100% - 10px), #666666 calc(100% - 10px));
    --y-gradient: linear-gradient(#666666 0 10px, transparent 0 calc(100% - 10px), #666666 calc(100% - 10px));
    position: relative;
    padding: 1rem;
    margin-bottom: 0.2rem;
    background-image:
      var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
    background-repeat: no-repeat;
    background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%;
    background-position: top, right, bottom, left;
    font-size: 16px;
    line-height: 23px;
    font-weight: 500;
    text-align: center;
  }
  .category-title {
    font-size: 15px;
    font-weight: 500;
    color: #917c38;
    display: inline-block;
    padding-left: 20px;
    padding-right: 13px;
    border-right: 2px solid #917C38;
    border-left: 2px solid #917C38;
    margin-bottom: 10px;
    letter-spacing: 7px;
  }
  .category-title a {
    font-size: 15px;
    font-weight: 500;
    color: #917c38;
  }
  .category-title2 {
    text-align: center;
    margin-top: 60px;
    font-size: 23px;
    font-weight: 500;
    color: #917c38;
    margin-bottom: 10px;
    letter-spacing: 7px;
  }
  .post-flex li {
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    text-align: center;
  }
  .note-embed {
    border: 0;
    display: block;
    width: 100%;
    max-width: 700px;
    padding: 0px;
    position: static;
    visibility: visible;
  }
  .new-post {
    width: 160px;
    margin-right: auto;
    margin-left: auto;
  }
  .post {
    background-image: url(../img/watercolor-paper-texture-background-seamless-texture-tile-ready.jpg);
    background-repeat: repeat;
    background-size: 60% auto;
    margin-top: 60px;
    margin-bottom: 60px;
    padding-top: 40px;
    padding-bottom: 40px
  }
  .menu {
    text-align: center;
  }
  .article ul li {
    font-size: 14px;
    line-height: 14px;
  }
  .article {
    padding-left: 20px;
  }
  .accordion-003 {
    /* max-width: 500px; */
    width: 100%;
    margin-bottom: 7px;
    /* border-bottom: 2px solid #d0d0d0; */
  }
  .accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0;
    color: #666666;
    /* font-weight: 600; */
    cursor: pointer;
  }
  .accordion-003 summary::-webkit-details-marker {
    display: none;
  }
  .accordion-003 summary::before, .accordion-003 summary::after {
    width: 3px;
    height: .9em;
    border-radius: 5px;
    background-color: #666666b3;
    content: '';
  }
  .accordion-003 summary::before {
    position: absolute;
    right: 0em;
    rotate: 90deg;
  }
  .accordion-003 summary::after {
    transition: rotate .3s;
  }
  .accordion-003[open] summary::after {
    rotate: 90deg;
  }
  .accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #666666;
    transition: transform .5s, opacity .5s;
  }
  .accordion-003[open] p {
    transform: none;
    opacity: 1;
  }
  .logo {
    width: 160px;
    margin-top: 20px;
    margin-left: 5%;
    margin-bottom: 20px;
  }
  .logo img {
    width: 100%;
    height: auto;
  }
  .main {
    padding-top: 70px;
  }
  .category .main_ph img {
    width: 100%;
    height: 340px;
    object-fit: cover;
  }
  .main_ph img {
    width: 100%;
    height: auto;
  }
  .hanako {
    width: 180px;
    height: auto;
  }
  .name {
    font-size: 26px;
  }
}
@media all and (min-width: 768px) {
  .post.work {
    padding-left: 10%;
    padding-right: 10%;
  }
  .font-works {
    font-size: 28px;
  }
  .work-banner {
    color: #917C38;
    background-image: url(../img/55491.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    background-position: 50% 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .overview {
    font: 19px;
    line-height: 25px;
  }
  .category-title a {
    font-size: 18px;
    font-weight: 500;
    color: #917c38;
  }
  .post-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
  }
  .post-flex li {
    width: 45%;
    max-width: 600px;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 40px;
    text-align: center;
  }
  .note-embed {
    border: 0;
    display: block;
    width: 100%;
    max-width: 700px;
    padding: 0px;
    position: static;
    visibility: visible;
  }
}
@media all and (min-width: 960px) {
  .main {
    padding-top: 0px;
  }
  header {
    position: inherit;
  }
  .logo {
    width: 200px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .main {
    display: flex;
    justify-content: space-between;
  }
  .main_ph {
    flex: 1;
  }
  .menu {
    text-align: left;
    width: 280px;
    margin-left: 30px;
    margin-right: 30px;
  }
  .menu li {
    margin-top: 15px;
  }
}