@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Noto+Serif+JP:wght@200..900&display=swap');

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

サイト全体共通

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

/*  カラー設定 */
:root {
 --color-bg: #fafafa;
 --color-text: #333333;
 --color-main: #cccccc;
 --color-sub: #dddddd;
 --color-accent: #df6a78;
 --color-black: #292929;
 --color-white: #ffffff;
}

/*  フォント設定 */
:root {
 --font-base: "Noto Serif JP", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
 --font-title: "EB Garamond", "Noto Serif JP", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

/* --------------------------- */

html {
 font-size: 14px;
 scroll-behavior: smooth;
}

body {
 margin: 0;
 font-family: var(--font-base);
 background: var(--color-bg);
 color: var(--color-text);
 letter-spacing: 1px;
 min-height: 100vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

@media screen and (max-width: 520px) {

 body {
  letter-spacing: 0;
 }
}

*:hover,
*::before,
*::after {
 transition: 0.2s;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

文字

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
p {
 margin: 20px 0;
 letter-spacing: 1px;
 text-align: justify;
}

a {
 color: inherit;
}

/*－－－－－－－－－－ リンクホバー時の設定 －－－－－－－－－－*/
@media (hover: hover) {
 a:not([class]):hover {
  background-color: var(--color-sub);
 }
}

/* ホバー装飾の無効化 */
a:is(.globalnav *, .snslist *)::after,
.btn::after,
.pageup::after {
 display: none;
}

/*－－－－－－－－－－  見出し －－－－－－－－－－*/
h1,
h2,
h3,
h4,
h5,
h6 {
 font-family: var(--font-title);
 font-weight: 500;
 letter-spacing: 2px;
 margin: 0 0 1em 0;
 overflow-wrap: break-word;
}

/*－－－－－－－－－－ 大見出し －－－－－－－－－－*/
.headingL {
 font-size: clamp(1.8rem, 1.727rem + 0.36vw, 2rem);
 margin: clamp(1.8rem, 1.727rem + 0.36vw, 2rem) 0;
 border-bottom: 1px solid var(--color-sub);
 padding-bottom: 5px;
}

/*－－－－－－－－－－ 中見出し －－－－－－－－－－*/
.headingM {
 font-size: clamp(1.6rem, 1.527rem + 0.36vw, 1.8rem);
 margin: clamp(1.6rem, 1.527rem + 0.36vw, 1.8rem) 0;
}

/*－－－－－－－－－－ 小見出し －－－－－－－－－－*/
.headingS {
 font-size: clamp(1.4rem, 1.327rem + 0.36vw, 1.6rem);
 margin: 20px 0;
}

/*－－－－－－－－－－ 最小見出し －－－－－－－－－－*/
.headingSS {
 font-size: clamp(1.2rem, 1.127rem + 0.36vw, 1.4rem);
 margin: 20px 0;
}


/*－－－－－－－－－－ 文字装飾 －－－－－－－－－－*/
.marker {
 background: linear-gradient(transparent 50%, rgb(from var(--color-accent) r g b / 0.2) 50%);
}

.label {
 display: block;
 margin: 20px 0;
 padding: 2px 10px;
 background-color: rgb(from var(--color-accent) r g b / 0.8);
 color: var(--color-white);
 width: fit-content;
}

.center {
 text-align: center;
}

.right {
 text-align: right;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

アイコン等

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.la,
.las {
 font-size: 1.2em;
 color: var(--color-main);
 position: relative;
 top: 2px;
}

/* 矢印 */
.arrow {
 width: 20px;
 height: 20px;
 border: 2px solid var(--color-main);
 border-bottom: 0;
 border-left: 0;
 transform: rotate(45deg);
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

リスト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

.list,
.list-number {
 margin: 20px 0;
}

.list li {
 position: relative;
 margin-left: 16px;
}

.list li::before {
 position: absolute;
 top: calc(50% - 4px);
 left: -16px;
 content: "";
 display: block;
 width: 8px;
 height: 8px;
 background-color: var(--color-accent);
 border-radius: 50%;
}

/*－－－－－－－－－－ 数字付きリスト －－－－－－－－－－*/
.list-number {
 list-style-type: decimal-leading-zero;
 list-style-position: inside;
}

.list-number li {
 text-indent: -3.4rem;
 padding-left: 3.6rem;
}

.list-number li> :not(:first-child) {
 text-indent: 0;
}

/*－－－－－－－－－－ 表リスト －－－－－－－－－－*/
.gridlist {
 display: grid;
 grid-template-columns: auto 1fr;
 gap: 0px;
}

.gridlist .gridlist__label,
.gridlist .gridlist__text {
 padding: 10px 20px;
 border-bottom: 1px solid var(--color-sub);
}

.gridlist .gridlist__label {
 display: flex;
 align-items: center;
 color: var(--color-accent);
}

/* スマホ */
@media screen and (max-width: 520px) {
 .gridlist {
  grid-template-columns: 1fr;
 }
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

入力フォーム、ボタン

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/* 入力フォーム */
input,
textarea {
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
 padding: 6px 10px;
 border: 1px solid var(--color-sub);
 margin: 10px 0;
 width: 650px;
 max-width: 100%;
}

/* ボタン */
.btn {
 display: block;
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
 background-color: var(--color-main);
 color: var(--color-white);
 text-align: center;
 text-decoration: none;
 padding: 3px 10px;
 border: 1px solid var(--color-sub);
 transition: 0.2s;
}

.btn:hover {
 cursor: pointer;
 background-color: var(--color-accent);
}


/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

レイアウト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ 横並び －－－－－－－－－－*/
.flex {
 display: flex;
 flex-wrap: wrap;
 gap: 20px;
 align-items: center;
}

.grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 /* 表示サイズを変えたい場合は300pxの部分を変更 */
 gap: 20px;
 justify-content: center;
 align-items: center;
}

/*－－－－－－－－－－  枠囲みボックス －－－－－－－－－－*/
.box {
 padding: 40px;
 border: 1px solid var(--color-accent);
}

.box> :first-child {
 margin-top: 0;
}

.box> :last-child {
 margin-bottom: 0;
}

/*－－－－－－－－－－  セクション －－－－－－－－－－*/
section:first-of-type {
 padding-top: 0;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 12px;
}

section {
 margin: 20px 0;
 padding: 30px 0;
}

section> :first-child {
 margin-top: 0;
}

section> :last-child {
 margin-bottom: 0;
}

section section:first-of-type {
 padding-top: 0;
}

section section:last-of-type {
 padding-bottom: 0;
}

/*－－－－－－－－－－  スペーサー －－－－－－－－－－*/
.spacer {
 height: 30px;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

プロフィール

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.mainwrapper {
 max-width: 420px;
 margin: 0 auto;
 width: 100%;
}

@media screen and (max-width: 520px) {
 .mainwrapper {
  padding: 20px;
 }
}


/*  プロフィールアイコン  */
.profile-icon {
 border-radius: 50%;
 border: 4px solid var(--color-white);
 object-fit: cover;
 margin-bottom: 4px;
}

/*  名前 & 紹介文  */
.username {
 margin: 10px;
}

.profile-bio {
 padding: 10px;
}

/*  リンクボタン  */
.link-list {
 width: 100%;
 display: flex;
 flex-direction: column;
 gap: 20px;
}

.link-btn {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 20px;
 width: 100%;
 padding: 16px 20px;
 border-radius: 20px;
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 text-decoration: none;
 border: 1px solid rgb(from var(--color-sub) r g b / 0.8);
 transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

 .icon {
  height: 30px;
  flex-shrink: 0;
 }

 .text {
  text-align: left;
  flex-basis: 40%;
 }
}

.link-btn:hover {
 box-shadow: 0 4px 12px rgb(from var(--color-black) r g b / 0.1);
}


/*  SNSアイコン  */
.social-icons {
 display: flex;
 gap: 10px;
 flex-wrap: wrap;
 margin-top: 18px;
}

.social-icons a {
 width: 46px;
 height: 46px;
 border-radius: 50%;
 backdrop-filter: blur(8px);
 -webkit-backdrop-filter: blur(8px);
 border: 1px solid rgb(from var(--color-sub) r g b / 0.8);
 display: flex;
 align-items: center;
 justify-content: center;
 text-decoration: none;
 transition: all 0.3s ease;
}

.social-icons a:hover {
 transform: translateY(-3px);
}

.social-icons svg {
 width: 20px;
 height: 20px;
}


/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

ページUP

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.pageup {
 position: fixed;
 right: 2vw;
 bottom: 2vw;
 display: flex;
 justify-content: center;
 align-items: center;
 width: 50px;
 height: 50px;
 background-color: transparent;
 border-radius: 50%;
 transition: 0.2s;
 opacity: 0;
 visibility: hidden;
}

.pageup .arrow {
 border-color: var(--color-main);
 margin-top: 10px;
 transform: rotate(-45deg);
}

.pageup._active {
 opacity: 1;
 visibility: visible;
}

@media (hover: hover) {
 .pageup:hover {
  background-color: var(--color-accent);

  .arrow {
   border-color: var(--color-white);
  }
 }
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

フッター

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/

footer {
 text-align: center;
 padding: 20px;
 font-size: 0.8rem;
 line-height: 1;
}