/* reset-ish */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

/* base */
body {
  background: #fff;
  color: #000;
  font-family:
    /* 凸版文久ゴシック（最優先） */
    "Toppan Bunkyu Gothic",
    "凸版文久ゴシック",
    "凸版文久ゴシック Pr6N",
    "凸版文久ゴシック ProN",

    /* 明朝フォールバック */
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    "Noto Serif JP",

    serif;

  font-weight: 400;
  line-height: 1.7;
}


header, section, footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}
h1, h2 {
  font-weight: 600;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 1em;
}
p {
  margin: 0.5em 0;
}
.tagline {
  font-size: 1.1rem;
  color: #444;
}
.works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.work {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.work h3 {
  margin-top: 0;
  font-size: 1.1rem;
}
a {
  color: #0055cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* layout */
.container {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 20px;
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: #fff;
  z-index: 100;
}

/* small box image */
.header-logo {
  width: 32px;
  height: auto;
}

/* header title */
.header-title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* logo (top page) */
.logo {
  width: 280px;
  max-width: 80vw;
  height: auto;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.logo:hover {
  content: url("/img/shibaco_hover.png");
}

/* title */
.title {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.12em;
  margin: 0;
  text-align: center;
}

/* navigation */
.nav {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding: 0 16px; /* ← スマホ余白対策 */
}

.nav-item {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid #000;
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.nav-item:hover {
  background: #000;
  color: #fff;
}

/* work sections */
.section {
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.section-title {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title span {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-left: 6px;
}

/* list */
.work-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.work-item {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* about */

.about-section {
  max-width: 680px;
}

.about-text {
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.9;
}

.about-text p {
  margin-bottom: 1.6em;
}

/* Spot Parts */
/** SNS Icons **/
ul.snsIcons{
	list-style: none;
	display: flex;
	justify-content: space-around;
}
ul.snsIcons ul{
	width: 640px !important;
}
ul.snsIcons li{
}
ul.snsIcons li:first-child{
	margin-left: 0;
}
ul.snsIcons a{
	border: 0;
}
ul.snsIcons img{
	width: 100px;
}


/* footer */
.footer {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: auto;
}


/* responsive */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .nav-item {
    width: 100%;
  }
}
