@charset "UTF-8";
/* PROFILE  (2026-09) */
header {
  padding: 60px 0;
  margin: 0;
  text-align: center; }
  header h1 {
    padding: 0;
    margin: auto; }
    header h1 img {
      width: 145px;
      height: auto; }

main {
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%; }
  main .ph {
    display: block;
    float: left;
    width: 50%;
    text-align: right;
    padding: 0;
    margin: 0;
    position: relative;
    --u: 630px;
    height: var(--u); }
    main .ph li {
      position: absolute;
      height: var(--u);
      width: var(--u);
      display: block;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.6s ease;
      text-align: right;
      margin: 0;
      padding: 0;
      right: 25px;
      text-align: center; }
      main .ph li a {
        display: block;
        height: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
        background-image: url("/profile/images/photoframe_t.png");
        background-position: right top;
        background-repeat: no-repeat;
        background-size: contain;
        mix-blend-mode: multiply;
        text-align: right; }
        main .ph li a img {
          max-width: 75.4%;
          max-height: 75.4%;
          width: auto;
          height: auto;
          margin: 11.9% 8.41% 0 auto; }
      main .ph li.y a {
        background-image: url("/profile/images/photoframe_y.png"); }
        main .ph li.y a img {
          margin: 8.73% 12.7% 0 auto; }
      main .ph li.selected {
        opacity: 1;
        pointer-events: auto; }
  main .detail {
    display: block;
    width: 50%;
    float: right;
    text-align: left;
    padding: 0;
    margin: 0;
    position: relative;
    color: #4b4b4b; }
    main .detail .en {
      color: #999999;
      font-family: 'Special Elite', cursive;
      font-style: normal;
      font-weight: 100; }
    main .detail .h {
      margin: 0 0 50px 25px;
      padding: 0 0 0 0;
      max-width: 400px;
      background-image: url("/profile/images/hr_1.png");
      background-position: left bottom;
      background-repeat: no-repeat; }
      main .detail .h h2 {
        display: block;
        margin: 0;
        padding: 0 0 12px 0;
        line-height: 1.1;
        font-weight: 100;
        font-size: 24px;
        letter-spacing: 0.1em;
        font-style: normal; }
      main .detail .h .en {
        display: block;
        margin: 0;
        padding: 0 0 9px 0;
        line-height: 1.1;
        font-size: 16px;
        letter-spacing: 0.2em; }
    main .detail .m {
      margin: 0 0 25px 25px;
      padding: 0 0 0 0;
      max-width: 400px; }
      main .detail .m dl {
        display: block;
        padding: 0;
        margin: 0 0 17px 0;
        position: relative;
        background-image: url("/profile/images/hr_2.png");
        background-position: left bottom;
        background-repeat: no-repeat; }
        main .detail .m dl:nth-child(2) {
          background-image: url("/profile/images/hr_3.png"); }
        main .detail .m dl:nth-child(3) {
          background-image: url("/profile/images/hr_4.png"); }
        main .detail .m dl:nth-child(4) {
          background-image: url("/profile/images/hr_2.png"); }
        main .detail .m dl:nth-child(5) {
          background-image: url("/profile/images/hr_3.png"); }
        main .detail .m dl:nth-child(6) {
          background-image: url("/profile/images/hr_4.png"); }
        main .detail .m dl:nth-child(7) {
          background-image: url("/profile/images/hr_2.png"); }
        main .detail .m dl:nth-child(8) {
          background-image: url("/profile/images/hr_3.png"); }
        main .detail .m dl:nth-child(9) {
          background-image: url("/profile/images/hr_4.png"); }
        main .detail .m dl:nth-child(10) {
          background-image: url("/profile/images/hr_2.png"); }
        main .detail .m dl:last-child {
          background: none; }
        main .detail .m dl dt {
          position: absolute;
          left: 0;
          top: 0; }
          main .detail .m dl dt p {
            font-size: 12px;
            padding: 0;
            margin: 0 0 7px 0; }
          main .detail .m dl dt .en {
            font-size: 11px;
            padding: 0;
            margin: 0;
            letter-spacing: 0.15em; }
        main .detail .m dl dd {
          padding-left: 150px;
          padding-bottom: 12px; }
          main .detail .m dl dd p {
            font-size: 16px;
            padding: 0;
            margin: 0 0 4px 0;
            font-weight: normal; }
          main .detail .m dl dd .en {
            font-size: 12px;
            padding: 0;
            margin: 0;
            letter-spacing: 0.15em; }
    main .detail .f {
      display: block;
      width: auto;
      margin: 0 0 0 0;
      padding: 0 0 0 0;
      position: relative; }
      main .detail .f a.slideThumb {
        display: none;
        position: absolute;
        top: 0;
        z-index: 999;
        width: 30px;
        height: 150px;
        text-align: center;
        text-decoration: none;
        background: linear-gradient(90deg, white 0%, rgba(255, 255, 255, 0.9) 28%, rgba(255, 255, 255, 0) 100%); }
        main .detail .f a.slideThumb.l {
          left: 0; }
        main .detail .f a.slideThumb.r {
          right: 0;
          background: linear-gradient(-90deg, white 0%, rgba(255, 255, 255, 0.9) 28%, rgba(255, 255, 255, 0) 100%); }
        main .detail .f a.slideThumb span {
          display: block;
          padding: 0;
          margin: 60px 0 0 0; }
      main .detail .f .thumbs {
        display: block;
        padding: 0;
        margin: 0 0 0 15px;
        width: auto;
        height: 150px;
        overflow-y: hidden;
        overflow-x: hidden;
        white-space: nowrap; }
        main .detail .f .thumbs li {
          display: inline-block;
          position: relative;
          white-space: nowrap;
          padding: 0;
          margin: 0 -12px -15px 0;
          line-height: 0;
          text-align: center; }
          main .detail .f .thumbs li a {
            display: block;
            padding: 10px 6px 6px 10px;
            position: relative;
            z-index: 1;
            margin: 0;
            line-height: 0;
            width: auto;
            text-align: center; }
            main .detail .f .thumbs li a img {
              max-height: 114px;
              height: auto;
              width: auto;
              margin: 0;
              padding: 0;
              line-height: 0; }
          main .detail .f .thumbs li::after {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-image: url("/profile/images/thumbframe_t.png");
            background-position: left top;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 0.6s ease;
            pointer-events: none;
            z-index: 0; }
          main .detail .f .thumbs li.y::after {
            background-image: url("/profile/images/thumbframe_y.png"); }
          main .detail .f .thumbs li.selected::after {
            opacity: 1; }

footer {
  clear: both;
  margin: 0;
  padding: 50px 0;
  text-align: center; }
  footer #copyrightBlock img {
    height: 20px;
    width: auto; }

/* メイン写真の拡大モーダル */
#photoZoom {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000001;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  text-align: center;
  cursor: pointer; }
  #photoZoom img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: min(1000px, 92vw);
    max-height: min(1000px, 92vh);
    width: auto;
    height: auto;
    cursor: default; }

/* ============================================================
 *  RESPONSIVE PROFILE
 *  --u : メイン写真ユニット（正方 630px）の一辺。これを起点に
 *  フレーム(background)・写真(img)・余白がすべて比率で縮小する。
 * ============================================================ */
/* 1) 1170px以下：ヨコ長（.y）を縮小（ゆるやかに。左側は少し見切れてOK） */
@media only screen and (max-width: 1170px) {
  main .ph li.y {
    --u: min(630px, calc(50vw + 45px)); } }
/* 2) 810px以下：たて長も縮小（ゆるやかに） */
@media only screen and (max-width: 810px) {
  main .ph {
    --u: min(630px, calc((50vw + 20px) * 1.4824)); } }
/* 3) 640px以下：スマートフォン用レイアウト
 *  ・フレーム(枠画像)を全幅表示し、その中に写真を中央配置
 *  ・.ph の高さは写真枠の高さに追従（サムネイルが上に詰まる）
 *  ・.detail .h / .m は左寄せ・全幅（左右10px余白）
 */
@media only screen and (max-width: 640px) {
  main .ph {
    float: none;
    width: 97%;
    height: auto;
    margin: 0 auto;
    overflow: hidden; }

  main .ph li {
    right: auto;
    left: 0;
    width: 100%;
    height: auto;
    margin: 0;
    mix-blend-mode: multiply; }

  /* たて写真：フレームを全幅、写真を枠内に中央配置 */
  main .ph li a {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 425 / 630;
    background-position: center top;
    background-size: contain;
    margin: 0 auto; }

  main .ph li a img {
    width: 74.5%;
    max-width: none;
    max-height: none;
    height: auto;
    padding-top: 17.64%;
    margin: 0 auto 0 auto;
    display: block;
    mix-blend-mode: multiply; }

  /* ヨコ写真（.y）：横フレームを全幅、写真を中央配置 */
  main .ph li.y a {
    aspect-ratio: 630 / 425; }

  main .ph li.y a img {
    width: 75.4%;
    padding-top: 8.73%;
    margin: 0 auto 0 auto; }

  main .detail {
    float: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 10px; }

  main .detail .f {
    order: 1; }

  main .detail .h {
    order: 2;
    max-width: none;
    margin: 25px 15px 45px 15px;
    text-align: left; }

  main .detail .m {
    order: 3;
    max-width: none;
    margin: 0 15px 25px 15px;
    text-align: left; } }
